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