@filcuk/planka-mcp 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +180 -0
- package/dist/client.d.ts +55 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +193 -0
- package/dist/client.js.map +1 -0
- package/dist/errors.d.ts +39 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +82 -0
- package/dist/errors.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +100 -0
- package/dist/index.js.map +1 -0
- package/dist/operations/boards.d.ts +39 -0
- package/dist/operations/boards.d.ts.map +1 -0
- package/dist/operations/boards.js +76 -0
- package/dist/operations/boards.js.map +1 -0
- package/dist/operations/cards.d.ts +35 -0
- package/dist/operations/cards.d.ts.map +1 -0
- package/dist/operations/cards.js +70 -0
- package/dist/operations/cards.js.map +1 -0
- package/dist/operations/comments.d.ts +20 -0
- package/dist/operations/comments.d.ts.map +1 -0
- package/dist/operations/comments.js +42 -0
- package/dist/operations/comments.js.map +1 -0
- package/dist/operations/labels.d.ts +32 -0
- package/dist/operations/labels.d.ts.map +1 -0
- package/dist/operations/labels.js +91 -0
- package/dist/operations/labels.js.map +1 -0
- package/dist/operations/lists.d.ts +15 -0
- package/dist/operations/lists.d.ts.map +1 -0
- package/dist/operations/lists.js +35 -0
- package/dist/operations/lists.js.map +1 -0
- package/dist/operations/projects.d.ts +23 -0
- package/dist/operations/projects.d.ts.map +1 -0
- package/dist/operations/projects.js +52 -0
- package/dist/operations/projects.js.map +1 -0
- package/dist/operations/tasks.d.ts +30 -0
- package/dist/operations/tasks.d.ts.map +1 -0
- package/dist/operations/tasks.js +102 -0
- package/dist/operations/tasks.js.map +1 -0
- package/dist/schemas/entities.d.ts +307 -0
- package/dist/schemas/entities.d.ts.map +1 -0
- package/dist/schemas/entities.js +168 -0
- package/dist/schemas/entities.js.map +1 -0
- package/dist/schemas/requests.d.ts +225 -0
- package/dist/schemas/requests.d.ts.map +1 -0
- package/dist/schemas/requests.js +87 -0
- package/dist/schemas/requests.js.map +1 -0
- package/dist/schemas/responses.d.ts +2161 -0
- package/dist/schemas/responses.d.ts.map +1 -0
- package/dist/schemas/responses.js +68 -0
- package/dist/schemas/responses.js.map +1 -0
- package/dist/tools/cards.d.ts +401 -0
- package/dist/tools/cards.d.ts.map +1 -0
- package/dist/tools/cards.js +367 -0
- package/dist/tools/cards.js.map +1 -0
- package/dist/tools/comments.d.ts +134 -0
- package/dist/tools/comments.d.ts.map +1 -0
- package/dist/tools/comments.js +109 -0
- package/dist/tools/comments.js.map +1 -0
- package/dist/tools/index.d.ts +790 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +44 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/labels.d.ts +198 -0
- package/dist/tools/labels.d.ts.map +1 -0
- package/dist/tools/labels.js +265 -0
- package/dist/tools/labels.js.map +1 -0
- package/dist/tools/lists.d.ts +117 -0
- package/dist/tools/lists.d.ts.map +1 -0
- package/dist/tools/lists.js +178 -0
- package/dist/tools/lists.js.map +1 -0
- package/dist/tools/navigation.d.ts +106 -0
- package/dist/tools/navigation.d.ts.map +1 -0
- package/dist/tools/navigation.js +151 -0
- package/dist/tools/navigation.js.map +1 -0
- package/dist/tools/tasks.d.ts +223 -0
- package/dist/tools/tasks.d.ts.map +1 -0
- package/dist/tools/tasks.js +169 -0
- package/dist/tools/tasks.js.map +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/schemas/responses.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAgBxB,eAAO,MAAM,kBAAkB,GAAI,CAAC,SAAS,CAAC,CAAC,UAAU,EAAE,YAAY,CAAC;;;;;;;;;iEAIpE,CAAC;A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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAUhB,CAAC;AAGjB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAUf,CAAC;AAGjB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAKnB,CAAC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API response schemas for PLANKA.
|
|
3
|
+
*/
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { ProjectSchema, BoardSchema, ListSchema, CardSchema, TaskListSchema, TaskSchema, LabelSchema, CommentSchema, UserSchema, CardLabelSchema, AttachmentSchema, } from "./entities.js";
|
|
6
|
+
// Generic response wrappers
|
|
7
|
+
export const SingleItemResponse = (itemSchema) => z.object({
|
|
8
|
+
item: itemSchema,
|
|
9
|
+
included: z.record(z.any()).optional(),
|
|
10
|
+
});
|
|
11
|
+
export const MultiItemResponse = (itemSchema) => z.object({
|
|
12
|
+
items: z.array(itemSchema),
|
|
13
|
+
included: z.record(z.any()).optional(),
|
|
14
|
+
});
|
|
15
|
+
// Specific response types
|
|
16
|
+
export const ProjectResponse = SingleItemResponse(ProjectSchema);
|
|
17
|
+
export const ProjectsResponse = MultiItemResponse(ProjectSchema);
|
|
18
|
+
export const BoardResponse = SingleItemResponse(BoardSchema);
|
|
19
|
+
export const BoardsResponse = MultiItemResponse(BoardSchema);
|
|
20
|
+
export const ListResponse = SingleItemResponse(ListSchema);
|
|
21
|
+
export const ListsResponse = MultiItemResponse(ListSchema);
|
|
22
|
+
export const CardResponse = SingleItemResponse(CardSchema);
|
|
23
|
+
export const CardsResponse = MultiItemResponse(CardSchema);
|
|
24
|
+
export const TaskListResponse = SingleItemResponse(TaskListSchema);
|
|
25
|
+
export const TaskListsResponse = MultiItemResponse(TaskListSchema);
|
|
26
|
+
export const TaskResponse = SingleItemResponse(TaskSchema);
|
|
27
|
+
export const TasksResponse = MultiItemResponse(TaskSchema);
|
|
28
|
+
export const LabelResponse = SingleItemResponse(LabelSchema);
|
|
29
|
+
export const LabelsResponse = MultiItemResponse(LabelSchema);
|
|
30
|
+
export const CommentResponse = SingleItemResponse(CommentSchema);
|
|
31
|
+
export const CommentsResponse = MultiItemResponse(CommentSchema);
|
|
32
|
+
export const CardLabelResponse = SingleItemResponse(CardLabelSchema);
|
|
33
|
+
// Auth response
|
|
34
|
+
export const AuthResponse = z.object({
|
|
35
|
+
item: z.string(), // JWT token
|
|
36
|
+
});
|
|
37
|
+
// Included entities schema for board details
|
|
38
|
+
export const BoardIncludedSchema = z
|
|
39
|
+
.object({
|
|
40
|
+
lists: z.array(ListSchema).optional(),
|
|
41
|
+
cards: z.array(CardSchema).optional(),
|
|
42
|
+
labels: z.array(LabelSchema).optional(),
|
|
43
|
+
cardLabels: z.array(CardLabelSchema).optional(),
|
|
44
|
+
taskLists: z.array(TaskListSchema).optional(),
|
|
45
|
+
tasks: z.array(TaskSchema).optional(),
|
|
46
|
+
users: z.array(UserSchema).optional(),
|
|
47
|
+
})
|
|
48
|
+
.passthrough(); // Allow additional fields
|
|
49
|
+
// Included entities schema for card details
|
|
50
|
+
export const CardIncludedSchema = z
|
|
51
|
+
.object({
|
|
52
|
+
taskLists: z.array(TaskListSchema).optional(),
|
|
53
|
+
tasks: z.array(TaskSchema).optional(),
|
|
54
|
+
comments: z.array(CommentSchema).optional(),
|
|
55
|
+
labels: z.array(LabelSchema).optional(),
|
|
56
|
+
cardLabels: z.array(CardLabelSchema).optional(),
|
|
57
|
+
attachments: z.array(AttachmentSchema).optional(),
|
|
58
|
+
users: z.array(UserSchema).optional(),
|
|
59
|
+
})
|
|
60
|
+
.passthrough();
|
|
61
|
+
// Projects response includes boards
|
|
62
|
+
export const ProjectsIncludedSchema = z
|
|
63
|
+
.object({
|
|
64
|
+
boards: z.array(BoardSchema).optional(),
|
|
65
|
+
users: z.array(UserSchema).optional(),
|
|
66
|
+
})
|
|
67
|
+
.passthrough();
|
|
68
|
+
//# sourceMappingURL=responses.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/schemas/responses.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,UAAU,EACV,cAAc,EACd,UAAU,EACV,WAAW,EACX,aAAa,EACb,UAAU,EACV,eAAe,EACf,gBAAgB,GACjB,MAAM,eAAe,CAAC;AAEvB,4BAA4B;AAC5B,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAyB,UAAa,EAAE,EAAE,CAC1E,CAAC,CAAC,MAAM,CAAC;I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CAAC;IACN,SAAS,EAAE,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,QAAQ,EAAE;IAC7C,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;IACrC,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,QAAQ,EAAE;IAC/C,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC,QAAQ,EAAE;IACjD,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC;KACD,WAAW,EAAE,CAAC;AAEjB,oCAAoC;AACpC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,MAAM,CAAC;IACN,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,QAAQ,EAAE;IACvC,KAAK,EAAE,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,QAAQ,EAAE;CACtC,CAAC;KACD,WAAW,EAAE,CAAC"}
|
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool: planka_create_card
|
|
3
|
+
* Create a new card on a board.
|
|
4
|
+
*/
|
|
5
|
+
export declare const createCardTool: {
|
|
6
|
+
name: string;
|
|
7
|
+
description: string;
|
|
8
|
+
inputSchema: {
|
|
9
|
+
type: "object";
|
|
10
|
+
properties: {
|
|
11
|
+
listId: {
|
|
12
|
+
type: string;
|
|
13
|
+
description: string;
|
|
14
|
+
};
|
|
15
|
+
name: {
|
|
16
|
+
type: string;
|
|
17
|
+
description: string;
|
|
18
|
+
};
|
|
19
|
+
description: {
|
|
20
|
+
type: string;
|
|
21
|
+
description: string;
|
|
22
|
+
};
|
|
23
|
+
tasks: {
|
|
24
|
+
type: string;
|
|
25
|
+
items: {
|
|
26
|
+
type: string;
|
|
27
|
+
};
|
|
28
|
+
description: string;
|
|
29
|
+
};
|
|
30
|
+
dueDate: {
|
|
31
|
+
type: string;
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
labelIds: {
|
|
35
|
+
type: string;
|
|
36
|
+
items: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
required: string[];
|
|
43
|
+
};
|
|
44
|
+
handler: (params: {
|
|
45
|
+
listId: string;
|
|
46
|
+
name: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
tasks?: string[];
|
|
49
|
+
dueDate?: string;
|
|
50
|
+
labelIds?: string[];
|
|
51
|
+
}) => Promise<{
|
|
52
|
+
content: {
|
|
53
|
+
type: "text";
|
|
54
|
+
text: string;
|
|
55
|
+
}[];
|
|
56
|
+
isError?: undefined;
|
|
57
|
+
} | {
|
|
58
|
+
content: {
|
|
59
|
+
type: "text";
|
|
60
|
+
text: string;
|
|
61
|
+
}[];
|
|
62
|
+
isError: boolean;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Tool: planka_get_card
|
|
67
|
+
* Get full details of a card.
|
|
68
|
+
*/
|
|
69
|
+
export declare const getCardTool: {
|
|
70
|
+
name: string;
|
|
71
|
+
description: string;
|
|
72
|
+
inputSchema: {
|
|
73
|
+
type: "object";
|
|
74
|
+
properties: {
|
|
75
|
+
cardId: {
|
|
76
|
+
type: string;
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
required: string[];
|
|
81
|
+
};
|
|
82
|
+
handler: (params: {
|
|
83
|
+
cardId: string;
|
|
84
|
+
}) => Promise<{
|
|
85
|
+
content: {
|
|
86
|
+
type: "text";
|
|
87
|
+
text: string;
|
|
88
|
+
}[];
|
|
89
|
+
isError?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
content: {
|
|
92
|
+
type: "text";
|
|
93
|
+
text: string;
|
|
94
|
+
}[];
|
|
95
|
+
isError: boolean;
|
|
96
|
+
}>;
|
|
97
|
+
};
|
|
98
|
+
/**
|
|
99
|
+
* Tool: planka_update_card
|
|
100
|
+
* Update a card's properties.
|
|
101
|
+
*/
|
|
102
|
+
export declare const updateCardTool: {
|
|
103
|
+
name: string;
|
|
104
|
+
description: string;
|
|
105
|
+
inputSchema: {
|
|
106
|
+
type: "object";
|
|
107
|
+
properties: {
|
|
108
|
+
cardId: {
|
|
109
|
+
type: string;
|
|
110
|
+
description: string;
|
|
111
|
+
};
|
|
112
|
+
name: {
|
|
113
|
+
type: string;
|
|
114
|
+
description: string;
|
|
115
|
+
};
|
|
116
|
+
description: {
|
|
117
|
+
type: string[];
|
|
118
|
+
description: string;
|
|
119
|
+
};
|
|
120
|
+
dueDate: {
|
|
121
|
+
type: string[];
|
|
122
|
+
description: string;
|
|
123
|
+
};
|
|
124
|
+
isCompleted: {
|
|
125
|
+
type: string;
|
|
126
|
+
description: string;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
required: string[];
|
|
130
|
+
};
|
|
131
|
+
handler: (params: {
|
|
132
|
+
cardId: string;
|
|
133
|
+
name?: string;
|
|
134
|
+
description?: string | null;
|
|
135
|
+
dueDate?: string | null;
|
|
136
|
+
isCompleted?: boolean;
|
|
137
|
+
}) => Promise<{
|
|
138
|
+
content: {
|
|
139
|
+
type: "text";
|
|
140
|
+
text: string;
|
|
141
|
+
}[];
|
|
142
|
+
isError?: undefined;
|
|
143
|
+
} | {
|
|
144
|
+
content: {
|
|
145
|
+
type: "text";
|
|
146
|
+
text: string;
|
|
147
|
+
}[];
|
|
148
|
+
isError: boolean;
|
|
149
|
+
}>;
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Tool: planka_move_card
|
|
153
|
+
* Move a card to a different list or position.
|
|
154
|
+
*/
|
|
155
|
+
export declare const moveCardTool: {
|
|
156
|
+
name: string;
|
|
157
|
+
description: string;
|
|
158
|
+
inputSchema: {
|
|
159
|
+
type: "object";
|
|
160
|
+
properties: {
|
|
161
|
+
cardId: {
|
|
162
|
+
type: string;
|
|
163
|
+
description: string;
|
|
164
|
+
};
|
|
165
|
+
listId: {
|
|
166
|
+
type: string;
|
|
167
|
+
description: string;
|
|
168
|
+
};
|
|
169
|
+
position: {
|
|
170
|
+
type: string;
|
|
171
|
+
description: string;
|
|
172
|
+
};
|
|
173
|
+
};
|
|
174
|
+
required: string[];
|
|
175
|
+
};
|
|
176
|
+
handler: (params: {
|
|
177
|
+
cardId: string;
|
|
178
|
+
listId: string;
|
|
179
|
+
position?: number;
|
|
180
|
+
}) => Promise<{
|
|
181
|
+
content: {
|
|
182
|
+
type: "text";
|
|
183
|
+
text: string;
|
|
184
|
+
}[];
|
|
185
|
+
isError?: undefined;
|
|
186
|
+
} | {
|
|
187
|
+
content: {
|
|
188
|
+
type: "text";
|
|
189
|
+
text: string;
|
|
190
|
+
}[];
|
|
191
|
+
isError: boolean;
|
|
192
|
+
}>;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* Tool: planka_delete_card
|
|
196
|
+
* Permanently delete a card.
|
|
197
|
+
*/
|
|
198
|
+
export declare const deleteCardTool: {
|
|
199
|
+
name: string;
|
|
200
|
+
description: string;
|
|
201
|
+
inputSchema: {
|
|
202
|
+
type: "object";
|
|
203
|
+
properties: {
|
|
204
|
+
cardId: {
|
|
205
|
+
type: string;
|
|
206
|
+
description: string;
|
|
207
|
+
};
|
|
208
|
+
};
|
|
209
|
+
required: string[];
|
|
210
|
+
};
|
|
211
|
+
handler: (params: {
|
|
212
|
+
cardId: string;
|
|
213
|
+
}) => Promise<{
|
|
214
|
+
content: {
|
|
215
|
+
type: "text";
|
|
216
|
+
text: string;
|
|
217
|
+
}[];
|
|
218
|
+
isError?: undefined;
|
|
219
|
+
} | {
|
|
220
|
+
content: {
|
|
221
|
+
type: "text";
|
|
222
|
+
text: string;
|
|
223
|
+
}[];
|
|
224
|
+
isError: boolean;
|
|
225
|
+
}>;
|
|
226
|
+
};
|
|
227
|
+
export declare const cardTools: ({
|
|
228
|
+
name: string;
|
|
229
|
+
description: string;
|
|
230
|
+
inputSchema: {
|
|
231
|
+
type: "object";
|
|
232
|
+
properties: {
|
|
233
|
+
listId: {
|
|
234
|
+
type: string;
|
|
235
|
+
description: string;
|
|
236
|
+
};
|
|
237
|
+
name: {
|
|
238
|
+
type: string;
|
|
239
|
+
description: string;
|
|
240
|
+
};
|
|
241
|
+
description: {
|
|
242
|
+
type: string;
|
|
243
|
+
description: string;
|
|
244
|
+
};
|
|
245
|
+
tasks: {
|
|
246
|
+
type: string;
|
|
247
|
+
items: {
|
|
248
|
+
type: string;
|
|
249
|
+
};
|
|
250
|
+
description: string;
|
|
251
|
+
};
|
|
252
|
+
dueDate: {
|
|
253
|
+
type: string;
|
|
254
|
+
description: string;
|
|
255
|
+
};
|
|
256
|
+
labelIds: {
|
|
257
|
+
type: string;
|
|
258
|
+
items: {
|
|
259
|
+
type: string;
|
|
260
|
+
};
|
|
261
|
+
description: string;
|
|
262
|
+
};
|
|
263
|
+
};
|
|
264
|
+
required: string[];
|
|
265
|
+
};
|
|
266
|
+
handler: (params: {
|
|
267
|
+
listId: string;
|
|
268
|
+
name: string;
|
|
269
|
+
description?: string;
|
|
270
|
+
tasks?: string[];
|
|
271
|
+
dueDate?: string;
|
|
272
|
+
labelIds?: string[];
|
|
273
|
+
}) => Promise<{
|
|
274
|
+
content: {
|
|
275
|
+
type: "text";
|
|
276
|
+
text: string;
|
|
277
|
+
}[];
|
|
278
|
+
isError?: undefined;
|
|
279
|
+
} | {
|
|
280
|
+
content: {
|
|
281
|
+
type: "text";
|
|
282
|
+
text: string;
|
|
283
|
+
}[];
|
|
284
|
+
isError: boolean;
|
|
285
|
+
}>;
|
|
286
|
+
} | {
|
|
287
|
+
name: string;
|
|
288
|
+
description: string;
|
|
289
|
+
inputSchema: {
|
|
290
|
+
type: "object";
|
|
291
|
+
properties: {
|
|
292
|
+
cardId: {
|
|
293
|
+
type: string;
|
|
294
|
+
description: string;
|
|
295
|
+
};
|
|
296
|
+
};
|
|
297
|
+
required: string[];
|
|
298
|
+
};
|
|
299
|
+
handler: (params: {
|
|
300
|
+
cardId: string;
|
|
301
|
+
}) => Promise<{
|
|
302
|
+
content: {
|
|
303
|
+
type: "text";
|
|
304
|
+
text: string;
|
|
305
|
+
}[];
|
|
306
|
+
isError?: undefined;
|
|
307
|
+
} | {
|
|
308
|
+
content: {
|
|
309
|
+
type: "text";
|
|
310
|
+
text: string;
|
|
311
|
+
}[];
|
|
312
|
+
isError: boolean;
|
|
313
|
+
}>;
|
|
314
|
+
} | {
|
|
315
|
+
name: string;
|
|
316
|
+
description: string;
|
|
317
|
+
inputSchema: {
|
|
318
|
+
type: "object";
|
|
319
|
+
properties: {
|
|
320
|
+
cardId: {
|
|
321
|
+
type: string;
|
|
322
|
+
description: string;
|
|
323
|
+
};
|
|
324
|
+
name: {
|
|
325
|
+
type: string;
|
|
326
|
+
description: string;
|
|
327
|
+
};
|
|
328
|
+
description: {
|
|
329
|
+
type: string[];
|
|
330
|
+
description: string;
|
|
331
|
+
};
|
|
332
|
+
dueDate: {
|
|
333
|
+
type: string[];
|
|
334
|
+
description: string;
|
|
335
|
+
};
|
|
336
|
+
isCompleted: {
|
|
337
|
+
type: string;
|
|
338
|
+
description: string;
|
|
339
|
+
};
|
|
340
|
+
};
|
|
341
|
+
required: string[];
|
|
342
|
+
};
|
|
343
|
+
handler: (params: {
|
|
344
|
+
cardId: string;
|
|
345
|
+
name?: string;
|
|
346
|
+
description?: string | null;
|
|
347
|
+
dueDate?: string | null;
|
|
348
|
+
isCompleted?: boolean;
|
|
349
|
+
}) => Promise<{
|
|
350
|
+
content: {
|
|
351
|
+
type: "text";
|
|
352
|
+
text: string;
|
|
353
|
+
}[];
|
|
354
|
+
isError?: undefined;
|
|
355
|
+
} | {
|
|
356
|
+
content: {
|
|
357
|
+
type: "text";
|
|
358
|
+
text: string;
|
|
359
|
+
}[];
|
|
360
|
+
isError: boolean;
|
|
361
|
+
}>;
|
|
362
|
+
} | {
|
|
363
|
+
name: string;
|
|
364
|
+
description: string;
|
|
365
|
+
inputSchema: {
|
|
366
|
+
type: "object";
|
|
367
|
+
properties: {
|
|
368
|
+
cardId: {
|
|
369
|
+
type: string;
|
|
370
|
+
description: string;
|
|
371
|
+
};
|
|
372
|
+
listId: {
|
|
373
|
+
type: string;
|
|
374
|
+
description: string;
|
|
375
|
+
};
|
|
376
|
+
position: {
|
|
377
|
+
type: string;
|
|
378
|
+
description: string;
|
|
379
|
+
};
|
|
380
|
+
};
|
|
381
|
+
required: string[];
|
|
382
|
+
};
|
|
383
|
+
handler: (params: {
|
|
384
|
+
cardId: string;
|
|
385
|
+
listId: string;
|
|
386
|
+
position?: number;
|
|
387
|
+
}) => Promise<{
|
|
388
|
+
content: {
|
|
389
|
+
type: "text";
|
|
390
|
+
text: string;
|
|
391
|
+
}[];
|
|
392
|
+
isError?: undefined;
|
|
393
|
+
} | {
|
|
394
|
+
content: {
|
|
395
|
+
type: "text";
|
|
396
|
+
text: string;
|
|
397
|
+
}[];
|
|
398
|
+
isError: boolean;
|
|
399
|
+
}>;
|
|
400
|
+
})[];
|
|
401
|
+
//# sourceMappingURL=cards.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cards.d.ts","sourceRoot":"","sources":["../../src/tools/cards.ts"],"names":[],"mappings":"AAcA;;;GAGG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAoCD;QACtB,MAAM,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;QACjB,OAAO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