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