codeden 0.1.1 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/README.md +7 -1
  2. package/dist/THIRD-PARTY-NOTICES.txt +26 -0
  3. package/dist/cli.js +1 -1
  4. package/dist/drizzle/20261108041036_session_worktree_cleanup/migration.sql +2 -0
  5. package/dist/drizzle/20261108041036_session_worktree_cleanup/snapshot.json +3424 -0
  6. package/dist/drizzle/20261108045102_project_pin_order/migration.sql +4 -0
  7. package/dist/drizzle/20261108045102_project_pin_order/snapshot.json +3444 -0
  8. package/dist/drizzle/20261108052259_queued_message_sender/migration.sql +1 -0
  9. package/dist/drizzle/20261108052259_queued_message_sender/snapshot.json +3454 -0
  10. package/dist/drizzle/20261108085346_automation_created_by/migration.sql +1 -0
  11. package/dist/drizzle/20261108085346_automation_created_by/snapshot.json +3464 -0
  12. package/dist/drizzle/20261108090252_project_remote_warning/migration.sql +1 -0
  13. package/dist/drizzle/20261108090252_project_remote_warning/snapshot.json +3474 -0
  14. package/dist/{main-BF0aQ9U8.js → main-BAX1sPiD.js} +21971 -18752
  15. package/dist/main-BAX1sPiD.js.map +1 -0
  16. package/dist/{main-DaGFUbbW.js → main-DgpYK_Si.js} +2 -2
  17. package/dist/{main-DaGFUbbW.js.map → main-DgpYK_Si.js.map} +1 -1
  18. package/dist/{runner-D8m3WdtS.js → runner-DGomZl80.js} +2569 -472
  19. package/dist/runner-DGomZl80.js.map +1 -0
  20. package/dist/runner.js +1 -1
  21. package/dist/web/assets/{core-BmMheb4i.js → core-D2h_xdbh.js} +1 -1
  22. package/dist/web/assets/engine-oniguruma-CG0oBFVI.js +1 -0
  23. package/dist/web/assets/{highlighted-body-JLMTFACH-nUCrIe8P.js → highlighted-body-JLMTFACH-DpId3Lg2.js} +1 -1
  24. package/dist/web/assets/{highlights-CdGBlIcw.js → highlights-C1SeynWZ.js} +1 -1
  25. package/dist/web/assets/index-BPuGYbOr.css +1 -0
  26. package/dist/web/assets/index-BXhyz2mO.js +914 -0
  27. package/dist/web/assets/langs-NwkcQ-R2.js +1 -0
  28. package/dist/web/assets/mermaid-WFAXDIZX-jqhY_qSL.js +1 -0
  29. package/dist/web/assets/{shiki-D8HIISPT.js → shiki-h6vxFpD2.js} +2 -2
  30. package/dist/web/assets/{stream-tokenizer-BmWmYTv_.js → stream-tokenizer-D8Euixi9.js} +1 -1
  31. package/dist/web/assets/{themes-CKsIQs7_.js → themes-Bi1mPEwQ.js} +2 -2
  32. package/dist/web/favicon.svg +1 -1
  33. package/dist/web/index.html +2 -2
  34. package/package.json +1 -1
  35. package/dist/main-BF0aQ9U8.js.map +0 -1
  36. package/dist/runner-D8m3WdtS.js.map +0 -1
  37. package/dist/web/assets/engine-oniguruma-CVzqqUIi.js +0 -1
  38. package/dist/web/assets/index-DKWZjMF1.js +0 -885
  39. package/dist/web/assets/index-DfoaM4E6.css +0 -1
  40. package/dist/web/assets/langs-kfQh6fa2.js +0 -1
  41. package/dist/web/assets/mermaid-WFAXDIZX-BIq7_eYY.js +0 -1
@@ -0,0 +1,3454 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "f8d3d2c9-0af3-49b9-8b7b-8ed5cda39ccc",
5
+ "prevIds": [
6
+ "b96c776c-383c-4450-b4c9-ab37a46ce549"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "name": "automation_projects",
11
+ "entityType": "tables"
12
+ },
13
+ {
14
+ "name": "automation_schedules",
15
+ "entityType": "tables"
16
+ },
17
+ {
18
+ "name": "artifacts",
19
+ "entityType": "tables"
20
+ },
21
+ {
22
+ "name": "automation_runs",
23
+ "entityType": "tables"
24
+ },
25
+ {
26
+ "name": "automations",
27
+ "entityType": "tables"
28
+ },
29
+ {
30
+ "name": "checkpoints",
31
+ "entityType": "tables"
32
+ },
33
+ {
34
+ "name": "events",
35
+ "entityType": "tables"
36
+ },
37
+ {
38
+ "name": "inbox_items",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "name": "items",
43
+ "entityType": "tables"
44
+ },
45
+ {
46
+ "name": "mcp_tokens",
47
+ "entityType": "tables"
48
+ },
49
+ {
50
+ "name": "projects",
51
+ "entityType": "tables"
52
+ },
53
+ {
54
+ "name": "queued_messages",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "runner_state",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "sessions",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "threads",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "turns",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "name": "factory_digests",
75
+ "entityType": "tables"
76
+ },
77
+ {
78
+ "name": "factory_items",
79
+ "entityType": "tables"
80
+ },
81
+ {
82
+ "name": "factory_loops",
83
+ "entityType": "tables"
84
+ },
85
+ {
86
+ "name": "github_issues",
87
+ "entityType": "tables"
88
+ },
89
+ {
90
+ "name": "github_prs",
91
+ "entityType": "tables"
92
+ },
93
+ {
94
+ "name": "github_sync_state",
95
+ "entityType": "tables"
96
+ },
97
+ {
98
+ "name": "conflicts",
99
+ "entityType": "tables"
100
+ },
101
+ {
102
+ "name": "notices",
103
+ "entityType": "tables"
104
+ },
105
+ {
106
+ "name": "rate_limit_windows",
107
+ "entityType": "tables"
108
+ },
109
+ {
110
+ "name": "usage_ledger",
111
+ "entityType": "tables"
112
+ },
113
+ {
114
+ "table": "automation_projects",
115
+ "name": "project_id",
116
+ "type": "text",
117
+ "notNull": false,
118
+ "autoincrement": false,
119
+ "default": null,
120
+ "generated": null,
121
+ "entityType": "columns"
122
+ },
123
+ {
124
+ "table": "automation_projects",
125
+ "name": "enabled",
126
+ "type": "integer",
127
+ "notNull": true,
128
+ "autoincrement": false,
129
+ "default": "true",
130
+ "generated": null,
131
+ "entityType": "columns"
132
+ },
133
+ {
134
+ "table": "automation_projects",
135
+ "name": "updated_at",
136
+ "type": "text",
137
+ "notNull": true,
138
+ "autoincrement": false,
139
+ "default": null,
140
+ "generated": null,
141
+ "entityType": "columns"
142
+ },
143
+ {
144
+ "table": "automation_schedules",
145
+ "name": "automation_id",
146
+ "type": "text",
147
+ "notNull": true,
148
+ "autoincrement": false,
149
+ "default": null,
150
+ "generated": null,
151
+ "entityType": "columns"
152
+ },
153
+ {
154
+ "table": "automation_schedules",
155
+ "name": "project_id",
156
+ "type": "text",
157
+ "notNull": true,
158
+ "autoincrement": false,
159
+ "default": null,
160
+ "generated": null,
161
+ "entityType": "columns"
162
+ },
163
+ {
164
+ "table": "automation_schedules",
165
+ "name": "signature",
166
+ "type": "text",
167
+ "notNull": false,
168
+ "autoincrement": false,
169
+ "default": null,
170
+ "generated": null,
171
+ "entityType": "columns"
172
+ },
173
+ {
174
+ "table": "automation_schedules",
175
+ "name": "next_run_at",
176
+ "type": "text",
177
+ "notNull": false,
178
+ "autoincrement": false,
179
+ "default": null,
180
+ "generated": null,
181
+ "entityType": "columns"
182
+ },
183
+ {
184
+ "table": "automation_schedules",
185
+ "name": "skip_at",
186
+ "type": "text",
187
+ "notNull": false,
188
+ "autoincrement": false,
189
+ "default": null,
190
+ "generated": null,
191
+ "entityType": "columns"
192
+ },
193
+ {
194
+ "table": "automation_schedules",
195
+ "name": "paused",
196
+ "type": "integer",
197
+ "notNull": true,
198
+ "autoincrement": false,
199
+ "default": "false",
200
+ "generated": null,
201
+ "entityType": "columns"
202
+ },
203
+ {
204
+ "table": "automation_schedules",
205
+ "name": "enabled_override",
206
+ "type": "integer",
207
+ "notNull": false,
208
+ "autoincrement": false,
209
+ "default": null,
210
+ "generated": null,
211
+ "entityType": "columns"
212
+ },
213
+ {
214
+ "table": "automation_schedules",
215
+ "name": "last_fired_at",
216
+ "type": "text",
217
+ "notNull": false,
218
+ "autoincrement": false,
219
+ "default": null,
220
+ "generated": null,
221
+ "entityType": "columns"
222
+ },
223
+ {
224
+ "table": "automation_schedules",
225
+ "name": "updated_at",
226
+ "type": "text",
227
+ "notNull": true,
228
+ "autoincrement": false,
229
+ "default": null,
230
+ "generated": null,
231
+ "entityType": "columns"
232
+ },
233
+ {
234
+ "table": "artifacts",
235
+ "name": "id",
236
+ "type": "text",
237
+ "notNull": false,
238
+ "autoincrement": false,
239
+ "default": null,
240
+ "generated": null,
241
+ "entityType": "columns"
242
+ },
243
+ {
244
+ "table": "artifacts",
245
+ "name": "kind",
246
+ "type": "text",
247
+ "notNull": true,
248
+ "autoincrement": false,
249
+ "default": null,
250
+ "generated": null,
251
+ "entityType": "columns"
252
+ },
253
+ {
254
+ "table": "artifacts",
255
+ "name": "name",
256
+ "type": "text",
257
+ "notNull": true,
258
+ "autoincrement": false,
259
+ "default": null,
260
+ "generated": null,
261
+ "entityType": "columns"
262
+ },
263
+ {
264
+ "table": "artifacts",
265
+ "name": "media_type",
266
+ "type": "text",
267
+ "notNull": true,
268
+ "autoincrement": false,
269
+ "default": null,
270
+ "generated": null,
271
+ "entityType": "columns"
272
+ },
273
+ {
274
+ "table": "artifacts",
275
+ "name": "path",
276
+ "type": "text",
277
+ "notNull": true,
278
+ "autoincrement": false,
279
+ "default": null,
280
+ "generated": null,
281
+ "entityType": "columns"
282
+ },
283
+ {
284
+ "table": "artifacts",
285
+ "name": "size_bytes",
286
+ "type": "integer",
287
+ "notNull": true,
288
+ "autoincrement": false,
289
+ "default": null,
290
+ "generated": null,
291
+ "entityType": "columns"
292
+ },
293
+ {
294
+ "table": "artifacts",
295
+ "name": "sha256",
296
+ "type": "text",
297
+ "notNull": false,
298
+ "autoincrement": false,
299
+ "default": null,
300
+ "generated": null,
301
+ "entityType": "columns"
302
+ },
303
+ {
304
+ "table": "artifacts",
305
+ "name": "project_id",
306
+ "type": "text",
307
+ "notNull": false,
308
+ "autoincrement": false,
309
+ "default": null,
310
+ "generated": null,
311
+ "entityType": "columns"
312
+ },
313
+ {
314
+ "table": "artifacts",
315
+ "name": "session_id",
316
+ "type": "text",
317
+ "notNull": false,
318
+ "autoincrement": false,
319
+ "default": null,
320
+ "generated": null,
321
+ "entityType": "columns"
322
+ },
323
+ {
324
+ "table": "artifacts",
325
+ "name": "thread_id",
326
+ "type": "text",
327
+ "notNull": false,
328
+ "autoincrement": false,
329
+ "default": null,
330
+ "generated": null,
331
+ "entityType": "columns"
332
+ },
333
+ {
334
+ "table": "artifacts",
335
+ "name": "item_id",
336
+ "type": "text",
337
+ "notNull": false,
338
+ "autoincrement": false,
339
+ "default": null,
340
+ "generated": null,
341
+ "entityType": "columns"
342
+ },
343
+ {
344
+ "table": "artifacts",
345
+ "name": "created_at",
346
+ "type": "text",
347
+ "notNull": true,
348
+ "autoincrement": false,
349
+ "default": null,
350
+ "generated": null,
351
+ "entityType": "columns"
352
+ },
353
+ {
354
+ "table": "automation_runs",
355
+ "name": "id",
356
+ "type": "text",
357
+ "notNull": false,
358
+ "autoincrement": false,
359
+ "default": null,
360
+ "generated": null,
361
+ "entityType": "columns"
362
+ },
363
+ {
364
+ "table": "automation_runs",
365
+ "name": "automation_id",
366
+ "type": "text",
367
+ "notNull": true,
368
+ "autoincrement": false,
369
+ "default": null,
370
+ "generated": null,
371
+ "entityType": "columns"
372
+ },
373
+ {
374
+ "table": "automation_runs",
375
+ "name": "project_id",
376
+ "type": "text",
377
+ "notNull": false,
378
+ "autoincrement": false,
379
+ "default": null,
380
+ "generated": null,
381
+ "entityType": "columns"
382
+ },
383
+ {
384
+ "table": "automation_runs",
385
+ "name": "status",
386
+ "type": "text",
387
+ "notNull": true,
388
+ "autoincrement": false,
389
+ "default": null,
390
+ "generated": null,
391
+ "entityType": "columns"
392
+ },
393
+ {
394
+ "table": "automation_runs",
395
+ "name": "triggered_by",
396
+ "type": "text",
397
+ "notNull": true,
398
+ "autoincrement": false,
399
+ "default": null,
400
+ "generated": null,
401
+ "entityType": "columns"
402
+ },
403
+ {
404
+ "table": "automation_runs",
405
+ "name": "started_by",
406
+ "type": "text",
407
+ "notNull": true,
408
+ "autoincrement": false,
409
+ "default": null,
410
+ "generated": null,
411
+ "entityType": "columns"
412
+ },
413
+ {
414
+ "table": "automation_runs",
415
+ "name": "purpose",
416
+ "type": "text",
417
+ "notNull": true,
418
+ "autoincrement": false,
419
+ "default": null,
420
+ "generated": null,
421
+ "entityType": "columns"
422
+ },
423
+ {
424
+ "table": "automation_runs",
425
+ "name": "work_key",
426
+ "type": "text",
427
+ "notNull": true,
428
+ "autoincrement": false,
429
+ "default": null,
430
+ "generated": null,
431
+ "entityType": "columns"
432
+ },
433
+ {
434
+ "table": "automation_runs",
435
+ "name": "scope",
436
+ "type": "text",
437
+ "notNull": true,
438
+ "autoincrement": false,
439
+ "default": null,
440
+ "generated": null,
441
+ "entityType": "columns"
442
+ },
443
+ {
444
+ "table": "automation_runs",
445
+ "name": "progress",
446
+ "type": "text",
447
+ "notNull": false,
448
+ "autoincrement": false,
449
+ "default": null,
450
+ "generated": null,
451
+ "entityType": "columns"
452
+ },
453
+ {
454
+ "table": "automation_runs",
455
+ "name": "skip_reason",
456
+ "type": "text",
457
+ "notNull": false,
458
+ "autoincrement": false,
459
+ "default": null,
460
+ "generated": null,
461
+ "entityType": "columns"
462
+ },
463
+ {
464
+ "table": "automation_runs",
465
+ "name": "session_id",
466
+ "type": "text",
467
+ "notNull": false,
468
+ "autoincrement": false,
469
+ "default": null,
470
+ "generated": null,
471
+ "entityType": "columns"
472
+ },
473
+ {
474
+ "table": "automation_runs",
475
+ "name": "issue_number",
476
+ "type": "integer",
477
+ "notNull": false,
478
+ "autoincrement": false,
479
+ "default": null,
480
+ "generated": null,
481
+ "entityType": "columns"
482
+ },
483
+ {
484
+ "table": "automation_runs",
485
+ "name": "started_at",
486
+ "type": "text",
487
+ "notNull": true,
488
+ "autoincrement": false,
489
+ "default": null,
490
+ "generated": null,
491
+ "entityType": "columns"
492
+ },
493
+ {
494
+ "table": "automation_runs",
495
+ "name": "finished_at",
496
+ "type": "text",
497
+ "notNull": false,
498
+ "autoincrement": false,
499
+ "default": null,
500
+ "generated": null,
501
+ "entityType": "columns"
502
+ },
503
+ {
504
+ "table": "automation_runs",
505
+ "name": "error",
506
+ "type": "text",
507
+ "notNull": false,
508
+ "autoincrement": false,
509
+ "default": null,
510
+ "generated": null,
511
+ "entityType": "columns"
512
+ },
513
+ {
514
+ "table": "automations",
515
+ "name": "id",
516
+ "type": "text",
517
+ "notNull": false,
518
+ "autoincrement": false,
519
+ "default": null,
520
+ "generated": null,
521
+ "entityType": "columns"
522
+ },
523
+ {
524
+ "table": "automations",
525
+ "name": "name",
526
+ "type": "text",
527
+ "notNull": true,
528
+ "autoincrement": false,
529
+ "default": null,
530
+ "generated": null,
531
+ "entityType": "columns"
532
+ },
533
+ {
534
+ "table": "automations",
535
+ "name": "description",
536
+ "type": "text",
537
+ "notNull": false,
538
+ "autoincrement": false,
539
+ "default": null,
540
+ "generated": null,
541
+ "entityType": "columns"
542
+ },
543
+ {
544
+ "table": "automations",
545
+ "name": "enabled",
546
+ "type": "integer",
547
+ "notNull": true,
548
+ "autoincrement": false,
549
+ "default": "false",
550
+ "generated": null,
551
+ "entityType": "columns"
552
+ },
553
+ {
554
+ "table": "automations",
555
+ "name": "source",
556
+ "type": "text",
557
+ "notNull": true,
558
+ "autoincrement": false,
559
+ "default": null,
560
+ "generated": null,
561
+ "entityType": "columns"
562
+ },
563
+ {
564
+ "table": "automations",
565
+ "name": "template_id",
566
+ "type": "text",
567
+ "notNull": false,
568
+ "autoincrement": false,
569
+ "default": null,
570
+ "generated": null,
571
+ "entityType": "columns"
572
+ },
573
+ {
574
+ "table": "automations",
575
+ "name": "trigger",
576
+ "type": "text",
577
+ "notNull": true,
578
+ "autoincrement": false,
579
+ "default": null,
580
+ "generated": null,
581
+ "entityType": "columns"
582
+ },
583
+ {
584
+ "table": "automations",
585
+ "name": "action",
586
+ "type": "text",
587
+ "notNull": true,
588
+ "autoincrement": false,
589
+ "default": null,
590
+ "generated": null,
591
+ "entityType": "columns"
592
+ },
593
+ {
594
+ "table": "automations",
595
+ "name": "target",
596
+ "type": "text",
597
+ "notNull": true,
598
+ "autoincrement": false,
599
+ "default": null,
600
+ "generated": null,
601
+ "entityType": "columns"
602
+ },
603
+ {
604
+ "table": "automations",
605
+ "name": "guards",
606
+ "type": "text",
607
+ "notNull": true,
608
+ "autoincrement": false,
609
+ "default": null,
610
+ "generated": null,
611
+ "entityType": "columns"
612
+ },
613
+ {
614
+ "table": "automations",
615
+ "name": "work_key",
616
+ "type": "text",
617
+ "notNull": false,
618
+ "autoincrement": false,
619
+ "default": null,
620
+ "generated": null,
621
+ "entityType": "columns"
622
+ },
623
+ {
624
+ "table": "automations",
625
+ "name": "created_at",
626
+ "type": "text",
627
+ "notNull": true,
628
+ "autoincrement": false,
629
+ "default": null,
630
+ "generated": null,
631
+ "entityType": "columns"
632
+ },
633
+ {
634
+ "table": "automations",
635
+ "name": "updated_at",
636
+ "type": "text",
637
+ "notNull": true,
638
+ "autoincrement": false,
639
+ "default": null,
640
+ "generated": null,
641
+ "entityType": "columns"
642
+ },
643
+ {
644
+ "table": "checkpoints",
645
+ "name": "session_id",
646
+ "type": "text",
647
+ "notNull": true,
648
+ "autoincrement": false,
649
+ "default": null,
650
+ "generated": null,
651
+ "entityType": "columns"
652
+ },
653
+ {
654
+ "table": "checkpoints",
655
+ "name": "idx",
656
+ "type": "integer",
657
+ "notNull": true,
658
+ "autoincrement": false,
659
+ "default": null,
660
+ "generated": null,
661
+ "entityType": "columns"
662
+ },
663
+ {
664
+ "table": "checkpoints",
665
+ "name": "ref",
666
+ "type": "text",
667
+ "notNull": true,
668
+ "autoincrement": false,
669
+ "default": null,
670
+ "generated": null,
671
+ "entityType": "columns"
672
+ },
673
+ {
674
+ "table": "checkpoints",
675
+ "name": "commit_sha",
676
+ "type": "text",
677
+ "notNull": true,
678
+ "autoincrement": false,
679
+ "default": null,
680
+ "generated": null,
681
+ "entityType": "columns"
682
+ },
683
+ {
684
+ "table": "checkpoints",
685
+ "name": "turn_id",
686
+ "type": "text",
687
+ "notNull": false,
688
+ "autoincrement": false,
689
+ "default": null,
690
+ "generated": null,
691
+ "entityType": "columns"
692
+ },
693
+ {
694
+ "table": "checkpoints",
695
+ "name": "created_at",
696
+ "type": "text",
697
+ "notNull": true,
698
+ "autoincrement": false,
699
+ "default": null,
700
+ "generated": null,
701
+ "entityType": "columns"
702
+ },
703
+ {
704
+ "table": "events",
705
+ "name": "seq",
706
+ "type": "integer",
707
+ "notNull": false,
708
+ "autoincrement": true,
709
+ "default": null,
710
+ "generated": null,
711
+ "entityType": "columns"
712
+ },
713
+ {
714
+ "table": "events",
715
+ "name": "session_id",
716
+ "type": "text",
717
+ "notNull": false,
718
+ "autoincrement": false,
719
+ "default": null,
720
+ "generated": null,
721
+ "entityType": "columns"
722
+ },
723
+ {
724
+ "table": "events",
725
+ "name": "type",
726
+ "type": "text",
727
+ "notNull": true,
728
+ "autoincrement": false,
729
+ "default": null,
730
+ "generated": null,
731
+ "entityType": "columns"
732
+ },
733
+ {
734
+ "table": "events",
735
+ "name": "payload",
736
+ "type": "text",
737
+ "notNull": true,
738
+ "autoincrement": false,
739
+ "default": null,
740
+ "generated": null,
741
+ "entityType": "columns"
742
+ },
743
+ {
744
+ "table": "events",
745
+ "name": "ts",
746
+ "type": "text",
747
+ "notNull": true,
748
+ "autoincrement": false,
749
+ "default": null,
750
+ "generated": null,
751
+ "entityType": "columns"
752
+ },
753
+ {
754
+ "table": "inbox_items",
755
+ "name": "id",
756
+ "type": "text",
757
+ "notNull": false,
758
+ "autoincrement": false,
759
+ "default": null,
760
+ "generated": null,
761
+ "entityType": "columns"
762
+ },
763
+ {
764
+ "table": "inbox_items",
765
+ "name": "kind",
766
+ "type": "text",
767
+ "notNull": true,
768
+ "autoincrement": false,
769
+ "default": null,
770
+ "generated": null,
771
+ "entityType": "columns"
772
+ },
773
+ {
774
+ "table": "inbox_items",
775
+ "name": "status",
776
+ "type": "text",
777
+ "notNull": true,
778
+ "autoincrement": false,
779
+ "default": null,
780
+ "generated": null,
781
+ "entityType": "columns"
782
+ },
783
+ {
784
+ "table": "inbox_items",
785
+ "name": "priority",
786
+ "type": "text",
787
+ "notNull": true,
788
+ "autoincrement": false,
789
+ "default": "'normal'",
790
+ "generated": null,
791
+ "entityType": "columns"
792
+ },
793
+ {
794
+ "table": "inbox_items",
795
+ "name": "title",
796
+ "type": "text",
797
+ "notNull": true,
798
+ "autoincrement": false,
799
+ "default": null,
800
+ "generated": null,
801
+ "entityType": "columns"
802
+ },
803
+ {
804
+ "table": "inbox_items",
805
+ "name": "body",
806
+ "type": "text",
807
+ "notNull": false,
808
+ "autoincrement": false,
809
+ "default": null,
810
+ "generated": null,
811
+ "entityType": "columns"
812
+ },
813
+ {
814
+ "table": "inbox_items",
815
+ "name": "project_id",
816
+ "type": "text",
817
+ "notNull": false,
818
+ "autoincrement": false,
819
+ "default": null,
820
+ "generated": null,
821
+ "entityType": "columns"
822
+ },
823
+ {
824
+ "table": "inbox_items",
825
+ "name": "session_id",
826
+ "type": "text",
827
+ "notNull": false,
828
+ "autoincrement": false,
829
+ "default": null,
830
+ "generated": null,
831
+ "entityType": "columns"
832
+ },
833
+ {
834
+ "table": "inbox_items",
835
+ "name": "thread_id",
836
+ "type": "text",
837
+ "notNull": false,
838
+ "autoincrement": false,
839
+ "default": null,
840
+ "generated": null,
841
+ "entityType": "columns"
842
+ },
843
+ {
844
+ "table": "inbox_items",
845
+ "name": "item_id",
846
+ "type": "text",
847
+ "notNull": false,
848
+ "autoincrement": false,
849
+ "default": null,
850
+ "generated": null,
851
+ "entityType": "columns"
852
+ },
853
+ {
854
+ "table": "inbox_items",
855
+ "name": "request_id",
856
+ "type": "text",
857
+ "notNull": false,
858
+ "autoincrement": false,
859
+ "default": null,
860
+ "generated": null,
861
+ "entityType": "columns"
862
+ },
863
+ {
864
+ "table": "inbox_items",
865
+ "name": "issue",
866
+ "type": "text",
867
+ "notNull": false,
868
+ "autoincrement": false,
869
+ "default": null,
870
+ "generated": null,
871
+ "entityType": "columns"
872
+ },
873
+ {
874
+ "table": "inbox_items",
875
+ "name": "pr",
876
+ "type": "text",
877
+ "notNull": false,
878
+ "autoincrement": false,
879
+ "default": null,
880
+ "generated": null,
881
+ "entityType": "columns"
882
+ },
883
+ {
884
+ "table": "inbox_items",
885
+ "name": "automation_run_id",
886
+ "type": "text",
887
+ "notNull": false,
888
+ "autoincrement": false,
889
+ "default": null,
890
+ "generated": null,
891
+ "entityType": "columns"
892
+ },
893
+ {
894
+ "table": "inbox_items",
895
+ "name": "created_at",
896
+ "type": "text",
897
+ "notNull": true,
898
+ "autoincrement": false,
899
+ "default": null,
900
+ "generated": null,
901
+ "entityType": "columns"
902
+ },
903
+ {
904
+ "table": "inbox_items",
905
+ "name": "updated_at",
906
+ "type": "text",
907
+ "notNull": true,
908
+ "autoincrement": false,
909
+ "default": null,
910
+ "generated": null,
911
+ "entityType": "columns"
912
+ },
913
+ {
914
+ "table": "inbox_items",
915
+ "name": "resolved_at",
916
+ "type": "text",
917
+ "notNull": false,
918
+ "autoincrement": false,
919
+ "default": null,
920
+ "generated": null,
921
+ "entityType": "columns"
922
+ },
923
+ {
924
+ "table": "inbox_items",
925
+ "name": "resolution",
926
+ "type": "text",
927
+ "notNull": false,
928
+ "autoincrement": false,
929
+ "default": null,
930
+ "generated": null,
931
+ "entityType": "columns"
932
+ },
933
+ {
934
+ "table": "items",
935
+ "name": "session_id",
936
+ "type": "text",
937
+ "notNull": true,
938
+ "autoincrement": false,
939
+ "default": null,
940
+ "generated": null,
941
+ "entityType": "columns"
942
+ },
943
+ {
944
+ "table": "items",
945
+ "name": "id",
946
+ "type": "text",
947
+ "notNull": true,
948
+ "autoincrement": false,
949
+ "default": null,
950
+ "generated": null,
951
+ "entityType": "columns"
952
+ },
953
+ {
954
+ "table": "items",
955
+ "name": "thread_id",
956
+ "type": "text",
957
+ "notNull": true,
958
+ "autoincrement": false,
959
+ "default": null,
960
+ "generated": null,
961
+ "entityType": "columns"
962
+ },
963
+ {
964
+ "table": "items",
965
+ "name": "turn_id",
966
+ "type": "text",
967
+ "notNull": true,
968
+ "autoincrement": false,
969
+ "default": null,
970
+ "generated": null,
971
+ "entityType": "columns"
972
+ },
973
+ {
974
+ "table": "items",
975
+ "name": "position",
976
+ "type": "integer",
977
+ "notNull": true,
978
+ "autoincrement": false,
979
+ "default": null,
980
+ "generated": null,
981
+ "entityType": "columns"
982
+ },
983
+ {
984
+ "table": "items",
985
+ "name": "kind",
986
+ "type": "text",
987
+ "notNull": true,
988
+ "autoincrement": false,
989
+ "default": null,
990
+ "generated": null,
991
+ "entityType": "columns"
992
+ },
993
+ {
994
+ "table": "items",
995
+ "name": "status",
996
+ "type": "text",
997
+ "notNull": true,
998
+ "autoincrement": false,
999
+ "default": null,
1000
+ "generated": null,
1001
+ "entityType": "columns"
1002
+ },
1003
+ {
1004
+ "table": "items",
1005
+ "name": "data",
1006
+ "type": "text",
1007
+ "notNull": true,
1008
+ "autoincrement": false,
1009
+ "default": null,
1010
+ "generated": null,
1011
+ "entityType": "columns"
1012
+ },
1013
+ {
1014
+ "table": "items",
1015
+ "name": "created_at",
1016
+ "type": "text",
1017
+ "notNull": true,
1018
+ "autoincrement": false,
1019
+ "default": null,
1020
+ "generated": null,
1021
+ "entityType": "columns"
1022
+ },
1023
+ {
1024
+ "table": "items",
1025
+ "name": "updated_at",
1026
+ "type": "text",
1027
+ "notNull": true,
1028
+ "autoincrement": false,
1029
+ "default": null,
1030
+ "generated": null,
1031
+ "entityType": "columns"
1032
+ },
1033
+ {
1034
+ "table": "mcp_tokens",
1035
+ "name": "id",
1036
+ "type": "text",
1037
+ "notNull": false,
1038
+ "autoincrement": false,
1039
+ "default": null,
1040
+ "generated": null,
1041
+ "entityType": "columns"
1042
+ },
1043
+ {
1044
+ "table": "mcp_tokens",
1045
+ "name": "token_hash",
1046
+ "type": "text",
1047
+ "notNull": true,
1048
+ "autoincrement": false,
1049
+ "default": null,
1050
+ "generated": null,
1051
+ "entityType": "columns"
1052
+ },
1053
+ {
1054
+ "table": "mcp_tokens",
1055
+ "name": "role",
1056
+ "type": "text",
1057
+ "notNull": true,
1058
+ "autoincrement": false,
1059
+ "default": null,
1060
+ "generated": null,
1061
+ "entityType": "columns"
1062
+ },
1063
+ {
1064
+ "table": "mcp_tokens",
1065
+ "name": "session_id",
1066
+ "type": "text",
1067
+ "notNull": true,
1068
+ "autoincrement": false,
1069
+ "default": null,
1070
+ "generated": null,
1071
+ "entityType": "columns"
1072
+ },
1073
+ {
1074
+ "table": "mcp_tokens",
1075
+ "name": "project_id",
1076
+ "type": "text",
1077
+ "notNull": false,
1078
+ "autoincrement": false,
1079
+ "default": null,
1080
+ "generated": null,
1081
+ "entityType": "columns"
1082
+ },
1083
+ {
1084
+ "table": "mcp_tokens",
1085
+ "name": "created_at",
1086
+ "type": "text",
1087
+ "notNull": true,
1088
+ "autoincrement": false,
1089
+ "default": null,
1090
+ "generated": null,
1091
+ "entityType": "columns"
1092
+ },
1093
+ {
1094
+ "table": "mcp_tokens",
1095
+ "name": "revoked_at",
1096
+ "type": "text",
1097
+ "notNull": false,
1098
+ "autoincrement": false,
1099
+ "default": null,
1100
+ "generated": null,
1101
+ "entityType": "columns"
1102
+ },
1103
+ {
1104
+ "table": "projects",
1105
+ "name": "id",
1106
+ "type": "text",
1107
+ "notNull": false,
1108
+ "autoincrement": false,
1109
+ "default": null,
1110
+ "generated": null,
1111
+ "entityType": "columns"
1112
+ },
1113
+ {
1114
+ "table": "projects",
1115
+ "name": "kind",
1116
+ "type": "text",
1117
+ "notNull": true,
1118
+ "autoincrement": false,
1119
+ "default": null,
1120
+ "generated": null,
1121
+ "entityType": "columns"
1122
+ },
1123
+ {
1124
+ "table": "projects",
1125
+ "name": "name",
1126
+ "type": "text",
1127
+ "notNull": true,
1128
+ "autoincrement": false,
1129
+ "default": null,
1130
+ "generated": null,
1131
+ "entityType": "columns"
1132
+ },
1133
+ {
1134
+ "table": "projects",
1135
+ "name": "slug",
1136
+ "type": "text",
1137
+ "notNull": true,
1138
+ "autoincrement": false,
1139
+ "default": null,
1140
+ "generated": null,
1141
+ "entityType": "columns"
1142
+ },
1143
+ {
1144
+ "table": "projects",
1145
+ "name": "path",
1146
+ "type": "text",
1147
+ "notNull": true,
1148
+ "autoincrement": false,
1149
+ "default": null,
1150
+ "generated": null,
1151
+ "entityType": "columns"
1152
+ },
1153
+ {
1154
+ "table": "projects",
1155
+ "name": "default_branch",
1156
+ "type": "text",
1157
+ "notNull": false,
1158
+ "autoincrement": false,
1159
+ "default": null,
1160
+ "generated": null,
1161
+ "entityType": "columns"
1162
+ },
1163
+ {
1164
+ "table": "projects",
1165
+ "name": "default_provider",
1166
+ "type": "text",
1167
+ "notNull": false,
1168
+ "autoincrement": false,
1169
+ "default": null,
1170
+ "generated": null,
1171
+ "entityType": "columns"
1172
+ },
1173
+ {
1174
+ "table": "projects",
1175
+ "name": "autonomy",
1176
+ "type": "text",
1177
+ "notNull": false,
1178
+ "autoincrement": false,
1179
+ "default": null,
1180
+ "generated": null,
1181
+ "entityType": "columns"
1182
+ },
1183
+ {
1184
+ "table": "projects",
1185
+ "name": "autonomy_mode",
1186
+ "type": "text",
1187
+ "notNull": true,
1188
+ "autoincrement": false,
1189
+ "default": "'assisted'",
1190
+ "generated": null,
1191
+ "entityType": "columns"
1192
+ },
1193
+ {
1194
+ "table": "projects",
1195
+ "name": "vision_path",
1196
+ "type": "text",
1197
+ "notNull": true,
1198
+ "autoincrement": false,
1199
+ "default": "'.codeden/VISION.md'",
1200
+ "generated": null,
1201
+ "entityType": "columns"
1202
+ },
1203
+ {
1204
+ "table": "projects",
1205
+ "name": "factory_limits",
1206
+ "type": "text",
1207
+ "notNull": false,
1208
+ "autoincrement": false,
1209
+ "default": null,
1210
+ "generated": null,
1211
+ "entityType": "columns"
1212
+ },
1213
+ {
1214
+ "table": "projects",
1215
+ "name": "kill_switch",
1216
+ "type": "integer",
1217
+ "notNull": true,
1218
+ "autoincrement": false,
1219
+ "default": "false",
1220
+ "generated": null,
1221
+ "entityType": "columns"
1222
+ },
1223
+ {
1224
+ "table": "projects",
1225
+ "name": "timezone",
1226
+ "type": "text",
1227
+ "notNull": false,
1228
+ "autoincrement": false,
1229
+ "default": null,
1230
+ "generated": null,
1231
+ "entityType": "columns"
1232
+ },
1233
+ {
1234
+ "table": "projects",
1235
+ "name": "pinned",
1236
+ "type": "integer",
1237
+ "notNull": true,
1238
+ "autoincrement": false,
1239
+ "default": "false",
1240
+ "generated": null,
1241
+ "entityType": "columns"
1242
+ },
1243
+ {
1244
+ "table": "projects",
1245
+ "name": "sort_order",
1246
+ "type": "integer",
1247
+ "notNull": true,
1248
+ "autoincrement": false,
1249
+ "default": "0",
1250
+ "generated": null,
1251
+ "entityType": "columns"
1252
+ },
1253
+ {
1254
+ "table": "projects",
1255
+ "name": "github",
1256
+ "type": "text",
1257
+ "notNull": false,
1258
+ "autoincrement": false,
1259
+ "default": null,
1260
+ "generated": null,
1261
+ "entityType": "columns"
1262
+ },
1263
+ {
1264
+ "table": "projects",
1265
+ "name": "created_at",
1266
+ "type": "text",
1267
+ "notNull": true,
1268
+ "autoincrement": false,
1269
+ "default": null,
1270
+ "generated": null,
1271
+ "entityType": "columns"
1272
+ },
1273
+ {
1274
+ "table": "projects",
1275
+ "name": "updated_at",
1276
+ "type": "text",
1277
+ "notNull": true,
1278
+ "autoincrement": false,
1279
+ "default": null,
1280
+ "generated": null,
1281
+ "entityType": "columns"
1282
+ },
1283
+ {
1284
+ "table": "projects",
1285
+ "name": "archived_at",
1286
+ "type": "text",
1287
+ "notNull": false,
1288
+ "autoincrement": false,
1289
+ "default": null,
1290
+ "generated": null,
1291
+ "entityType": "columns"
1292
+ },
1293
+ {
1294
+ "table": "queued_messages",
1295
+ "name": "id",
1296
+ "type": "text",
1297
+ "notNull": false,
1298
+ "autoincrement": false,
1299
+ "default": null,
1300
+ "generated": null,
1301
+ "entityType": "columns"
1302
+ },
1303
+ {
1304
+ "table": "queued_messages",
1305
+ "name": "session_id",
1306
+ "type": "text",
1307
+ "notNull": true,
1308
+ "autoincrement": false,
1309
+ "default": null,
1310
+ "generated": null,
1311
+ "entityType": "columns"
1312
+ },
1313
+ {
1314
+ "table": "queued_messages",
1315
+ "name": "input",
1316
+ "type": "text",
1317
+ "notNull": true,
1318
+ "autoincrement": false,
1319
+ "default": null,
1320
+ "generated": null,
1321
+ "entityType": "columns"
1322
+ },
1323
+ {
1324
+ "table": "queued_messages",
1325
+ "name": "sender",
1326
+ "type": "text",
1327
+ "notNull": false,
1328
+ "autoincrement": false,
1329
+ "default": null,
1330
+ "generated": null,
1331
+ "entityType": "columns"
1332
+ },
1333
+ {
1334
+ "table": "queued_messages",
1335
+ "name": "created_at",
1336
+ "type": "text",
1337
+ "notNull": true,
1338
+ "autoincrement": false,
1339
+ "default": null,
1340
+ "generated": null,
1341
+ "entityType": "columns"
1342
+ },
1343
+ {
1344
+ "table": "runner_state",
1345
+ "name": "runner_id",
1346
+ "type": "text",
1347
+ "notNull": false,
1348
+ "autoincrement": false,
1349
+ "default": null,
1350
+ "generated": null,
1351
+ "entityType": "columns"
1352
+ },
1353
+ {
1354
+ "table": "runner_state",
1355
+ "name": "last_acked_seq",
1356
+ "type": "integer",
1357
+ "notNull": true,
1358
+ "autoincrement": false,
1359
+ "default": "0",
1360
+ "generated": null,
1361
+ "entityType": "columns"
1362
+ },
1363
+ {
1364
+ "table": "runner_state",
1365
+ "name": "updated_at",
1366
+ "type": "text",
1367
+ "notNull": true,
1368
+ "autoincrement": false,
1369
+ "default": null,
1370
+ "generated": null,
1371
+ "entityType": "columns"
1372
+ },
1373
+ {
1374
+ "table": "sessions",
1375
+ "name": "id",
1376
+ "type": "text",
1377
+ "notNull": false,
1378
+ "autoincrement": false,
1379
+ "default": null,
1380
+ "generated": null,
1381
+ "entityType": "columns"
1382
+ },
1383
+ {
1384
+ "table": "sessions",
1385
+ "name": "project_id",
1386
+ "type": "text",
1387
+ "notNull": false,
1388
+ "autoincrement": false,
1389
+ "default": null,
1390
+ "generated": null,
1391
+ "entityType": "columns"
1392
+ },
1393
+ {
1394
+ "table": "sessions",
1395
+ "name": "role",
1396
+ "type": "text",
1397
+ "notNull": true,
1398
+ "autoincrement": false,
1399
+ "default": null,
1400
+ "generated": null,
1401
+ "entityType": "columns"
1402
+ },
1403
+ {
1404
+ "table": "sessions",
1405
+ "name": "parent_session_id",
1406
+ "type": "text",
1407
+ "notNull": false,
1408
+ "autoincrement": false,
1409
+ "default": null,
1410
+ "generated": null,
1411
+ "entityType": "columns"
1412
+ },
1413
+ {
1414
+ "table": "sessions",
1415
+ "name": "started_by",
1416
+ "type": "text",
1417
+ "notNull": true,
1418
+ "autoincrement": false,
1419
+ "default": null,
1420
+ "generated": null,
1421
+ "entityType": "columns"
1422
+ },
1423
+ {
1424
+ "table": "sessions",
1425
+ "name": "purpose",
1426
+ "type": "text",
1427
+ "notNull": true,
1428
+ "autoincrement": false,
1429
+ "default": null,
1430
+ "generated": null,
1431
+ "entityType": "columns"
1432
+ },
1433
+ {
1434
+ "table": "sessions",
1435
+ "name": "work_key",
1436
+ "type": "text",
1437
+ "notNull": true,
1438
+ "autoincrement": false,
1439
+ "default": null,
1440
+ "generated": null,
1441
+ "entityType": "columns"
1442
+ },
1443
+ {
1444
+ "table": "sessions",
1445
+ "name": "scope",
1446
+ "type": "text",
1447
+ "notNull": true,
1448
+ "autoincrement": false,
1449
+ "default": null,
1450
+ "generated": null,
1451
+ "entityType": "columns"
1452
+ },
1453
+ {
1454
+ "table": "sessions",
1455
+ "name": "progress",
1456
+ "type": "text",
1457
+ "notNull": false,
1458
+ "autoincrement": false,
1459
+ "default": null,
1460
+ "generated": null,
1461
+ "entityType": "columns"
1462
+ },
1463
+ {
1464
+ "table": "sessions",
1465
+ "name": "title",
1466
+ "type": "text",
1467
+ "notNull": false,
1468
+ "autoincrement": false,
1469
+ "default": null,
1470
+ "generated": null,
1471
+ "entityType": "columns"
1472
+ },
1473
+ {
1474
+ "table": "sessions",
1475
+ "name": "provider",
1476
+ "type": "text",
1477
+ "notNull": true,
1478
+ "autoincrement": false,
1479
+ "default": null,
1480
+ "generated": null,
1481
+ "entityType": "columns"
1482
+ },
1483
+ {
1484
+ "table": "sessions",
1485
+ "name": "model",
1486
+ "type": "text",
1487
+ "notNull": false,
1488
+ "autoincrement": false,
1489
+ "default": null,
1490
+ "generated": null,
1491
+ "entityType": "columns"
1492
+ },
1493
+ {
1494
+ "table": "sessions",
1495
+ "name": "effort",
1496
+ "type": "text",
1497
+ "notNull": false,
1498
+ "autoincrement": false,
1499
+ "default": null,
1500
+ "generated": null,
1501
+ "entityType": "columns"
1502
+ },
1503
+ {
1504
+ "table": "sessions",
1505
+ "name": "autonomy",
1506
+ "type": "text",
1507
+ "notNull": true,
1508
+ "autoincrement": false,
1509
+ "default": null,
1510
+ "generated": null,
1511
+ "entityType": "columns"
1512
+ },
1513
+ {
1514
+ "table": "sessions",
1515
+ "name": "status",
1516
+ "type": "text",
1517
+ "notNull": true,
1518
+ "autoincrement": false,
1519
+ "default": null,
1520
+ "generated": null,
1521
+ "entityType": "columns"
1522
+ },
1523
+ {
1524
+ "table": "sessions",
1525
+ "name": "cwd",
1526
+ "type": "text",
1527
+ "notNull": true,
1528
+ "autoincrement": false,
1529
+ "default": null,
1530
+ "generated": null,
1531
+ "entityType": "columns"
1532
+ },
1533
+ {
1534
+ "table": "sessions",
1535
+ "name": "worktree_path",
1536
+ "type": "text",
1537
+ "notNull": false,
1538
+ "autoincrement": false,
1539
+ "default": null,
1540
+ "generated": null,
1541
+ "entityType": "columns"
1542
+ },
1543
+ {
1544
+ "table": "sessions",
1545
+ "name": "branch",
1546
+ "type": "text",
1547
+ "notNull": false,
1548
+ "autoincrement": false,
1549
+ "default": null,
1550
+ "generated": null,
1551
+ "entityType": "columns"
1552
+ },
1553
+ {
1554
+ "table": "sessions",
1555
+ "name": "base_branch",
1556
+ "type": "text",
1557
+ "notNull": false,
1558
+ "autoincrement": false,
1559
+ "default": null,
1560
+ "generated": null,
1561
+ "entityType": "columns"
1562
+ },
1563
+ {
1564
+ "table": "sessions",
1565
+ "name": "issue",
1566
+ "type": "text",
1567
+ "notNull": false,
1568
+ "autoincrement": false,
1569
+ "default": null,
1570
+ "generated": null,
1571
+ "entityType": "columns"
1572
+ },
1573
+ {
1574
+ "table": "sessions",
1575
+ "name": "pr",
1576
+ "type": "text",
1577
+ "notNull": false,
1578
+ "autoincrement": false,
1579
+ "default": null,
1580
+ "generated": null,
1581
+ "entityType": "columns"
1582
+ },
1583
+ {
1584
+ "table": "sessions",
1585
+ "name": "resume_token",
1586
+ "type": "text",
1587
+ "notNull": false,
1588
+ "autoincrement": false,
1589
+ "default": null,
1590
+ "generated": null,
1591
+ "entityType": "columns"
1592
+ },
1593
+ {
1594
+ "table": "sessions",
1595
+ "name": "runner_id",
1596
+ "type": "text",
1597
+ "notNull": false,
1598
+ "autoincrement": false,
1599
+ "default": null,
1600
+ "generated": null,
1601
+ "entityType": "columns"
1602
+ },
1603
+ {
1604
+ "table": "sessions",
1605
+ "name": "automation_run_id",
1606
+ "type": "text",
1607
+ "notNull": false,
1608
+ "autoincrement": false,
1609
+ "default": null,
1610
+ "generated": null,
1611
+ "entityType": "columns"
1612
+ },
1613
+ {
1614
+ "table": "sessions",
1615
+ "name": "root_thread_id",
1616
+ "type": "text",
1617
+ "notNull": false,
1618
+ "autoincrement": false,
1619
+ "default": null,
1620
+ "generated": null,
1621
+ "entityType": "columns"
1622
+ },
1623
+ {
1624
+ "table": "sessions",
1625
+ "name": "created_at",
1626
+ "type": "text",
1627
+ "notNull": true,
1628
+ "autoincrement": false,
1629
+ "default": null,
1630
+ "generated": null,
1631
+ "entityType": "columns"
1632
+ },
1633
+ {
1634
+ "table": "sessions",
1635
+ "name": "updated_at",
1636
+ "type": "text",
1637
+ "notNull": true,
1638
+ "autoincrement": false,
1639
+ "default": null,
1640
+ "generated": null,
1641
+ "entityType": "columns"
1642
+ },
1643
+ {
1644
+ "table": "sessions",
1645
+ "name": "ended_at",
1646
+ "type": "text",
1647
+ "notNull": false,
1648
+ "autoincrement": false,
1649
+ "default": null,
1650
+ "generated": null,
1651
+ "entityType": "columns"
1652
+ },
1653
+ {
1654
+ "table": "sessions",
1655
+ "name": "archived_at",
1656
+ "type": "text",
1657
+ "notNull": false,
1658
+ "autoincrement": false,
1659
+ "default": null,
1660
+ "generated": null,
1661
+ "entityType": "columns"
1662
+ },
1663
+ {
1664
+ "table": "sessions",
1665
+ "name": "worktree_removed_at",
1666
+ "type": "text",
1667
+ "notNull": false,
1668
+ "autoincrement": false,
1669
+ "default": null,
1670
+ "generated": null,
1671
+ "entityType": "columns"
1672
+ },
1673
+ {
1674
+ "table": "sessions",
1675
+ "name": "usage",
1676
+ "type": "text",
1677
+ "notNull": false,
1678
+ "autoincrement": false,
1679
+ "default": null,
1680
+ "generated": null,
1681
+ "entityType": "columns"
1682
+ },
1683
+ {
1684
+ "table": "sessions",
1685
+ "name": "start_meta",
1686
+ "type": "text",
1687
+ "notNull": false,
1688
+ "autoincrement": false,
1689
+ "default": null,
1690
+ "generated": null,
1691
+ "entityType": "columns"
1692
+ },
1693
+ {
1694
+ "table": "sessions",
1695
+ "name": "result",
1696
+ "type": "text",
1697
+ "notNull": false,
1698
+ "autoincrement": false,
1699
+ "default": null,
1700
+ "generated": null,
1701
+ "entityType": "columns"
1702
+ },
1703
+ {
1704
+ "table": "threads",
1705
+ "name": "session_id",
1706
+ "type": "text",
1707
+ "notNull": true,
1708
+ "autoincrement": false,
1709
+ "default": null,
1710
+ "generated": null,
1711
+ "entityType": "columns"
1712
+ },
1713
+ {
1714
+ "table": "threads",
1715
+ "name": "id",
1716
+ "type": "text",
1717
+ "notNull": true,
1718
+ "autoincrement": false,
1719
+ "default": null,
1720
+ "generated": null,
1721
+ "entityType": "columns"
1722
+ },
1723
+ {
1724
+ "table": "threads",
1725
+ "name": "parent_thread_id",
1726
+ "type": "text",
1727
+ "notNull": false,
1728
+ "autoincrement": false,
1729
+ "default": null,
1730
+ "generated": null,
1731
+ "entityType": "columns"
1732
+ },
1733
+ {
1734
+ "table": "threads",
1735
+ "name": "parent_item_id",
1736
+ "type": "text",
1737
+ "notNull": false,
1738
+ "autoincrement": false,
1739
+ "default": null,
1740
+ "generated": null,
1741
+ "entityType": "columns"
1742
+ },
1743
+ {
1744
+ "table": "threads",
1745
+ "name": "title",
1746
+ "type": "text",
1747
+ "notNull": false,
1748
+ "autoincrement": false,
1749
+ "default": null,
1750
+ "generated": null,
1751
+ "entityType": "columns"
1752
+ },
1753
+ {
1754
+ "table": "threads",
1755
+ "name": "agent_type",
1756
+ "type": "text",
1757
+ "notNull": false,
1758
+ "autoincrement": false,
1759
+ "default": null,
1760
+ "generated": null,
1761
+ "entityType": "columns"
1762
+ },
1763
+ {
1764
+ "table": "threads",
1765
+ "name": "created_at",
1766
+ "type": "text",
1767
+ "notNull": true,
1768
+ "autoincrement": false,
1769
+ "default": null,
1770
+ "generated": null,
1771
+ "entityType": "columns"
1772
+ },
1773
+ {
1774
+ "table": "turns",
1775
+ "name": "session_id",
1776
+ "type": "text",
1777
+ "notNull": true,
1778
+ "autoincrement": false,
1779
+ "default": null,
1780
+ "generated": null,
1781
+ "entityType": "columns"
1782
+ },
1783
+ {
1784
+ "table": "turns",
1785
+ "name": "id",
1786
+ "type": "text",
1787
+ "notNull": true,
1788
+ "autoincrement": false,
1789
+ "default": null,
1790
+ "generated": null,
1791
+ "entityType": "columns"
1792
+ },
1793
+ {
1794
+ "table": "turns",
1795
+ "name": "thread_id",
1796
+ "type": "text",
1797
+ "notNull": true,
1798
+ "autoincrement": false,
1799
+ "default": null,
1800
+ "generated": null,
1801
+ "entityType": "columns"
1802
+ },
1803
+ {
1804
+ "table": "turns",
1805
+ "name": "status",
1806
+ "type": "text",
1807
+ "notNull": true,
1808
+ "autoincrement": false,
1809
+ "default": null,
1810
+ "generated": null,
1811
+ "entityType": "columns"
1812
+ },
1813
+ {
1814
+ "table": "turns",
1815
+ "name": "started_at",
1816
+ "type": "text",
1817
+ "notNull": true,
1818
+ "autoincrement": false,
1819
+ "default": null,
1820
+ "generated": null,
1821
+ "entityType": "columns"
1822
+ },
1823
+ {
1824
+ "table": "turns",
1825
+ "name": "completed_at",
1826
+ "type": "text",
1827
+ "notNull": false,
1828
+ "autoincrement": false,
1829
+ "default": null,
1830
+ "generated": null,
1831
+ "entityType": "columns"
1832
+ },
1833
+ {
1834
+ "table": "turns",
1835
+ "name": "error",
1836
+ "type": "text",
1837
+ "notNull": false,
1838
+ "autoincrement": false,
1839
+ "default": null,
1840
+ "generated": null,
1841
+ "entityType": "columns"
1842
+ },
1843
+ {
1844
+ "table": "turns",
1845
+ "name": "usage",
1846
+ "type": "text",
1847
+ "notNull": false,
1848
+ "autoincrement": false,
1849
+ "default": null,
1850
+ "generated": null,
1851
+ "entityType": "columns"
1852
+ },
1853
+ {
1854
+ "table": "factory_digests",
1855
+ "name": "id",
1856
+ "type": "text",
1857
+ "notNull": false,
1858
+ "autoincrement": false,
1859
+ "default": null,
1860
+ "generated": null,
1861
+ "entityType": "columns"
1862
+ },
1863
+ {
1864
+ "table": "factory_digests",
1865
+ "name": "project_id",
1866
+ "type": "text",
1867
+ "notNull": true,
1868
+ "autoincrement": false,
1869
+ "default": null,
1870
+ "generated": null,
1871
+ "entityType": "columns"
1872
+ },
1873
+ {
1874
+ "table": "factory_digests",
1875
+ "name": "day",
1876
+ "type": "text",
1877
+ "notNull": true,
1878
+ "autoincrement": false,
1879
+ "default": null,
1880
+ "generated": null,
1881
+ "entityType": "columns"
1882
+ },
1883
+ {
1884
+ "table": "factory_digests",
1885
+ "name": "digest",
1886
+ "type": "text",
1887
+ "notNull": true,
1888
+ "autoincrement": false,
1889
+ "default": null,
1890
+ "generated": null,
1891
+ "entityType": "columns"
1892
+ },
1893
+ {
1894
+ "table": "factory_digests",
1895
+ "name": "created_at",
1896
+ "type": "text",
1897
+ "notNull": true,
1898
+ "autoincrement": false,
1899
+ "default": null,
1900
+ "generated": null,
1901
+ "entityType": "columns"
1902
+ },
1903
+ {
1904
+ "table": "factory_items",
1905
+ "name": "id",
1906
+ "type": "text",
1907
+ "notNull": false,
1908
+ "autoincrement": false,
1909
+ "default": null,
1910
+ "generated": null,
1911
+ "entityType": "columns"
1912
+ },
1913
+ {
1914
+ "table": "factory_items",
1915
+ "name": "project_id",
1916
+ "type": "text",
1917
+ "notNull": true,
1918
+ "autoincrement": false,
1919
+ "default": null,
1920
+ "generated": null,
1921
+ "entityType": "columns"
1922
+ },
1923
+ {
1924
+ "table": "factory_items",
1925
+ "name": "stage",
1926
+ "type": "text",
1927
+ "notNull": true,
1928
+ "autoincrement": false,
1929
+ "default": null,
1930
+ "generated": null,
1931
+ "entityType": "columns"
1932
+ },
1933
+ {
1934
+ "table": "factory_items",
1935
+ "name": "work_key",
1936
+ "type": "text",
1937
+ "notNull": true,
1938
+ "autoincrement": false,
1939
+ "default": null,
1940
+ "generated": null,
1941
+ "entityType": "columns"
1942
+ },
1943
+ {
1944
+ "table": "factory_items",
1945
+ "name": "item",
1946
+ "type": "text",
1947
+ "notNull": true,
1948
+ "autoincrement": false,
1949
+ "default": null,
1950
+ "generated": null,
1951
+ "entityType": "columns"
1952
+ },
1953
+ {
1954
+ "table": "factory_items",
1955
+ "name": "created_at",
1956
+ "type": "text",
1957
+ "notNull": true,
1958
+ "autoincrement": false,
1959
+ "default": null,
1960
+ "generated": null,
1961
+ "entityType": "columns"
1962
+ },
1963
+ {
1964
+ "table": "factory_items",
1965
+ "name": "updated_at",
1966
+ "type": "text",
1967
+ "notNull": true,
1968
+ "autoincrement": false,
1969
+ "default": null,
1970
+ "generated": null,
1971
+ "entityType": "columns"
1972
+ },
1973
+ {
1974
+ "table": "factory_loops",
1975
+ "name": "project_id",
1976
+ "type": "text",
1977
+ "notNull": false,
1978
+ "autoincrement": false,
1979
+ "default": null,
1980
+ "generated": null,
1981
+ "entityType": "columns"
1982
+ },
1983
+ {
1984
+ "table": "factory_loops",
1985
+ "name": "state",
1986
+ "type": "text",
1987
+ "notNull": true,
1988
+ "autoincrement": false,
1989
+ "default": null,
1990
+ "generated": null,
1991
+ "entityType": "columns"
1992
+ },
1993
+ {
1994
+ "table": "factory_loops",
1995
+ "name": "loop",
1996
+ "type": "text",
1997
+ "notNull": true,
1998
+ "autoincrement": false,
1999
+ "default": null,
2000
+ "generated": null,
2001
+ "entityType": "columns"
2002
+ },
2003
+ {
2004
+ "table": "factory_loops",
2005
+ "name": "updated_at",
2006
+ "type": "text",
2007
+ "notNull": true,
2008
+ "autoincrement": false,
2009
+ "default": null,
2010
+ "generated": null,
2011
+ "entityType": "columns"
2012
+ },
2013
+ {
2014
+ "table": "github_issues",
2015
+ "name": "project_id",
2016
+ "type": "text",
2017
+ "notNull": true,
2018
+ "autoincrement": false,
2019
+ "default": null,
2020
+ "generated": null,
2021
+ "entityType": "columns"
2022
+ },
2023
+ {
2024
+ "table": "github_issues",
2025
+ "name": "number",
2026
+ "type": "integer",
2027
+ "notNull": true,
2028
+ "autoincrement": false,
2029
+ "default": null,
2030
+ "generated": null,
2031
+ "entityType": "columns"
2032
+ },
2033
+ {
2034
+ "table": "github_issues",
2035
+ "name": "title",
2036
+ "type": "text",
2037
+ "notNull": true,
2038
+ "autoincrement": false,
2039
+ "default": null,
2040
+ "generated": null,
2041
+ "entityType": "columns"
2042
+ },
2043
+ {
2044
+ "table": "github_issues",
2045
+ "name": "state",
2046
+ "type": "text",
2047
+ "notNull": true,
2048
+ "autoincrement": false,
2049
+ "default": null,
2050
+ "generated": null,
2051
+ "entityType": "columns"
2052
+ },
2053
+ {
2054
+ "table": "github_issues",
2055
+ "name": "url",
2056
+ "type": "text",
2057
+ "notNull": true,
2058
+ "autoincrement": false,
2059
+ "default": null,
2060
+ "generated": null,
2061
+ "entityType": "columns"
2062
+ },
2063
+ {
2064
+ "table": "github_issues",
2065
+ "name": "labels",
2066
+ "type": "text",
2067
+ "notNull": true,
2068
+ "autoincrement": false,
2069
+ "default": null,
2070
+ "generated": null,
2071
+ "entityType": "columns"
2072
+ },
2073
+ {
2074
+ "table": "github_issues",
2075
+ "name": "author",
2076
+ "type": "text",
2077
+ "notNull": false,
2078
+ "autoincrement": false,
2079
+ "default": null,
2080
+ "generated": null,
2081
+ "entityType": "columns"
2082
+ },
2083
+ {
2084
+ "table": "github_issues",
2085
+ "name": "etag",
2086
+ "type": "text",
2087
+ "notNull": false,
2088
+ "autoincrement": false,
2089
+ "default": null,
2090
+ "generated": null,
2091
+ "entityType": "columns"
2092
+ },
2093
+ {
2094
+ "table": "github_issues",
2095
+ "name": "body",
2096
+ "type": "text",
2097
+ "notNull": false,
2098
+ "autoincrement": false,
2099
+ "default": null,
2100
+ "generated": null,
2101
+ "entityType": "columns"
2102
+ },
2103
+ {
2104
+ "table": "github_issues",
2105
+ "name": "comments",
2106
+ "type": "integer",
2107
+ "notNull": true,
2108
+ "autoincrement": false,
2109
+ "default": "0",
2110
+ "generated": null,
2111
+ "entityType": "columns"
2112
+ },
2113
+ {
2114
+ "table": "github_issues",
2115
+ "name": "created_at",
2116
+ "type": "text",
2117
+ "notNull": false,
2118
+ "autoincrement": false,
2119
+ "default": null,
2120
+ "generated": null,
2121
+ "entityType": "columns"
2122
+ },
2123
+ {
2124
+ "table": "github_issues",
2125
+ "name": "updated_at",
2126
+ "type": "text",
2127
+ "notNull": true,
2128
+ "autoincrement": false,
2129
+ "default": null,
2130
+ "generated": null,
2131
+ "entityType": "columns"
2132
+ },
2133
+ {
2134
+ "table": "github_issues",
2135
+ "name": "closed_at",
2136
+ "type": "text",
2137
+ "notNull": false,
2138
+ "autoincrement": false,
2139
+ "default": null,
2140
+ "generated": null,
2141
+ "entityType": "columns"
2142
+ },
2143
+ {
2144
+ "table": "github_issues",
2145
+ "name": "synced_at",
2146
+ "type": "text",
2147
+ "notNull": true,
2148
+ "autoincrement": false,
2149
+ "default": null,
2150
+ "generated": null,
2151
+ "entityType": "columns"
2152
+ },
2153
+ {
2154
+ "table": "github_prs",
2155
+ "name": "project_id",
2156
+ "type": "text",
2157
+ "notNull": true,
2158
+ "autoincrement": false,
2159
+ "default": null,
2160
+ "generated": null,
2161
+ "entityType": "columns"
2162
+ },
2163
+ {
2164
+ "table": "github_prs",
2165
+ "name": "number",
2166
+ "type": "integer",
2167
+ "notNull": true,
2168
+ "autoincrement": false,
2169
+ "default": null,
2170
+ "generated": null,
2171
+ "entityType": "columns"
2172
+ },
2173
+ {
2174
+ "table": "github_prs",
2175
+ "name": "title",
2176
+ "type": "text",
2177
+ "notNull": true,
2178
+ "autoincrement": false,
2179
+ "default": null,
2180
+ "generated": null,
2181
+ "entityType": "columns"
2182
+ },
2183
+ {
2184
+ "table": "github_prs",
2185
+ "name": "state",
2186
+ "type": "text",
2187
+ "notNull": true,
2188
+ "autoincrement": false,
2189
+ "default": null,
2190
+ "generated": null,
2191
+ "entityType": "columns"
2192
+ },
2193
+ {
2194
+ "table": "github_prs",
2195
+ "name": "url",
2196
+ "type": "text",
2197
+ "notNull": true,
2198
+ "autoincrement": false,
2199
+ "default": null,
2200
+ "generated": null,
2201
+ "entityType": "columns"
2202
+ },
2203
+ {
2204
+ "table": "github_prs",
2205
+ "name": "head_branch",
2206
+ "type": "text",
2207
+ "notNull": true,
2208
+ "autoincrement": false,
2209
+ "default": null,
2210
+ "generated": null,
2211
+ "entityType": "columns"
2212
+ },
2213
+ {
2214
+ "table": "github_prs",
2215
+ "name": "base_branch",
2216
+ "type": "text",
2217
+ "notNull": true,
2218
+ "autoincrement": false,
2219
+ "default": null,
2220
+ "generated": null,
2221
+ "entityType": "columns"
2222
+ },
2223
+ {
2224
+ "table": "github_prs",
2225
+ "name": "checks",
2226
+ "type": "text",
2227
+ "notNull": false,
2228
+ "autoincrement": false,
2229
+ "default": null,
2230
+ "generated": null,
2231
+ "entityType": "columns"
2232
+ },
2233
+ {
2234
+ "table": "github_prs",
2235
+ "name": "session_id",
2236
+ "type": "text",
2237
+ "notNull": false,
2238
+ "autoincrement": false,
2239
+ "default": null,
2240
+ "generated": null,
2241
+ "entityType": "columns"
2242
+ },
2243
+ {
2244
+ "table": "github_prs",
2245
+ "name": "etag",
2246
+ "type": "text",
2247
+ "notNull": false,
2248
+ "autoincrement": false,
2249
+ "default": null,
2250
+ "generated": null,
2251
+ "entityType": "columns"
2252
+ },
2253
+ {
2254
+ "table": "github_prs",
2255
+ "name": "author",
2256
+ "type": "text",
2257
+ "notNull": false,
2258
+ "autoincrement": false,
2259
+ "default": null,
2260
+ "generated": null,
2261
+ "entityType": "columns"
2262
+ },
2263
+ {
2264
+ "table": "github_prs",
2265
+ "name": "head_sha",
2266
+ "type": "text",
2267
+ "notNull": false,
2268
+ "autoincrement": false,
2269
+ "default": null,
2270
+ "generated": null,
2271
+ "entityType": "columns"
2272
+ },
2273
+ {
2274
+ "table": "github_prs",
2275
+ "name": "review_decision",
2276
+ "type": "text",
2277
+ "notNull": true,
2278
+ "autoincrement": false,
2279
+ "default": "'none'",
2280
+ "generated": null,
2281
+ "entityType": "columns"
2282
+ },
2283
+ {
2284
+ "table": "github_prs",
2285
+ "name": "reviews",
2286
+ "type": "text",
2287
+ "notNull": true,
2288
+ "autoincrement": false,
2289
+ "default": "'[]'",
2290
+ "generated": null,
2291
+ "entityType": "columns"
2292
+ },
2293
+ {
2294
+ "table": "github_prs",
2295
+ "name": "mergeable",
2296
+ "type": "text",
2297
+ "notNull": true,
2298
+ "autoincrement": false,
2299
+ "default": "'unknown'",
2300
+ "generated": null,
2301
+ "entityType": "columns"
2302
+ },
2303
+ {
2304
+ "table": "github_prs",
2305
+ "name": "linked_issues",
2306
+ "type": "text",
2307
+ "notNull": true,
2308
+ "autoincrement": false,
2309
+ "default": "'[]'",
2310
+ "generated": null,
2311
+ "entityType": "columns"
2312
+ },
2313
+ {
2314
+ "table": "github_prs",
2315
+ "name": "requested_reviewers",
2316
+ "type": "text",
2317
+ "notNull": false,
2318
+ "autoincrement": false,
2319
+ "default": null,
2320
+ "generated": null,
2321
+ "entityType": "columns"
2322
+ },
2323
+ {
2324
+ "table": "github_prs",
2325
+ "name": "commits",
2326
+ "type": "text",
2327
+ "notNull": true,
2328
+ "autoincrement": false,
2329
+ "default": "'[]'",
2330
+ "generated": null,
2331
+ "entityType": "columns"
2332
+ },
2333
+ {
2334
+ "table": "github_prs",
2335
+ "name": "created_at",
2336
+ "type": "text",
2337
+ "notNull": false,
2338
+ "autoincrement": false,
2339
+ "default": null,
2340
+ "generated": null,
2341
+ "entityType": "columns"
2342
+ },
2343
+ {
2344
+ "table": "github_prs",
2345
+ "name": "updated_at",
2346
+ "type": "text",
2347
+ "notNull": true,
2348
+ "autoincrement": false,
2349
+ "default": null,
2350
+ "generated": null,
2351
+ "entityType": "columns"
2352
+ },
2353
+ {
2354
+ "table": "github_prs",
2355
+ "name": "merged_at",
2356
+ "type": "text",
2357
+ "notNull": false,
2358
+ "autoincrement": false,
2359
+ "default": null,
2360
+ "generated": null,
2361
+ "entityType": "columns"
2362
+ },
2363
+ {
2364
+ "table": "github_prs",
2365
+ "name": "closed_at",
2366
+ "type": "text",
2367
+ "notNull": false,
2368
+ "autoincrement": false,
2369
+ "default": null,
2370
+ "generated": null,
2371
+ "entityType": "columns"
2372
+ },
2373
+ {
2374
+ "table": "github_prs",
2375
+ "name": "synced_at",
2376
+ "type": "text",
2377
+ "notNull": true,
2378
+ "autoincrement": false,
2379
+ "default": null,
2380
+ "generated": null,
2381
+ "entityType": "columns"
2382
+ },
2383
+ {
2384
+ "table": "github_sync_state",
2385
+ "name": "project_id",
2386
+ "type": "text",
2387
+ "notNull": false,
2388
+ "autoincrement": false,
2389
+ "default": null,
2390
+ "generated": null,
2391
+ "entityType": "columns"
2392
+ },
2393
+ {
2394
+ "table": "github_sync_state",
2395
+ "name": "etags",
2396
+ "type": "text",
2397
+ "notNull": true,
2398
+ "autoincrement": false,
2399
+ "default": "'{}'",
2400
+ "generated": null,
2401
+ "entityType": "columns"
2402
+ },
2403
+ {
2404
+ "table": "github_sync_state",
2405
+ "name": "since",
2406
+ "type": "text",
2407
+ "notNull": false,
2408
+ "autoincrement": false,
2409
+ "default": null,
2410
+ "generated": null,
2411
+ "entityType": "columns"
2412
+ },
2413
+ {
2414
+ "table": "github_sync_state",
2415
+ "name": "baseline_at",
2416
+ "type": "text",
2417
+ "notNull": false,
2418
+ "autoincrement": false,
2419
+ "default": null,
2420
+ "generated": null,
2421
+ "entityType": "columns"
2422
+ },
2423
+ {
2424
+ "table": "github_sync_state",
2425
+ "name": "last_sync_at",
2426
+ "type": "text",
2427
+ "notNull": false,
2428
+ "autoincrement": false,
2429
+ "default": null,
2430
+ "generated": null,
2431
+ "entityType": "columns"
2432
+ },
2433
+ {
2434
+ "table": "github_sync_state",
2435
+ "name": "last_error",
2436
+ "type": "text",
2437
+ "notNull": false,
2438
+ "autoincrement": false,
2439
+ "default": null,
2440
+ "generated": null,
2441
+ "entityType": "columns"
2442
+ },
2443
+ {
2444
+ "table": "github_sync_state",
2445
+ "name": "updated_at",
2446
+ "type": "text",
2447
+ "notNull": true,
2448
+ "autoincrement": false,
2449
+ "default": null,
2450
+ "generated": null,
2451
+ "entityType": "columns"
2452
+ },
2453
+ {
2454
+ "table": "conflicts",
2455
+ "name": "id",
2456
+ "type": "text",
2457
+ "notNull": false,
2458
+ "autoincrement": false,
2459
+ "default": null,
2460
+ "generated": null,
2461
+ "entityType": "columns"
2462
+ },
2463
+ {
2464
+ "table": "conflicts",
2465
+ "name": "project_id",
2466
+ "type": "text",
2467
+ "notNull": false,
2468
+ "autoincrement": false,
2469
+ "default": null,
2470
+ "generated": null,
2471
+ "entityType": "columns"
2472
+ },
2473
+ {
2474
+ "table": "conflicts",
2475
+ "name": "record",
2476
+ "type": "text",
2477
+ "notNull": true,
2478
+ "autoincrement": false,
2479
+ "default": null,
2480
+ "generated": null,
2481
+ "entityType": "columns"
2482
+ },
2483
+ {
2484
+ "table": "conflicts",
2485
+ "name": "created_at",
2486
+ "type": "text",
2487
+ "notNull": true,
2488
+ "autoincrement": false,
2489
+ "default": null,
2490
+ "generated": null,
2491
+ "entityType": "columns"
2492
+ },
2493
+ {
2494
+ "table": "notices",
2495
+ "name": "id",
2496
+ "type": "text",
2497
+ "notNull": false,
2498
+ "autoincrement": false,
2499
+ "default": null,
2500
+ "generated": null,
2501
+ "entityType": "columns"
2502
+ },
2503
+ {
2504
+ "table": "notices",
2505
+ "name": "type",
2506
+ "type": "text",
2507
+ "notNull": true,
2508
+ "autoincrement": false,
2509
+ "default": null,
2510
+ "generated": null,
2511
+ "entityType": "columns"
2512
+ },
2513
+ {
2514
+ "table": "notices",
2515
+ "name": "target",
2516
+ "type": "text",
2517
+ "notNull": true,
2518
+ "autoincrement": false,
2519
+ "default": null,
2520
+ "generated": null,
2521
+ "entityType": "columns"
2522
+ },
2523
+ {
2524
+ "table": "notices",
2525
+ "name": "project_id",
2526
+ "type": "text",
2527
+ "notNull": false,
2528
+ "autoincrement": false,
2529
+ "default": null,
2530
+ "generated": null,
2531
+ "entityType": "columns"
2532
+ },
2533
+ {
2534
+ "table": "notices",
2535
+ "name": "session_id",
2536
+ "type": "text",
2537
+ "notNull": false,
2538
+ "autoincrement": false,
2539
+ "default": null,
2540
+ "generated": null,
2541
+ "entityType": "columns"
2542
+ },
2543
+ {
2544
+ "table": "notices",
2545
+ "name": "notice",
2546
+ "type": "text",
2547
+ "notNull": true,
2548
+ "autoincrement": false,
2549
+ "default": null,
2550
+ "generated": null,
2551
+ "entityType": "columns"
2552
+ },
2553
+ {
2554
+ "table": "notices",
2555
+ "name": "created_at",
2556
+ "type": "text",
2557
+ "notNull": true,
2558
+ "autoincrement": false,
2559
+ "default": null,
2560
+ "generated": null,
2561
+ "entityType": "columns"
2562
+ },
2563
+ {
2564
+ "table": "notices",
2565
+ "name": "delivered_at",
2566
+ "type": "text",
2567
+ "notNull": false,
2568
+ "autoincrement": false,
2569
+ "default": null,
2570
+ "generated": null,
2571
+ "entityType": "columns"
2572
+ },
2573
+ {
2574
+ "table": "rate_limit_windows",
2575
+ "name": "provider",
2576
+ "type": "text",
2577
+ "notNull": true,
2578
+ "autoincrement": false,
2579
+ "default": null,
2580
+ "generated": null,
2581
+ "entityType": "columns"
2582
+ },
2583
+ {
2584
+ "table": "rate_limit_windows",
2585
+ "name": "window_id",
2586
+ "type": "text",
2587
+ "notNull": true,
2588
+ "autoincrement": false,
2589
+ "default": null,
2590
+ "generated": null,
2591
+ "entityType": "columns"
2592
+ },
2593
+ {
2594
+ "table": "rate_limit_windows",
2595
+ "name": "status",
2596
+ "type": "text",
2597
+ "notNull": true,
2598
+ "autoincrement": false,
2599
+ "default": null,
2600
+ "generated": null,
2601
+ "entityType": "columns"
2602
+ },
2603
+ {
2604
+ "table": "rate_limit_windows",
2605
+ "name": "used_percent",
2606
+ "type": "real",
2607
+ "notNull": false,
2608
+ "autoincrement": false,
2609
+ "default": null,
2610
+ "generated": null,
2611
+ "entityType": "columns"
2612
+ },
2613
+ {
2614
+ "table": "rate_limit_windows",
2615
+ "name": "resets_at",
2616
+ "type": "text",
2617
+ "notNull": false,
2618
+ "autoincrement": false,
2619
+ "default": null,
2620
+ "generated": null,
2621
+ "entityType": "columns"
2622
+ },
2623
+ {
2624
+ "table": "rate_limit_windows",
2625
+ "name": "observed_at",
2626
+ "type": "text",
2627
+ "notNull": true,
2628
+ "autoincrement": false,
2629
+ "default": null,
2630
+ "generated": null,
2631
+ "entityType": "columns"
2632
+ },
2633
+ {
2634
+ "table": "rate_limit_windows",
2635
+ "name": "session_id",
2636
+ "type": "text",
2637
+ "notNull": false,
2638
+ "autoincrement": false,
2639
+ "default": null,
2640
+ "generated": null,
2641
+ "entityType": "columns"
2642
+ },
2643
+ {
2644
+ "table": "usage_ledger",
2645
+ "name": "session_id",
2646
+ "type": "text",
2647
+ "notNull": true,
2648
+ "autoincrement": false,
2649
+ "default": null,
2650
+ "generated": null,
2651
+ "entityType": "columns"
2652
+ },
2653
+ {
2654
+ "table": "usage_ledger",
2655
+ "name": "turn_id",
2656
+ "type": "text",
2657
+ "notNull": true,
2658
+ "autoincrement": false,
2659
+ "default": null,
2660
+ "generated": null,
2661
+ "entityType": "columns"
2662
+ },
2663
+ {
2664
+ "table": "usage_ledger",
2665
+ "name": "thread_id",
2666
+ "type": "text",
2667
+ "notNull": true,
2668
+ "autoincrement": false,
2669
+ "default": null,
2670
+ "generated": null,
2671
+ "entityType": "columns"
2672
+ },
2673
+ {
2674
+ "table": "usage_ledger",
2675
+ "name": "project_id",
2676
+ "type": "text",
2677
+ "notNull": false,
2678
+ "autoincrement": false,
2679
+ "default": null,
2680
+ "generated": null,
2681
+ "entityType": "columns"
2682
+ },
2683
+ {
2684
+ "table": "usage_ledger",
2685
+ "name": "provider",
2686
+ "type": "text",
2687
+ "notNull": true,
2688
+ "autoincrement": false,
2689
+ "default": null,
2690
+ "generated": null,
2691
+ "entityType": "columns"
2692
+ },
2693
+ {
2694
+ "table": "usage_ledger",
2695
+ "name": "model",
2696
+ "type": "text",
2697
+ "notNull": true,
2698
+ "autoincrement": false,
2699
+ "default": null,
2700
+ "generated": null,
2701
+ "entityType": "columns"
2702
+ },
2703
+ {
2704
+ "table": "usage_ledger",
2705
+ "name": "role",
2706
+ "type": "text",
2707
+ "notNull": true,
2708
+ "autoincrement": false,
2709
+ "default": null,
2710
+ "generated": null,
2711
+ "entityType": "columns"
2712
+ },
2713
+ {
2714
+ "table": "usage_ledger",
2715
+ "name": "source",
2716
+ "type": "text",
2717
+ "notNull": true,
2718
+ "autoincrement": false,
2719
+ "default": null,
2720
+ "generated": null,
2721
+ "entityType": "columns"
2722
+ },
2723
+ {
2724
+ "table": "usage_ledger",
2725
+ "name": "automation_id",
2726
+ "type": "text",
2727
+ "notNull": false,
2728
+ "autoincrement": false,
2729
+ "default": null,
2730
+ "generated": null,
2731
+ "entityType": "columns"
2732
+ },
2733
+ {
2734
+ "table": "usage_ledger",
2735
+ "name": "input_tokens",
2736
+ "type": "integer",
2737
+ "notNull": true,
2738
+ "autoincrement": false,
2739
+ "default": "0",
2740
+ "generated": null,
2741
+ "entityType": "columns"
2742
+ },
2743
+ {
2744
+ "table": "usage_ledger",
2745
+ "name": "output_tokens",
2746
+ "type": "integer",
2747
+ "notNull": true,
2748
+ "autoincrement": false,
2749
+ "default": "0",
2750
+ "generated": null,
2751
+ "entityType": "columns"
2752
+ },
2753
+ {
2754
+ "table": "usage_ledger",
2755
+ "name": "cache_read_tokens",
2756
+ "type": "integer",
2757
+ "notNull": true,
2758
+ "autoincrement": false,
2759
+ "default": "0",
2760
+ "generated": null,
2761
+ "entityType": "columns"
2762
+ },
2763
+ {
2764
+ "table": "usage_ledger",
2765
+ "name": "cache_write_tokens",
2766
+ "type": "integer",
2767
+ "notNull": true,
2768
+ "autoincrement": false,
2769
+ "default": "0",
2770
+ "generated": null,
2771
+ "entityType": "columns"
2772
+ },
2773
+ {
2774
+ "table": "usage_ledger",
2775
+ "name": "reasoning_tokens",
2776
+ "type": "integer",
2777
+ "notNull": true,
2778
+ "autoincrement": false,
2779
+ "default": "0",
2780
+ "generated": null,
2781
+ "entityType": "columns"
2782
+ },
2783
+ {
2784
+ "table": "usage_ledger",
2785
+ "name": "reported_cost_usd",
2786
+ "type": "real",
2787
+ "notNull": false,
2788
+ "autoincrement": false,
2789
+ "default": null,
2790
+ "generated": null,
2791
+ "entityType": "columns"
2792
+ },
2793
+ {
2794
+ "table": "usage_ledger",
2795
+ "name": "ts",
2796
+ "type": "text",
2797
+ "notNull": true,
2798
+ "autoincrement": false,
2799
+ "default": null,
2800
+ "generated": null,
2801
+ "entityType": "columns"
2802
+ },
2803
+ {
2804
+ "table": "usage_ledger",
2805
+ "name": "updated_at",
2806
+ "type": "text",
2807
+ "notNull": true,
2808
+ "autoincrement": false,
2809
+ "default": null,
2810
+ "generated": null,
2811
+ "entityType": "columns"
2812
+ },
2813
+ {
2814
+ "table": "automation_runs",
2815
+ "name": "automation_runs_automation",
2816
+ "columns": [
2817
+ {
2818
+ "value": "automation_id",
2819
+ "isExpression": false
2820
+ },
2821
+ {
2822
+ "value": "started_at",
2823
+ "isExpression": false
2824
+ }
2825
+ ],
2826
+ "isUnique": false,
2827
+ "where": null,
2828
+ "origin": "manual",
2829
+ "entityType": "indexes"
2830
+ },
2831
+ {
2832
+ "table": "automation_runs",
2833
+ "name": "automation_runs_work_key",
2834
+ "columns": [
2835
+ {
2836
+ "value": "project_id",
2837
+ "isExpression": false
2838
+ },
2839
+ {
2840
+ "value": "work_key",
2841
+ "isExpression": false
2842
+ }
2843
+ ],
2844
+ "isUnique": false,
2845
+ "where": null,
2846
+ "origin": "manual",
2847
+ "entityType": "indexes"
2848
+ },
2849
+ {
2850
+ "table": "checkpoints",
2851
+ "name": "checkpoints_turn",
2852
+ "columns": [
2853
+ {
2854
+ "value": "session_id",
2855
+ "isExpression": false
2856
+ },
2857
+ {
2858
+ "value": "turn_id",
2859
+ "isExpression": false
2860
+ }
2861
+ ],
2862
+ "isUnique": false,
2863
+ "where": null,
2864
+ "origin": "manual",
2865
+ "entityType": "indexes"
2866
+ },
2867
+ {
2868
+ "table": "events",
2869
+ "name": "events_session_seq",
2870
+ "columns": [
2871
+ {
2872
+ "value": "session_id",
2873
+ "isExpression": false
2874
+ },
2875
+ {
2876
+ "value": "seq",
2877
+ "isExpression": false
2878
+ }
2879
+ ],
2880
+ "isUnique": false,
2881
+ "where": null,
2882
+ "origin": "manual",
2883
+ "entityType": "indexes"
2884
+ },
2885
+ {
2886
+ "table": "events",
2887
+ "name": "events_type",
2888
+ "columns": [
2889
+ {
2890
+ "value": "type",
2891
+ "isExpression": false
2892
+ }
2893
+ ],
2894
+ "isUnique": false,
2895
+ "where": null,
2896
+ "origin": "manual",
2897
+ "entityType": "indexes"
2898
+ },
2899
+ {
2900
+ "table": "inbox_items",
2901
+ "name": "inbox_status",
2902
+ "columns": [
2903
+ {
2904
+ "value": "status",
2905
+ "isExpression": false
2906
+ }
2907
+ ],
2908
+ "isUnique": false,
2909
+ "where": null,
2910
+ "origin": "manual",
2911
+ "entityType": "indexes"
2912
+ },
2913
+ {
2914
+ "table": "items",
2915
+ "name": "items_thread",
2916
+ "columns": [
2917
+ {
2918
+ "value": "session_id",
2919
+ "isExpression": false
2920
+ },
2921
+ {
2922
+ "value": "thread_id",
2923
+ "isExpression": false
2924
+ },
2925
+ {
2926
+ "value": "position",
2927
+ "isExpression": false
2928
+ }
2929
+ ],
2930
+ "isUnique": false,
2931
+ "where": null,
2932
+ "origin": "manual",
2933
+ "entityType": "indexes"
2934
+ },
2935
+ {
2936
+ "table": "mcp_tokens",
2937
+ "name": "mcp_tokens_hash",
2938
+ "columns": [
2939
+ {
2940
+ "value": "token_hash",
2941
+ "isExpression": false
2942
+ }
2943
+ ],
2944
+ "isUnique": true,
2945
+ "where": null,
2946
+ "origin": "manual",
2947
+ "entityType": "indexes"
2948
+ },
2949
+ {
2950
+ "table": "mcp_tokens",
2951
+ "name": "mcp_tokens_session",
2952
+ "columns": [
2953
+ {
2954
+ "value": "session_id",
2955
+ "isExpression": false
2956
+ }
2957
+ ],
2958
+ "isUnique": false,
2959
+ "where": null,
2960
+ "origin": "manual",
2961
+ "entityType": "indexes"
2962
+ },
2963
+ {
2964
+ "table": "projects",
2965
+ "name": "projects_slug",
2966
+ "columns": [
2967
+ {
2968
+ "value": "slug",
2969
+ "isExpression": false
2970
+ }
2971
+ ],
2972
+ "isUnique": true,
2973
+ "where": null,
2974
+ "origin": "manual",
2975
+ "entityType": "indexes"
2976
+ },
2977
+ {
2978
+ "table": "queued_messages",
2979
+ "name": "queued_messages_session",
2980
+ "columns": [
2981
+ {
2982
+ "value": "session_id",
2983
+ "isExpression": false
2984
+ },
2985
+ {
2986
+ "value": "created_at",
2987
+ "isExpression": false
2988
+ }
2989
+ ],
2990
+ "isUnique": false,
2991
+ "where": null,
2992
+ "origin": "manual",
2993
+ "entityType": "indexes"
2994
+ },
2995
+ {
2996
+ "table": "sessions",
2997
+ "name": "sessions_project",
2998
+ "columns": [
2999
+ {
3000
+ "value": "project_id",
3001
+ "isExpression": false
3002
+ }
3003
+ ],
3004
+ "isUnique": false,
3005
+ "where": null,
3006
+ "origin": "manual",
3007
+ "entityType": "indexes"
3008
+ },
3009
+ {
3010
+ "table": "sessions",
3011
+ "name": "sessions_status",
3012
+ "columns": [
3013
+ {
3014
+ "value": "status",
3015
+ "isExpression": false
3016
+ }
3017
+ ],
3018
+ "isUnique": false,
3019
+ "where": null,
3020
+ "origin": "manual",
3021
+ "entityType": "indexes"
3022
+ },
3023
+ {
3024
+ "table": "sessions",
3025
+ "name": "sessions_work_key",
3026
+ "columns": [
3027
+ {
3028
+ "value": "project_id",
3029
+ "isExpression": false
3030
+ },
3031
+ {
3032
+ "value": "work_key",
3033
+ "isExpression": false
3034
+ }
3035
+ ],
3036
+ "isUnique": false,
3037
+ "where": null,
3038
+ "origin": "manual",
3039
+ "entityType": "indexes"
3040
+ },
3041
+ {
3042
+ "table": "factory_digests",
3043
+ "name": "factory_digests_project",
3044
+ "columns": [
3045
+ {
3046
+ "value": "project_id",
3047
+ "isExpression": false
3048
+ },
3049
+ {
3050
+ "value": "created_at",
3051
+ "isExpression": false
3052
+ }
3053
+ ],
3054
+ "isUnique": false,
3055
+ "where": null,
3056
+ "origin": "manual",
3057
+ "entityType": "indexes"
3058
+ },
3059
+ {
3060
+ "table": "factory_items",
3061
+ "name": "factory_items_project_stage",
3062
+ "columns": [
3063
+ {
3064
+ "value": "project_id",
3065
+ "isExpression": false
3066
+ },
3067
+ {
3068
+ "value": "stage",
3069
+ "isExpression": false
3070
+ }
3071
+ ],
3072
+ "isUnique": false,
3073
+ "where": null,
3074
+ "origin": "manual",
3075
+ "entityType": "indexes"
3076
+ },
3077
+ {
3078
+ "table": "factory_items",
3079
+ "name": "factory_items_updated",
3080
+ "columns": [
3081
+ {
3082
+ "value": "project_id",
3083
+ "isExpression": false
3084
+ },
3085
+ {
3086
+ "value": "updated_at",
3087
+ "isExpression": false
3088
+ }
3089
+ ],
3090
+ "isUnique": false,
3091
+ "where": null,
3092
+ "origin": "manual",
3093
+ "entityType": "indexes"
3094
+ },
3095
+ {
3096
+ "table": "github_prs",
3097
+ "name": "github_prs_session",
3098
+ "columns": [
3099
+ {
3100
+ "value": "session_id",
3101
+ "isExpression": false
3102
+ }
3103
+ ],
3104
+ "isUnique": false,
3105
+ "where": null,
3106
+ "origin": "manual",
3107
+ "entityType": "indexes"
3108
+ },
3109
+ {
3110
+ "table": "github_prs",
3111
+ "name": "github_prs_head",
3112
+ "columns": [
3113
+ {
3114
+ "value": "project_id",
3115
+ "isExpression": false
3116
+ },
3117
+ {
3118
+ "value": "head_branch",
3119
+ "isExpression": false
3120
+ }
3121
+ ],
3122
+ "isUnique": false,
3123
+ "where": null,
3124
+ "origin": "manual",
3125
+ "entityType": "indexes"
3126
+ },
3127
+ {
3128
+ "table": "conflicts",
3129
+ "name": "conflicts_project",
3130
+ "columns": [
3131
+ {
3132
+ "value": "project_id",
3133
+ "isExpression": false
3134
+ }
3135
+ ],
3136
+ "isUnique": false,
3137
+ "where": null,
3138
+ "origin": "manual",
3139
+ "entityType": "indexes"
3140
+ },
3141
+ {
3142
+ "table": "notices",
3143
+ "name": "notices_target",
3144
+ "columns": [
3145
+ {
3146
+ "value": "target",
3147
+ "isExpression": false
3148
+ },
3149
+ {
3150
+ "value": "project_id",
3151
+ "isExpression": false
3152
+ },
3153
+ {
3154
+ "value": "delivered_at",
3155
+ "isExpression": false
3156
+ }
3157
+ ],
3158
+ "isUnique": false,
3159
+ "where": null,
3160
+ "origin": "manual",
3161
+ "entityType": "indexes"
3162
+ },
3163
+ {
3164
+ "table": "notices",
3165
+ "name": "notices_created",
3166
+ "columns": [
3167
+ {
3168
+ "value": "created_at",
3169
+ "isExpression": false
3170
+ }
3171
+ ],
3172
+ "isUnique": false,
3173
+ "where": null,
3174
+ "origin": "manual",
3175
+ "entityType": "indexes"
3176
+ },
3177
+ {
3178
+ "table": "usage_ledger",
3179
+ "name": "usage_ledger_ts",
3180
+ "columns": [
3181
+ {
3182
+ "value": "ts",
3183
+ "isExpression": false
3184
+ }
3185
+ ],
3186
+ "isUnique": false,
3187
+ "where": null,
3188
+ "origin": "manual",
3189
+ "entityType": "indexes"
3190
+ },
3191
+ {
3192
+ "table": "usage_ledger",
3193
+ "name": "usage_ledger_project_ts",
3194
+ "columns": [
3195
+ {
3196
+ "value": "project_id",
3197
+ "isExpression": false
3198
+ },
3199
+ {
3200
+ "value": "ts",
3201
+ "isExpression": false
3202
+ }
3203
+ ],
3204
+ "isUnique": false,
3205
+ "where": null,
3206
+ "origin": "manual",
3207
+ "entityType": "indexes"
3208
+ },
3209
+ {
3210
+ "table": "automation_schedules",
3211
+ "name": "automation_schedules_pk",
3212
+ "columns": [
3213
+ "automation_id",
3214
+ "project_id"
3215
+ ],
3216
+ "nameExplicit": false,
3217
+ "entityType": "pks"
3218
+ },
3219
+ {
3220
+ "table": "checkpoints",
3221
+ "name": "checkpoints_pk",
3222
+ "columns": [
3223
+ "session_id",
3224
+ "idx"
3225
+ ],
3226
+ "nameExplicit": false,
3227
+ "entityType": "pks"
3228
+ },
3229
+ {
3230
+ "table": "items",
3231
+ "name": "items_pk",
3232
+ "columns": [
3233
+ "session_id",
3234
+ "id"
3235
+ ],
3236
+ "nameExplicit": false,
3237
+ "entityType": "pks"
3238
+ },
3239
+ {
3240
+ "table": "threads",
3241
+ "name": "threads_pk",
3242
+ "columns": [
3243
+ "session_id",
3244
+ "id"
3245
+ ],
3246
+ "nameExplicit": false,
3247
+ "entityType": "pks"
3248
+ },
3249
+ {
3250
+ "table": "turns",
3251
+ "name": "turns_pk",
3252
+ "columns": [
3253
+ "session_id",
3254
+ "id"
3255
+ ],
3256
+ "nameExplicit": false,
3257
+ "entityType": "pks"
3258
+ },
3259
+ {
3260
+ "table": "github_issues",
3261
+ "name": "github_issues_pk",
3262
+ "columns": [
3263
+ "project_id",
3264
+ "number"
3265
+ ],
3266
+ "nameExplicit": false,
3267
+ "entityType": "pks"
3268
+ },
3269
+ {
3270
+ "table": "github_prs",
3271
+ "name": "github_prs_pk",
3272
+ "columns": [
3273
+ "project_id",
3274
+ "number"
3275
+ ],
3276
+ "nameExplicit": false,
3277
+ "entityType": "pks"
3278
+ },
3279
+ {
3280
+ "table": "rate_limit_windows",
3281
+ "name": "rate_limit_windows_pk",
3282
+ "columns": [
3283
+ "provider",
3284
+ "window_id"
3285
+ ],
3286
+ "nameExplicit": false,
3287
+ "entityType": "pks"
3288
+ },
3289
+ {
3290
+ "table": "usage_ledger",
3291
+ "name": "usage_ledger_pk",
3292
+ "columns": [
3293
+ "session_id",
3294
+ "turn_id"
3295
+ ],
3296
+ "nameExplicit": false,
3297
+ "entityType": "pks"
3298
+ },
3299
+ {
3300
+ "table": "automation_projects",
3301
+ "name": "automation_projects_pk",
3302
+ "columns": [
3303
+ "project_id"
3304
+ ],
3305
+ "nameExplicit": false,
3306
+ "entityType": "pks"
3307
+ },
3308
+ {
3309
+ "table": "artifacts",
3310
+ "name": "artifacts_pk",
3311
+ "columns": [
3312
+ "id"
3313
+ ],
3314
+ "nameExplicit": false,
3315
+ "entityType": "pks"
3316
+ },
3317
+ {
3318
+ "table": "automation_runs",
3319
+ "name": "automation_runs_pk",
3320
+ "columns": [
3321
+ "id"
3322
+ ],
3323
+ "nameExplicit": false,
3324
+ "entityType": "pks"
3325
+ },
3326
+ {
3327
+ "table": "automations",
3328
+ "name": "automations_pk",
3329
+ "columns": [
3330
+ "id"
3331
+ ],
3332
+ "nameExplicit": false,
3333
+ "entityType": "pks"
3334
+ },
3335
+ {
3336
+ "table": "events",
3337
+ "name": "events_pk",
3338
+ "columns": [
3339
+ "seq"
3340
+ ],
3341
+ "nameExplicit": false,
3342
+ "entityType": "pks"
3343
+ },
3344
+ {
3345
+ "table": "inbox_items",
3346
+ "name": "inbox_items_pk",
3347
+ "columns": [
3348
+ "id"
3349
+ ],
3350
+ "nameExplicit": false,
3351
+ "entityType": "pks"
3352
+ },
3353
+ {
3354
+ "table": "mcp_tokens",
3355
+ "name": "mcp_tokens_pk",
3356
+ "columns": [
3357
+ "id"
3358
+ ],
3359
+ "nameExplicit": false,
3360
+ "entityType": "pks"
3361
+ },
3362
+ {
3363
+ "table": "projects",
3364
+ "name": "projects_pk",
3365
+ "columns": [
3366
+ "id"
3367
+ ],
3368
+ "nameExplicit": false,
3369
+ "entityType": "pks"
3370
+ },
3371
+ {
3372
+ "table": "queued_messages",
3373
+ "name": "queued_messages_pk",
3374
+ "columns": [
3375
+ "id"
3376
+ ],
3377
+ "nameExplicit": false,
3378
+ "entityType": "pks"
3379
+ },
3380
+ {
3381
+ "table": "runner_state",
3382
+ "name": "runner_state_pk",
3383
+ "columns": [
3384
+ "runner_id"
3385
+ ],
3386
+ "nameExplicit": false,
3387
+ "entityType": "pks"
3388
+ },
3389
+ {
3390
+ "table": "sessions",
3391
+ "name": "sessions_pk",
3392
+ "columns": [
3393
+ "id"
3394
+ ],
3395
+ "nameExplicit": false,
3396
+ "entityType": "pks"
3397
+ },
3398
+ {
3399
+ "table": "factory_digests",
3400
+ "name": "factory_digests_pk",
3401
+ "columns": [
3402
+ "id"
3403
+ ],
3404
+ "nameExplicit": false,
3405
+ "entityType": "pks"
3406
+ },
3407
+ {
3408
+ "table": "factory_items",
3409
+ "name": "factory_items_pk",
3410
+ "columns": [
3411
+ "id"
3412
+ ],
3413
+ "nameExplicit": false,
3414
+ "entityType": "pks"
3415
+ },
3416
+ {
3417
+ "table": "factory_loops",
3418
+ "name": "factory_loops_pk",
3419
+ "columns": [
3420
+ "project_id"
3421
+ ],
3422
+ "nameExplicit": false,
3423
+ "entityType": "pks"
3424
+ },
3425
+ {
3426
+ "table": "github_sync_state",
3427
+ "name": "github_sync_state_pk",
3428
+ "columns": [
3429
+ "project_id"
3430
+ ],
3431
+ "nameExplicit": false,
3432
+ "entityType": "pks"
3433
+ },
3434
+ {
3435
+ "table": "conflicts",
3436
+ "name": "conflicts_pk",
3437
+ "columns": [
3438
+ "id"
3439
+ ],
3440
+ "nameExplicit": false,
3441
+ "entityType": "pks"
3442
+ },
3443
+ {
3444
+ "table": "notices",
3445
+ "name": "notices_pk",
3446
+ "columns": [
3447
+ "id"
3448
+ ],
3449
+ "nameExplicit": false,
3450
+ "entityType": "pks"
3451
+ }
3452
+ ],
3453
+ "renames": []
3454
+ }