kanbo-cli 0.2.1 → 0.4.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 (88) hide show
  1. package/CHANGELOG.md +202 -0
  2. package/README.md +17 -46
  3. package/dist/{better-sqlite3-fU3G4xnX.cjs → better-sqlite3-DPdSZ6sH.cjs} +244 -247
  4. package/dist/cli-main.cjs +51690 -0
  5. package/dist/cli.cjs +32 -45216
  6. package/dist/dist-IHRTF-b5.cjs +2552 -0
  7. package/dist/lib/{tool-names-WfH4IURz.d.cts → approval-BsBk2xVr.d.cts} +72 -3
  8. package/dist/lib/{tool-names-3q_GEZej.d.mts → approval-LRZ6ontC.d.mts} +72 -3
  9. package/dist/lib/{board-store-BvWn9xTB.d.mts → board-store-D_Mpfb84.d.mts} +75 -2
  10. package/dist/lib/{board-store-BfszzAJB.d.cts → board-store-Dx-mw2I6.d.cts} +75 -2
  11. package/dist/lib/index.cjs +8 -2
  12. package/dist/lib/index.d.cts +202 -91
  13. package/dist/lib/index.d.mts +202 -91
  14. package/dist/lib/index.mjs +3 -3
  15. package/dist/lib/{manifest-D9nCRtXM.cjs → manifest-DcIMYvWk.cjs} +7363 -1556
  16. package/dist/lib/manifest-Dmo6IlWk.mjs +14654 -0
  17. package/dist/lib/mcp/index.cjs +166 -22
  18. package/dist/lib/mcp/index.d.cts +144 -5
  19. package/dist/lib/mcp/index.d.mts +144 -5
  20. package/dist/lib/mcp/index.mjs +162 -23
  21. package/dist/lib/{migrate-DnMjTCvu.cjs → migrate-Dca5WdYd.cjs} +144 -14
  22. package/dist/lib/{migrate-BhYi9cXw.mjs → migrate-DtBeW3Fs.mjs} +134 -16
  23. package/dist/lib/{migrations-path-Ciwan537.mjs → migrations-path-ClaYRNwk.mjs} +5 -7
  24. package/dist/lib/{migrations-path-CZxVOgeD.cjs → migrations-path-DBCE17dT.cjs} +5 -7
  25. package/dist/lib/postgres/index.cjs +2 -4
  26. package/dist/lib/postgres/index.d.cts +2 -3
  27. package/dist/lib/postgres/index.d.mts +2 -3
  28. package/dist/lib/postgres/index.mjs +2 -4
  29. package/dist/lib/{roles.sql-CvyCGt38.mjs → roles.sql-BoOZSkBp.mjs} +96 -5
  30. package/dist/lib/{roles.sql-B9rt-x4o.cjs → roles.sql-E58x7mLS.cjs} +95 -4
  31. package/dist/lib/schema-D0MyXcej.d.cts +1 -2
  32. package/dist/lib/schema-D0MyXcej.d.mts +1 -2
  33. package/dist/lib/schema-epoch-ZyumVL_A.d.cts +1 -2
  34. package/dist/lib/schema-epoch-ZyumVL_A.d.mts +1 -2
  35. package/dist/lib/sqlite/index.cjs +2 -2
  36. package/dist/lib/sqlite/index.d.cts +3 -4
  37. package/dist/lib/sqlite/index.d.mts +3 -4
  38. package/dist/lib/sqlite/index.mjs +2 -2
  39. package/dist/lib/sqlite/schema.cjs +0 -2
  40. package/dist/lib/sqlite/schema.mjs +0 -2
  41. package/dist/page/board.css +1622 -327
  42. package/dist/page/board.js +2 -2
  43. package/package.json +13 -10
  44. package/dist/better-sqlite3-fU3G4xnX.cjs.map +0 -1
  45. package/dist/cli.cjs.map +0 -1
  46. package/dist/dist-BsCwQFEl.cjs +0 -989
  47. package/dist/dist-BsCwQFEl.cjs.map +0 -1
  48. package/dist/lib/manifest-D9nCRtXM.cjs.map +0 -1
  49. package/dist/lib/manifest-DHV2fRdO.mjs +0 -8933
  50. package/dist/lib/manifest-DHV2fRdO.mjs.map +0 -1
  51. package/dist/lib/mcp/index.cjs.map +0 -1
  52. package/dist/lib/mcp/index.mjs.map +0 -1
  53. package/dist/lib/migrate-BhYi9cXw.mjs.map +0 -1
  54. package/dist/lib/migrate-DnMjTCvu.cjs.map +0 -1
  55. package/dist/lib/migrations-path-CZxVOgeD.cjs.map +0 -1
  56. package/dist/lib/migrations-path-Ciwan537.mjs.map +0 -1
  57. package/dist/lib/postgres/index.cjs.map +0 -1
  58. package/dist/lib/postgres/index.mjs.map +0 -1
  59. package/dist/lib/roles.sql-B9rt-x4o.cjs.map +0 -1
  60. package/dist/lib/roles.sql-CvyCGt38.mjs.map +0 -1
  61. package/dist/lib/sqlite/schema.cjs.map +0 -1
  62. package/dist/lib/sqlite/schema.mjs.map +0 -1
  63. package/drizzle-postgres/0000_board.sql +0 -135
  64. package/drizzle-postgres/0001_history_order.sql +0 -2
  65. package/drizzle-postgres/0002_issue_pull_requests.sql +0 -16
  66. package/drizzle-postgres/0003_milestone_start_date.sql +0 -1
  67. package/drizzle-postgres/0004_status_entry_rules.sql +0 -1
  68. package/drizzle-postgres/0005_run_external_session_ref.sql +0 -1
  69. package/drizzle-postgres/README.md +0 -61
  70. package/drizzle-postgres/meta/0000_snapshot.json +0 -1078
  71. package/drizzle-postgres/meta/0001_snapshot.json +0 -1090
  72. package/drizzle-postgres/meta/0002_snapshot.json +0 -1239
  73. package/drizzle-postgres/meta/0003_snapshot.json +0 -1245
  74. package/drizzle-postgres/meta/0004_snapshot.json +0 -1251
  75. package/drizzle-postgres/meta/0005_snapshot.json +0 -1257
  76. package/drizzle-postgres/meta/_journal.json +0 -48
  77. package/drizzle-sqlite/0000_board.sql +0 -133
  78. package/drizzle-sqlite/0001_issue_pull_requests.sql +0 -15
  79. package/drizzle-sqlite/0002_milestone_start_date.sql +0 -1
  80. package/drizzle-sqlite/0003_status_entry_rules.sql +0 -1
  81. package/drizzle-sqlite/0004_run_external_session_ref.sql +0 -1
  82. package/drizzle-sqlite/README.md +0 -67
  83. package/drizzle-sqlite/meta/0000_snapshot.json +0 -946
  84. package/drizzle-sqlite/meta/0001_snapshot.json +0 -1054
  85. package/drizzle-sqlite/meta/0002_snapshot.json +0 -1061
  86. package/drizzle-sqlite/meta/0003_snapshot.json +0 -1068
  87. package/drizzle-sqlite/meta/0004_snapshot.json +0 -1075
  88. package/drizzle-sqlite/meta/_journal.json +0 -41
@@ -1,946 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "6ee1c5f4-dc3c-4fce-9a00-cbdc6e0b3e33",
5
- "prevId": "00000000-0000-0000-0000-000000000000",
6
- "tables": {
7
- "issue_comments": {
8
- "name": "issue_comments",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "text",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": false
16
- },
17
- "issue_id": {
18
- "name": "issue_id",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "content": {
25
- "name": "content",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- },
31
- "author_kind": {
32
- "name": "author_kind",
33
- "type": "text",
34
- "primaryKey": false,
35
- "notNull": true,
36
- "autoincrement": false,
37
- "default": "'user'"
38
- },
39
- "author_id": {
40
- "name": "author_id",
41
- "type": "text",
42
- "primaryKey": false,
43
- "notNull": false,
44
- "autoincrement": false
45
- },
46
- "source_chat_session_id": {
47
- "name": "source_chat_session_id",
48
- "type": "text",
49
- "primaryKey": false,
50
- "notNull": false,
51
- "autoincrement": false
52
- },
53
- "agent_activity_id": {
54
- "name": "agent_activity_id",
55
- "type": "text",
56
- "primaryKey": false,
57
- "notNull": false,
58
- "autoincrement": false
59
- },
60
- "dedupe_key": {
61
- "name": "dedupe_key",
62
- "type": "text",
63
- "primaryKey": false,
64
- "notNull": false,
65
- "autoincrement": false
66
- },
67
- "created_at": {
68
- "name": "created_at",
69
- "type": "integer",
70
- "primaryKey": false,
71
- "notNull": true,
72
- "autoincrement": false,
73
- "default": "(unixepoch())"
74
- }
75
- },
76
- "indexes": {
77
- "issue_comments_issue_id_idx": {
78
- "name": "issue_comments_issue_id_idx",
79
- "columns": [
80
- "issue_id"
81
- ],
82
- "isUnique": false
83
- },
84
- "issue_comments_issue_dedupe_idx": {
85
- "name": "issue_comments_issue_dedupe_idx",
86
- "columns": [
87
- "issue_id",
88
- "dedupe_key"
89
- ],
90
- "isUnique": true
91
- }
92
- },
93
- "foreignKeys": {
94
- "issue_comments_issue_id_issues_id_fk": {
95
- "name": "issue_comments_issue_id_issues_id_fk",
96
- "tableFrom": "issue_comments",
97
- "tableTo": "issues",
98
- "columnsFrom": [
99
- "issue_id"
100
- ],
101
- "columnsTo": [
102
- "id"
103
- ],
104
- "onDelete": "cascade",
105
- "onUpdate": "no action"
106
- }
107
- },
108
- "compositePrimaryKeys": {},
109
- "uniqueConstraints": {},
110
- "checkConstraints": {}
111
- },
112
- "issue_field_changes": {
113
- "name": "issue_field_changes",
114
- "columns": {
115
- "id": {
116
- "name": "id",
117
- "type": "text",
118
- "primaryKey": true,
119
- "notNull": true,
120
- "autoincrement": false
121
- },
122
- "issue_id": {
123
- "name": "issue_id",
124
- "type": "text",
125
- "primaryKey": false,
126
- "notNull": true,
127
- "autoincrement": false
128
- },
129
- "field": {
130
- "name": "field",
131
- "type": "text",
132
- "primaryKey": false,
133
- "notNull": true,
134
- "autoincrement": false
135
- },
136
- "from_value": {
137
- "name": "from_value",
138
- "type": "text",
139
- "primaryKey": false,
140
- "notNull": false,
141
- "autoincrement": false
142
- },
143
- "to_value": {
144
- "name": "to_value",
145
- "type": "text",
146
- "primaryKey": false,
147
- "notNull": false,
148
- "autoincrement": false
149
- },
150
- "actor_kind": {
151
- "name": "actor_kind",
152
- "type": "text",
153
- "primaryKey": false,
154
- "notNull": true,
155
- "autoincrement": false,
156
- "default": "'user'"
157
- },
158
- "actor_id": {
159
- "name": "actor_id",
160
- "type": "text",
161
- "primaryKey": false,
162
- "notNull": false,
163
- "autoincrement": false
164
- },
165
- "source_chat_session_id": {
166
- "name": "source_chat_session_id",
167
- "type": "text",
168
- "primaryKey": false,
169
- "notNull": false,
170
- "autoincrement": false
171
- },
172
- "created_at": {
173
- "name": "created_at",
174
- "type": "integer",
175
- "primaryKey": false,
176
- "notNull": true,
177
- "autoincrement": false,
178
- "default": "(unixepoch())"
179
- }
180
- },
181
- "indexes": {
182
- "issue_field_changes_issue_id_idx": {
183
- "name": "issue_field_changes_issue_id_idx",
184
- "columns": [
185
- "issue_id"
186
- ],
187
- "isUnique": false
188
- }
189
- },
190
- "foreignKeys": {
191
- "issue_field_changes_issue_id_issues_id_fk": {
192
- "name": "issue_field_changes_issue_id_issues_id_fk",
193
- "tableFrom": "issue_field_changes",
194
- "tableTo": "issues",
195
- "columnsFrom": [
196
- "issue_id"
197
- ],
198
- "columnsTo": [
199
- "id"
200
- ],
201
- "onDelete": "cascade",
202
- "onUpdate": "no action"
203
- }
204
- },
205
- "compositePrimaryKeys": {},
206
- "uniqueConstraints": {},
207
- "checkConstraints": {}
208
- },
209
- "issue_milestones": {
210
- "name": "issue_milestones",
211
- "columns": {
212
- "id": {
213
- "name": "id",
214
- "type": "text",
215
- "primaryKey": true,
216
- "notNull": true,
217
- "autoincrement": false
218
- },
219
- "workspace_id": {
220
- "name": "workspace_id",
221
- "type": "text",
222
- "primaryKey": false,
223
- "notNull": true,
224
- "autoincrement": false
225
- },
226
- "title": {
227
- "name": "title",
228
- "type": "text",
229
- "primaryKey": false,
230
- "notNull": true,
231
- "autoincrement": false
232
- },
233
- "description": {
234
- "name": "description",
235
- "type": "text",
236
- "primaryKey": false,
237
- "notNull": false,
238
- "autoincrement": false
239
- },
240
- "due_date": {
241
- "name": "due_date",
242
- "type": "integer",
243
- "primaryKey": false,
244
- "notNull": false,
245
- "autoincrement": false
246
- },
247
- "status": {
248
- "name": "status",
249
- "type": "text",
250
- "primaryKey": false,
251
- "notNull": true,
252
- "autoincrement": false,
253
- "default": "'open'"
254
- },
255
- "created_at": {
256
- "name": "created_at",
257
- "type": "integer",
258
- "primaryKey": false,
259
- "notNull": true,
260
- "autoincrement": false,
261
- "default": "(unixepoch())"
262
- },
263
- "updated_at": {
264
- "name": "updated_at",
265
- "type": "integer",
266
- "primaryKey": false,
267
- "notNull": true,
268
- "autoincrement": false,
269
- "default": "(unixepoch())"
270
- }
271
- },
272
- "indexes": {
273
- "issue_milestones_workspace_id_idx": {
274
- "name": "issue_milestones_workspace_id_idx",
275
- "columns": [
276
- "workspace_id"
277
- ],
278
- "isUnique": false
279
- }
280
- },
281
- "foreignKeys": {},
282
- "compositePrimaryKeys": {},
283
- "uniqueConstraints": {},
284
- "checkConstraints": {}
285
- },
286
- "issue_relations": {
287
- "name": "issue_relations",
288
- "columns": {
289
- "id": {
290
- "name": "id",
291
- "type": "text",
292
- "primaryKey": true,
293
- "notNull": true,
294
- "autoincrement": false
295
- },
296
- "source_issue_id": {
297
- "name": "source_issue_id",
298
- "type": "text",
299
- "primaryKey": false,
300
- "notNull": true,
301
- "autoincrement": false
302
- },
303
- "target_issue_id": {
304
- "name": "target_issue_id",
305
- "type": "text",
306
- "primaryKey": false,
307
- "notNull": true,
308
- "autoincrement": false
309
- },
310
- "type": {
311
- "name": "type",
312
- "type": "text",
313
- "primaryKey": false,
314
- "notNull": true,
315
- "autoincrement": false
316
- },
317
- "created_at": {
318
- "name": "created_at",
319
- "type": "integer",
320
- "primaryKey": false,
321
- "notNull": true,
322
- "autoincrement": false,
323
- "default": "(unixepoch())"
324
- }
325
- },
326
- "indexes": {
327
- "issue_relations_source_issue_id_idx": {
328
- "name": "issue_relations_source_issue_id_idx",
329
- "columns": [
330
- "source_issue_id"
331
- ],
332
- "isUnique": false
333
- },
334
- "issue_relations_target_issue_id_idx": {
335
- "name": "issue_relations_target_issue_id_idx",
336
- "columns": [
337
- "target_issue_id"
338
- ],
339
- "isUnique": false
340
- },
341
- "issue_relations_pair_type_unique": {
342
- "name": "issue_relations_pair_type_unique",
343
- "columns": [
344
- "source_issue_id",
345
- "target_issue_id",
346
- "type"
347
- ],
348
- "isUnique": true
349
- }
350
- },
351
- "foreignKeys": {
352
- "issue_relations_source_issue_id_issues_id_fk": {
353
- "name": "issue_relations_source_issue_id_issues_id_fk",
354
- "tableFrom": "issue_relations",
355
- "tableTo": "issues",
356
- "columnsFrom": [
357
- "source_issue_id"
358
- ],
359
- "columnsTo": [
360
- "id"
361
- ],
362
- "onDelete": "cascade",
363
- "onUpdate": "no action"
364
- },
365
- "issue_relations_target_issue_id_issues_id_fk": {
366
- "name": "issue_relations_target_issue_id_issues_id_fk",
367
- "tableFrom": "issue_relations",
368
- "tableTo": "issues",
369
- "columnsFrom": [
370
- "target_issue_id"
371
- ],
372
- "columnsTo": [
373
- "id"
374
- ],
375
- "onDelete": "cascade",
376
- "onUpdate": "no action"
377
- }
378
- },
379
- "compositePrimaryKeys": {},
380
- "uniqueConstraints": {},
381
- "checkConstraints": {}
382
- },
383
- "issue_runs": {
384
- "name": "issue_runs",
385
- "columns": {
386
- "id": {
387
- "name": "id",
388
- "type": "text",
389
- "primaryKey": true,
390
- "notNull": true,
391
- "autoincrement": false
392
- },
393
- "issue_id": {
394
- "name": "issue_id",
395
- "type": "text",
396
- "primaryKey": false,
397
- "notNull": true,
398
- "autoincrement": false
399
- },
400
- "launched_by_kind": {
401
- "name": "launched_by_kind",
402
- "type": "text",
403
- "primaryKey": false,
404
- "notNull": true,
405
- "autoincrement": false,
406
- "default": "'user'"
407
- },
408
- "launched_by_id": {
409
- "name": "launched_by_id",
410
- "type": "text",
411
- "primaryKey": false,
412
- "notNull": false,
413
- "autoincrement": false
414
- },
415
- "agent_id": {
416
- "name": "agent_id",
417
- "type": "text",
418
- "primaryKey": false,
419
- "notNull": false,
420
- "autoincrement": false
421
- },
422
- "agent_name": {
423
- "name": "agent_name",
424
- "type": "text",
425
- "primaryKey": false,
426
- "notNull": true,
427
- "autoincrement": false
428
- },
429
- "host": {
430
- "name": "host",
431
- "type": "text",
432
- "primaryKey": false,
433
- "notNull": false,
434
- "autoincrement": false
435
- },
436
- "execution_mode": {
437
- "name": "execution_mode",
438
- "type": "text",
439
- "primaryKey": false,
440
- "notNull": true,
441
- "autoincrement": false,
442
- "default": "'worktree'"
443
- },
444
- "branch": {
445
- "name": "branch",
446
- "type": "text",
447
- "primaryKey": false,
448
- "notNull": false,
449
- "autoincrement": false
450
- },
451
- "worktree_path": {
452
- "name": "worktree_path",
453
- "type": "text",
454
- "primaryKey": false,
455
- "notNull": false,
456
- "autoincrement": false
457
- },
458
- "state": {
459
- "name": "state",
460
- "type": "text",
461
- "primaryKey": false,
462
- "notNull": true,
463
- "autoincrement": false,
464
- "default": "'running'"
465
- },
466
- "chat_session_id": {
467
- "name": "chat_session_id",
468
- "type": "text",
469
- "primaryKey": false,
470
- "notNull": false,
471
- "autoincrement": false
472
- },
473
- "started_at": {
474
- "name": "started_at",
475
- "type": "integer",
476
- "primaryKey": false,
477
- "notNull": true,
478
- "autoincrement": false,
479
- "default": "(unixepoch())"
480
- },
481
- "ended_at": {
482
- "name": "ended_at",
483
- "type": "integer",
484
- "primaryKey": false,
485
- "notNull": false,
486
- "autoincrement": false
487
- }
488
- },
489
- "indexes": {
490
- "issue_runs_issue_id_idx": {
491
- "name": "issue_runs_issue_id_idx",
492
- "columns": [
493
- "issue_id"
494
- ],
495
- "isUnique": false
496
- },
497
- "issue_runs_issue_state_idx": {
498
- "name": "issue_runs_issue_state_idx",
499
- "columns": [
500
- "issue_id",
501
- "state"
502
- ],
503
- "isUnique": false
504
- },
505
- "issue_runs_chat_session_idx": {
506
- "name": "issue_runs_chat_session_idx",
507
- "columns": [
508
- "chat_session_id"
509
- ],
510
- "isUnique": false
511
- }
512
- },
513
- "foreignKeys": {
514
- "issue_runs_issue_id_issues_id_fk": {
515
- "name": "issue_runs_issue_id_issues_id_fk",
516
- "tableFrom": "issue_runs",
517
- "tableTo": "issues",
518
- "columnsFrom": [
519
- "issue_id"
520
- ],
521
- "columnsTo": [
522
- "id"
523
- ],
524
- "onDelete": "cascade",
525
- "onUpdate": "no action"
526
- }
527
- },
528
- "compositePrimaryKeys": {},
529
- "uniqueConstraints": {},
530
- "checkConstraints": {}
531
- },
532
- "issue_statuses": {
533
- "name": "issue_statuses",
534
- "columns": {
535
- "id": {
536
- "name": "id",
537
- "type": "text",
538
- "primaryKey": true,
539
- "notNull": true,
540
- "autoincrement": false
541
- },
542
- "workspace_id": {
543
- "name": "workspace_id",
544
- "type": "text",
545
- "primaryKey": false,
546
- "notNull": true,
547
- "autoincrement": false
548
- },
549
- "name": {
550
- "name": "name",
551
- "type": "text",
552
- "primaryKey": false,
553
- "notNull": true,
554
- "autoincrement": false
555
- },
556
- "description": {
557
- "name": "description",
558
- "type": "text",
559
- "primaryKey": false,
560
- "notNull": false,
561
- "autoincrement": false
562
- },
563
- "color": {
564
- "name": "color",
565
- "type": "text",
566
- "primaryKey": false,
567
- "notNull": false,
568
- "autoincrement": false
569
- },
570
- "category": {
571
- "name": "category",
572
- "type": "text",
573
- "primaryKey": false,
574
- "notNull": true,
575
- "autoincrement": false,
576
- "default": "'unstarted'"
577
- },
578
- "order": {
579
- "name": "order",
580
- "type": "integer",
581
- "primaryKey": false,
582
- "notNull": true,
583
- "autoincrement": false,
584
- "default": 0
585
- },
586
- "created_at": {
587
- "name": "created_at",
588
- "type": "integer",
589
- "primaryKey": false,
590
- "notNull": true,
591
- "autoincrement": false,
592
- "default": "(unixepoch())"
593
- }
594
- },
595
- "indexes": {
596
- "issue_statuses_workspace_id_idx": {
597
- "name": "issue_statuses_workspace_id_idx",
598
- "columns": [
599
- "workspace_id"
600
- ],
601
- "isUnique": false
602
- },
603
- "issue_statuses_workspace_name_unique": {
604
- "name": "issue_statuses_workspace_name_unique",
605
- "columns": [
606
- "workspace_id",
607
- "name"
608
- ],
609
- "isUnique": true
610
- }
611
- },
612
- "foreignKeys": {},
613
- "compositePrimaryKeys": {},
614
- "uniqueConstraints": {},
615
- "checkConstraints": {}
616
- },
617
- "issues": {
618
- "name": "issues",
619
- "columns": {
620
- "id": {
621
- "name": "id",
622
- "type": "text",
623
- "primaryKey": true,
624
- "notNull": true,
625
- "autoincrement": false
626
- },
627
- "workspace_id": {
628
- "name": "workspace_id",
629
- "type": "text",
630
- "primaryKey": false,
631
- "notNull": true,
632
- "autoincrement": false
633
- },
634
- "number": {
635
- "name": "number",
636
- "type": "integer",
637
- "primaryKey": false,
638
- "notNull": true,
639
- "autoincrement": false
640
- },
641
- "status_id": {
642
- "name": "status_id",
643
- "type": "text",
644
- "primaryKey": false,
645
- "notNull": false,
646
- "autoincrement": false
647
- },
648
- "milestone_id": {
649
- "name": "milestone_id",
650
- "type": "text",
651
- "primaryKey": false,
652
- "notNull": false,
653
- "autoincrement": false
654
- },
655
- "parent_issue_id": {
656
- "name": "parent_issue_id",
657
- "type": "text",
658
- "primaryKey": false,
659
- "notNull": false,
660
- "autoincrement": false
661
- },
662
- "title": {
663
- "name": "title",
664
- "type": "text",
665
- "primaryKey": false,
666
- "notNull": true,
667
- "autoincrement": false
668
- },
669
- "description": {
670
- "name": "description",
671
- "type": "text",
672
- "primaryKey": false,
673
- "notNull": false,
674
- "autoincrement": false
675
- },
676
- "priority": {
677
- "name": "priority",
678
- "type": "text",
679
- "primaryKey": false,
680
- "notNull": true,
681
- "autoincrement": false,
682
- "default": "'none'"
683
- },
684
- "labels": {
685
- "name": "labels",
686
- "type": "text",
687
- "primaryKey": false,
688
- "notNull": true,
689
- "autoincrement": false,
690
- "default": "'[]'"
691
- },
692
- "assignee_kind": {
693
- "name": "assignee_kind",
694
- "type": "text",
695
- "primaryKey": false,
696
- "notNull": false,
697
- "autoincrement": false
698
- },
699
- "assignee_id": {
700
- "name": "assignee_id",
701
- "type": "text",
702
- "primaryKey": false,
703
- "notNull": false,
704
- "autoincrement": false
705
- },
706
- "due_date": {
707
- "name": "due_date",
708
- "type": "integer",
709
- "primaryKey": false,
710
- "notNull": false,
711
- "autoincrement": false
712
- },
713
- "created_by_kind": {
714
- "name": "created_by_kind",
715
- "type": "text",
716
- "primaryKey": false,
717
- "notNull": true,
718
- "autoincrement": false,
719
- "default": "'user'"
720
- },
721
- "created_by_id": {
722
- "name": "created_by_id",
723
- "type": "text",
724
- "primaryKey": false,
725
- "notNull": true,
726
- "autoincrement": false,
727
- "default": "'__self__'"
728
- },
729
- "source_chat_session_id": {
730
- "name": "source_chat_session_id",
731
- "type": "text",
732
- "primaryKey": false,
733
- "notNull": false,
734
- "autoincrement": false
735
- },
736
- "delegate_agent_id": {
737
- "name": "delegate_agent_id",
738
- "type": "text",
739
- "primaryKey": false,
740
- "notNull": false,
741
- "autoincrement": false
742
- },
743
- "delegate_provider_target_id": {
744
- "name": "delegate_provider_target_id",
745
- "type": "text",
746
- "primaryKey": false,
747
- "notNull": false,
748
- "autoincrement": false
749
- },
750
- "context_refs": {
751
- "name": "context_refs",
752
- "type": "text",
753
- "primaryKey": false,
754
- "notNull": true,
755
- "autoincrement": false,
756
- "default": "'[]'"
757
- },
758
- "status_line": {
759
- "name": "status_line",
760
- "type": "text",
761
- "primaryKey": false,
762
- "notNull": false,
763
- "autoincrement": false
764
- },
765
- "waiting_for": {
766
- "name": "waiting_for",
767
- "type": "text",
768
- "primaryKey": false,
769
- "notNull": false,
770
- "autoincrement": false
771
- },
772
- "execution_mode": {
773
- "name": "execution_mode",
774
- "type": "text",
775
- "primaryKey": false,
776
- "notNull": true,
777
- "autoincrement": false,
778
- "default": "'worktree'"
779
- },
780
- "order": {
781
- "name": "order",
782
- "type": "integer",
783
- "primaryKey": false,
784
- "notNull": true,
785
- "autoincrement": false,
786
- "default": 0
787
- },
788
- "created_at": {
789
- "name": "created_at",
790
- "type": "integer",
791
- "primaryKey": false,
792
- "notNull": true,
793
- "autoincrement": false,
794
- "default": "(unixepoch())"
795
- },
796
- "updated_at": {
797
- "name": "updated_at",
798
- "type": "integer",
799
- "primaryKey": false,
800
- "notNull": true,
801
- "autoincrement": false,
802
- "default": "(unixepoch())"
803
- }
804
- },
805
- "indexes": {
806
- "issues_workspace_id_idx": {
807
- "name": "issues_workspace_id_idx",
808
- "columns": [
809
- "workspace_id"
810
- ],
811
- "isUnique": false
812
- },
813
- "issues_workspace_number_unique": {
814
- "name": "issues_workspace_number_unique",
815
- "columns": [
816
- "workspace_id",
817
- "number"
818
- ],
819
- "isUnique": true
820
- },
821
- "issues_status_id_idx": {
822
- "name": "issues_status_id_idx",
823
- "columns": [
824
- "status_id"
825
- ],
826
- "isUnique": false
827
- },
828
- "issues_milestone_id_idx": {
829
- "name": "issues_milestone_id_idx",
830
- "columns": [
831
- "milestone_id"
832
- ],
833
- "isUnique": false
834
- },
835
- "issues_parent_issue_id_idx": {
836
- "name": "issues_parent_issue_id_idx",
837
- "columns": [
838
- "parent_issue_id"
839
- ],
840
- "isUnique": false
841
- },
842
- "issues_delegate_agent_id_idx": {
843
- "name": "issues_delegate_agent_id_idx",
844
- "columns": [
845
- "delegate_agent_id"
846
- ],
847
- "isUnique": false
848
- },
849
- "issues_delegate_provider_target_id_idx": {
850
- "name": "issues_delegate_provider_target_id_idx",
851
- "columns": [
852
- "delegate_provider_target_id"
853
- ],
854
- "isUnique": false
855
- }
856
- },
857
- "foreignKeys": {
858
- "issues_status_id_issue_statuses_id_fk": {
859
- "name": "issues_status_id_issue_statuses_id_fk",
860
- "tableFrom": "issues",
861
- "tableTo": "issue_statuses",
862
- "columnsFrom": [
863
- "status_id"
864
- ],
865
- "columnsTo": [
866
- "id"
867
- ],
868
- "onDelete": "set null",
869
- "onUpdate": "no action"
870
- },
871
- "issues_milestone_id_issue_milestones_id_fk": {
872
- "name": "issues_milestone_id_issue_milestones_id_fk",
873
- "tableFrom": "issues",
874
- "tableTo": "issue_milestones",
875
- "columnsFrom": [
876
- "milestone_id"
877
- ],
878
- "columnsTo": [
879
- "id"
880
- ],
881
- "onDelete": "set null",
882
- "onUpdate": "no action"
883
- },
884
- "issues_parent_issue_id_issues_id_fk": {
885
- "name": "issues_parent_issue_id_issues_id_fk",
886
- "tableFrom": "issues",
887
- "tableTo": "issues",
888
- "columnsFrom": [
889
- "parent_issue_id"
890
- ],
891
- "columnsTo": [
892
- "id"
893
- ],
894
- "onDelete": "set null",
895
- "onUpdate": "no action"
896
- }
897
- },
898
- "compositePrimaryKeys": {},
899
- "uniqueConstraints": {},
900
- "checkConstraints": {}
901
- },
902
- "kanban_meta": {
903
- "name": "kanban_meta",
904
- "columns": {
905
- "key": {
906
- "name": "key",
907
- "type": "text",
908
- "primaryKey": true,
909
- "notNull": true,
910
- "autoincrement": false
911
- },
912
- "revision": {
913
- "name": "revision",
914
- "type": "integer",
915
- "primaryKey": false,
916
- "notNull": true,
917
- "autoincrement": false,
918
- "default": 0
919
- },
920
- "updated_at": {
921
- "name": "updated_at",
922
- "type": "integer",
923
- "primaryKey": false,
924
- "notNull": true,
925
- "autoincrement": false,
926
- "default": "(unixepoch())"
927
- }
928
- },
929
- "indexes": {},
930
- "foreignKeys": {},
931
- "compositePrimaryKeys": {},
932
- "uniqueConstraints": {},
933
- "checkConstraints": {}
934
- }
935
- },
936
- "views": {},
937
- "enums": {},
938
- "_meta": {
939
- "schemas": {},
940
- "tables": {},
941
- "columns": {}
942
- },
943
- "internal": {
944
- "indexes": {}
945
- }
946
- }