kanbo-cli 0.2.1 → 0.3.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 (85) hide show
  1. package/CHANGELOG.md +173 -0
  2. package/README.md +16 -47
  3. package/dist/{better-sqlite3-fU3G4xnX.cjs → better-sqlite3-DPdSZ6sH.cjs} +244 -247
  4. package/dist/cli-main.cjs +51208 -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-QPoQl8tn.cjs} +6881 -1556
  16. package/dist/lib/{manifest-DHV2fRdO.mjs → manifest-v2e9x_C8.mjs} +6795 -1556
  17. package/dist/lib/mcp/index.cjs +156 -21
  18. package/dist/lib/mcp/index.d.cts +140 -5
  19. package/dist/lib/mcp/index.d.mts +140 -5
  20. package/dist/lib/mcp/index.mjs +152 -22
  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/package.json +13 -10
  42. package/dist/better-sqlite3-fU3G4xnX.cjs.map +0 -1
  43. package/dist/cli.cjs.map +0 -1
  44. package/dist/dist-BsCwQFEl.cjs +0 -989
  45. package/dist/dist-BsCwQFEl.cjs.map +0 -1
  46. package/dist/lib/manifest-D9nCRtXM.cjs.map +0 -1
  47. package/dist/lib/manifest-DHV2fRdO.mjs.map +0 -1
  48. package/dist/lib/mcp/index.cjs.map +0 -1
  49. package/dist/lib/mcp/index.mjs.map +0 -1
  50. package/dist/lib/migrate-BhYi9cXw.mjs.map +0 -1
  51. package/dist/lib/migrate-DnMjTCvu.cjs.map +0 -1
  52. package/dist/lib/migrations-path-CZxVOgeD.cjs.map +0 -1
  53. package/dist/lib/migrations-path-Ciwan537.mjs.map +0 -1
  54. package/dist/lib/postgres/index.cjs.map +0 -1
  55. package/dist/lib/postgres/index.mjs.map +0 -1
  56. package/dist/lib/roles.sql-B9rt-x4o.cjs.map +0 -1
  57. package/dist/lib/roles.sql-CvyCGt38.mjs.map +0 -1
  58. package/dist/lib/sqlite/schema.cjs.map +0 -1
  59. package/dist/lib/sqlite/schema.mjs.map +0 -1
  60. package/drizzle-postgres/0000_board.sql +0 -135
  61. package/drizzle-postgres/0001_history_order.sql +0 -2
  62. package/drizzle-postgres/0002_issue_pull_requests.sql +0 -16
  63. package/drizzle-postgres/0003_milestone_start_date.sql +0 -1
  64. package/drizzle-postgres/0004_status_entry_rules.sql +0 -1
  65. package/drizzle-postgres/0005_run_external_session_ref.sql +0 -1
  66. package/drizzle-postgres/README.md +0 -61
  67. package/drizzle-postgres/meta/0000_snapshot.json +0 -1078
  68. package/drizzle-postgres/meta/0001_snapshot.json +0 -1090
  69. package/drizzle-postgres/meta/0002_snapshot.json +0 -1239
  70. package/drizzle-postgres/meta/0003_snapshot.json +0 -1245
  71. package/drizzle-postgres/meta/0004_snapshot.json +0 -1251
  72. package/drizzle-postgres/meta/0005_snapshot.json +0 -1257
  73. package/drizzle-postgres/meta/_journal.json +0 -48
  74. package/drizzle-sqlite/0000_board.sql +0 -133
  75. package/drizzle-sqlite/0001_issue_pull_requests.sql +0 -15
  76. package/drizzle-sqlite/0002_milestone_start_date.sql +0 -1
  77. package/drizzle-sqlite/0003_status_entry_rules.sql +0 -1
  78. package/drizzle-sqlite/0004_run_external_session_ref.sql +0 -1
  79. package/drizzle-sqlite/README.md +0 -67
  80. package/drizzle-sqlite/meta/0000_snapshot.json +0 -946
  81. package/drizzle-sqlite/meta/0001_snapshot.json +0 -1054
  82. package/drizzle-sqlite/meta/0002_snapshot.json +0 -1061
  83. package/drizzle-sqlite/meta/0003_snapshot.json +0 -1068
  84. package/drizzle-sqlite/meta/0004_snapshot.json +0 -1075
  85. package/drizzle-sqlite/meta/_journal.json +0 -41
@@ -1,1075 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "211e0ef6-509c-44da-b9c0-9f858a1e706a",
5
- "prevId": "676693ae-de58-4dc5-b808-4a5ad2a4e530",
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
- "start_date": {
241
- "name": "start_date",
242
- "type": "integer",
243
- "primaryKey": false,
244
- "notNull": false,
245
- "autoincrement": false
246
- },
247
- "due_date": {
248
- "name": "due_date",
249
- "type": "integer",
250
- "primaryKey": false,
251
- "notNull": false,
252
- "autoincrement": false
253
- },
254
- "status": {
255
- "name": "status",
256
- "type": "text",
257
- "primaryKey": false,
258
- "notNull": true,
259
- "autoincrement": false,
260
- "default": "'open'"
261
- },
262
- "created_at": {
263
- "name": "created_at",
264
- "type": "integer",
265
- "primaryKey": false,
266
- "notNull": true,
267
- "autoincrement": false,
268
- "default": "(unixepoch())"
269
- },
270
- "updated_at": {
271
- "name": "updated_at",
272
- "type": "integer",
273
- "primaryKey": false,
274
- "notNull": true,
275
- "autoincrement": false,
276
- "default": "(unixepoch())"
277
- }
278
- },
279
- "indexes": {
280
- "issue_milestones_workspace_id_idx": {
281
- "name": "issue_milestones_workspace_id_idx",
282
- "columns": [
283
- "workspace_id"
284
- ],
285
- "isUnique": false
286
- }
287
- },
288
- "foreignKeys": {},
289
- "compositePrimaryKeys": {},
290
- "uniqueConstraints": {},
291
- "checkConstraints": {}
292
- },
293
- "issue_pull_requests": {
294
- "name": "issue_pull_requests",
295
- "columns": {
296
- "id": {
297
- "name": "id",
298
- "type": "text",
299
- "primaryKey": true,
300
- "notNull": true,
301
- "autoincrement": false
302
- },
303
- "issue_id": {
304
- "name": "issue_id",
305
- "type": "text",
306
- "primaryKey": false,
307
- "notNull": true,
308
- "autoincrement": false
309
- },
310
- "owner": {
311
- "name": "owner",
312
- "type": "text",
313
- "primaryKey": false,
314
- "notNull": true,
315
- "autoincrement": false
316
- },
317
- "repo": {
318
- "name": "repo",
319
- "type": "text",
320
- "primaryKey": false,
321
- "notNull": true,
322
- "autoincrement": false
323
- },
324
- "number": {
325
- "name": "number",
326
- "type": "integer",
327
- "primaryKey": false,
328
- "notNull": true,
329
- "autoincrement": false
330
- },
331
- "url": {
332
- "name": "url",
333
- "type": "text",
334
- "primaryKey": false,
335
- "notNull": true,
336
- "autoincrement": false
337
- },
338
- "created_by_kind": {
339
- "name": "created_by_kind",
340
- "type": "text",
341
- "primaryKey": false,
342
- "notNull": true,
343
- "autoincrement": false
344
- },
345
- "created_by_id": {
346
- "name": "created_by_id",
347
- "type": "text",
348
- "primaryKey": false,
349
- "notNull": false,
350
- "autoincrement": false
351
- },
352
- "created_at": {
353
- "name": "created_at",
354
- "type": "integer",
355
- "primaryKey": false,
356
- "notNull": true,
357
- "autoincrement": false,
358
- "default": "(unixepoch())"
359
- }
360
- },
361
- "indexes": {
362
- "issue_pull_requests_issue_pr_unique": {
363
- "name": "issue_pull_requests_issue_pr_unique",
364
- "columns": [
365
- "issue_id",
366
- "owner",
367
- "repo",
368
- "number"
369
- ],
370
- "isUnique": true
371
- },
372
- "issue_pull_requests_pr_idx": {
373
- "name": "issue_pull_requests_pr_idx",
374
- "columns": [
375
- "owner",
376
- "repo",
377
- "number"
378
- ],
379
- "isUnique": false
380
- }
381
- },
382
- "foreignKeys": {
383
- "issue_pull_requests_issue_id_issues_id_fk": {
384
- "name": "issue_pull_requests_issue_id_issues_id_fk",
385
- "tableFrom": "issue_pull_requests",
386
- "tableTo": "issues",
387
- "columnsFrom": [
388
- "issue_id"
389
- ],
390
- "columnsTo": [
391
- "id"
392
- ],
393
- "onDelete": "cascade",
394
- "onUpdate": "no action"
395
- }
396
- },
397
- "compositePrimaryKeys": {},
398
- "uniqueConstraints": {},
399
- "checkConstraints": {}
400
- },
401
- "issue_relations": {
402
- "name": "issue_relations",
403
- "columns": {
404
- "id": {
405
- "name": "id",
406
- "type": "text",
407
- "primaryKey": true,
408
- "notNull": true,
409
- "autoincrement": false
410
- },
411
- "source_issue_id": {
412
- "name": "source_issue_id",
413
- "type": "text",
414
- "primaryKey": false,
415
- "notNull": true,
416
- "autoincrement": false
417
- },
418
- "target_issue_id": {
419
- "name": "target_issue_id",
420
- "type": "text",
421
- "primaryKey": false,
422
- "notNull": true,
423
- "autoincrement": false
424
- },
425
- "type": {
426
- "name": "type",
427
- "type": "text",
428
- "primaryKey": false,
429
- "notNull": true,
430
- "autoincrement": false
431
- },
432
- "created_at": {
433
- "name": "created_at",
434
- "type": "integer",
435
- "primaryKey": false,
436
- "notNull": true,
437
- "autoincrement": false,
438
- "default": "(unixepoch())"
439
- }
440
- },
441
- "indexes": {
442
- "issue_relations_source_issue_id_idx": {
443
- "name": "issue_relations_source_issue_id_idx",
444
- "columns": [
445
- "source_issue_id"
446
- ],
447
- "isUnique": false
448
- },
449
- "issue_relations_target_issue_id_idx": {
450
- "name": "issue_relations_target_issue_id_idx",
451
- "columns": [
452
- "target_issue_id"
453
- ],
454
- "isUnique": false
455
- },
456
- "issue_relations_pair_type_unique": {
457
- "name": "issue_relations_pair_type_unique",
458
- "columns": [
459
- "source_issue_id",
460
- "target_issue_id",
461
- "type"
462
- ],
463
- "isUnique": true
464
- }
465
- },
466
- "foreignKeys": {
467
- "issue_relations_source_issue_id_issues_id_fk": {
468
- "name": "issue_relations_source_issue_id_issues_id_fk",
469
- "tableFrom": "issue_relations",
470
- "tableTo": "issues",
471
- "columnsFrom": [
472
- "source_issue_id"
473
- ],
474
- "columnsTo": [
475
- "id"
476
- ],
477
- "onDelete": "cascade",
478
- "onUpdate": "no action"
479
- },
480
- "issue_relations_target_issue_id_issues_id_fk": {
481
- "name": "issue_relations_target_issue_id_issues_id_fk",
482
- "tableFrom": "issue_relations",
483
- "tableTo": "issues",
484
- "columnsFrom": [
485
- "target_issue_id"
486
- ],
487
- "columnsTo": [
488
- "id"
489
- ],
490
- "onDelete": "cascade",
491
- "onUpdate": "no action"
492
- }
493
- },
494
- "compositePrimaryKeys": {},
495
- "uniqueConstraints": {},
496
- "checkConstraints": {}
497
- },
498
- "issue_runs": {
499
- "name": "issue_runs",
500
- "columns": {
501
- "id": {
502
- "name": "id",
503
- "type": "text",
504
- "primaryKey": true,
505
- "notNull": true,
506
- "autoincrement": false
507
- },
508
- "issue_id": {
509
- "name": "issue_id",
510
- "type": "text",
511
- "primaryKey": false,
512
- "notNull": true,
513
- "autoincrement": false
514
- },
515
- "launched_by_kind": {
516
- "name": "launched_by_kind",
517
- "type": "text",
518
- "primaryKey": false,
519
- "notNull": true,
520
- "autoincrement": false,
521
- "default": "'user'"
522
- },
523
- "launched_by_id": {
524
- "name": "launched_by_id",
525
- "type": "text",
526
- "primaryKey": false,
527
- "notNull": false,
528
- "autoincrement": false
529
- },
530
- "agent_id": {
531
- "name": "agent_id",
532
- "type": "text",
533
- "primaryKey": false,
534
- "notNull": false,
535
- "autoincrement": false
536
- },
537
- "agent_name": {
538
- "name": "agent_name",
539
- "type": "text",
540
- "primaryKey": false,
541
- "notNull": true,
542
- "autoincrement": false
543
- },
544
- "host": {
545
- "name": "host",
546
- "type": "text",
547
- "primaryKey": false,
548
- "notNull": false,
549
- "autoincrement": false
550
- },
551
- "execution_mode": {
552
- "name": "execution_mode",
553
- "type": "text",
554
- "primaryKey": false,
555
- "notNull": true,
556
- "autoincrement": false,
557
- "default": "'worktree'"
558
- },
559
- "branch": {
560
- "name": "branch",
561
- "type": "text",
562
- "primaryKey": false,
563
- "notNull": false,
564
- "autoincrement": false
565
- },
566
- "worktree_path": {
567
- "name": "worktree_path",
568
- "type": "text",
569
- "primaryKey": false,
570
- "notNull": false,
571
- "autoincrement": false
572
- },
573
- "state": {
574
- "name": "state",
575
- "type": "text",
576
- "primaryKey": false,
577
- "notNull": true,
578
- "autoincrement": false,
579
- "default": "'running'"
580
- },
581
- "chat_session_id": {
582
- "name": "chat_session_id",
583
- "type": "text",
584
- "primaryKey": false,
585
- "notNull": false,
586
- "autoincrement": false
587
- },
588
- "external_session_ref": {
589
- "name": "external_session_ref",
590
- "type": "text",
591
- "primaryKey": false,
592
- "notNull": false,
593
- "autoincrement": false
594
- },
595
- "started_at": {
596
- "name": "started_at",
597
- "type": "integer",
598
- "primaryKey": false,
599
- "notNull": true,
600
- "autoincrement": false,
601
- "default": "(unixepoch())"
602
- },
603
- "ended_at": {
604
- "name": "ended_at",
605
- "type": "integer",
606
- "primaryKey": false,
607
- "notNull": false,
608
- "autoincrement": false
609
- }
610
- },
611
- "indexes": {
612
- "issue_runs_issue_id_idx": {
613
- "name": "issue_runs_issue_id_idx",
614
- "columns": [
615
- "issue_id"
616
- ],
617
- "isUnique": false
618
- },
619
- "issue_runs_issue_state_idx": {
620
- "name": "issue_runs_issue_state_idx",
621
- "columns": [
622
- "issue_id",
623
- "state"
624
- ],
625
- "isUnique": false
626
- },
627
- "issue_runs_chat_session_idx": {
628
- "name": "issue_runs_chat_session_idx",
629
- "columns": [
630
- "chat_session_id"
631
- ],
632
- "isUnique": false
633
- }
634
- },
635
- "foreignKeys": {
636
- "issue_runs_issue_id_issues_id_fk": {
637
- "name": "issue_runs_issue_id_issues_id_fk",
638
- "tableFrom": "issue_runs",
639
- "tableTo": "issues",
640
- "columnsFrom": [
641
- "issue_id"
642
- ],
643
- "columnsTo": [
644
- "id"
645
- ],
646
- "onDelete": "cascade",
647
- "onUpdate": "no action"
648
- }
649
- },
650
- "compositePrimaryKeys": {},
651
- "uniqueConstraints": {},
652
- "checkConstraints": {}
653
- },
654
- "issue_statuses": {
655
- "name": "issue_statuses",
656
- "columns": {
657
- "id": {
658
- "name": "id",
659
- "type": "text",
660
- "primaryKey": true,
661
- "notNull": true,
662
- "autoincrement": false
663
- },
664
- "workspace_id": {
665
- "name": "workspace_id",
666
- "type": "text",
667
- "primaryKey": false,
668
- "notNull": true,
669
- "autoincrement": false
670
- },
671
- "name": {
672
- "name": "name",
673
- "type": "text",
674
- "primaryKey": false,
675
- "notNull": true,
676
- "autoincrement": false
677
- },
678
- "description": {
679
- "name": "description",
680
- "type": "text",
681
- "primaryKey": false,
682
- "notNull": false,
683
- "autoincrement": false
684
- },
685
- "color": {
686
- "name": "color",
687
- "type": "text",
688
- "primaryKey": false,
689
- "notNull": false,
690
- "autoincrement": false
691
- },
692
- "category": {
693
- "name": "category",
694
- "type": "text",
695
- "primaryKey": false,
696
- "notNull": true,
697
- "autoincrement": false,
698
- "default": "'unstarted'"
699
- },
700
- "order": {
701
- "name": "order",
702
- "type": "integer",
703
- "primaryKey": false,
704
- "notNull": true,
705
- "autoincrement": false,
706
- "default": 0
707
- },
708
- "entry_rules": {
709
- "name": "entry_rules",
710
- "type": "text",
711
- "primaryKey": false,
712
- "notNull": false,
713
- "autoincrement": false
714
- },
715
- "created_at": {
716
- "name": "created_at",
717
- "type": "integer",
718
- "primaryKey": false,
719
- "notNull": true,
720
- "autoincrement": false,
721
- "default": "(unixepoch())"
722
- }
723
- },
724
- "indexes": {
725
- "issue_statuses_workspace_id_idx": {
726
- "name": "issue_statuses_workspace_id_idx",
727
- "columns": [
728
- "workspace_id"
729
- ],
730
- "isUnique": false
731
- },
732
- "issue_statuses_workspace_name_unique": {
733
- "name": "issue_statuses_workspace_name_unique",
734
- "columns": [
735
- "workspace_id",
736
- "name"
737
- ],
738
- "isUnique": true
739
- }
740
- },
741
- "foreignKeys": {},
742
- "compositePrimaryKeys": {},
743
- "uniqueConstraints": {},
744
- "checkConstraints": {}
745
- },
746
- "issues": {
747
- "name": "issues",
748
- "columns": {
749
- "id": {
750
- "name": "id",
751
- "type": "text",
752
- "primaryKey": true,
753
- "notNull": true,
754
- "autoincrement": false
755
- },
756
- "workspace_id": {
757
- "name": "workspace_id",
758
- "type": "text",
759
- "primaryKey": false,
760
- "notNull": true,
761
- "autoincrement": false
762
- },
763
- "number": {
764
- "name": "number",
765
- "type": "integer",
766
- "primaryKey": false,
767
- "notNull": true,
768
- "autoincrement": false
769
- },
770
- "status_id": {
771
- "name": "status_id",
772
- "type": "text",
773
- "primaryKey": false,
774
- "notNull": false,
775
- "autoincrement": false
776
- },
777
- "milestone_id": {
778
- "name": "milestone_id",
779
- "type": "text",
780
- "primaryKey": false,
781
- "notNull": false,
782
- "autoincrement": false
783
- },
784
- "parent_issue_id": {
785
- "name": "parent_issue_id",
786
- "type": "text",
787
- "primaryKey": false,
788
- "notNull": false,
789
- "autoincrement": false
790
- },
791
- "title": {
792
- "name": "title",
793
- "type": "text",
794
- "primaryKey": false,
795
- "notNull": true,
796
- "autoincrement": false
797
- },
798
- "description": {
799
- "name": "description",
800
- "type": "text",
801
- "primaryKey": false,
802
- "notNull": false,
803
- "autoincrement": false
804
- },
805
- "priority": {
806
- "name": "priority",
807
- "type": "text",
808
- "primaryKey": false,
809
- "notNull": true,
810
- "autoincrement": false,
811
- "default": "'none'"
812
- },
813
- "labels": {
814
- "name": "labels",
815
- "type": "text",
816
- "primaryKey": false,
817
- "notNull": true,
818
- "autoincrement": false,
819
- "default": "'[]'"
820
- },
821
- "assignee_kind": {
822
- "name": "assignee_kind",
823
- "type": "text",
824
- "primaryKey": false,
825
- "notNull": false,
826
- "autoincrement": false
827
- },
828
- "assignee_id": {
829
- "name": "assignee_id",
830
- "type": "text",
831
- "primaryKey": false,
832
- "notNull": false,
833
- "autoincrement": false
834
- },
835
- "due_date": {
836
- "name": "due_date",
837
- "type": "integer",
838
- "primaryKey": false,
839
- "notNull": false,
840
- "autoincrement": false
841
- },
842
- "created_by_kind": {
843
- "name": "created_by_kind",
844
- "type": "text",
845
- "primaryKey": false,
846
- "notNull": true,
847
- "autoincrement": false,
848
- "default": "'user'"
849
- },
850
- "created_by_id": {
851
- "name": "created_by_id",
852
- "type": "text",
853
- "primaryKey": false,
854
- "notNull": true,
855
- "autoincrement": false,
856
- "default": "'__self__'"
857
- },
858
- "source_chat_session_id": {
859
- "name": "source_chat_session_id",
860
- "type": "text",
861
- "primaryKey": false,
862
- "notNull": false,
863
- "autoincrement": false
864
- },
865
- "delegate_agent_id": {
866
- "name": "delegate_agent_id",
867
- "type": "text",
868
- "primaryKey": false,
869
- "notNull": false,
870
- "autoincrement": false
871
- },
872
- "delegate_provider_target_id": {
873
- "name": "delegate_provider_target_id",
874
- "type": "text",
875
- "primaryKey": false,
876
- "notNull": false,
877
- "autoincrement": false
878
- },
879
- "context_refs": {
880
- "name": "context_refs",
881
- "type": "text",
882
- "primaryKey": false,
883
- "notNull": true,
884
- "autoincrement": false,
885
- "default": "'[]'"
886
- },
887
- "status_line": {
888
- "name": "status_line",
889
- "type": "text",
890
- "primaryKey": false,
891
- "notNull": false,
892
- "autoincrement": false
893
- },
894
- "waiting_for": {
895
- "name": "waiting_for",
896
- "type": "text",
897
- "primaryKey": false,
898
- "notNull": false,
899
- "autoincrement": false
900
- },
901
- "execution_mode": {
902
- "name": "execution_mode",
903
- "type": "text",
904
- "primaryKey": false,
905
- "notNull": true,
906
- "autoincrement": false,
907
- "default": "'worktree'"
908
- },
909
- "order": {
910
- "name": "order",
911
- "type": "integer",
912
- "primaryKey": false,
913
- "notNull": true,
914
- "autoincrement": false,
915
- "default": 0
916
- },
917
- "created_at": {
918
- "name": "created_at",
919
- "type": "integer",
920
- "primaryKey": false,
921
- "notNull": true,
922
- "autoincrement": false,
923
- "default": "(unixepoch())"
924
- },
925
- "updated_at": {
926
- "name": "updated_at",
927
- "type": "integer",
928
- "primaryKey": false,
929
- "notNull": true,
930
- "autoincrement": false,
931
- "default": "(unixepoch())"
932
- }
933
- },
934
- "indexes": {
935
- "issues_workspace_id_idx": {
936
- "name": "issues_workspace_id_idx",
937
- "columns": [
938
- "workspace_id"
939
- ],
940
- "isUnique": false
941
- },
942
- "issues_workspace_number_unique": {
943
- "name": "issues_workspace_number_unique",
944
- "columns": [
945
- "workspace_id",
946
- "number"
947
- ],
948
- "isUnique": true
949
- },
950
- "issues_status_id_idx": {
951
- "name": "issues_status_id_idx",
952
- "columns": [
953
- "status_id"
954
- ],
955
- "isUnique": false
956
- },
957
- "issues_milestone_id_idx": {
958
- "name": "issues_milestone_id_idx",
959
- "columns": [
960
- "milestone_id"
961
- ],
962
- "isUnique": false
963
- },
964
- "issues_parent_issue_id_idx": {
965
- "name": "issues_parent_issue_id_idx",
966
- "columns": [
967
- "parent_issue_id"
968
- ],
969
- "isUnique": false
970
- },
971
- "issues_delegate_agent_id_idx": {
972
- "name": "issues_delegate_agent_id_idx",
973
- "columns": [
974
- "delegate_agent_id"
975
- ],
976
- "isUnique": false
977
- },
978
- "issues_delegate_provider_target_id_idx": {
979
- "name": "issues_delegate_provider_target_id_idx",
980
- "columns": [
981
- "delegate_provider_target_id"
982
- ],
983
- "isUnique": false
984
- }
985
- },
986
- "foreignKeys": {
987
- "issues_status_id_issue_statuses_id_fk": {
988
- "name": "issues_status_id_issue_statuses_id_fk",
989
- "tableFrom": "issues",
990
- "tableTo": "issue_statuses",
991
- "columnsFrom": [
992
- "status_id"
993
- ],
994
- "columnsTo": [
995
- "id"
996
- ],
997
- "onDelete": "set null",
998
- "onUpdate": "no action"
999
- },
1000
- "issues_milestone_id_issue_milestones_id_fk": {
1001
- "name": "issues_milestone_id_issue_milestones_id_fk",
1002
- "tableFrom": "issues",
1003
- "tableTo": "issue_milestones",
1004
- "columnsFrom": [
1005
- "milestone_id"
1006
- ],
1007
- "columnsTo": [
1008
- "id"
1009
- ],
1010
- "onDelete": "set null",
1011
- "onUpdate": "no action"
1012
- },
1013
- "issues_parent_issue_id_issues_id_fk": {
1014
- "name": "issues_parent_issue_id_issues_id_fk",
1015
- "tableFrom": "issues",
1016
- "tableTo": "issues",
1017
- "columnsFrom": [
1018
- "parent_issue_id"
1019
- ],
1020
- "columnsTo": [
1021
- "id"
1022
- ],
1023
- "onDelete": "set null",
1024
- "onUpdate": "no action"
1025
- }
1026
- },
1027
- "compositePrimaryKeys": {},
1028
- "uniqueConstraints": {},
1029
- "checkConstraints": {}
1030
- },
1031
- "kanban_meta": {
1032
- "name": "kanban_meta",
1033
- "columns": {
1034
- "key": {
1035
- "name": "key",
1036
- "type": "text",
1037
- "primaryKey": true,
1038
- "notNull": true,
1039
- "autoincrement": false
1040
- },
1041
- "revision": {
1042
- "name": "revision",
1043
- "type": "integer",
1044
- "primaryKey": false,
1045
- "notNull": true,
1046
- "autoincrement": false,
1047
- "default": 0
1048
- },
1049
- "updated_at": {
1050
- "name": "updated_at",
1051
- "type": "integer",
1052
- "primaryKey": false,
1053
- "notNull": true,
1054
- "autoincrement": false,
1055
- "default": "(unixepoch())"
1056
- }
1057
- },
1058
- "indexes": {},
1059
- "foreignKeys": {},
1060
- "compositePrimaryKeys": {},
1061
- "uniqueConstraints": {},
1062
- "checkConstraints": {}
1063
- }
1064
- },
1065
- "views": {},
1066
- "enums": {},
1067
- "_meta": {
1068
- "schemas": {},
1069
- "tables": {},
1070
- "columns": {}
1071
- },
1072
- "internal": {
1073
- "indexes": {}
1074
- }
1075
- }