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