@omnicoreos/planka-mcp 0.2.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.
Files changed (126) hide show
  1. package/CHANGELOG.md +86 -0
  2. package/CONTRIBUTING.md +37 -0
  3. package/CREDITS.md +39 -0
  4. package/LICENSE +22 -0
  5. package/README.es.md +213 -0
  6. package/README.md +213 -0
  7. package/dist/client.d.ts +96 -0
  8. package/dist/client.d.ts.map +1 -0
  9. package/dist/client.js +281 -0
  10. package/dist/client.js.map +1 -0
  11. package/dist/errors.d.ts +85 -0
  12. package/dist/errors.d.ts.map +1 -0
  13. package/dist/errors.js +226 -0
  14. package/dist/errors.js.map +1 -0
  15. package/dist/identity.generated.d.ts +3 -0
  16. package/dist/identity.generated.d.ts.map +1 -0
  17. package/dist/identity.generated.js +4 -0
  18. package/dist/identity.generated.js.map +1 -0
  19. package/dist/index.d.ts +3 -0
  20. package/dist/index.d.ts.map +1 -0
  21. package/dist/index.js +93 -0
  22. package/dist/index.js.map +1 -0
  23. package/dist/operations/attachments.d.ts +34 -0
  24. package/dist/operations/attachments.d.ts.map +1 -0
  25. package/dist/operations/attachments.js +89 -0
  26. package/dist/operations/attachments.js.map +1 -0
  27. package/dist/operations/board-id.d.ts +9 -0
  28. package/dist/operations/board-id.d.ts.map +1 -0
  29. package/dist/operations/board-id.js +86 -0
  30. package/dist/operations/board-id.js.map +1 -0
  31. package/dist/operations/boards.d.ts +143 -0
  32. package/dist/operations/boards.d.ts.map +1 -0
  33. package/dist/operations/boards.js +391 -0
  34. package/dist/operations/boards.js.map +1 -0
  35. package/dist/operations/cards.d.ts +36 -0
  36. package/dist/operations/cards.d.ts.map +1 -0
  37. package/dist/operations/cards.js +81 -0
  38. package/dist/operations/cards.js.map +1 -0
  39. package/dist/operations/comments.d.ts +28 -0
  40. package/dist/operations/comments.d.ts.map +1 -0
  41. package/dist/operations/comments.js +53 -0
  42. package/dist/operations/comments.js.map +1 -0
  43. package/dist/operations/labels.d.ts +60 -0
  44. package/dist/operations/labels.d.ts.map +1 -0
  45. package/dist/operations/labels.js +146 -0
  46. package/dist/operations/labels.js.map +1 -0
  47. package/dist/operations/lists.d.ts +15 -0
  48. package/dist/operations/lists.d.ts.map +1 -0
  49. package/dist/operations/lists.js +40 -0
  50. package/dist/operations/lists.js.map +1 -0
  51. package/dist/operations/projects.d.ts +24 -0
  52. package/dist/operations/projects.d.ts.map +1 -0
  53. package/dist/operations/projects.js +61 -0
  54. package/dist/operations/projects.js.map +1 -0
  55. package/dist/operations/tasks.d.ts +30 -0
  56. package/dist/operations/tasks.d.ts.map +1 -0
  57. package/dist/operations/tasks.js +111 -0
  58. package/dist/operations/tasks.js.map +1 -0
  59. package/dist/schemas/entities.d.ts +389 -0
  60. package/dist/schemas/entities.d.ts.map +1 -0
  61. package/dist/schemas/entities.js +202 -0
  62. package/dist/schemas/entities.js.map +1 -0
  63. package/dist/schemas/requests.d.ts +539 -0
  64. package/dist/schemas/requests.d.ts.map +1 -0
  65. package/dist/schemas/requests.js +187 -0
  66. package/dist/schemas/requests.js.map +1 -0
  67. package/dist/schemas/responses.d.ts +2626 -0
  68. package/dist/schemas/responses.d.ts.map +1 -0
  69. package/dist/schemas/responses.js +75 -0
  70. package/dist/schemas/responses.js.map +1 -0
  71. package/dist/tools/attachments.d.ts +270 -0
  72. package/dist/tools/attachments.d.ts.map +1 -0
  73. package/dist/tools/attachments.js +247 -0
  74. package/dist/tools/attachments.js.map +1 -0
  75. package/dist/tools/cards.d.ts +401 -0
  76. package/dist/tools/cards.d.ts.map +1 -0
  77. package/dist/tools/cards.js +368 -0
  78. package/dist/tools/cards.js.map +1 -0
  79. package/dist/tools/comments.d.ts +217 -0
  80. package/dist/tools/comments.d.ts.map +1 -0
  81. package/dist/tools/comments.js +208 -0
  82. package/dist/tools/comments.js.map +1 -0
  83. package/dist/tools/index.d.ts +1293 -0
  84. package/dist/tools/index.d.ts.map +1 -0
  85. package/dist/tools/index.js +62 -0
  86. package/dist/tools/index.js.map +1 -0
  87. package/dist/tools/labels.d.ts +214 -0
  88. package/dist/tools/labels.d.ts.map +1 -0
  89. package/dist/tools/labels.js +302 -0
  90. package/dist/tools/labels.js.map +1 -0
  91. package/dist/tools/lists.d.ts +117 -0
  92. package/dist/tools/lists.d.ts.map +1 -0
  93. package/dist/tools/lists.js +178 -0
  94. package/dist/tools/lists.js.map +1 -0
  95. package/dist/tools/navigation.d.ts +106 -0
  96. package/dist/tools/navigation.d.ts.map +1 -0
  97. package/dist/tools/navigation.js +151 -0
  98. package/dist/tools/navigation.js.map +1 -0
  99. package/dist/tools/queries.d.ts +380 -0
  100. package/dist/tools/queries.d.ts.map +1 -0
  101. package/dist/tools/queries.js +256 -0
  102. package/dist/tools/queries.js.map +1 -0
  103. package/dist/tools/tasks.d.ts +223 -0
  104. package/dist/tools/tasks.d.ts.map +1 -0
  105. package/dist/tools/tasks.js +169 -0
  106. package/dist/tools/tasks.js.map +1 -0
  107. package/docs/planka-2x-gotchas.md +192 -0
  108. package/docs/tools.md +659 -0
  109. package/docs/troubleshooting.md +138 -0
  110. package/package.json +71 -0
  111. package/project.identity.json +7 -0
  112. package/scripts/bootstrap-board.mjs +160 -0
  113. package/scripts/lib/planka-api.mjs +244 -0
  114. package/scripts/lib/workflow-template.mjs +26 -0
  115. package/scripts/setup.mjs +236 -0
  116. package/scripts/setup.sh +48 -0
  117. package/scripts/sync-identity.mjs +57 -0
  118. package/server.json +43 -0
  119. package/tests/smoke/planka-smoke.mjs +920 -0
  120. package/workflow/README.md +232 -0
  121. package/workflow/board-template.md +115 -0
  122. package/workflow/skills/planka-close-card/SKILL.md +81 -0
  123. package/workflow/skills/planka-orchestrator/SKILL.md +126 -0
  124. package/workflow/worktrees/README.md +104 -0
  125. package/workflow/worktrees/wt.conf.example +24 -0
  126. package/workflow/worktrees/wt.sh +345 -0
@@ -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":"AAeA;;;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,CAAC,EAAE,MAAM,CAAC;QACjB,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;KACrB;;;;;;;;;;;;;CAiEF,CAAC;AAEF;;;GAGG;AACH,eAAO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