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