File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -537,6 +537,7 @@ export class LinearService {
537537 async createProject ( args : {
538538 name : string ;
539539 description ?: string ;
540+ content ?: string ;
540541 teamIds : string [ ] | string ;
541542 state ?: string ;
542543 startDate ?: string ;
@@ -557,6 +558,7 @@ export class LinearService {
557558 const createdProject = await this . client . createProject ( {
558559 name : args . name ,
559560 description : args . description ,
561+ content : args . content ,
560562 teamIds : teamIds ,
561563 state : args . state ,
562564 startDate : args . startDate ? new Date ( args . startDate ) : undefined ,
@@ -576,6 +578,7 @@ export class LinearService {
576578 id : projectData . id ,
577579 name : projectData . name ,
578580 description : projectData . description ,
581+ content : projectData . content ,
579582 state : projectData . state ,
580583 startDate : projectData . startDate ,
581584 targetDate : projectData . targetDate ,
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ export const getProjectsToolDefinition: MCPToolDefinition = {
1818 id : { type : 'string' } ,
1919 name : { type : 'string' } ,
2020 description : { type : 'string' } ,
21+ content : { type : 'string' } ,
2122 state : { type : 'string' } ,
2223 teams : {
2324 type : 'array' ,
@@ -50,7 +51,11 @@ export const createProjectToolDefinition: MCPToolDefinition = {
5051 } ,
5152 description : {
5253 type : 'string' ,
53- description : 'Description of the project (Markdown supported)' ,
54+ description : 'Short summary of the project' ,
55+ } ,
56+ content : {
57+ type : 'string' ,
58+ description : 'Content of the project (Markdown supported)' ,
5459 } ,
5560 teamIds : {
5661 type : 'array' ,
@@ -94,7 +99,11 @@ export const updateProjectToolDefinition: MCPToolDefinition = {
9499 } ,
95100 description : {
96101 type : 'string' ,
97- description : 'New description of the project (Markdown supported)' ,
102+ description : 'New short summary of the project' ,
103+ } ,
104+ content : {
105+ type : 'string' ,
106+ description : 'New content of the project (Markdown supported)' ,
98107 } ,
99108 state : {
100109 type : 'string' ,
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ export function isCreateCommentArgs(args: unknown): args is {
204204export function isCreateProjectArgs ( args : unknown ) : args is {
205205 name : string ;
206206 description ?: string ;
207+ content ?: string ;
207208 teamIds : string [ ] ;
208209 state ?: string ;
209210} {
@@ -424,6 +425,7 @@ export function isUpdateProjectArgs(args: unknown): args is {
424425 id : string ;
425426 name ?: string ;
426427 description ?: string ;
428+ content ?: string ;
427429 state ?: string ;
428430} {
429431 return (
@@ -434,6 +436,7 @@ export function isUpdateProjectArgs(args: unknown): args is {
434436 ( ! ( 'name' in args ) || typeof ( args as { name : string } ) . name === 'string' ) &&
435437 ( ! ( 'description' in args ) ||
436438 typeof ( args as { description : string } ) . description === 'string' ) &&
439+ ( ! ( 'content' in args ) || typeof ( args as { content : string } ) . content === 'string' ) &&
437440 ( ! ( 'state' in args ) || typeof ( args as { state : string } ) . state === 'string' )
438441 ) ;
439442}
You can’t perform that action at this time.
0 commit comments