-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
438 lines (438 loc) · 14.2 KB
/
Copy pathpackage.json
File metadata and controls
438 lines (438 loc) · 14.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
{
"name": "kanbancode",
"displayName": "KanbanCode",
"description": "A Kanban board that lives inside VS Code — manage tasks with drag-and-drop, reference todos from code comments, and let Copilot help manage your backlog.",
"version": "1.0.1",
"publisher": "ItsCoding",
"license": "MIT",
"icon": "logo.png",
"repository": {
"type": "git",
"url": "https://github.com/ItsCoding/KanbanCode"
},
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onView:kanbancode.sidebar",
"onWebviewPanel:kanbancode.board"
],
"main": "./out/extension.js",
"contributes": {
"chatParticipants": [
{
"id": "kanbancode.chat",
"fullName": "KanbanCode",
"name": "kanban",
"description": "Ask about your kanban board, todos, priorities, and task status. Mention a todo by name to get details.",
"isSticky": false,
"commands": [
{
"name": "board",
"description": "Show an overview of the entire board"
},
{
"name": "todo",
"description": "Get details about a specific todo"
}
]
}
],
"commands": [
{
"command": "kanbancode.openBoard",
"title": "Open Kanban Board",
"category": "KanbanCode",
"icon": "$(project)"
},
{
"command": "kanbancode.addTodo",
"title": "Quick Add Todo",
"category": "KanbanCode",
"icon": "$(add)"
},
{
"command": "kanbancode.refreshSidebar",
"title": "Refresh",
"category": "KanbanCode",
"icon": "$(refresh)"
},
{
"command": "kanbancode.openTodoFull",
"title": "Open Todo Detail",
"category": "KanbanCode",
"icon": "$(open-preview)"
},
{
"command": "kanbancode.setTodoStatus",
"title": "Move to Column...",
"category": "KanbanCode",
"icon": "$(arrow-right)"
},
{
"command": "kanbancode.setTodoPriority",
"title": "Set Priority...",
"category": "KanbanCode",
"icon": "$(arrow-up)"
},
{
"command": "kanbancode.addTodoTag",
"title": "Add Tag...",
"category": "KanbanCode",
"icon": "$(tag)"
},
{
"command": "kanbancode.deleteTodo",
"title": "Delete Todo",
"category": "KanbanCode",
"icon": "$(trash)"
}
],
"keybindings": [
{
"command": "kanbancode.openBoard",
"key": "ctrl+shift+k",
"mac": "cmd+shift+k"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "kanbancode",
"title": "KanbanCode",
"icon": "$(project)"
}
]
},
"views": {
"kanbancode": [
{
"id": "kanbancode.sidebar",
"name": "Board",
"type": "tree"
}
]
},
"menus": {
"view/title": [
{
"command": "kanbancode.openBoard",
"when": "view == kanbancode.sidebar",
"group": "navigation"
},
{
"command": "kanbancode.addTodo",
"when": "view == kanbancode.sidebar",
"group": "navigation"
},
{
"command": "kanbancode.refreshSidebar",
"when": "view == kanbancode.sidebar",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "kanbancode.openTodoFull",
"when": "view == kanbancode.sidebar && viewItem == kanbanTodo",
"group": "navigation@1"
},
{
"command": "kanbancode.setTodoStatus",
"when": "view == kanbancode.sidebar && viewItem == kanbanTodo",
"group": "1_status@1"
},
{
"command": "kanbancode.setTodoPriority",
"when": "view == kanbancode.sidebar && viewItem == kanbanTodo",
"group": "1_status@2"
},
{
"command": "kanbancode.addTodoTag",
"when": "view == kanbancode.sidebar && viewItem == kanbanTodo",
"group": "2_properties@1"
},
{
"command": "kanbancode.deleteTodo",
"when": "view == kanbancode.sidebar && viewItem == kanbanTodo",
"group": "3_danger@1"
}
]
},
"languageModelTools": [
{
"name": "kanbancode_listTodos",
"displayName": "List KanbanCode Todos",
"modelDescription": "List todos from the KanbanCode kanban board. Can filter by column name, tag, or priority level. Returns an array of todo objects with id, title, column, priority, dueDate, tags, and comment count.",
"toolReferenceName": "kanbanTodos",
"canBeReferencedInPrompt": true,
"icon": "$(project)",
"inputSchema": {
"type": "object",
"properties": {
"columnTitle": {
"type": "string",
"description": "Filter by column name (e.g. 'Backlog', 'In Progress', 'Done')"
},
"tag": {
"type": "string",
"description": "Filter by tag name"
},
"priority": {
"type": "string",
"enum": [
"none",
"low",
"medium",
"high",
"critical"
],
"description": "Filter by priority level"
}
}
}
},
{
"name": "kanbancode_getTodo",
"displayName": "Get KanbanCode Todo Details",
"modelDescription": "Get detailed information about a specific KanbanCode todo by its ID or title. Returns the full todo object including description, code references, comments, priority, tags, and column.",
"toolReferenceName": "kanbanTodo",
"canBeReferencedInPrompt": true,
"icon": "$(project)",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique ID of the todo"
},
"title": {
"type": "string",
"description": "The title (or partial title) of the todo to search for"
}
}
}
},
{
"name": "kanbancode_changeStatus",
"displayName": "Move KanbanCode Todo",
"modelDescription": "Move a KanbanCode todo to a different column (e.g. from 'Backlog' to 'In Progress' or 'Done'). Requires the target column name. The todo can be identified by ID or title.",
"toolReferenceName": "kanbanMove",
"canBeReferencedInPrompt": true,
"icon": "$(project)",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique ID of the todo"
},
"title": {
"type": "string",
"description": "The title of the todo to move"
},
"targetColumn": {
"type": "string",
"description": "The name of the target column to move the todo to"
}
},
"required": [
"targetColumn"
]
}
},
{
"name": "kanbancode_addComment",
"displayName": "Add Comment to KanbanCode Todo",
"modelDescription": "Add a comment to a specific KanbanCode todo. The comment supports markdown. The todo can be identified by ID or title. Comments are timestamped and attributed to the author.",
"toolReferenceName": "kanbanComment",
"canBeReferencedInPrompt": true,
"icon": "$(project)",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique ID of the todo"
},
"title": {
"type": "string",
"description": "The title of the todo to add a comment to"
},
"comment": {
"type": "string",
"description": "The comment text to add"
}
},
"required": [
"comment"
]
}
},
{
"name": "kanbancode_createTodo",
"displayName": "Create KanbanCode Todo",
"modelDescription": "Create a new todo on the KanbanCode kanban board. Requires a title. Optionally set column, priority, description, tags, due date, and code references. The todo is placed in the first column by default (usually 'Backlog').",
"toolReferenceName": "kanbanCreate",
"canBeReferencedInPrompt": true,
"icon": "$(add)",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the new todo"
},
"column": {
"type": "string",
"description": "Target column name (e.g. 'Backlog', 'In Progress'). Defaults to the first column."
},
"priority": {
"type": "string",
"enum": [
"none",
"low",
"medium",
"high",
"critical"
],
"description": "Priority level. Defaults to 'none'."
},
"description": {
"type": "string",
"description": "Markdown description for the todo"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tags to attach to the todo"
},
"dueDate": {
"type": "string",
"description": "Due date in ISO 8601 format (e.g. '2025-12-31')"
},
"codeReferences": {
"type": "array",
"description": "Code references to attach. Each item has a workspace-relative filePath and a line number.",
"items": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Workspace-relative file path (e.g. 'src/index.ts')"
},
"line": {
"type": "number",
"description": "Line number in the file (1-based)"
}
},
"required": [
"filePath",
"line"
]
}
}
},
"required": [
"title"
]
}
},
{
"name": "kanbancode_updateTodo",
"displayName": "Update KanbanCode Todo",
"modelDescription": "Update an existing KanbanCode todo. The todo is identified by 'id' (preferred) or by 'title' for lookup. When 'id' is provided, the 'title' field sets a new title. When 'id' is absent, 'title' is used to find the todo. Can update description, priority, tags, due date, column, or code references. Only the fields provided will be updated.",
"toolReferenceName": "kanbanUpdate",
"canBeReferencedInPrompt": true,
"icon": "$(edit)",
"inputSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "The unique ID of the todo to update. Preferred over title for lookup."
},
"title": {
"type": "string",
"description": "When 'id' is provided: sets a new title. When 'id' is absent: used to find the todo by name."
},
"description": {
"type": "string",
"description": "New markdown description"
},
"priority": {
"type": "string",
"enum": [
"none",
"low",
"medium",
"high",
"critical"
],
"description": "New priority level"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"description": "Replace all tags with this array"
},
"dueDate": {
"type": "string",
"description": "New due date in ISO 8601 format, or empty string to clear"
},
"column": {
"type": "string",
"description": "Move to this column name"
},
"codeReferences": {
"type": "array",
"description": "Replace all code references. Each item has a workspace-relative filePath and a line number.",
"items": {
"type": "object",
"properties": {
"filePath": {
"type": "string",
"description": "Workspace-relative file path (e.g. 'src/index.ts')"
},
"line": {
"type": "number",
"description": "Line number in the file (1-based)"
}
},
"required": [
"filePath",
"line"
]
}
}
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run build",
"build": "npm run build:extension && npm run build:webview",
"build:extension": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --sourcemap",
"build:webview": "cd webview-ui && npm run build",
"watch": "npm run watch:extension",
"watch:extension": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --sourcemap --watch",
"lint": "eslint src --ext ts",
"package": "vsce package",
"install-ext": "npm run build && vsce package --out kanbancode.vsix && code --install-extension kanbancode.vsix --force"
},
"devDependencies": {
"@types/node": "^20.11.0",
"@types/vscode": "^1.100.0",
"esbuild": "^0.20.0",
"typescript": "^5.3.0",
"@vscode/vsce": "3.9.1"
}
}