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,1061 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "8c2a631f-d641-40a2-8eac-a81ebbca4be8",
5
- "prevId": "4ce5b88e-7ed0-48db-9653-04bcdfadd05a",
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
- "started_at": {
589
- "name": "started_at",
590
- "type": "integer",
591
- "primaryKey": false,
592
- "notNull": true,
593
- "autoincrement": false,
594
- "default": "(unixepoch())"
595
- },
596
- "ended_at": {
597
- "name": "ended_at",
598
- "type": "integer",
599
- "primaryKey": false,
600
- "notNull": false,
601
- "autoincrement": false
602
- }
603
- },
604
- "indexes": {
605
- "issue_runs_issue_id_idx": {
606
- "name": "issue_runs_issue_id_idx",
607
- "columns": [
608
- "issue_id"
609
- ],
610
- "isUnique": false
611
- },
612
- "issue_runs_issue_state_idx": {
613
- "name": "issue_runs_issue_state_idx",
614
- "columns": [
615
- "issue_id",
616
- "state"
617
- ],
618
- "isUnique": false
619
- },
620
- "issue_runs_chat_session_idx": {
621
- "name": "issue_runs_chat_session_idx",
622
- "columns": [
623
- "chat_session_id"
624
- ],
625
- "isUnique": false
626
- }
627
- },
628
- "foreignKeys": {
629
- "issue_runs_issue_id_issues_id_fk": {
630
- "name": "issue_runs_issue_id_issues_id_fk",
631
- "tableFrom": "issue_runs",
632
- "tableTo": "issues",
633
- "columnsFrom": [
634
- "issue_id"
635
- ],
636
- "columnsTo": [
637
- "id"
638
- ],
639
- "onDelete": "cascade",
640
- "onUpdate": "no action"
641
- }
642
- },
643
- "compositePrimaryKeys": {},
644
- "uniqueConstraints": {},
645
- "checkConstraints": {}
646
- },
647
- "issue_statuses": {
648
- "name": "issue_statuses",
649
- "columns": {
650
- "id": {
651
- "name": "id",
652
- "type": "text",
653
- "primaryKey": true,
654
- "notNull": true,
655
- "autoincrement": false
656
- },
657
- "workspace_id": {
658
- "name": "workspace_id",
659
- "type": "text",
660
- "primaryKey": false,
661
- "notNull": true,
662
- "autoincrement": false
663
- },
664
- "name": {
665
- "name": "name",
666
- "type": "text",
667
- "primaryKey": false,
668
- "notNull": true,
669
- "autoincrement": false
670
- },
671
- "description": {
672
- "name": "description",
673
- "type": "text",
674
- "primaryKey": false,
675
- "notNull": false,
676
- "autoincrement": false
677
- },
678
- "color": {
679
- "name": "color",
680
- "type": "text",
681
- "primaryKey": false,
682
- "notNull": false,
683
- "autoincrement": false
684
- },
685
- "category": {
686
- "name": "category",
687
- "type": "text",
688
- "primaryKey": false,
689
- "notNull": true,
690
- "autoincrement": false,
691
- "default": "'unstarted'"
692
- },
693
- "order": {
694
- "name": "order",
695
- "type": "integer",
696
- "primaryKey": false,
697
- "notNull": true,
698
- "autoincrement": false,
699
- "default": 0
700
- },
701
- "created_at": {
702
- "name": "created_at",
703
- "type": "integer",
704
- "primaryKey": false,
705
- "notNull": true,
706
- "autoincrement": false,
707
- "default": "(unixepoch())"
708
- }
709
- },
710
- "indexes": {
711
- "issue_statuses_workspace_id_idx": {
712
- "name": "issue_statuses_workspace_id_idx",
713
- "columns": [
714
- "workspace_id"
715
- ],
716
- "isUnique": false
717
- },
718
- "issue_statuses_workspace_name_unique": {
719
- "name": "issue_statuses_workspace_name_unique",
720
- "columns": [
721
- "workspace_id",
722
- "name"
723
- ],
724
- "isUnique": true
725
- }
726
- },
727
- "foreignKeys": {},
728
- "compositePrimaryKeys": {},
729
- "uniqueConstraints": {},
730
- "checkConstraints": {}
731
- },
732
- "issues": {
733
- "name": "issues",
734
- "columns": {
735
- "id": {
736
- "name": "id",
737
- "type": "text",
738
- "primaryKey": true,
739
- "notNull": true,
740
- "autoincrement": false
741
- },
742
- "workspace_id": {
743
- "name": "workspace_id",
744
- "type": "text",
745
- "primaryKey": false,
746
- "notNull": true,
747
- "autoincrement": false
748
- },
749
- "number": {
750
- "name": "number",
751
- "type": "integer",
752
- "primaryKey": false,
753
- "notNull": true,
754
- "autoincrement": false
755
- },
756
- "status_id": {
757
- "name": "status_id",
758
- "type": "text",
759
- "primaryKey": false,
760
- "notNull": false,
761
- "autoincrement": false
762
- },
763
- "milestone_id": {
764
- "name": "milestone_id",
765
- "type": "text",
766
- "primaryKey": false,
767
- "notNull": false,
768
- "autoincrement": false
769
- },
770
- "parent_issue_id": {
771
- "name": "parent_issue_id",
772
- "type": "text",
773
- "primaryKey": false,
774
- "notNull": false,
775
- "autoincrement": false
776
- },
777
- "title": {
778
- "name": "title",
779
- "type": "text",
780
- "primaryKey": false,
781
- "notNull": true,
782
- "autoincrement": false
783
- },
784
- "description": {
785
- "name": "description",
786
- "type": "text",
787
- "primaryKey": false,
788
- "notNull": false,
789
- "autoincrement": false
790
- },
791
- "priority": {
792
- "name": "priority",
793
- "type": "text",
794
- "primaryKey": false,
795
- "notNull": true,
796
- "autoincrement": false,
797
- "default": "'none'"
798
- },
799
- "labels": {
800
- "name": "labels",
801
- "type": "text",
802
- "primaryKey": false,
803
- "notNull": true,
804
- "autoincrement": false,
805
- "default": "'[]'"
806
- },
807
- "assignee_kind": {
808
- "name": "assignee_kind",
809
- "type": "text",
810
- "primaryKey": false,
811
- "notNull": false,
812
- "autoincrement": false
813
- },
814
- "assignee_id": {
815
- "name": "assignee_id",
816
- "type": "text",
817
- "primaryKey": false,
818
- "notNull": false,
819
- "autoincrement": false
820
- },
821
- "due_date": {
822
- "name": "due_date",
823
- "type": "integer",
824
- "primaryKey": false,
825
- "notNull": false,
826
- "autoincrement": false
827
- },
828
- "created_by_kind": {
829
- "name": "created_by_kind",
830
- "type": "text",
831
- "primaryKey": false,
832
- "notNull": true,
833
- "autoincrement": false,
834
- "default": "'user'"
835
- },
836
- "created_by_id": {
837
- "name": "created_by_id",
838
- "type": "text",
839
- "primaryKey": false,
840
- "notNull": true,
841
- "autoincrement": false,
842
- "default": "'__self__'"
843
- },
844
- "source_chat_session_id": {
845
- "name": "source_chat_session_id",
846
- "type": "text",
847
- "primaryKey": false,
848
- "notNull": false,
849
- "autoincrement": false
850
- },
851
- "delegate_agent_id": {
852
- "name": "delegate_agent_id",
853
- "type": "text",
854
- "primaryKey": false,
855
- "notNull": false,
856
- "autoincrement": false
857
- },
858
- "delegate_provider_target_id": {
859
- "name": "delegate_provider_target_id",
860
- "type": "text",
861
- "primaryKey": false,
862
- "notNull": false,
863
- "autoincrement": false
864
- },
865
- "context_refs": {
866
- "name": "context_refs",
867
- "type": "text",
868
- "primaryKey": false,
869
- "notNull": true,
870
- "autoincrement": false,
871
- "default": "'[]'"
872
- },
873
- "status_line": {
874
- "name": "status_line",
875
- "type": "text",
876
- "primaryKey": false,
877
- "notNull": false,
878
- "autoincrement": false
879
- },
880
- "waiting_for": {
881
- "name": "waiting_for",
882
- "type": "text",
883
- "primaryKey": false,
884
- "notNull": false,
885
- "autoincrement": false
886
- },
887
- "execution_mode": {
888
- "name": "execution_mode",
889
- "type": "text",
890
- "primaryKey": false,
891
- "notNull": true,
892
- "autoincrement": false,
893
- "default": "'worktree'"
894
- },
895
- "order": {
896
- "name": "order",
897
- "type": "integer",
898
- "primaryKey": false,
899
- "notNull": true,
900
- "autoincrement": false,
901
- "default": 0
902
- },
903
- "created_at": {
904
- "name": "created_at",
905
- "type": "integer",
906
- "primaryKey": false,
907
- "notNull": true,
908
- "autoincrement": false,
909
- "default": "(unixepoch())"
910
- },
911
- "updated_at": {
912
- "name": "updated_at",
913
- "type": "integer",
914
- "primaryKey": false,
915
- "notNull": true,
916
- "autoincrement": false,
917
- "default": "(unixepoch())"
918
- }
919
- },
920
- "indexes": {
921
- "issues_workspace_id_idx": {
922
- "name": "issues_workspace_id_idx",
923
- "columns": [
924
- "workspace_id"
925
- ],
926
- "isUnique": false
927
- },
928
- "issues_workspace_number_unique": {
929
- "name": "issues_workspace_number_unique",
930
- "columns": [
931
- "workspace_id",
932
- "number"
933
- ],
934
- "isUnique": true
935
- },
936
- "issues_status_id_idx": {
937
- "name": "issues_status_id_idx",
938
- "columns": [
939
- "status_id"
940
- ],
941
- "isUnique": false
942
- },
943
- "issues_milestone_id_idx": {
944
- "name": "issues_milestone_id_idx",
945
- "columns": [
946
- "milestone_id"
947
- ],
948
- "isUnique": false
949
- },
950
- "issues_parent_issue_id_idx": {
951
- "name": "issues_parent_issue_id_idx",
952
- "columns": [
953
- "parent_issue_id"
954
- ],
955
- "isUnique": false
956
- },
957
- "issues_delegate_agent_id_idx": {
958
- "name": "issues_delegate_agent_id_idx",
959
- "columns": [
960
- "delegate_agent_id"
961
- ],
962
- "isUnique": false
963
- },
964
- "issues_delegate_provider_target_id_idx": {
965
- "name": "issues_delegate_provider_target_id_idx",
966
- "columns": [
967
- "delegate_provider_target_id"
968
- ],
969
- "isUnique": false
970
- }
971
- },
972
- "foreignKeys": {
973
- "issues_status_id_issue_statuses_id_fk": {
974
- "name": "issues_status_id_issue_statuses_id_fk",
975
- "tableFrom": "issues",
976
- "tableTo": "issue_statuses",
977
- "columnsFrom": [
978
- "status_id"
979
- ],
980
- "columnsTo": [
981
- "id"
982
- ],
983
- "onDelete": "set null",
984
- "onUpdate": "no action"
985
- },
986
- "issues_milestone_id_issue_milestones_id_fk": {
987
- "name": "issues_milestone_id_issue_milestones_id_fk",
988
- "tableFrom": "issues",
989
- "tableTo": "issue_milestones",
990
- "columnsFrom": [
991
- "milestone_id"
992
- ],
993
- "columnsTo": [
994
- "id"
995
- ],
996
- "onDelete": "set null",
997
- "onUpdate": "no action"
998
- },
999
- "issues_parent_issue_id_issues_id_fk": {
1000
- "name": "issues_parent_issue_id_issues_id_fk",
1001
- "tableFrom": "issues",
1002
- "tableTo": "issues",
1003
- "columnsFrom": [
1004
- "parent_issue_id"
1005
- ],
1006
- "columnsTo": [
1007
- "id"
1008
- ],
1009
- "onDelete": "set null",
1010
- "onUpdate": "no action"
1011
- }
1012
- },
1013
- "compositePrimaryKeys": {},
1014
- "uniqueConstraints": {},
1015
- "checkConstraints": {}
1016
- },
1017
- "kanban_meta": {
1018
- "name": "kanban_meta",
1019
- "columns": {
1020
- "key": {
1021
- "name": "key",
1022
- "type": "text",
1023
- "primaryKey": true,
1024
- "notNull": true,
1025
- "autoincrement": false
1026
- },
1027
- "revision": {
1028
- "name": "revision",
1029
- "type": "integer",
1030
- "primaryKey": false,
1031
- "notNull": true,
1032
- "autoincrement": false,
1033
- "default": 0
1034
- },
1035
- "updated_at": {
1036
- "name": "updated_at",
1037
- "type": "integer",
1038
- "primaryKey": false,
1039
- "notNull": true,
1040
- "autoincrement": false,
1041
- "default": "(unixepoch())"
1042
- }
1043
- },
1044
- "indexes": {},
1045
- "foreignKeys": {},
1046
- "compositePrimaryKeys": {},
1047
- "uniqueConstraints": {},
1048
- "checkConstraints": {}
1049
- }
1050
- },
1051
- "views": {},
1052
- "enums": {},
1053
- "_meta": {
1054
- "schemas": {},
1055
- "tables": {},
1056
- "columns": {}
1057
- },
1058
- "internal": {
1059
- "indexes": {}
1060
- }
1061
- }