@band-app/server 0.50.0 → 0.51.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 (76) hide show
  1. package/dist/client/_shell.html +0 -0
  2. package/dist/client/assets/{TerminalPanel-TaTddakG.js → TerminalPanel-qmqKPHyc.js} +1 -1
  3. package/dist/client/assets/{_basePickBy-CyEmpkN6.js → _basePickBy-BQBhP69F.js} +1 -1
  4. package/dist/client/assets/{_baseUniq-DZK79CFb.js → _baseUniq-BMLP-W-k.js} +1 -1
  5. package/dist/client/assets/{arc-BHHXQhkP.js → arc-BSxt0K2o.js} +1 -1
  6. package/dist/client/assets/{architectureDiagram-VXUJARFQ-YeX3OIz6.js → architectureDiagram-VXUJARFQ-DKlenA_3.js} +1 -1
  7. package/dist/client/assets/{blockDiagram-VD42YOAC-BWBeTAtn.js → blockDiagram-VD42YOAC-Bmv81qFh.js} +1 -1
  8. package/dist/client/assets/{c4Diagram-YG6GDRKO-BSeCOUa4.js → c4Diagram-YG6GDRKO-1m0ghnr4.js} +1 -1
  9. package/dist/client/assets/channel-Dd_TLPkf.js +1 -0
  10. package/dist/client/assets/{chunk-4BX2VUAB-DcJtODkg.js → chunk-4BX2VUAB-Cwlcy_Hc.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-pByuRA6R.js → chunk-55IACEB6-BkSjt1H3.js} +1 -1
  12. package/dist/client/assets/{chunk-B4BG7PRW-BynZwnDU.js → chunk-B4BG7PRW-v8KL8AeI.js} +1 -1
  13. package/dist/client/assets/{chunk-DI55MBZ5-8SdWl6Bg.js → chunk-DI55MBZ5-C6zUxMSQ.js} +1 -1
  14. package/dist/client/assets/{chunk-FMBD7UC4-B0vVa00l.js → chunk-FMBD7UC4-BmNKHY33.js} +1 -1
  15. package/dist/client/assets/{chunk-QN33PNHL-BHbm2uD2.js → chunk-QN33PNHL-CnEf_iiA.js} +1 -1
  16. package/dist/client/assets/{chunk-QZHKN3VN-DS9PmlIu.js → chunk-QZHKN3VN-BsauaExA.js} +1 -1
  17. package/dist/client/assets/{chunk-TZMSLE5B-CFm_nF8Y.js → chunk-TZMSLE5B-CYFbWXpB.js} +1 -1
  18. package/dist/client/assets/classDiagram-2ON5EDUG-eT8KMTcY.js +1 -0
  19. package/dist/client/assets/classDiagram-v2-WZHVMYZB-eT8KMTcY.js +1 -0
  20. package/dist/client/assets/clone-ChQ-pk7R.js +1 -0
  21. package/dist/client/assets/{cose-bilkent-S5V4N54A-B4TR3AIx.js → cose-bilkent-S5V4N54A-6BIQRLA2.js} +1 -1
  22. package/dist/client/assets/{dagre-6UL2VRFP-B8CXMn3F.js → dagre-6UL2VRFP-Dyz8Gwda.js} +1 -1
  23. package/dist/client/assets/{diagram-PSM6KHXK-r9IBt9Op.js → diagram-PSM6KHXK-BiiPYF4x.js} +1 -1
  24. package/dist/client/assets/{diagram-QEK2KX5R-DikzF6vc.js → diagram-QEK2KX5R-oUkGbjs-.js} +1 -1
  25. package/dist/client/assets/{diagram-S2PKOQOG-DsL3qPbL.js → diagram-S2PKOQOG-CsluX-S2.js} +1 -1
  26. package/dist/client/assets/{erDiagram-Q2GNP2WA-BQPuGdgl.js → erDiagram-Q2GNP2WA-BFNUbtEL.js} +1 -1
  27. package/dist/client/assets/{flowDiagram-NV44I4VS-CVlJ575S.js → flowDiagram-NV44I4VS-D3CD9gfy.js} +1 -1
  28. package/dist/client/assets/{ganttDiagram-JELNMOA3-BbaAQRHR.js → ganttDiagram-JELNMOA3-COAQ4t73.js} +1 -1
  29. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BqeiagoL.js → gitGraphDiagram-V2S2FVAM-BsR0N6uq.js} +1 -1
  30. package/dist/client/assets/{graph-DgChbLvr.js → graph-NLT9K6kr.js} +1 -1
  31. package/dist/client/assets/{highlighted-body-B3W2YXNL-dH2hWW9A.js → highlighted-body-B3W2YXNL-BFGKimnR.js} +1 -1
  32. package/dist/client/assets/{index-DUzDXjQf.js → index-B05QiCnU.js} +1 -1
  33. package/dist/client/assets/{index-cu84zbIT.js → index-BIhc5mgt.js} +1 -1
  34. package/dist/client/assets/{index-Bwlc-Jxf.js → index-BMIKww_o.js} +1 -1
  35. package/dist/client/assets/{index-BRJVxRn5.js → index-CIND0QfH.js} +1 -1
  36. package/dist/client/assets/{index-CH0OlPqf.js → index-CKSyi5ft.js} +1 -1
  37. package/dist/client/assets/{index-KPo26FUH.js → index-CvSiihth.js} +1 -1
  38. package/dist/client/assets/{index-DKr9wV9s.js → index-D4d1r9xH.js} +1 -1
  39. package/dist/client/assets/{index-_cX_3yTA.js → index-DKO-Qvhf.js} +1 -1
  40. package/dist/client/assets/{index-BWh9nr9H.js → index-DMgsjyy2.js} +1 -1
  41. package/dist/client/assets/{index-SP6MW72V.js → index-DlR5KQTA.js} +1 -1
  42. package/dist/client/assets/{index-DZF2HHPf.js → index-DmUn22rT.js} +1 -1
  43. package/dist/client/assets/{index-BOnMESHF.js → index-p69JLyV8.js} +1 -1
  44. package/dist/client/assets/{index-fCxHtwN0.js → index-rHFD9xNL.js} +1 -1
  45. package/dist/client/assets/{infoDiagram-HS3SLOUP-C2fqqWBl.js → infoDiagram-HS3SLOUP-CPiCiCr1.js} +1 -1
  46. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-CtYhL-Fa.js → journeyDiagram-XKPGCS4Q-BRgYuFC5.js} +1 -1
  47. package/dist/client/assets/{kanban-definition-3W4ZIXB7-sHFLpW74.js → kanban-definition-3W4ZIXB7-BzPrF9MH.js} +1 -1
  48. package/dist/client/assets/{layout-MdARyhdo.js → layout-BWHN4o0O.js} +1 -1
  49. package/dist/client/assets/{main-8hVMNHLv.js → main-DeilaoAo.js} +258 -258
  50. package/dist/client/assets/main-H0Mi2D2z.css +1 -0
  51. package/dist/client/assets/{mindmap-definition-VGOIOE7T-Bup15yfO.js → mindmap-definition-VGOIOE7T-DMjnSZkO.js} +1 -1
  52. package/dist/client/assets/{pieDiagram-ADFJNKIX-BfWZvGaL.js → pieDiagram-ADFJNKIX-6BwfmE2C.js} +1 -1
  53. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-CbCc7ggo.js → quadrantDiagram-AYHSOK5B-B1NmMm8z.js} +1 -1
  54. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-Dlt5sQz-.js → requirementDiagram-UZGBJVZJ-jQofjCHs.js} +1 -1
  55. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-08KQ5MNJ.js → sankeyDiagram-TZEHDZUN-CSEiK4cm.js} +1 -1
  56. package/dist/client/assets/{sequenceDiagram-WL72ISMW-DM9CSx6T.js → sequenceDiagram-WL72ISMW-CK4PyCNP.js} +1 -1
  57. package/dist/client/assets/{stateDiagram-FKZM4ZOC-BtFPHXN-.js → stateDiagram-FKZM4ZOC-8_cSi1sy.js} +1 -1
  58. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-DHHlDXqc.js +1 -0
  59. package/dist/client/assets/{timeline-definition-IT6M3QCI-slFvRc46.js → timeline-definition-IT6M3QCI-Dfbk3wPI.js} +1 -1
  60. package/dist/client/assets/{treemap-GDKQZRPO-B6NUX9Ke.js → treemap-GDKQZRPO-C0O_-1Et.js} +1 -1
  61. package/dist/client/assets/{worktree._worktreeId-DIyXyY26.js → worktree._worktreeId-B7Rg7yt9.js} +1 -1
  62. package/dist/client/assets/{worktree._worktreeId-BRHnl5t2.js → worktree._worktreeId-DokGt3kH.js} +1 -1
  63. package/dist/client/assets/{xychartDiagram-PRI3JC2R-mi-qUKi6.js → xychartDiagram-PRI3JC2R-C7Zd0bF9.js} +1 -1
  64. package/dist/migrations/20261016220249_host_trust/migration.sql +13 -0
  65. package/dist/migrations/20261016220249_host_trust/snapshot.json +4765 -0
  66. package/dist/migrations/20261016234253_cronjob_session/migration.sql +3 -0
  67. package/dist/migrations/20261016234253_cronjob_session/snapshot.json +4688 -0
  68. package/dist/openapi.json +711 -48
  69. package/dist/start-server.mjs +2290 -1244
  70. package/package.json +6 -6
  71. package/dist/client/assets/channel-CrPkzAwN.js +0 -1
  72. package/dist/client/assets/classDiagram-2ON5EDUG-B2ixqHpV.js +0 -1
  73. package/dist/client/assets/classDiagram-v2-WZHVMYZB-B2ixqHpV.js +0 -1
  74. package/dist/client/assets/clone-DOnsyYsS.js +0 -1
  75. package/dist/client/assets/main-NI1yF8XA.css +0 -1
  76. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-JAywGea8.js +0 -1
@@ -0,0 +1,4765 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "a201ba6b-685d-4d6b-a973-1bcdd403d576",
5
+ "prevIds": [
6
+ "33a91bc2-238e-41a2-8352-d33ca9c1e282",
7
+ "63cd2bd7-41af-4696-88b3-f760309b467f",
8
+ "7d5b9a10-2ff8-481b-8ca0-a7e1e3388abe"
9
+ ],
10
+ "ddl": [
11
+ {
12
+ "name": "agent_sessions",
13
+ "entityType": "tables"
14
+ },
15
+ {
16
+ "name": "branch_statuses",
17
+ "entityType": "tables"
18
+ },
19
+ {
20
+ "name": "browser_history",
21
+ "entityType": "tables"
22
+ },
23
+ {
24
+ "name": "browser_profiles",
25
+ "entityType": "tables"
26
+ },
27
+ {
28
+ "name": "chat_event_holds",
29
+ "entityType": "tables"
30
+ },
31
+ {
32
+ "name": "chat_events",
33
+ "entityType": "tables"
34
+ },
35
+ {
36
+ "name": "chat_forwards",
37
+ "entityType": "tables"
38
+ },
39
+ {
40
+ "name": "client_state",
41
+ "entityType": "tables"
42
+ },
43
+ {
44
+ "name": "cronjobs",
45
+ "entityType": "tables"
46
+ },
47
+ {
48
+ "name": "environment_builds",
49
+ "entityType": "tables"
50
+ },
51
+ {
52
+ "name": "host_audit",
53
+ "entityType": "tables"
54
+ },
55
+ {
56
+ "name": "host_requests",
57
+ "entityType": "tables"
58
+ },
59
+ {
60
+ "name": "hosts",
61
+ "entityType": "tables"
62
+ },
63
+ {
64
+ "name": "mcp_proxy_audit",
65
+ "entityType": "tables"
66
+ },
67
+ {
68
+ "name": "mcp_proxy_tokens",
69
+ "entityType": "tables"
70
+ },
71
+ {
72
+ "name": "mcp_servers",
73
+ "entityType": "tables"
74
+ },
75
+ {
76
+ "name": "panel_states",
77
+ "entityType": "tables"
78
+ },
79
+ {
80
+ "name": "pending_removals",
81
+ "entityType": "tables"
82
+ },
83
+ {
84
+ "name": "pushed_shas",
85
+ "entityType": "tables"
86
+ },
87
+ {
88
+ "name": "repo_browser_profiles",
89
+ "entityType": "tables"
90
+ },
91
+ {
92
+ "name": "repo_hosts",
93
+ "entityType": "tables"
94
+ },
95
+ {
96
+ "name": "repos",
97
+ "entityType": "tables"
98
+ },
99
+ {
100
+ "name": "runner_machines",
101
+ "entityType": "tables"
102
+ },
103
+ {
104
+ "name": "runner_snapshots",
105
+ "entityType": "tables"
106
+ },
107
+ {
108
+ "name": "subscription_cursors",
109
+ "entityType": "tables"
110
+ },
111
+ {
112
+ "name": "subscription_events",
113
+ "entityType": "tables"
114
+ },
115
+ {
116
+ "name": "subscriptions",
117
+ "entityType": "tables"
118
+ },
119
+ {
120
+ "name": "tasks",
121
+ "entityType": "tables"
122
+ },
123
+ {
124
+ "name": "tokens",
125
+ "entityType": "tables"
126
+ },
127
+ {
128
+ "name": "usage_events",
129
+ "entityType": "tables"
130
+ },
131
+ {
132
+ "name": "usage_scan_state",
133
+ "entityType": "tables"
134
+ },
135
+ {
136
+ "name": "vault_items",
137
+ "entityType": "tables"
138
+ },
139
+ {
140
+ "name": "worktree_checkpoints",
141
+ "entityType": "tables"
142
+ },
143
+ {
144
+ "name": "worktree_sleep",
145
+ "entityType": "tables"
146
+ },
147
+ {
148
+ "name": "worktree_status_sources",
149
+ "entityType": "tables"
150
+ },
151
+ {
152
+ "name": "worktree_statuses",
153
+ "entityType": "tables"
154
+ },
155
+ {
156
+ "name": "worktrees",
157
+ "entityType": "tables"
158
+ },
159
+ {
160
+ "type": "text",
161
+ "notNull": false,
162
+ "autoincrement": false,
163
+ "default": null,
164
+ "generated": null,
165
+ "name": "id",
166
+ "entityType": "columns",
167
+ "table": "agent_sessions"
168
+ },
169
+ {
170
+ "type": "text",
171
+ "notNull": true,
172
+ "autoincrement": false,
173
+ "default": null,
174
+ "generated": null,
175
+ "name": "worktree_id",
176
+ "entityType": "columns",
177
+ "table": "agent_sessions"
178
+ },
179
+ {
180
+ "type": "text",
181
+ "notNull": true,
182
+ "autoincrement": false,
183
+ "default": null,
184
+ "generated": null,
185
+ "name": "agent_definition_id",
186
+ "entityType": "columns",
187
+ "table": "agent_sessions"
188
+ },
189
+ {
190
+ "type": "text",
191
+ "notNull": false,
192
+ "autoincrement": false,
193
+ "default": null,
194
+ "generated": null,
195
+ "name": "provider_session_id",
196
+ "entityType": "columns",
197
+ "table": "agent_sessions"
198
+ },
199
+ {
200
+ "type": "text",
201
+ "notNull": true,
202
+ "autoincrement": false,
203
+ "default": null,
204
+ "generated": null,
205
+ "name": "mode",
206
+ "entityType": "columns",
207
+ "table": "agent_sessions"
208
+ },
209
+ {
210
+ "type": "text",
211
+ "notNull": false,
212
+ "autoincrement": false,
213
+ "default": null,
214
+ "generated": null,
215
+ "name": "chat_id",
216
+ "entityType": "columns",
217
+ "table": "agent_sessions"
218
+ },
219
+ {
220
+ "type": "text",
221
+ "notNull": false,
222
+ "autoincrement": false,
223
+ "default": null,
224
+ "generated": null,
225
+ "name": "terminal_id",
226
+ "entityType": "columns",
227
+ "table": "agent_sessions"
228
+ },
229
+ {
230
+ "type": "text",
231
+ "notNull": true,
232
+ "autoincrement": false,
233
+ "default": null,
234
+ "generated": null,
235
+ "name": "state",
236
+ "entityType": "columns",
237
+ "table": "agent_sessions"
238
+ },
239
+ {
240
+ "type": "integer",
241
+ "notNull": true,
242
+ "autoincrement": false,
243
+ "default": null,
244
+ "generated": null,
245
+ "name": "created_at",
246
+ "entityType": "columns",
247
+ "table": "agent_sessions"
248
+ },
249
+ {
250
+ "type": "integer",
251
+ "notNull": true,
252
+ "autoincrement": false,
253
+ "default": null,
254
+ "generated": null,
255
+ "name": "updated_at",
256
+ "entityType": "columns",
257
+ "table": "agent_sessions"
258
+ },
259
+ {
260
+ "type": "text",
261
+ "notNull": false,
262
+ "autoincrement": false,
263
+ "default": null,
264
+ "generated": null,
265
+ "name": "worktree_id",
266
+ "entityType": "columns",
267
+ "table": "branch_statuses"
268
+ },
269
+ {
270
+ "type": "integer",
271
+ "notNull": true,
272
+ "autoincrement": false,
273
+ "default": null,
274
+ "generated": null,
275
+ "name": "git_dirty",
276
+ "entityType": "columns",
277
+ "table": "branch_statuses"
278
+ },
279
+ {
280
+ "type": "integer",
281
+ "notNull": true,
282
+ "autoincrement": false,
283
+ "default": null,
284
+ "generated": null,
285
+ "name": "git_conflict",
286
+ "entityType": "columns",
287
+ "table": "branch_statuses"
288
+ },
289
+ {
290
+ "type": "integer",
291
+ "notNull": true,
292
+ "autoincrement": false,
293
+ "default": null,
294
+ "generated": null,
295
+ "name": "git_ahead",
296
+ "entityType": "columns",
297
+ "table": "branch_statuses"
298
+ },
299
+ {
300
+ "type": "integer",
301
+ "notNull": true,
302
+ "autoincrement": false,
303
+ "default": null,
304
+ "generated": null,
305
+ "name": "git_behind",
306
+ "entityType": "columns",
307
+ "table": "branch_statuses"
308
+ },
309
+ {
310
+ "type": "text",
311
+ "notNull": true,
312
+ "autoincrement": false,
313
+ "default": null,
314
+ "generated": null,
315
+ "name": "git_sync_state",
316
+ "entityType": "columns",
317
+ "table": "branch_statuses"
318
+ },
319
+ {
320
+ "type": "text",
321
+ "notNull": true,
322
+ "autoincrement": false,
323
+ "default": null,
324
+ "generated": null,
325
+ "name": "ci_state",
326
+ "entityType": "columns",
327
+ "table": "branch_statuses"
328
+ },
329
+ {
330
+ "type": "text",
331
+ "notNull": false,
332
+ "autoincrement": false,
333
+ "default": null,
334
+ "generated": null,
335
+ "name": "ci_url",
336
+ "entityType": "columns",
337
+ "table": "branch_statuses"
338
+ },
339
+ {
340
+ "type": "text",
341
+ "notNull": false,
342
+ "autoincrement": false,
343
+ "default": null,
344
+ "generated": null,
345
+ "name": "ci_pr",
346
+ "entityType": "columns",
347
+ "table": "branch_statuses"
348
+ },
349
+ {
350
+ "type": "integer",
351
+ "notNull": true,
352
+ "autoincrement": false,
353
+ "default": null,
354
+ "generated": null,
355
+ "name": "updated_at",
356
+ "entityType": "columns",
357
+ "table": "branch_statuses"
358
+ },
359
+ {
360
+ "type": "integer",
361
+ "notNull": false,
362
+ "autoincrement": true,
363
+ "default": null,
364
+ "generated": null,
365
+ "name": "id",
366
+ "entityType": "columns",
367
+ "table": "browser_history"
368
+ },
369
+ {
370
+ "type": "text",
371
+ "notNull": true,
372
+ "autoincrement": false,
373
+ "default": null,
374
+ "generated": null,
375
+ "name": "worktree_id",
376
+ "entityType": "columns",
377
+ "table": "browser_history"
378
+ },
379
+ {
380
+ "type": "text",
381
+ "notNull": true,
382
+ "autoincrement": false,
383
+ "default": null,
384
+ "generated": null,
385
+ "name": "url",
386
+ "entityType": "columns",
387
+ "table": "browser_history"
388
+ },
389
+ {
390
+ "type": "text",
391
+ "notNull": false,
392
+ "autoincrement": false,
393
+ "default": null,
394
+ "generated": null,
395
+ "name": "title",
396
+ "entityType": "columns",
397
+ "table": "browser_history"
398
+ },
399
+ {
400
+ "type": "text",
401
+ "notNull": false,
402
+ "autoincrement": false,
403
+ "default": null,
404
+ "generated": null,
405
+ "name": "favicon_url",
406
+ "entityType": "columns",
407
+ "table": "browser_history"
408
+ },
409
+ {
410
+ "type": "integer",
411
+ "notNull": true,
412
+ "autoincrement": false,
413
+ "default": null,
414
+ "generated": null,
415
+ "name": "last_visited_at",
416
+ "entityType": "columns",
417
+ "table": "browser_history"
418
+ },
419
+ {
420
+ "type": "integer",
421
+ "notNull": true,
422
+ "autoincrement": false,
423
+ "default": "1",
424
+ "generated": null,
425
+ "name": "visit_count",
426
+ "entityType": "columns",
427
+ "table": "browser_history"
428
+ },
429
+ {
430
+ "type": "text",
431
+ "notNull": false,
432
+ "autoincrement": false,
433
+ "default": null,
434
+ "generated": null,
435
+ "name": "id",
436
+ "entityType": "columns",
437
+ "table": "browser_profiles"
438
+ },
439
+ {
440
+ "type": "text",
441
+ "notNull": true,
442
+ "autoincrement": false,
443
+ "default": null,
444
+ "generated": null,
445
+ "name": "name",
446
+ "entityType": "columns",
447
+ "table": "browser_profiles"
448
+ },
449
+ {
450
+ "type": "text",
451
+ "notNull": false,
452
+ "autoincrement": false,
453
+ "default": null,
454
+ "generated": null,
455
+ "name": "source",
456
+ "entityType": "columns",
457
+ "table": "browser_profiles"
458
+ },
459
+ {
460
+ "type": "integer",
461
+ "notNull": true,
462
+ "autoincrement": false,
463
+ "default": null,
464
+ "generated": null,
465
+ "name": "created_at",
466
+ "entityType": "columns",
467
+ "table": "browser_profiles"
468
+ },
469
+ {
470
+ "type": "integer",
471
+ "notNull": true,
472
+ "autoincrement": false,
473
+ "default": null,
474
+ "generated": null,
475
+ "name": "id",
476
+ "entityType": "columns",
477
+ "table": "chat_event_holds"
478
+ },
479
+ {
480
+ "type": "text",
481
+ "notNull": true,
482
+ "autoincrement": false,
483
+ "default": null,
484
+ "generated": null,
485
+ "name": "host_id",
486
+ "entityType": "columns",
487
+ "table": "chat_event_holds"
488
+ },
489
+ {
490
+ "type": "text",
491
+ "notNull": true,
492
+ "autoincrement": false,
493
+ "default": null,
494
+ "generated": null,
495
+ "name": "chat_id",
496
+ "entityType": "columns",
497
+ "table": "chat_event_holds"
498
+ },
499
+ {
500
+ "type": "text",
501
+ "notNull": true,
502
+ "autoincrement": false,
503
+ "default": null,
504
+ "generated": null,
505
+ "name": "row",
506
+ "entityType": "columns",
507
+ "table": "chat_event_holds"
508
+ },
509
+ {
510
+ "type": "integer",
511
+ "notNull": true,
512
+ "autoincrement": false,
513
+ "default": null,
514
+ "generated": null,
515
+ "name": "received_at",
516
+ "entityType": "columns",
517
+ "table": "chat_event_holds"
518
+ },
519
+ {
520
+ "type": "integer",
521
+ "notNull": false,
522
+ "autoincrement": true,
523
+ "default": null,
524
+ "generated": null,
525
+ "name": "id",
526
+ "entityType": "columns",
527
+ "table": "chat_events"
528
+ },
529
+ {
530
+ "type": "text",
531
+ "notNull": true,
532
+ "autoincrement": false,
533
+ "default": null,
534
+ "generated": null,
535
+ "name": "chat_id",
536
+ "entityType": "columns",
537
+ "table": "chat_events"
538
+ },
539
+ {
540
+ "type": "text",
541
+ "notNull": true,
542
+ "autoincrement": false,
543
+ "default": null,
544
+ "generated": null,
545
+ "name": "session_id",
546
+ "entityType": "columns",
547
+ "table": "chat_events"
548
+ },
549
+ {
550
+ "type": "integer",
551
+ "notNull": true,
552
+ "autoincrement": false,
553
+ "default": null,
554
+ "generated": null,
555
+ "name": "revision",
556
+ "entityType": "columns",
557
+ "table": "chat_events"
558
+ },
559
+ {
560
+ "type": "text",
561
+ "notNull": true,
562
+ "autoincrement": false,
563
+ "default": null,
564
+ "generated": null,
565
+ "name": "kind",
566
+ "entityType": "columns",
567
+ "table": "chat_events"
568
+ },
569
+ {
570
+ "type": "text",
571
+ "notNull": false,
572
+ "autoincrement": false,
573
+ "default": null,
574
+ "generated": null,
575
+ "name": "update_kind",
576
+ "entityType": "columns",
577
+ "table": "chat_events"
578
+ },
579
+ {
580
+ "type": "text",
581
+ "notNull": false,
582
+ "autoincrement": false,
583
+ "default": null,
584
+ "generated": null,
585
+ "name": "message_id",
586
+ "entityType": "columns",
587
+ "table": "chat_events"
588
+ },
589
+ {
590
+ "type": "text",
591
+ "notNull": false,
592
+ "autoincrement": false,
593
+ "default": null,
594
+ "generated": null,
595
+ "name": "tool_call_id",
596
+ "entityType": "columns",
597
+ "table": "chat_events"
598
+ },
599
+ {
600
+ "type": "integer",
601
+ "notNull": true,
602
+ "autoincrement": false,
603
+ "default": "false",
604
+ "generated": null,
605
+ "name": "turn_start",
606
+ "entityType": "columns",
607
+ "table": "chat_events"
608
+ },
609
+ {
610
+ "type": "text",
611
+ "notNull": true,
612
+ "autoincrement": false,
613
+ "default": null,
614
+ "generated": null,
615
+ "name": "payload",
616
+ "entityType": "columns",
617
+ "table": "chat_events"
618
+ },
619
+ {
620
+ "type": "integer",
621
+ "notNull": true,
622
+ "autoincrement": false,
623
+ "default": null,
624
+ "generated": null,
625
+ "name": "created_at",
626
+ "entityType": "columns",
627
+ "table": "chat_events"
628
+ },
629
+ {
630
+ "type": "text",
631
+ "notNull": false,
632
+ "autoincrement": false,
633
+ "default": null,
634
+ "generated": null,
635
+ "name": "id",
636
+ "entityType": "columns",
637
+ "table": "chat_forwards"
638
+ },
639
+ {
640
+ "type": "text",
641
+ "notNull": true,
642
+ "autoincrement": false,
643
+ "default": null,
644
+ "generated": null,
645
+ "name": "chat_id",
646
+ "entityType": "columns",
647
+ "table": "chat_forwards"
648
+ },
649
+ {
650
+ "type": "text",
651
+ "notNull": true,
652
+ "autoincrement": false,
653
+ "default": null,
654
+ "generated": null,
655
+ "name": "host_id",
656
+ "entityType": "columns",
657
+ "table": "chat_forwards"
658
+ },
659
+ {
660
+ "type": "text",
661
+ "notNull": true,
662
+ "autoincrement": false,
663
+ "default": null,
664
+ "generated": null,
665
+ "name": "method",
666
+ "entityType": "columns",
667
+ "table": "chat_forwards"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "notNull": true,
672
+ "autoincrement": false,
673
+ "default": null,
674
+ "generated": null,
675
+ "name": "params",
676
+ "entityType": "columns",
677
+ "table": "chat_forwards"
678
+ },
679
+ {
680
+ "type": "integer",
681
+ "notNull": true,
682
+ "autoincrement": false,
683
+ "default": null,
684
+ "generated": null,
685
+ "name": "created_at",
686
+ "entityType": "columns",
687
+ "table": "chat_forwards"
688
+ },
689
+ {
690
+ "type": "integer",
691
+ "notNull": false,
692
+ "autoincrement": false,
693
+ "default": null,
694
+ "generated": null,
695
+ "name": "delivered_at",
696
+ "entityType": "columns",
697
+ "table": "chat_forwards"
698
+ },
699
+ {
700
+ "type": "text",
701
+ "notNull": false,
702
+ "autoincrement": false,
703
+ "default": null,
704
+ "generated": null,
705
+ "name": "reply",
706
+ "entityType": "columns",
707
+ "table": "chat_forwards"
708
+ },
709
+ {
710
+ "type": "text",
711
+ "notNull": true,
712
+ "autoincrement": false,
713
+ "default": null,
714
+ "generated": null,
715
+ "name": "key",
716
+ "entityType": "columns",
717
+ "table": "client_state"
718
+ },
719
+ {
720
+ "type": "text",
721
+ "notNull": true,
722
+ "autoincrement": false,
723
+ "default": null,
724
+ "generated": null,
725
+ "name": "scope",
726
+ "entityType": "columns",
727
+ "table": "client_state"
728
+ },
729
+ {
730
+ "type": "text",
731
+ "notNull": false,
732
+ "autoincrement": false,
733
+ "default": null,
734
+ "generated": null,
735
+ "name": "worktree_id",
736
+ "entityType": "columns",
737
+ "table": "client_state"
738
+ },
739
+ {
740
+ "type": "text",
741
+ "notNull": false,
742
+ "autoincrement": false,
743
+ "default": null,
744
+ "generated": null,
745
+ "name": "value",
746
+ "entityType": "columns",
747
+ "table": "client_state"
748
+ },
749
+ {
750
+ "type": "integer",
751
+ "notNull": true,
752
+ "autoincrement": false,
753
+ "default": null,
754
+ "generated": null,
755
+ "name": "version",
756
+ "entityType": "columns",
757
+ "table": "client_state"
758
+ },
759
+ {
760
+ "type": "integer",
761
+ "notNull": true,
762
+ "autoincrement": false,
763
+ "default": null,
764
+ "generated": null,
765
+ "name": "updated_at",
766
+ "entityType": "columns",
767
+ "table": "client_state"
768
+ },
769
+ {
770
+ "type": "text",
771
+ "notNull": false,
772
+ "autoincrement": false,
773
+ "default": null,
774
+ "generated": null,
775
+ "name": "id",
776
+ "entityType": "columns",
777
+ "table": "cronjobs"
778
+ },
779
+ {
780
+ "type": "text",
781
+ "notNull": true,
782
+ "autoincrement": false,
783
+ "default": null,
784
+ "generated": null,
785
+ "name": "file_key",
786
+ "entityType": "columns",
787
+ "table": "cronjobs"
788
+ },
789
+ {
790
+ "type": "text",
791
+ "notNull": true,
792
+ "autoincrement": false,
793
+ "default": null,
794
+ "generated": null,
795
+ "name": "name",
796
+ "entityType": "columns",
797
+ "table": "cronjobs"
798
+ },
799
+ {
800
+ "type": "text",
801
+ "notNull": true,
802
+ "autoincrement": false,
803
+ "default": null,
804
+ "generated": null,
805
+ "name": "prompt",
806
+ "entityType": "columns",
807
+ "table": "cronjobs"
808
+ },
809
+ {
810
+ "type": "text",
811
+ "notNull": true,
812
+ "autoincrement": false,
813
+ "default": null,
814
+ "generated": null,
815
+ "name": "cron_expression",
816
+ "entityType": "columns",
817
+ "table": "cronjobs"
818
+ },
819
+ {
820
+ "type": "text",
821
+ "notNull": true,
822
+ "autoincrement": false,
823
+ "default": null,
824
+ "generated": null,
825
+ "name": "scope",
826
+ "entityType": "columns",
827
+ "table": "cronjobs"
828
+ },
829
+ {
830
+ "type": "text",
831
+ "notNull": false,
832
+ "autoincrement": false,
833
+ "default": null,
834
+ "generated": null,
835
+ "name": "worktree_id",
836
+ "entityType": "columns",
837
+ "table": "cronjobs"
838
+ },
839
+ {
840
+ "type": "text",
841
+ "notNull": true,
842
+ "autoincrement": false,
843
+ "default": "'chat'",
844
+ "generated": null,
845
+ "name": "via",
846
+ "entityType": "columns",
847
+ "table": "cronjobs"
848
+ },
849
+ {
850
+ "type": "integer",
851
+ "notNull": true,
852
+ "autoincrement": false,
853
+ "default": "true",
854
+ "generated": null,
855
+ "name": "enabled",
856
+ "entityType": "columns",
857
+ "table": "cronjobs"
858
+ },
859
+ {
860
+ "type": "text",
861
+ "notNull": true,
862
+ "autoincrement": false,
863
+ "default": null,
864
+ "generated": null,
865
+ "name": "created_at",
866
+ "entityType": "columns",
867
+ "table": "cronjobs"
868
+ },
869
+ {
870
+ "type": "text",
871
+ "notNull": false,
872
+ "autoincrement": false,
873
+ "default": null,
874
+ "generated": null,
875
+ "name": "last_run_at",
876
+ "entityType": "columns",
877
+ "table": "cronjobs"
878
+ },
879
+ {
880
+ "type": "text",
881
+ "notNull": false,
882
+ "autoincrement": false,
883
+ "default": null,
884
+ "generated": null,
885
+ "name": "last_run_status",
886
+ "entityType": "columns",
887
+ "table": "cronjobs"
888
+ },
889
+ {
890
+ "type": "text",
891
+ "notNull": false,
892
+ "autoincrement": false,
893
+ "default": null,
894
+ "generated": null,
895
+ "name": "last_terminal_id",
896
+ "entityType": "columns",
897
+ "table": "cronjobs"
898
+ },
899
+ {
900
+ "type": "text",
901
+ "notNull": true,
902
+ "autoincrement": false,
903
+ "default": "'local'",
904
+ "generated": null,
905
+ "name": "host_id",
906
+ "entityType": "columns",
907
+ "table": "cronjobs"
908
+ },
909
+ {
910
+ "type": "text",
911
+ "notNull": false,
912
+ "autoincrement": false,
913
+ "default": null,
914
+ "generated": null,
915
+ "name": "id",
916
+ "entityType": "columns",
917
+ "table": "environment_builds"
918
+ },
919
+ {
920
+ "type": "text",
921
+ "notNull": true,
922
+ "autoincrement": false,
923
+ "default": null,
924
+ "generated": null,
925
+ "name": "repo",
926
+ "entityType": "columns",
927
+ "table": "environment_builds"
928
+ },
929
+ {
930
+ "type": "text",
931
+ "notNull": true,
932
+ "autoincrement": false,
933
+ "default": null,
934
+ "generated": null,
935
+ "name": "key",
936
+ "entityType": "columns",
937
+ "table": "environment_builds"
938
+ },
939
+ {
940
+ "type": "text",
941
+ "notNull": true,
942
+ "autoincrement": false,
943
+ "default": null,
944
+ "generated": null,
945
+ "name": "status",
946
+ "entityType": "columns",
947
+ "table": "environment_builds"
948
+ },
949
+ {
950
+ "type": "text",
951
+ "notNull": false,
952
+ "autoincrement": false,
953
+ "default": null,
954
+ "generated": null,
955
+ "name": "image",
956
+ "entityType": "columns",
957
+ "table": "environment_builds"
958
+ },
959
+ {
960
+ "type": "text",
961
+ "notNull": true,
962
+ "autoincrement": false,
963
+ "default": null,
964
+ "generated": null,
965
+ "name": "host_id",
966
+ "entityType": "columns",
967
+ "table": "environment_builds"
968
+ },
969
+ {
970
+ "type": "text",
971
+ "notNull": false,
972
+ "autoincrement": false,
973
+ "default": null,
974
+ "generated": null,
975
+ "name": "commit_sha",
976
+ "entityType": "columns",
977
+ "table": "environment_builds"
978
+ },
979
+ {
980
+ "type": "text",
981
+ "notNull": true,
982
+ "autoincrement": false,
983
+ "default": null,
984
+ "generated": null,
985
+ "name": "trigger",
986
+ "entityType": "columns",
987
+ "table": "environment_builds"
988
+ },
989
+ {
990
+ "type": "text",
991
+ "notNull": true,
992
+ "autoincrement": false,
993
+ "default": "''",
994
+ "generated": null,
995
+ "name": "log",
996
+ "entityType": "columns",
997
+ "table": "environment_builds"
998
+ },
999
+ {
1000
+ "type": "text",
1001
+ "notNull": false,
1002
+ "autoincrement": false,
1003
+ "default": null,
1004
+ "generated": null,
1005
+ "name": "error",
1006
+ "entityType": "columns",
1007
+ "table": "environment_builds"
1008
+ },
1009
+ {
1010
+ "type": "integer",
1011
+ "notNull": true,
1012
+ "autoincrement": false,
1013
+ "default": null,
1014
+ "generated": null,
1015
+ "name": "started_at",
1016
+ "entityType": "columns",
1017
+ "table": "environment_builds"
1018
+ },
1019
+ {
1020
+ "type": "integer",
1021
+ "notNull": false,
1022
+ "autoincrement": false,
1023
+ "default": null,
1024
+ "generated": null,
1025
+ "name": "ended_at",
1026
+ "entityType": "columns",
1027
+ "table": "environment_builds"
1028
+ },
1029
+ {
1030
+ "type": "integer",
1031
+ "notNull": false,
1032
+ "autoincrement": true,
1033
+ "default": null,
1034
+ "generated": null,
1035
+ "name": "id",
1036
+ "entityType": "columns",
1037
+ "table": "host_audit"
1038
+ },
1039
+ {
1040
+ "type": "integer",
1041
+ "notNull": true,
1042
+ "autoincrement": false,
1043
+ "default": null,
1044
+ "generated": null,
1045
+ "name": "at",
1046
+ "entityType": "columns",
1047
+ "table": "host_audit"
1048
+ },
1049
+ {
1050
+ "type": "text",
1051
+ "notNull": true,
1052
+ "autoincrement": false,
1053
+ "default": null,
1054
+ "generated": null,
1055
+ "name": "caller_host_id",
1056
+ "entityType": "columns",
1057
+ "table": "host_audit"
1058
+ },
1059
+ {
1060
+ "type": "text",
1061
+ "notNull": false,
1062
+ "autoincrement": false,
1063
+ "default": null,
1064
+ "generated": null,
1065
+ "name": "chat_id",
1066
+ "entityType": "columns",
1067
+ "table": "host_audit"
1068
+ },
1069
+ {
1070
+ "type": "text",
1071
+ "notNull": true,
1072
+ "autoincrement": false,
1073
+ "default": null,
1074
+ "generated": null,
1075
+ "name": "procedure",
1076
+ "entityType": "columns",
1077
+ "table": "host_audit"
1078
+ },
1079
+ {
1080
+ "type": "text",
1081
+ "notNull": false,
1082
+ "autoincrement": false,
1083
+ "default": null,
1084
+ "generated": null,
1085
+ "name": "target_host_id",
1086
+ "entityType": "columns",
1087
+ "table": "host_audit"
1088
+ },
1089
+ {
1090
+ "type": "text",
1091
+ "notNull": false,
1092
+ "autoincrement": false,
1093
+ "default": null,
1094
+ "generated": null,
1095
+ "name": "target",
1096
+ "entityType": "columns",
1097
+ "table": "host_audit"
1098
+ },
1099
+ {
1100
+ "type": "text",
1101
+ "notNull": false,
1102
+ "autoincrement": false,
1103
+ "default": null,
1104
+ "generated": null,
1105
+ "name": "id",
1106
+ "entityType": "columns",
1107
+ "table": "host_requests"
1108
+ },
1109
+ {
1110
+ "type": "text",
1111
+ "notNull": true,
1112
+ "autoincrement": false,
1113
+ "default": null,
1114
+ "generated": null,
1115
+ "name": "worktree_id",
1116
+ "entityType": "columns",
1117
+ "table": "host_requests"
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "notNull": true,
1122
+ "autoincrement": false,
1123
+ "default": null,
1124
+ "generated": null,
1125
+ "name": "repo",
1126
+ "entityType": "columns",
1127
+ "table": "host_requests"
1128
+ },
1129
+ {
1130
+ "type": "text",
1131
+ "notNull": true,
1132
+ "autoincrement": false,
1133
+ "default": null,
1134
+ "generated": null,
1135
+ "name": "branch",
1136
+ "entityType": "columns",
1137
+ "table": "host_requests"
1138
+ },
1139
+ {
1140
+ "type": "text",
1141
+ "notNull": true,
1142
+ "autoincrement": false,
1143
+ "default": "'{}'",
1144
+ "generated": null,
1145
+ "name": "labels",
1146
+ "entityType": "columns",
1147
+ "table": "host_requests"
1148
+ },
1149
+ {
1150
+ "type": "text",
1151
+ "notNull": true,
1152
+ "autoincrement": false,
1153
+ "default": "'{}'",
1154
+ "generated": null,
1155
+ "name": "requires",
1156
+ "entityType": "columns",
1157
+ "table": "host_requests"
1158
+ },
1159
+ {
1160
+ "type": "text",
1161
+ "notNull": false,
1162
+ "autoincrement": false,
1163
+ "default": null,
1164
+ "generated": null,
1165
+ "name": "environment",
1166
+ "entityType": "columns",
1167
+ "table": "host_requests"
1168
+ },
1169
+ {
1170
+ "type": "text",
1171
+ "notNull": true,
1172
+ "autoincrement": false,
1173
+ "default": null,
1174
+ "generated": null,
1175
+ "name": "input",
1176
+ "entityType": "columns",
1177
+ "table": "host_requests"
1178
+ },
1179
+ {
1180
+ "type": "text",
1181
+ "notNull": true,
1182
+ "autoincrement": false,
1183
+ "default": "'pending'",
1184
+ "generated": null,
1185
+ "name": "status",
1186
+ "entityType": "columns",
1187
+ "table": "host_requests"
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "notNull": false,
1192
+ "autoincrement": false,
1193
+ "default": null,
1194
+ "generated": null,
1195
+ "name": "leased_by",
1196
+ "entityType": "columns",
1197
+ "table": "host_requests"
1198
+ },
1199
+ {
1200
+ "type": "integer",
1201
+ "notNull": false,
1202
+ "autoincrement": false,
1203
+ "default": null,
1204
+ "generated": null,
1205
+ "name": "lease_expires_at",
1206
+ "entityType": "columns",
1207
+ "table": "host_requests"
1208
+ },
1209
+ {
1210
+ "type": "text",
1211
+ "notNull": false,
1212
+ "autoincrement": false,
1213
+ "default": null,
1214
+ "generated": null,
1215
+ "name": "host_id",
1216
+ "entityType": "columns",
1217
+ "table": "host_requests"
1218
+ },
1219
+ {
1220
+ "type": "text",
1221
+ "notNull": false,
1222
+ "autoincrement": false,
1223
+ "default": null,
1224
+ "generated": null,
1225
+ "name": "error",
1226
+ "entityType": "columns",
1227
+ "table": "host_requests"
1228
+ },
1229
+ {
1230
+ "type": "integer",
1231
+ "notNull": false,
1232
+ "autoincrement": false,
1233
+ "default": null,
1234
+ "generated": null,
1235
+ "name": "completed_at",
1236
+ "entityType": "columns",
1237
+ "table": "host_requests"
1238
+ },
1239
+ {
1240
+ "type": "integer",
1241
+ "notNull": true,
1242
+ "autoincrement": false,
1243
+ "default": null,
1244
+ "generated": null,
1245
+ "name": "created_at",
1246
+ "entityType": "columns",
1247
+ "table": "host_requests"
1248
+ },
1249
+ {
1250
+ "type": "integer",
1251
+ "notNull": true,
1252
+ "autoincrement": false,
1253
+ "default": null,
1254
+ "generated": null,
1255
+ "name": "updated_at",
1256
+ "entityType": "columns",
1257
+ "table": "host_requests"
1258
+ },
1259
+ {
1260
+ "type": "text",
1261
+ "notNull": false,
1262
+ "autoincrement": false,
1263
+ "default": null,
1264
+ "generated": null,
1265
+ "name": "id",
1266
+ "entityType": "columns",
1267
+ "table": "hosts"
1268
+ },
1269
+ {
1270
+ "type": "text",
1271
+ "notNull": true,
1272
+ "autoincrement": false,
1273
+ "default": null,
1274
+ "generated": null,
1275
+ "name": "name",
1276
+ "entityType": "columns",
1277
+ "table": "hosts"
1278
+ },
1279
+ {
1280
+ "type": "text",
1281
+ "notNull": true,
1282
+ "autoincrement": false,
1283
+ "default": "'attached'",
1284
+ "generated": null,
1285
+ "name": "mode",
1286
+ "entityType": "columns",
1287
+ "table": "hosts"
1288
+ },
1289
+ {
1290
+ "type": "text",
1291
+ "notNull": false,
1292
+ "autoincrement": false,
1293
+ "default": null,
1294
+ "generated": null,
1295
+ "name": "runner",
1296
+ "entityType": "columns",
1297
+ "table": "hosts"
1298
+ },
1299
+ {
1300
+ "type": "text",
1301
+ "notNull": true,
1302
+ "autoincrement": false,
1303
+ "default": "'[]'",
1304
+ "generated": null,
1305
+ "name": "labels",
1306
+ "entityType": "columns",
1307
+ "table": "hosts"
1308
+ },
1309
+ {
1310
+ "type": "text",
1311
+ "notNull": true,
1312
+ "autoincrement": false,
1313
+ "default": "'online'",
1314
+ "generated": null,
1315
+ "name": "status",
1316
+ "entityType": "columns",
1317
+ "table": "hosts"
1318
+ },
1319
+ {
1320
+ "type": "integer",
1321
+ "notNull": false,
1322
+ "autoincrement": false,
1323
+ "default": null,
1324
+ "generated": null,
1325
+ "name": "last_seen_at",
1326
+ "entityType": "columns",
1327
+ "table": "hosts"
1328
+ },
1329
+ {
1330
+ "type": "text",
1331
+ "notNull": false,
1332
+ "autoincrement": false,
1333
+ "default": null,
1334
+ "generated": null,
1335
+ "name": "info",
1336
+ "entityType": "columns",
1337
+ "table": "hosts"
1338
+ },
1339
+ {
1340
+ "type": "text",
1341
+ "notNull": false,
1342
+ "autoincrement": false,
1343
+ "default": null,
1344
+ "generated": null,
1345
+ "name": "version",
1346
+ "entityType": "columns",
1347
+ "table": "hosts"
1348
+ },
1349
+ {
1350
+ "type": "text",
1351
+ "notNull": false,
1352
+ "autoincrement": false,
1353
+ "default": null,
1354
+ "generated": null,
1355
+ "name": "trust",
1356
+ "entityType": "columns",
1357
+ "table": "hosts"
1358
+ },
1359
+ {
1360
+ "type": "integer",
1361
+ "notNull": true,
1362
+ "autoincrement": false,
1363
+ "default": null,
1364
+ "generated": null,
1365
+ "name": "created_at",
1366
+ "entityType": "columns",
1367
+ "table": "hosts"
1368
+ },
1369
+ {
1370
+ "type": "integer",
1371
+ "notNull": false,
1372
+ "autoincrement": true,
1373
+ "default": null,
1374
+ "generated": null,
1375
+ "name": "id",
1376
+ "entityType": "columns",
1377
+ "table": "mcp_proxy_audit"
1378
+ },
1379
+ {
1380
+ "type": "integer",
1381
+ "notNull": true,
1382
+ "autoincrement": false,
1383
+ "default": null,
1384
+ "generated": null,
1385
+ "name": "at",
1386
+ "entityType": "columns",
1387
+ "table": "mcp_proxy_audit"
1388
+ },
1389
+ {
1390
+ "type": "text",
1391
+ "notNull": true,
1392
+ "autoincrement": false,
1393
+ "default": null,
1394
+ "generated": null,
1395
+ "name": "server",
1396
+ "entityType": "columns",
1397
+ "table": "mcp_proxy_audit"
1398
+ },
1399
+ {
1400
+ "type": "text",
1401
+ "notNull": true,
1402
+ "autoincrement": false,
1403
+ "default": null,
1404
+ "generated": null,
1405
+ "name": "tool",
1406
+ "entityType": "columns",
1407
+ "table": "mcp_proxy_audit"
1408
+ },
1409
+ {
1410
+ "type": "text",
1411
+ "notNull": true,
1412
+ "autoincrement": false,
1413
+ "default": null,
1414
+ "generated": null,
1415
+ "name": "session_id",
1416
+ "entityType": "columns",
1417
+ "table": "mcp_proxy_audit"
1418
+ },
1419
+ {
1420
+ "type": "integer",
1421
+ "notNull": true,
1422
+ "autoincrement": false,
1423
+ "default": null,
1424
+ "generated": null,
1425
+ "name": "ok",
1426
+ "entityType": "columns",
1427
+ "table": "mcp_proxy_audit"
1428
+ },
1429
+ {
1430
+ "type": "text",
1431
+ "notNull": false,
1432
+ "autoincrement": false,
1433
+ "default": null,
1434
+ "generated": null,
1435
+ "name": "error",
1436
+ "entityType": "columns",
1437
+ "table": "mcp_proxy_audit"
1438
+ },
1439
+ {
1440
+ "type": "text",
1441
+ "notNull": false,
1442
+ "autoincrement": false,
1443
+ "default": null,
1444
+ "generated": null,
1445
+ "name": "id",
1446
+ "entityType": "columns",
1447
+ "table": "mcp_proxy_tokens"
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "notNull": true,
1452
+ "autoincrement": false,
1453
+ "default": null,
1454
+ "generated": null,
1455
+ "name": "hash",
1456
+ "entityType": "columns",
1457
+ "table": "mcp_proxy_tokens"
1458
+ },
1459
+ {
1460
+ "type": "text",
1461
+ "notNull": true,
1462
+ "autoincrement": false,
1463
+ "default": null,
1464
+ "generated": null,
1465
+ "name": "session_id",
1466
+ "entityType": "columns",
1467
+ "table": "mcp_proxy_tokens"
1468
+ },
1469
+ {
1470
+ "type": "text",
1471
+ "notNull": true,
1472
+ "autoincrement": false,
1473
+ "default": null,
1474
+ "generated": null,
1475
+ "name": "servers",
1476
+ "entityType": "columns",
1477
+ "table": "mcp_proxy_tokens"
1478
+ },
1479
+ {
1480
+ "type": "integer",
1481
+ "notNull": true,
1482
+ "autoincrement": false,
1483
+ "default": null,
1484
+ "generated": null,
1485
+ "name": "created_at",
1486
+ "entityType": "columns",
1487
+ "table": "mcp_proxy_tokens"
1488
+ },
1489
+ {
1490
+ "type": "integer",
1491
+ "notNull": true,
1492
+ "autoincrement": false,
1493
+ "default": null,
1494
+ "generated": null,
1495
+ "name": "expires_at",
1496
+ "entityType": "columns",
1497
+ "table": "mcp_proxy_tokens"
1498
+ },
1499
+ {
1500
+ "type": "integer",
1501
+ "notNull": false,
1502
+ "autoincrement": false,
1503
+ "default": null,
1504
+ "generated": null,
1505
+ "name": "last_used_at",
1506
+ "entityType": "columns",
1507
+ "table": "mcp_proxy_tokens"
1508
+ },
1509
+ {
1510
+ "type": "integer",
1511
+ "notNull": false,
1512
+ "autoincrement": false,
1513
+ "default": null,
1514
+ "generated": null,
1515
+ "name": "revoked_at",
1516
+ "entityType": "columns",
1517
+ "table": "mcp_proxy_tokens"
1518
+ },
1519
+ {
1520
+ "type": "text",
1521
+ "notNull": false,
1522
+ "autoincrement": false,
1523
+ "default": null,
1524
+ "generated": null,
1525
+ "name": "id",
1526
+ "entityType": "columns",
1527
+ "table": "mcp_servers"
1528
+ },
1529
+ {
1530
+ "type": "text",
1531
+ "notNull": true,
1532
+ "autoincrement": false,
1533
+ "default": null,
1534
+ "generated": null,
1535
+ "name": "name",
1536
+ "entityType": "columns",
1537
+ "table": "mcp_servers"
1538
+ },
1539
+ {
1540
+ "type": "text",
1541
+ "notNull": true,
1542
+ "autoincrement": false,
1543
+ "default": null,
1544
+ "generated": null,
1545
+ "name": "url",
1546
+ "entityType": "columns",
1547
+ "table": "mcp_servers"
1548
+ },
1549
+ {
1550
+ "type": "text",
1551
+ "notNull": true,
1552
+ "autoincrement": false,
1553
+ "default": "'http'",
1554
+ "generated": null,
1555
+ "name": "transport",
1556
+ "entityType": "columns",
1557
+ "table": "mcp_servers"
1558
+ },
1559
+ {
1560
+ "type": "text",
1561
+ "notNull": false,
1562
+ "autoincrement": false,
1563
+ "default": null,
1564
+ "generated": null,
1565
+ "name": "host_id",
1566
+ "entityType": "columns",
1567
+ "table": "mcp_servers"
1568
+ },
1569
+ {
1570
+ "type": "text",
1571
+ "notNull": false,
1572
+ "autoincrement": false,
1573
+ "default": null,
1574
+ "generated": null,
1575
+ "name": "command",
1576
+ "entityType": "columns",
1577
+ "table": "mcp_servers"
1578
+ },
1579
+ {
1580
+ "type": "text",
1581
+ "notNull": true,
1582
+ "autoincrement": false,
1583
+ "default": "'[]'",
1584
+ "generated": null,
1585
+ "name": "args",
1586
+ "entityType": "columns",
1587
+ "table": "mcp_servers"
1588
+ },
1589
+ {
1590
+ "type": "text",
1591
+ "notNull": true,
1592
+ "autoincrement": false,
1593
+ "default": "'[]'",
1594
+ "generated": null,
1595
+ "name": "env",
1596
+ "entityType": "columns",
1597
+ "table": "mcp_servers"
1598
+ },
1599
+ {
1600
+ "type": "text",
1601
+ "notNull": false,
1602
+ "autoincrement": false,
1603
+ "default": null,
1604
+ "generated": null,
1605
+ "name": "cwd",
1606
+ "entityType": "columns",
1607
+ "table": "mcp_servers"
1608
+ },
1609
+ {
1610
+ "type": "text",
1611
+ "notNull": false,
1612
+ "autoincrement": false,
1613
+ "default": null,
1614
+ "generated": null,
1615
+ "name": "vault_item_id",
1616
+ "entityType": "columns",
1617
+ "table": "mcp_servers"
1618
+ },
1619
+ {
1620
+ "type": "text",
1621
+ "notNull": true,
1622
+ "autoincrement": false,
1623
+ "default": "'Authorization'",
1624
+ "generated": null,
1625
+ "name": "header_name",
1626
+ "entityType": "columns",
1627
+ "table": "mcp_servers"
1628
+ },
1629
+ {
1630
+ "type": "text",
1631
+ "notNull": true,
1632
+ "autoincrement": false,
1633
+ "default": "'Bearer '",
1634
+ "generated": null,
1635
+ "name": "header_prefix",
1636
+ "entityType": "columns",
1637
+ "table": "mcp_servers"
1638
+ },
1639
+ {
1640
+ "type": "text",
1641
+ "notNull": false,
1642
+ "autoincrement": false,
1643
+ "default": null,
1644
+ "generated": null,
1645
+ "name": "allow_tools",
1646
+ "entityType": "columns",
1647
+ "table": "mcp_servers"
1648
+ },
1649
+ {
1650
+ "type": "integer",
1651
+ "notNull": true,
1652
+ "autoincrement": false,
1653
+ "default": "false",
1654
+ "generated": null,
1655
+ "name": "read_only",
1656
+ "entityType": "columns",
1657
+ "table": "mcp_servers"
1658
+ },
1659
+ {
1660
+ "type": "text",
1661
+ "notNull": true,
1662
+ "autoincrement": false,
1663
+ "default": "'[]'",
1664
+ "generated": null,
1665
+ "name": "read_only_tools",
1666
+ "entityType": "columns",
1667
+ "table": "mcp_servers"
1668
+ },
1669
+ {
1670
+ "type": "integer",
1671
+ "notNull": true,
1672
+ "autoincrement": false,
1673
+ "default": "true",
1674
+ "generated": null,
1675
+ "name": "enabled",
1676
+ "entityType": "columns",
1677
+ "table": "mcp_servers"
1678
+ },
1679
+ {
1680
+ "type": "text",
1681
+ "notNull": false,
1682
+ "autoincrement": false,
1683
+ "default": null,
1684
+ "generated": null,
1685
+ "name": "scope_repos",
1686
+ "entityType": "columns",
1687
+ "table": "mcp_servers"
1688
+ },
1689
+ {
1690
+ "type": "text",
1691
+ "notNull": false,
1692
+ "autoincrement": false,
1693
+ "default": null,
1694
+ "generated": null,
1695
+ "name": "scope_hosts",
1696
+ "entityType": "columns",
1697
+ "table": "mcp_servers"
1698
+ },
1699
+ {
1700
+ "type": "integer",
1701
+ "notNull": true,
1702
+ "autoincrement": false,
1703
+ "default": null,
1704
+ "generated": null,
1705
+ "name": "created_at",
1706
+ "entityType": "columns",
1707
+ "table": "mcp_servers"
1708
+ },
1709
+ {
1710
+ "type": "integer",
1711
+ "notNull": true,
1712
+ "autoincrement": false,
1713
+ "default": null,
1714
+ "generated": null,
1715
+ "name": "updated_at",
1716
+ "entityType": "columns",
1717
+ "table": "mcp_servers"
1718
+ },
1719
+ {
1720
+ "type": "text",
1721
+ "notNull": false,
1722
+ "autoincrement": false,
1723
+ "default": null,
1724
+ "generated": null,
1725
+ "name": "id",
1726
+ "entityType": "columns",
1727
+ "table": "panel_states"
1728
+ },
1729
+ {
1730
+ "type": "text",
1731
+ "notNull": false,
1732
+ "autoincrement": false,
1733
+ "default": null,
1734
+ "generated": null,
1735
+ "name": "worktree_id",
1736
+ "entityType": "columns",
1737
+ "table": "panel_states"
1738
+ },
1739
+ {
1740
+ "type": "text",
1741
+ "notNull": true,
1742
+ "autoincrement": false,
1743
+ "default": null,
1744
+ "generated": null,
1745
+ "name": "panel_type",
1746
+ "entityType": "columns",
1747
+ "table": "panel_states"
1748
+ },
1749
+ {
1750
+ "type": "text",
1751
+ "notNull": true,
1752
+ "autoincrement": false,
1753
+ "default": null,
1754
+ "generated": null,
1755
+ "name": "state",
1756
+ "entityType": "columns",
1757
+ "table": "panel_states"
1758
+ },
1759
+ {
1760
+ "type": "text",
1761
+ "notNull": false,
1762
+ "autoincrement": false,
1763
+ "default": null,
1764
+ "generated": null,
1765
+ "name": "labels",
1766
+ "entityType": "columns",
1767
+ "table": "panel_states"
1768
+ },
1769
+ {
1770
+ "type": "integer",
1771
+ "notNull": true,
1772
+ "autoincrement": false,
1773
+ "default": null,
1774
+ "generated": null,
1775
+ "name": "created_at",
1776
+ "entityType": "columns",
1777
+ "table": "panel_states"
1778
+ },
1779
+ {
1780
+ "type": "integer",
1781
+ "notNull": true,
1782
+ "autoincrement": false,
1783
+ "default": null,
1784
+ "generated": null,
1785
+ "name": "updated_at",
1786
+ "entityType": "columns",
1787
+ "table": "panel_states"
1788
+ },
1789
+ {
1790
+ "type": "text",
1791
+ "notNull": true,
1792
+ "autoincrement": false,
1793
+ "default": null,
1794
+ "generated": null,
1795
+ "name": "host_id",
1796
+ "entityType": "columns",
1797
+ "table": "pending_removals"
1798
+ },
1799
+ {
1800
+ "type": "text",
1801
+ "notNull": true,
1802
+ "autoincrement": false,
1803
+ "default": null,
1804
+ "generated": null,
1805
+ "name": "worktree_path",
1806
+ "entityType": "columns",
1807
+ "table": "pending_removals"
1808
+ },
1809
+ {
1810
+ "type": "text",
1811
+ "notNull": true,
1812
+ "autoincrement": false,
1813
+ "default": null,
1814
+ "generated": null,
1815
+ "name": "repo_path",
1816
+ "entityType": "columns",
1817
+ "table": "pending_removals"
1818
+ },
1819
+ {
1820
+ "type": "text",
1821
+ "notNull": false,
1822
+ "autoincrement": false,
1823
+ "default": null,
1824
+ "generated": null,
1825
+ "name": "branch",
1826
+ "entityType": "columns",
1827
+ "table": "pending_removals"
1828
+ },
1829
+ {
1830
+ "type": "integer",
1831
+ "notNull": true,
1832
+ "autoincrement": false,
1833
+ "default": null,
1834
+ "generated": null,
1835
+ "name": "created_at",
1836
+ "entityType": "columns",
1837
+ "table": "pending_removals"
1838
+ },
1839
+ {
1840
+ "type": "text",
1841
+ "notNull": false,
1842
+ "autoincrement": false,
1843
+ "default": null,
1844
+ "generated": null,
1845
+ "name": "sha",
1846
+ "entityType": "columns",
1847
+ "table": "pushed_shas"
1848
+ },
1849
+ {
1850
+ "type": "text",
1851
+ "notNull": true,
1852
+ "autoincrement": false,
1853
+ "default": null,
1854
+ "generated": null,
1855
+ "name": "worktree_id",
1856
+ "entityType": "columns",
1857
+ "table": "pushed_shas"
1858
+ },
1859
+ {
1860
+ "type": "integer",
1861
+ "notNull": true,
1862
+ "autoincrement": false,
1863
+ "default": null,
1864
+ "generated": null,
1865
+ "name": "pushed_at",
1866
+ "entityType": "columns",
1867
+ "table": "pushed_shas"
1868
+ },
1869
+ {
1870
+ "type": "text",
1871
+ "notNull": false,
1872
+ "autoincrement": false,
1873
+ "default": null,
1874
+ "generated": null,
1875
+ "name": "repo_name",
1876
+ "entityType": "columns",
1877
+ "table": "repo_browser_profiles"
1878
+ },
1879
+ {
1880
+ "type": "text",
1881
+ "notNull": true,
1882
+ "autoincrement": false,
1883
+ "default": null,
1884
+ "generated": null,
1885
+ "name": "profile_id",
1886
+ "entityType": "columns",
1887
+ "table": "repo_browser_profiles"
1888
+ },
1889
+ {
1890
+ "type": "integer",
1891
+ "notNull": true,
1892
+ "autoincrement": false,
1893
+ "default": null,
1894
+ "generated": null,
1895
+ "name": "updated_at",
1896
+ "entityType": "columns",
1897
+ "table": "repo_browser_profiles"
1898
+ },
1899
+ {
1900
+ "type": "text",
1901
+ "notNull": true,
1902
+ "autoincrement": false,
1903
+ "default": null,
1904
+ "generated": null,
1905
+ "name": "repo_name",
1906
+ "entityType": "columns",
1907
+ "table": "repo_hosts"
1908
+ },
1909
+ {
1910
+ "type": "text",
1911
+ "notNull": true,
1912
+ "autoincrement": false,
1913
+ "default": null,
1914
+ "generated": null,
1915
+ "name": "host_id",
1916
+ "entityType": "columns",
1917
+ "table": "repo_hosts"
1918
+ },
1919
+ {
1920
+ "type": "text",
1921
+ "notNull": true,
1922
+ "autoincrement": false,
1923
+ "default": null,
1924
+ "generated": null,
1925
+ "name": "path",
1926
+ "entityType": "columns",
1927
+ "table": "repo_hosts"
1928
+ },
1929
+ {
1930
+ "type": "text",
1931
+ "notNull": false,
1932
+ "autoincrement": false,
1933
+ "default": null,
1934
+ "generated": null,
1935
+ "name": "name",
1936
+ "entityType": "columns",
1937
+ "table": "repos"
1938
+ },
1939
+ {
1940
+ "type": "text",
1941
+ "notNull": true,
1942
+ "autoincrement": false,
1943
+ "default": null,
1944
+ "generated": null,
1945
+ "name": "path",
1946
+ "entityType": "columns",
1947
+ "table": "repos"
1948
+ },
1949
+ {
1950
+ "type": "text",
1951
+ "notNull": false,
1952
+ "autoincrement": false,
1953
+ "default": null,
1954
+ "generated": null,
1955
+ "name": "remote_url",
1956
+ "entityType": "columns",
1957
+ "table": "repos"
1958
+ },
1959
+ {
1960
+ "type": "text",
1961
+ "notNull": false,
1962
+ "autoincrement": false,
1963
+ "default": null,
1964
+ "generated": null,
1965
+ "name": "remote_key",
1966
+ "entityType": "columns",
1967
+ "table": "repos"
1968
+ },
1969
+ {
1970
+ "type": "text",
1971
+ "notNull": true,
1972
+ "autoincrement": false,
1973
+ "default": null,
1974
+ "generated": null,
1975
+ "name": "default_branch",
1976
+ "entityType": "columns",
1977
+ "table": "repos"
1978
+ },
1979
+ {
1980
+ "type": "text",
1981
+ "notNull": false,
1982
+ "autoincrement": false,
1983
+ "default": null,
1984
+ "generated": null,
1985
+ "name": "label",
1986
+ "entityType": "columns",
1987
+ "table": "repos"
1988
+ },
1989
+ {
1990
+ "type": "integer",
1991
+ "notNull": true,
1992
+ "autoincrement": false,
1993
+ "default": null,
1994
+ "generated": null,
1995
+ "name": "sort_order",
1996
+ "entityType": "columns",
1997
+ "table": "repos"
1998
+ },
1999
+ {
2000
+ "type": "text",
2001
+ "notNull": true,
2002
+ "autoincrement": false,
2003
+ "default": "'git'",
2004
+ "generated": null,
2005
+ "name": "kind",
2006
+ "entityType": "columns",
2007
+ "table": "repos"
2008
+ },
2009
+ {
2010
+ "type": "integer",
2011
+ "notNull": true,
2012
+ "autoincrement": false,
2013
+ "default": "true",
2014
+ "generated": null,
2015
+ "name": "has_origin",
2016
+ "entityType": "columns",
2017
+ "table": "repos"
2018
+ },
2019
+ {
2020
+ "type": "integer",
2021
+ "notNull": true,
2022
+ "autoincrement": false,
2023
+ "default": "false",
2024
+ "generated": null,
2025
+ "name": "meta",
2026
+ "entityType": "columns",
2027
+ "table": "repos"
2028
+ },
2029
+ {
2030
+ "type": "text",
2031
+ "notNull": false,
2032
+ "autoincrement": false,
2033
+ "default": null,
2034
+ "generated": null,
2035
+ "name": "allowed_host_ids",
2036
+ "entityType": "columns",
2037
+ "table": "repos"
2038
+ },
2039
+ {
2040
+ "type": "text",
2041
+ "notNull": false,
2042
+ "autoincrement": false,
2043
+ "default": null,
2044
+ "generated": null,
2045
+ "name": "primary_host_id",
2046
+ "entityType": "columns",
2047
+ "table": "repos"
2048
+ },
2049
+ {
2050
+ "type": "integer",
2051
+ "notNull": false,
2052
+ "autoincrement": false,
2053
+ "default": null,
2054
+ "generated": null,
2055
+ "name": "checkpoints_enabled",
2056
+ "entityType": "columns",
2057
+ "table": "repos"
2058
+ },
2059
+ {
2060
+ "type": "integer",
2061
+ "notNull": false,
2062
+ "autoincrement": false,
2063
+ "default": null,
2064
+ "generated": null,
2065
+ "name": "auto_continue",
2066
+ "entityType": "columns",
2067
+ "table": "repos"
2068
+ },
2069
+ {
2070
+ "type": "text",
2071
+ "notNull": false,
2072
+ "autoincrement": false,
2073
+ "default": null,
2074
+ "generated": null,
2075
+ "name": "id",
2076
+ "entityType": "columns",
2077
+ "table": "runner_machines"
2078
+ },
2079
+ {
2080
+ "type": "text",
2081
+ "notNull": true,
2082
+ "autoincrement": false,
2083
+ "default": null,
2084
+ "generated": null,
2085
+ "name": "runner_id",
2086
+ "entityType": "columns",
2087
+ "table": "runner_machines"
2088
+ },
2089
+ {
2090
+ "type": "text",
2091
+ "notNull": false,
2092
+ "autoincrement": false,
2093
+ "default": null,
2094
+ "generated": null,
2095
+ "name": "request_id",
2096
+ "entityType": "columns",
2097
+ "table": "runner_machines"
2098
+ },
2099
+ {
2100
+ "type": "text",
2101
+ "notNull": true,
2102
+ "autoincrement": false,
2103
+ "default": null,
2104
+ "generated": null,
2105
+ "name": "worker_id",
2106
+ "entityType": "columns",
2107
+ "table": "runner_machines"
2108
+ },
2109
+ {
2110
+ "type": "text",
2111
+ "notNull": false,
2112
+ "autoincrement": false,
2113
+ "default": null,
2114
+ "generated": null,
2115
+ "name": "handle",
2116
+ "entityType": "columns",
2117
+ "table": "runner_machines"
2118
+ },
2119
+ {
2120
+ "type": "text",
2121
+ "notNull": true,
2122
+ "autoincrement": false,
2123
+ "default": "'spawning'",
2124
+ "generated": null,
2125
+ "name": "state",
2126
+ "entityType": "columns",
2127
+ "table": "runner_machines"
2128
+ },
2129
+ {
2130
+ "type": "integer",
2131
+ "notNull": true,
2132
+ "autoincrement": false,
2133
+ "default": null,
2134
+ "generated": null,
2135
+ "name": "spawned_at",
2136
+ "entityType": "columns",
2137
+ "table": "runner_machines"
2138
+ },
2139
+ {
2140
+ "type": "integer",
2141
+ "notNull": false,
2142
+ "autoincrement": false,
2143
+ "default": null,
2144
+ "generated": null,
2145
+ "name": "last_seen_at",
2146
+ "entityType": "columns",
2147
+ "table": "runner_machines"
2148
+ },
2149
+ {
2150
+ "type": "integer",
2151
+ "notNull": false,
2152
+ "autoincrement": false,
2153
+ "default": null,
2154
+ "generated": null,
2155
+ "name": "stopping_since",
2156
+ "entityType": "columns",
2157
+ "table": "runner_machines"
2158
+ },
2159
+ {
2160
+ "type": "integer",
2161
+ "notNull": false,
2162
+ "autoincrement": false,
2163
+ "default": null,
2164
+ "generated": null,
2165
+ "name": "destroyed_at",
2166
+ "entityType": "columns",
2167
+ "table": "runner_machines"
2168
+ },
2169
+ {
2170
+ "type": "integer",
2171
+ "notNull": true,
2172
+ "autoincrement": false,
2173
+ "default": "0",
2174
+ "generated": null,
2175
+ "name": "destroy_attempts",
2176
+ "entityType": "columns",
2177
+ "table": "runner_machines"
2178
+ },
2179
+ {
2180
+ "type": "text",
2181
+ "notNull": false,
2182
+ "autoincrement": false,
2183
+ "default": null,
2184
+ "generated": null,
2185
+ "name": "error",
2186
+ "entityType": "columns",
2187
+ "table": "runner_machines"
2188
+ },
2189
+ {
2190
+ "type": "text",
2191
+ "notNull": false,
2192
+ "autoincrement": false,
2193
+ "default": null,
2194
+ "generated": null,
2195
+ "name": "id",
2196
+ "entityType": "columns",
2197
+ "table": "runner_snapshots"
2198
+ },
2199
+ {
2200
+ "type": "text",
2201
+ "notNull": true,
2202
+ "autoincrement": false,
2203
+ "default": null,
2204
+ "generated": null,
2205
+ "name": "runner_id",
2206
+ "entityType": "columns",
2207
+ "table": "runner_snapshots"
2208
+ },
2209
+ {
2210
+ "type": "text",
2211
+ "notNull": true,
2212
+ "autoincrement": false,
2213
+ "default": null,
2214
+ "generated": null,
2215
+ "name": "host_id",
2216
+ "entityType": "columns",
2217
+ "table": "runner_snapshots"
2218
+ },
2219
+ {
2220
+ "type": "text",
2221
+ "notNull": false,
2222
+ "autoincrement": false,
2223
+ "default": null,
2224
+ "generated": null,
2225
+ "name": "machine_id",
2226
+ "entityType": "columns",
2227
+ "table": "runner_snapshots"
2228
+ },
2229
+ {
2230
+ "type": "text",
2231
+ "notNull": true,
2232
+ "autoincrement": false,
2233
+ "default": "'[]'",
2234
+ "generated": null,
2235
+ "name": "worktree_ids",
2236
+ "entityType": "columns",
2237
+ "table": "runner_snapshots"
2238
+ },
2239
+ {
2240
+ "type": "text",
2241
+ "notNull": true,
2242
+ "autoincrement": false,
2243
+ "default": null,
2244
+ "generated": null,
2245
+ "name": "snapshot_id",
2246
+ "entityType": "columns",
2247
+ "table": "runner_snapshots"
2248
+ },
2249
+ {
2250
+ "type": "integer",
2251
+ "notNull": false,
2252
+ "autoincrement": false,
2253
+ "default": null,
2254
+ "generated": null,
2255
+ "name": "size_bytes",
2256
+ "entityType": "columns",
2257
+ "table": "runner_snapshots"
2258
+ },
2259
+ {
2260
+ "type": "integer",
2261
+ "notNull": false,
2262
+ "autoincrement": false,
2263
+ "default": null,
2264
+ "generated": null,
2265
+ "name": "restored_at",
2266
+ "entityType": "columns",
2267
+ "table": "runner_snapshots"
2268
+ },
2269
+ {
2270
+ "type": "integer",
2271
+ "notNull": true,
2272
+ "autoincrement": false,
2273
+ "default": null,
2274
+ "generated": null,
2275
+ "name": "created_at",
2276
+ "entityType": "columns",
2277
+ "table": "runner_snapshots"
2278
+ },
2279
+ {
2280
+ "type": "integer",
2281
+ "notNull": true,
2282
+ "autoincrement": false,
2283
+ "default": null,
2284
+ "generated": null,
2285
+ "name": "expires_at",
2286
+ "entityType": "columns",
2287
+ "table": "runner_snapshots"
2288
+ },
2289
+ {
2290
+ "type": "text",
2291
+ "notNull": false,
2292
+ "autoincrement": false,
2293
+ "default": null,
2294
+ "generated": null,
2295
+ "name": "subscription_id",
2296
+ "entityType": "columns",
2297
+ "table": "subscription_cursors"
2298
+ },
2299
+ {
2300
+ "type": "text",
2301
+ "notNull": true,
2302
+ "autoincrement": false,
2303
+ "default": null,
2304
+ "generated": null,
2305
+ "name": "cursor",
2306
+ "entityType": "columns",
2307
+ "table": "subscription_cursors"
2308
+ },
2309
+ {
2310
+ "type": "integer",
2311
+ "notNull": true,
2312
+ "autoincrement": false,
2313
+ "default": null,
2314
+ "generated": null,
2315
+ "name": "updated_at",
2316
+ "entityType": "columns",
2317
+ "table": "subscription_cursors"
2318
+ },
2319
+ {
2320
+ "type": "text",
2321
+ "notNull": false,
2322
+ "autoincrement": false,
2323
+ "default": null,
2324
+ "generated": null,
2325
+ "name": "event_id",
2326
+ "entityType": "columns",
2327
+ "table": "subscription_events"
2328
+ },
2329
+ {
2330
+ "type": "text",
2331
+ "notNull": true,
2332
+ "autoincrement": false,
2333
+ "default": null,
2334
+ "generated": null,
2335
+ "name": "subscription_id",
2336
+ "entityType": "columns",
2337
+ "table": "subscription_events"
2338
+ },
2339
+ {
2340
+ "type": "integer",
2341
+ "notNull": true,
2342
+ "autoincrement": false,
2343
+ "default": null,
2344
+ "generated": null,
2345
+ "name": "received_at",
2346
+ "entityType": "columns",
2347
+ "table": "subscription_events"
2348
+ },
2349
+ {
2350
+ "type": "integer",
2351
+ "notNull": false,
2352
+ "autoincrement": false,
2353
+ "default": null,
2354
+ "generated": null,
2355
+ "name": "delivered_at",
2356
+ "entityType": "columns",
2357
+ "table": "subscription_events"
2358
+ },
2359
+ {
2360
+ "type": "text",
2361
+ "notNull": true,
2362
+ "autoincrement": false,
2363
+ "default": null,
2364
+ "generated": null,
2365
+ "name": "summary",
2366
+ "entityType": "columns",
2367
+ "table": "subscription_events"
2368
+ },
2369
+ {
2370
+ "type": "text",
2371
+ "notNull": false,
2372
+ "autoincrement": false,
2373
+ "default": null,
2374
+ "generated": null,
2375
+ "name": "dropped_reason",
2376
+ "entityType": "columns",
2377
+ "table": "subscription_events"
2378
+ },
2379
+ {
2380
+ "type": "text",
2381
+ "notNull": false,
2382
+ "autoincrement": false,
2383
+ "default": null,
2384
+ "generated": null,
2385
+ "name": "id",
2386
+ "entityType": "columns",
2387
+ "table": "subscriptions"
2388
+ },
2389
+ {
2390
+ "type": "text",
2391
+ "notNull": true,
2392
+ "autoincrement": false,
2393
+ "default": null,
2394
+ "generated": null,
2395
+ "name": "chat_id",
2396
+ "entityType": "columns",
2397
+ "table": "subscriptions"
2398
+ },
2399
+ {
2400
+ "type": "text",
2401
+ "notNull": true,
2402
+ "autoincrement": false,
2403
+ "default": null,
2404
+ "generated": null,
2405
+ "name": "worktree_id",
2406
+ "entityType": "columns",
2407
+ "table": "subscriptions"
2408
+ },
2409
+ {
2410
+ "type": "text",
2411
+ "notNull": true,
2412
+ "autoincrement": false,
2413
+ "default": null,
2414
+ "generated": null,
2415
+ "name": "source",
2416
+ "entityType": "columns",
2417
+ "table": "subscriptions"
2418
+ },
2419
+ {
2420
+ "type": "text",
2421
+ "notNull": true,
2422
+ "autoincrement": false,
2423
+ "default": null,
2424
+ "generated": null,
2425
+ "name": "kinds",
2426
+ "entityType": "columns",
2427
+ "table": "subscriptions"
2428
+ },
2429
+ {
2430
+ "type": "text",
2431
+ "notNull": true,
2432
+ "autoincrement": false,
2433
+ "default": null,
2434
+ "generated": null,
2435
+ "name": "filter_key",
2436
+ "entityType": "columns",
2437
+ "table": "subscriptions"
2438
+ },
2439
+ {
2440
+ "type": "integer",
2441
+ "notNull": true,
2442
+ "autoincrement": false,
2443
+ "default": null,
2444
+ "generated": null,
2445
+ "name": "coalesce_seconds",
2446
+ "entityType": "columns",
2447
+ "table": "subscriptions"
2448
+ },
2449
+ {
2450
+ "type": "integer",
2451
+ "notNull": true,
2452
+ "autoincrement": false,
2453
+ "default": null,
2454
+ "generated": null,
2455
+ "name": "max_wakeups",
2456
+ "entityType": "columns",
2457
+ "table": "subscriptions"
2458
+ },
2459
+ {
2460
+ "type": "integer",
2461
+ "notNull": true,
2462
+ "autoincrement": false,
2463
+ "default": null,
2464
+ "generated": null,
2465
+ "name": "wakeups",
2466
+ "entityType": "columns",
2467
+ "table": "subscriptions"
2468
+ },
2469
+ {
2470
+ "type": "integer",
2471
+ "notNull": true,
2472
+ "autoincrement": false,
2473
+ "default": null,
2474
+ "generated": null,
2475
+ "name": "expires_at",
2476
+ "entityType": "columns",
2477
+ "table": "subscriptions"
2478
+ },
2479
+ {
2480
+ "type": "text",
2481
+ "notNull": true,
2482
+ "autoincrement": false,
2483
+ "default": null,
2484
+ "generated": null,
2485
+ "name": "created_by",
2486
+ "entityType": "columns",
2487
+ "table": "subscriptions"
2488
+ },
2489
+ {
2490
+ "type": "integer",
2491
+ "notNull": true,
2492
+ "autoincrement": false,
2493
+ "default": null,
2494
+ "generated": null,
2495
+ "name": "created_at",
2496
+ "entityType": "columns",
2497
+ "table": "subscriptions"
2498
+ },
2499
+ {
2500
+ "type": "text",
2501
+ "notNull": true,
2502
+ "autoincrement": false,
2503
+ "default": "'{}'",
2504
+ "generated": null,
2505
+ "name": "config",
2506
+ "entityType": "columns",
2507
+ "table": "subscriptions"
2508
+ },
2509
+ {
2510
+ "type": "text",
2511
+ "notNull": false,
2512
+ "autoincrement": false,
2513
+ "default": null,
2514
+ "generated": null,
2515
+ "name": "id",
2516
+ "entityType": "columns",
2517
+ "table": "tasks"
2518
+ },
2519
+ {
2520
+ "type": "text",
2521
+ "notNull": true,
2522
+ "autoincrement": false,
2523
+ "default": null,
2524
+ "generated": null,
2525
+ "name": "worktree_id",
2526
+ "entityType": "columns",
2527
+ "table": "tasks"
2528
+ },
2529
+ {
2530
+ "type": "text",
2531
+ "notNull": true,
2532
+ "autoincrement": false,
2533
+ "default": null,
2534
+ "generated": null,
2535
+ "name": "repo",
2536
+ "entityType": "columns",
2537
+ "table": "tasks"
2538
+ },
2539
+ {
2540
+ "type": "text",
2541
+ "notNull": true,
2542
+ "autoincrement": false,
2543
+ "default": null,
2544
+ "generated": null,
2545
+ "name": "branch",
2546
+ "entityType": "columns",
2547
+ "table": "tasks"
2548
+ },
2549
+ {
2550
+ "type": "text",
2551
+ "notNull": true,
2552
+ "autoincrement": false,
2553
+ "default": null,
2554
+ "generated": null,
2555
+ "name": "prompt",
2556
+ "entityType": "columns",
2557
+ "table": "tasks"
2558
+ },
2559
+ {
2560
+ "type": "text",
2561
+ "notNull": true,
2562
+ "autoincrement": false,
2563
+ "default": null,
2564
+ "generated": null,
2565
+ "name": "status",
2566
+ "entityType": "columns",
2567
+ "table": "tasks"
2568
+ },
2569
+ {
2570
+ "type": "text",
2571
+ "notNull": false,
2572
+ "autoincrement": false,
2573
+ "default": null,
2574
+ "generated": null,
2575
+ "name": "session_id",
2576
+ "entityType": "columns",
2577
+ "table": "tasks"
2578
+ },
2579
+ {
2580
+ "type": "integer",
2581
+ "notNull": true,
2582
+ "autoincrement": false,
2583
+ "default": null,
2584
+ "generated": null,
2585
+ "name": "started_at",
2586
+ "entityType": "columns",
2587
+ "table": "tasks"
2588
+ },
2589
+ {
2590
+ "type": "integer",
2591
+ "notNull": false,
2592
+ "autoincrement": false,
2593
+ "default": null,
2594
+ "generated": null,
2595
+ "name": "completed_at",
2596
+ "entityType": "columns",
2597
+ "table": "tasks"
2598
+ },
2599
+ {
2600
+ "type": "text",
2601
+ "notNull": false,
2602
+ "autoincrement": false,
2603
+ "default": null,
2604
+ "generated": null,
2605
+ "name": "mode",
2606
+ "entityType": "columns",
2607
+ "table": "tasks"
2608
+ },
2609
+ {
2610
+ "type": "text",
2611
+ "notNull": false,
2612
+ "autoincrement": false,
2613
+ "default": null,
2614
+ "generated": null,
2615
+ "name": "model",
2616
+ "entityType": "columns",
2617
+ "table": "tasks"
2618
+ },
2619
+ {
2620
+ "type": "text",
2621
+ "notNull": false,
2622
+ "autoincrement": false,
2623
+ "default": null,
2624
+ "generated": null,
2625
+ "name": "coding_agent_id",
2626
+ "entityType": "columns",
2627
+ "table": "tasks"
2628
+ },
2629
+ {
2630
+ "type": "text",
2631
+ "notNull": false,
2632
+ "autoincrement": false,
2633
+ "default": null,
2634
+ "generated": null,
2635
+ "name": "chat_id",
2636
+ "entityType": "columns",
2637
+ "table": "tasks"
2638
+ },
2639
+ {
2640
+ "type": "text",
2641
+ "notNull": false,
2642
+ "autoincrement": false,
2643
+ "default": null,
2644
+ "generated": null,
2645
+ "name": "id",
2646
+ "entityType": "columns",
2647
+ "table": "tokens"
2648
+ },
2649
+ {
2650
+ "type": "text",
2651
+ "notNull": true,
2652
+ "autoincrement": false,
2653
+ "default": null,
2654
+ "generated": null,
2655
+ "name": "kind",
2656
+ "entityType": "columns",
2657
+ "table": "tokens"
2658
+ },
2659
+ {
2660
+ "type": "text",
2661
+ "notNull": true,
2662
+ "autoincrement": false,
2663
+ "default": null,
2664
+ "generated": null,
2665
+ "name": "hash",
2666
+ "entityType": "columns",
2667
+ "table": "tokens"
2668
+ },
2669
+ {
2670
+ "type": "text",
2671
+ "notNull": false,
2672
+ "autoincrement": false,
2673
+ "default": null,
2674
+ "generated": null,
2675
+ "name": "host_id",
2676
+ "entityType": "columns",
2677
+ "table": "tokens"
2678
+ },
2679
+ {
2680
+ "type": "text",
2681
+ "notNull": false,
2682
+ "autoincrement": false,
2683
+ "default": null,
2684
+ "generated": null,
2685
+ "name": "device_id",
2686
+ "entityType": "columns",
2687
+ "table": "tokens"
2688
+ },
2689
+ {
2690
+ "type": "text",
2691
+ "notNull": false,
2692
+ "autoincrement": false,
2693
+ "default": null,
2694
+ "generated": null,
2695
+ "name": "sealed",
2696
+ "entityType": "columns",
2697
+ "table": "tokens"
2698
+ },
2699
+ {
2700
+ "type": "text",
2701
+ "notNull": true,
2702
+ "autoincrement": false,
2703
+ "default": "''",
2704
+ "generated": null,
2705
+ "name": "label",
2706
+ "entityType": "columns",
2707
+ "table": "tokens"
2708
+ },
2709
+ {
2710
+ "type": "integer",
2711
+ "notNull": true,
2712
+ "autoincrement": false,
2713
+ "default": "false",
2714
+ "generated": null,
2715
+ "name": "admin",
2716
+ "entityType": "columns",
2717
+ "table": "tokens"
2718
+ },
2719
+ {
2720
+ "type": "integer",
2721
+ "notNull": true,
2722
+ "autoincrement": false,
2723
+ "default": null,
2724
+ "generated": null,
2725
+ "name": "created_at",
2726
+ "entityType": "columns",
2727
+ "table": "tokens"
2728
+ },
2729
+ {
2730
+ "type": "integer",
2731
+ "notNull": false,
2732
+ "autoincrement": false,
2733
+ "default": null,
2734
+ "generated": null,
2735
+ "name": "expires_at",
2736
+ "entityType": "columns",
2737
+ "table": "tokens"
2738
+ },
2739
+ {
2740
+ "type": "integer",
2741
+ "notNull": false,
2742
+ "autoincrement": false,
2743
+ "default": null,
2744
+ "generated": null,
2745
+ "name": "last_used_at",
2746
+ "entityType": "columns",
2747
+ "table": "tokens"
2748
+ },
2749
+ {
2750
+ "type": "integer",
2751
+ "notNull": false,
2752
+ "autoincrement": false,
2753
+ "default": null,
2754
+ "generated": null,
2755
+ "name": "revoked_at",
2756
+ "entityType": "columns",
2757
+ "table": "tokens"
2758
+ },
2759
+ {
2760
+ "type": "integer",
2761
+ "notNull": false,
2762
+ "autoincrement": true,
2763
+ "default": null,
2764
+ "generated": null,
2765
+ "name": "id",
2766
+ "entityType": "columns",
2767
+ "table": "usage_events"
2768
+ },
2769
+ {
2770
+ "type": "text",
2771
+ "notNull": true,
2772
+ "autoincrement": false,
2773
+ "default": null,
2774
+ "generated": null,
2775
+ "name": "task_id",
2776
+ "entityType": "columns",
2777
+ "table": "usage_events"
2778
+ },
2779
+ {
2780
+ "type": "text",
2781
+ "notNull": false,
2782
+ "autoincrement": false,
2783
+ "default": null,
2784
+ "generated": null,
2785
+ "name": "chat_id",
2786
+ "entityType": "columns",
2787
+ "table": "usage_events"
2788
+ },
2789
+ {
2790
+ "type": "text",
2791
+ "notNull": true,
2792
+ "autoincrement": false,
2793
+ "default": null,
2794
+ "generated": null,
2795
+ "name": "worktree_id",
2796
+ "entityType": "columns",
2797
+ "table": "usage_events"
2798
+ },
2799
+ {
2800
+ "type": "text",
2801
+ "notNull": true,
2802
+ "autoincrement": false,
2803
+ "default": null,
2804
+ "generated": null,
2805
+ "name": "repo",
2806
+ "entityType": "columns",
2807
+ "table": "usage_events"
2808
+ },
2809
+ {
2810
+ "type": "text",
2811
+ "notNull": false,
2812
+ "autoincrement": false,
2813
+ "default": null,
2814
+ "generated": null,
2815
+ "name": "session_id",
2816
+ "entityType": "columns",
2817
+ "table": "usage_events"
2818
+ },
2819
+ {
2820
+ "type": "text",
2821
+ "notNull": false,
2822
+ "autoincrement": false,
2823
+ "default": null,
2824
+ "generated": null,
2825
+ "name": "coding_agent_id",
2826
+ "entityType": "columns",
2827
+ "table": "usage_events"
2828
+ },
2829
+ {
2830
+ "type": "text",
2831
+ "notNull": false,
2832
+ "autoincrement": false,
2833
+ "default": null,
2834
+ "generated": null,
2835
+ "name": "provider",
2836
+ "entityType": "columns",
2837
+ "table": "usage_events"
2838
+ },
2839
+ {
2840
+ "type": "text",
2841
+ "notNull": false,
2842
+ "autoincrement": false,
2843
+ "default": null,
2844
+ "generated": null,
2845
+ "name": "model",
2846
+ "entityType": "columns",
2847
+ "table": "usage_events"
2848
+ },
2849
+ {
2850
+ "type": "integer",
2851
+ "notNull": true,
2852
+ "autoincrement": false,
2853
+ "default": "0",
2854
+ "generated": null,
2855
+ "name": "input_tokens",
2856
+ "entityType": "columns",
2857
+ "table": "usage_events"
2858
+ },
2859
+ {
2860
+ "type": "integer",
2861
+ "notNull": true,
2862
+ "autoincrement": false,
2863
+ "default": "0",
2864
+ "generated": null,
2865
+ "name": "output_tokens",
2866
+ "entityType": "columns",
2867
+ "table": "usage_events"
2868
+ },
2869
+ {
2870
+ "type": "integer",
2871
+ "notNull": true,
2872
+ "autoincrement": false,
2873
+ "default": "0",
2874
+ "generated": null,
2875
+ "name": "cache_read_tokens",
2876
+ "entityType": "columns",
2877
+ "table": "usage_events"
2878
+ },
2879
+ {
2880
+ "type": "integer",
2881
+ "notNull": true,
2882
+ "autoincrement": false,
2883
+ "default": "0",
2884
+ "generated": null,
2885
+ "name": "cache_creation_tokens",
2886
+ "entityType": "columns",
2887
+ "table": "usage_events"
2888
+ },
2889
+ {
2890
+ "type": "integer",
2891
+ "notNull": true,
2892
+ "autoincrement": false,
2893
+ "default": "0",
2894
+ "generated": null,
2895
+ "name": "reasoning_output_tokens",
2896
+ "entityType": "columns",
2897
+ "table": "usage_events"
2898
+ },
2899
+ {
2900
+ "type": "real",
2901
+ "notNull": true,
2902
+ "autoincrement": false,
2903
+ "default": "0",
2904
+ "generated": null,
2905
+ "name": "cost_usd",
2906
+ "entityType": "columns",
2907
+ "table": "usage_events"
2908
+ },
2909
+ {
2910
+ "type": "integer",
2911
+ "notNull": true,
2912
+ "autoincrement": false,
2913
+ "default": null,
2914
+ "generated": null,
2915
+ "name": "captured_at",
2916
+ "entityType": "columns",
2917
+ "table": "usage_events"
2918
+ },
2919
+ {
2920
+ "type": "text",
2921
+ "notNull": false,
2922
+ "autoincrement": false,
2923
+ "default": null,
2924
+ "generated": null,
2925
+ "name": "external_key",
2926
+ "entityType": "columns",
2927
+ "table": "usage_events"
2928
+ },
2929
+ {
2930
+ "type": "text",
2931
+ "notNull": true,
2932
+ "autoincrement": false,
2933
+ "default": "'local'",
2934
+ "generated": null,
2935
+ "name": "host_id",
2936
+ "entityType": "columns",
2937
+ "table": "usage_events"
2938
+ },
2939
+ {
2940
+ "type": "text",
2941
+ "notNull": true,
2942
+ "autoincrement": false,
2943
+ "default": null,
2944
+ "generated": null,
2945
+ "name": "worktree_id",
2946
+ "entityType": "columns",
2947
+ "table": "usage_scan_state"
2948
+ },
2949
+ {
2950
+ "type": "text",
2951
+ "notNull": true,
2952
+ "autoincrement": false,
2953
+ "default": null,
2954
+ "generated": null,
2955
+ "name": "agent_type",
2956
+ "entityType": "columns",
2957
+ "table": "usage_scan_state"
2958
+ },
2959
+ {
2960
+ "type": "integer",
2961
+ "notNull": true,
2962
+ "autoincrement": false,
2963
+ "default": null,
2964
+ "generated": null,
2965
+ "name": "last_scanned_updated_at",
2966
+ "entityType": "columns",
2967
+ "table": "usage_scan_state"
2968
+ },
2969
+ {
2970
+ "type": "text",
2971
+ "notNull": true,
2972
+ "autoincrement": false,
2973
+ "default": "'local'",
2974
+ "generated": null,
2975
+ "name": "host_id",
2976
+ "entityType": "columns",
2977
+ "table": "usage_scan_state"
2978
+ },
2979
+ {
2980
+ "type": "text",
2981
+ "notNull": false,
2982
+ "autoincrement": false,
2983
+ "default": null,
2984
+ "generated": null,
2985
+ "name": "id",
2986
+ "entityType": "columns",
2987
+ "table": "vault_items"
2988
+ },
2989
+ {
2990
+ "type": "text",
2991
+ "notNull": true,
2992
+ "autoincrement": false,
2993
+ "default": null,
2994
+ "generated": null,
2995
+ "name": "name",
2996
+ "entityType": "columns",
2997
+ "table": "vault_items"
2998
+ },
2999
+ {
3000
+ "type": "text",
3001
+ "notNull": true,
3002
+ "autoincrement": false,
3003
+ "default": null,
3004
+ "generated": null,
3005
+ "name": "kind",
3006
+ "entityType": "columns",
3007
+ "table": "vault_items"
3008
+ },
3009
+ {
3010
+ "type": "text",
3011
+ "notNull": true,
3012
+ "autoincrement": false,
3013
+ "default": "'global'",
3014
+ "generated": null,
3015
+ "name": "scope",
3016
+ "entityType": "columns",
3017
+ "table": "vault_items"
3018
+ },
3019
+ {
3020
+ "type": "text",
3021
+ "notNull": true,
3022
+ "autoincrement": false,
3023
+ "default": null,
3024
+ "generated": null,
3025
+ "name": "encrypted",
3026
+ "entityType": "columns",
3027
+ "table": "vault_items"
3028
+ },
3029
+ {
3030
+ "type": "text",
3031
+ "notNull": true,
3032
+ "autoincrement": false,
3033
+ "default": "'{}'",
3034
+ "generated": null,
3035
+ "name": "metadata",
3036
+ "entityType": "columns",
3037
+ "table": "vault_items"
3038
+ },
3039
+ {
3040
+ "type": "integer",
3041
+ "notNull": true,
3042
+ "autoincrement": false,
3043
+ "default": null,
3044
+ "generated": null,
3045
+ "name": "created_at",
3046
+ "entityType": "columns",
3047
+ "table": "vault_items"
3048
+ },
3049
+ {
3050
+ "type": "integer",
3051
+ "notNull": true,
3052
+ "autoincrement": false,
3053
+ "default": null,
3054
+ "generated": null,
3055
+ "name": "updated_at",
3056
+ "entityType": "columns",
3057
+ "table": "vault_items"
3058
+ },
3059
+ {
3060
+ "type": "integer",
3061
+ "notNull": false,
3062
+ "autoincrement": false,
3063
+ "default": null,
3064
+ "generated": null,
3065
+ "name": "last_used_at",
3066
+ "entityType": "columns",
3067
+ "table": "vault_items"
3068
+ },
3069
+ {
3070
+ "type": "text",
3071
+ "notNull": false,
3072
+ "autoincrement": false,
3073
+ "default": null,
3074
+ "generated": null,
3075
+ "name": "id",
3076
+ "entityType": "columns",
3077
+ "table": "worktree_checkpoints"
3078
+ },
3079
+ {
3080
+ "type": "text",
3081
+ "notNull": true,
3082
+ "autoincrement": false,
3083
+ "default": null,
3084
+ "generated": null,
3085
+ "name": "worktree_id",
3086
+ "entityType": "columns",
3087
+ "table": "worktree_checkpoints"
3088
+ },
3089
+ {
3090
+ "type": "text",
3091
+ "notNull": true,
3092
+ "autoincrement": false,
3093
+ "default": null,
3094
+ "generated": null,
3095
+ "name": "host_id",
3096
+ "entityType": "columns",
3097
+ "table": "worktree_checkpoints"
3098
+ },
3099
+ {
3100
+ "type": "text",
3101
+ "notNull": true,
3102
+ "autoincrement": false,
3103
+ "default": null,
3104
+ "generated": null,
3105
+ "name": "repo",
3106
+ "entityType": "columns",
3107
+ "table": "worktree_checkpoints"
3108
+ },
3109
+ {
3110
+ "type": "text",
3111
+ "notNull": true,
3112
+ "autoincrement": false,
3113
+ "default": null,
3114
+ "generated": null,
3115
+ "name": "name",
3116
+ "entityType": "columns",
3117
+ "table": "worktree_checkpoints"
3118
+ },
3119
+ {
3120
+ "type": "text",
3121
+ "notNull": true,
3122
+ "autoincrement": false,
3123
+ "default": null,
3124
+ "generated": null,
3125
+ "name": "branch",
3126
+ "entityType": "columns",
3127
+ "table": "worktree_checkpoints"
3128
+ },
3129
+ {
3130
+ "type": "text",
3131
+ "notNull": true,
3132
+ "autoincrement": false,
3133
+ "default": null,
3134
+ "generated": null,
3135
+ "name": "base_sha",
3136
+ "entityType": "columns",
3137
+ "table": "worktree_checkpoints"
3138
+ },
3139
+ {
3140
+ "type": "text",
3141
+ "notNull": true,
3142
+ "autoincrement": false,
3143
+ "default": null,
3144
+ "generated": null,
3145
+ "name": "snapshot_sha",
3146
+ "entityType": "columns",
3147
+ "table": "worktree_checkpoints"
3148
+ },
3149
+ {
3150
+ "type": "text",
3151
+ "notNull": true,
3152
+ "autoincrement": false,
3153
+ "default": null,
3154
+ "generated": null,
3155
+ "name": "tree_sha",
3156
+ "entityType": "columns",
3157
+ "table": "worktree_checkpoints"
3158
+ },
3159
+ {
3160
+ "type": "integer",
3161
+ "notNull": true,
3162
+ "autoincrement": false,
3163
+ "default": null,
3164
+ "generated": null,
3165
+ "name": "has_bundle",
3166
+ "entityType": "columns",
3167
+ "table": "worktree_checkpoints"
3168
+ },
3169
+ {
3170
+ "type": "text",
3171
+ "notNull": true,
3172
+ "autoincrement": false,
3173
+ "default": "'[]'",
3174
+ "generated": null,
3175
+ "name": "session_ids",
3176
+ "entityType": "columns",
3177
+ "table": "worktree_checkpoints"
3178
+ },
3179
+ {
3180
+ "type": "text",
3181
+ "notNull": true,
3182
+ "autoincrement": false,
3183
+ "default": "''",
3184
+ "generated": null,
3185
+ "name": "sessions_hash",
3186
+ "entityType": "columns",
3187
+ "table": "worktree_checkpoints"
3188
+ },
3189
+ {
3190
+ "type": "integer",
3191
+ "notNull": true,
3192
+ "autoincrement": false,
3193
+ "default": null,
3194
+ "generated": null,
3195
+ "name": "size_bytes",
3196
+ "entityType": "columns",
3197
+ "table": "worktree_checkpoints"
3198
+ },
3199
+ {
3200
+ "type": "text",
3201
+ "notNull": true,
3202
+ "autoincrement": false,
3203
+ "default": null,
3204
+ "generated": null,
3205
+ "name": "trigger",
3206
+ "entityType": "columns",
3207
+ "table": "worktree_checkpoints"
3208
+ },
3209
+ {
3210
+ "type": "integer",
3211
+ "notNull": true,
3212
+ "autoincrement": false,
3213
+ "default": null,
3214
+ "generated": null,
3215
+ "name": "created_at",
3216
+ "entityType": "columns",
3217
+ "table": "worktree_checkpoints"
3218
+ },
3219
+ {
3220
+ "type": "text",
3221
+ "notNull": false,
3222
+ "autoincrement": false,
3223
+ "default": null,
3224
+ "generated": null,
3225
+ "name": "worktree_id",
3226
+ "entityType": "columns",
3227
+ "table": "worktree_sleep"
3228
+ },
3229
+ {
3230
+ "type": "text",
3231
+ "notNull": true,
3232
+ "autoincrement": false,
3233
+ "default": null,
3234
+ "generated": null,
3235
+ "name": "host_id",
3236
+ "entityType": "columns",
3237
+ "table": "worktree_sleep"
3238
+ },
3239
+ {
3240
+ "type": "text",
3241
+ "notNull": true,
3242
+ "autoincrement": false,
3243
+ "default": null,
3244
+ "generated": null,
3245
+ "name": "repo",
3246
+ "entityType": "columns",
3247
+ "table": "worktree_sleep"
3248
+ },
3249
+ {
3250
+ "type": "text",
3251
+ "notNull": true,
3252
+ "autoincrement": false,
3253
+ "default": null,
3254
+ "generated": null,
3255
+ "name": "name",
3256
+ "entityType": "columns",
3257
+ "table": "worktree_sleep"
3258
+ },
3259
+ {
3260
+ "type": "text",
3261
+ "notNull": true,
3262
+ "autoincrement": false,
3263
+ "default": null,
3264
+ "generated": null,
3265
+ "name": "branch",
3266
+ "entityType": "columns",
3267
+ "table": "worktree_sleep"
3268
+ },
3269
+ {
3270
+ "type": "text",
3271
+ "notNull": true,
3272
+ "autoincrement": false,
3273
+ "default": null,
3274
+ "generated": null,
3275
+ "name": "worktree_path",
3276
+ "entityType": "columns",
3277
+ "table": "worktree_sleep"
3278
+ },
3279
+ {
3280
+ "type": "text",
3281
+ "notNull": true,
3282
+ "autoincrement": false,
3283
+ "default": null,
3284
+ "generated": null,
3285
+ "name": "base_sha",
3286
+ "entityType": "columns",
3287
+ "table": "worktree_sleep"
3288
+ },
3289
+ {
3290
+ "type": "text",
3291
+ "notNull": true,
3292
+ "autoincrement": false,
3293
+ "default": null,
3294
+ "generated": null,
3295
+ "name": "snapshot_sha",
3296
+ "entityType": "columns",
3297
+ "table": "worktree_sleep"
3298
+ },
3299
+ {
3300
+ "type": "text",
3301
+ "notNull": true,
3302
+ "autoincrement": false,
3303
+ "default": null,
3304
+ "generated": null,
3305
+ "name": "ref",
3306
+ "entityType": "columns",
3307
+ "table": "worktree_sleep"
3308
+ },
3309
+ {
3310
+ "type": "text",
3311
+ "notNull": true,
3312
+ "autoincrement": false,
3313
+ "default": null,
3314
+ "generated": null,
3315
+ "name": "store",
3316
+ "entityType": "columns",
3317
+ "table": "worktree_sleep"
3318
+ },
3319
+ {
3320
+ "type": "text",
3321
+ "notNull": true,
3322
+ "autoincrement": false,
3323
+ "default": "'[]'",
3324
+ "generated": null,
3325
+ "name": "session_ids",
3326
+ "entityType": "columns",
3327
+ "table": "worktree_sleep"
3328
+ },
3329
+ {
3330
+ "type": "integer",
3331
+ "notNull": false,
3332
+ "autoincrement": false,
3333
+ "default": null,
3334
+ "generated": null,
3335
+ "name": "waking_since",
3336
+ "entityType": "columns",
3337
+ "table": "worktree_sleep"
3338
+ },
3339
+ {
3340
+ "type": "integer",
3341
+ "notNull": true,
3342
+ "autoincrement": false,
3343
+ "default": null,
3344
+ "generated": null,
3345
+ "name": "created_at",
3346
+ "entityType": "columns",
3347
+ "table": "worktree_sleep"
3348
+ },
3349
+ {
3350
+ "type": "text",
3351
+ "notNull": true,
3352
+ "autoincrement": false,
3353
+ "default": null,
3354
+ "generated": null,
3355
+ "name": "worktree_id",
3356
+ "entityType": "columns",
3357
+ "table": "worktree_status_sources"
3358
+ },
3359
+ {
3360
+ "type": "text",
3361
+ "notNull": true,
3362
+ "autoincrement": false,
3363
+ "default": null,
3364
+ "generated": null,
3365
+ "name": "source_id",
3366
+ "entityType": "columns",
3367
+ "table": "worktree_status_sources"
3368
+ },
3369
+ {
3370
+ "type": "text",
3371
+ "notNull": true,
3372
+ "autoincrement": false,
3373
+ "default": null,
3374
+ "generated": null,
3375
+ "name": "status",
3376
+ "entityType": "columns",
3377
+ "table": "worktree_status_sources"
3378
+ },
3379
+ {
3380
+ "type": "text",
3381
+ "notNull": false,
3382
+ "autoincrement": false,
3383
+ "default": null,
3384
+ "generated": null,
3385
+ "name": "terminal_id",
3386
+ "entityType": "columns",
3387
+ "table": "worktree_status_sources"
3388
+ },
3389
+ {
3390
+ "type": "integer",
3391
+ "notNull": true,
3392
+ "autoincrement": false,
3393
+ "default": null,
3394
+ "generated": null,
3395
+ "name": "updated_at",
3396
+ "entityType": "columns",
3397
+ "table": "worktree_status_sources"
3398
+ },
3399
+ {
3400
+ "type": "text",
3401
+ "notNull": false,
3402
+ "autoincrement": false,
3403
+ "default": null,
3404
+ "generated": null,
3405
+ "name": "worktree_id",
3406
+ "entityType": "columns",
3407
+ "table": "worktree_statuses"
3408
+ },
3409
+ {
3410
+ "type": "text",
3411
+ "notNull": true,
3412
+ "autoincrement": false,
3413
+ "default": null,
3414
+ "generated": null,
3415
+ "name": "repo",
3416
+ "entityType": "columns",
3417
+ "table": "worktree_statuses"
3418
+ },
3419
+ {
3420
+ "type": "text",
3421
+ "notNull": true,
3422
+ "autoincrement": false,
3423
+ "default": null,
3424
+ "generated": null,
3425
+ "name": "branch",
3426
+ "entityType": "columns",
3427
+ "table": "worktree_statuses"
3428
+ },
3429
+ {
3430
+ "type": "text",
3431
+ "notNull": true,
3432
+ "autoincrement": false,
3433
+ "default": null,
3434
+ "generated": null,
3435
+ "name": "worktree_path",
3436
+ "entityType": "columns",
3437
+ "table": "worktree_statuses"
3438
+ },
3439
+ {
3440
+ "type": "text",
3441
+ "notNull": false,
3442
+ "autoincrement": false,
3443
+ "default": null,
3444
+ "generated": null,
3445
+ "name": "agent_name",
3446
+ "entityType": "columns",
3447
+ "table": "worktree_statuses"
3448
+ },
3449
+ {
3450
+ "type": "text",
3451
+ "notNull": false,
3452
+ "autoincrement": false,
3453
+ "default": null,
3454
+ "generated": null,
3455
+ "name": "agent_status",
3456
+ "entityType": "columns",
3457
+ "table": "worktree_statuses"
3458
+ },
3459
+ {
3460
+ "type": "text",
3461
+ "notNull": false,
3462
+ "autoincrement": false,
3463
+ "default": null,
3464
+ "generated": null,
3465
+ "name": "agent_last_activity",
3466
+ "entityType": "columns",
3467
+ "table": "worktree_statuses"
3468
+ },
3469
+ {
3470
+ "type": "text",
3471
+ "notNull": false,
3472
+ "autoincrement": false,
3473
+ "default": null,
3474
+ "generated": null,
3475
+ "name": "agent_summary",
3476
+ "entityType": "columns",
3477
+ "table": "worktree_statuses"
3478
+ },
3479
+ {
3480
+ "type": "text",
3481
+ "notNull": false,
3482
+ "autoincrement": false,
3483
+ "default": null,
3484
+ "generated": null,
3485
+ "name": "coding_agent_id",
3486
+ "entityType": "columns",
3487
+ "table": "worktree_statuses"
3488
+ },
3489
+ {
3490
+ "type": "text",
3491
+ "notNull": true,
3492
+ "autoincrement": false,
3493
+ "default": "'local'",
3494
+ "generated": null,
3495
+ "name": "host_id",
3496
+ "entityType": "columns",
3497
+ "table": "worktree_statuses"
3498
+ },
3499
+ {
3500
+ "type": "integer",
3501
+ "notNull": true,
3502
+ "autoincrement": false,
3503
+ "default": null,
3504
+ "generated": null,
3505
+ "name": "updated_at",
3506
+ "entityType": "columns",
3507
+ "table": "worktree_statuses"
3508
+ },
3509
+ {
3510
+ "type": "integer",
3511
+ "notNull": false,
3512
+ "autoincrement": true,
3513
+ "default": null,
3514
+ "generated": null,
3515
+ "name": "id",
3516
+ "entityType": "columns",
3517
+ "table": "worktrees"
3518
+ },
3519
+ {
3520
+ "type": "text",
3521
+ "notNull": true,
3522
+ "autoincrement": false,
3523
+ "default": null,
3524
+ "generated": null,
3525
+ "name": "repo_name",
3526
+ "entityType": "columns",
3527
+ "table": "worktrees"
3528
+ },
3529
+ {
3530
+ "type": "text",
3531
+ "notNull": true,
3532
+ "autoincrement": false,
3533
+ "default": null,
3534
+ "generated": null,
3535
+ "name": "name",
3536
+ "entityType": "columns",
3537
+ "table": "worktrees"
3538
+ },
3539
+ {
3540
+ "type": "text",
3541
+ "notNull": true,
3542
+ "autoincrement": false,
3543
+ "default": null,
3544
+ "generated": null,
3545
+ "name": "branch",
3546
+ "entityType": "columns",
3547
+ "table": "worktrees"
3548
+ },
3549
+ {
3550
+ "type": "text",
3551
+ "notNull": true,
3552
+ "autoincrement": false,
3553
+ "default": null,
3554
+ "generated": null,
3555
+ "name": "path",
3556
+ "entityType": "columns",
3557
+ "table": "worktrees"
3558
+ },
3559
+ {
3560
+ "type": "text",
3561
+ "notNull": false,
3562
+ "autoincrement": false,
3563
+ "default": null,
3564
+ "generated": null,
3565
+ "name": "head",
3566
+ "entityType": "columns",
3567
+ "table": "worktrees"
3568
+ },
3569
+ {
3570
+ "type": "integer",
3571
+ "notNull": true,
3572
+ "autoincrement": false,
3573
+ "default": "false",
3574
+ "generated": null,
3575
+ "name": "pinned",
3576
+ "entityType": "columns",
3577
+ "table": "worktrees"
3578
+ },
3579
+ {
3580
+ "type": "integer",
3581
+ "notNull": false,
3582
+ "autoincrement": false,
3583
+ "default": null,
3584
+ "generated": null,
3585
+ "name": "sort_index",
3586
+ "entityType": "columns",
3587
+ "table": "worktrees"
3588
+ },
3589
+ {
3590
+ "type": "integer",
3591
+ "notNull": false,
3592
+ "autoincrement": false,
3593
+ "default": null,
3594
+ "generated": null,
3595
+ "name": "pin_sort_index",
3596
+ "entityType": "columns",
3597
+ "table": "worktrees"
3598
+ },
3599
+ {
3600
+ "type": "text",
3601
+ "notNull": true,
3602
+ "autoincrement": false,
3603
+ "default": "'local'",
3604
+ "generated": null,
3605
+ "name": "host_id",
3606
+ "entityType": "columns",
3607
+ "table": "worktrees"
3608
+ },
3609
+ {
3610
+ "type": "text",
3611
+ "notNull": false,
3612
+ "autoincrement": false,
3613
+ "default": null,
3614
+ "generated": null,
3615
+ "name": "origin_worktree_id",
3616
+ "entityType": "columns",
3617
+ "table": "worktrees"
3618
+ },
3619
+ {
3620
+ "type": "text",
3621
+ "notNull": false,
3622
+ "autoincrement": false,
3623
+ "default": null,
3624
+ "generated": null,
3625
+ "name": "origin_chat_id",
3626
+ "entityType": "columns",
3627
+ "table": "worktrees"
3628
+ },
3629
+ {
3630
+ "type": "text",
3631
+ "notNull": false,
3632
+ "autoincrement": false,
3633
+ "default": null,
3634
+ "generated": null,
3635
+ "name": "origin_terminal_id",
3636
+ "entityType": "columns",
3637
+ "table": "worktrees"
3638
+ },
3639
+ {
3640
+ "type": "text",
3641
+ "notNull": false,
3642
+ "autoincrement": false,
3643
+ "default": null,
3644
+ "generated": null,
3645
+ "name": "superseded_by",
3646
+ "entityType": "columns",
3647
+ "table": "worktrees"
3648
+ },
3649
+ {
3650
+ "type": "text",
3651
+ "notNull": false,
3652
+ "autoincrement": false,
3653
+ "default": null,
3654
+ "generated": null,
3655
+ "name": "continued_from",
3656
+ "entityType": "columns",
3657
+ "table": "worktrees"
3658
+ },
3659
+ {
3660
+ "type": "text",
3661
+ "notNull": false,
3662
+ "autoincrement": false,
3663
+ "default": null,
3664
+ "generated": null,
3665
+ "name": "divergence",
3666
+ "entityType": "columns",
3667
+ "table": "worktrees"
3668
+ },
3669
+ {
3670
+ "columns": [
3671
+ "host_id"
3672
+ ],
3673
+ "tableTo": "hosts",
3674
+ "columnsTo": [
3675
+ "id"
3676
+ ],
3677
+ "onUpdate": "NO ACTION",
3678
+ "onDelete": "CASCADE",
3679
+ "nameExplicit": false,
3680
+ "name": "fk_pending_removals_host_id_hosts_id_fk",
3681
+ "entityType": "fks",
3682
+ "table": "pending_removals"
3683
+ },
3684
+ {
3685
+ "columns": [
3686
+ "repo_name"
3687
+ ],
3688
+ "tableTo": "repos",
3689
+ "columnsTo": [
3690
+ "name"
3691
+ ],
3692
+ "onUpdate": "NO ACTION",
3693
+ "onDelete": "CASCADE",
3694
+ "nameExplicit": false,
3695
+ "name": "fk_repo_hosts_repo_name_repos_name_fk",
3696
+ "entityType": "fks",
3697
+ "table": "repo_hosts"
3698
+ },
3699
+ {
3700
+ "columns": [
3701
+ "host_id"
3702
+ ],
3703
+ "tableTo": "hosts",
3704
+ "columnsTo": [
3705
+ "id"
3706
+ ],
3707
+ "onUpdate": "NO ACTION",
3708
+ "onDelete": "CASCADE",
3709
+ "nameExplicit": false,
3710
+ "name": "fk_repo_hosts_host_id_hosts_id_fk",
3711
+ "entityType": "fks",
3712
+ "table": "repo_hosts"
3713
+ },
3714
+ {
3715
+ "columns": [
3716
+ "host_id"
3717
+ ],
3718
+ "tableTo": "hosts",
3719
+ "columnsTo": [
3720
+ "id"
3721
+ ],
3722
+ "onUpdate": "NO ACTION",
3723
+ "onDelete": "CASCADE",
3724
+ "nameExplicit": false,
3725
+ "name": "fk_tokens_host_id_hosts_id_fk",
3726
+ "entityType": "fks",
3727
+ "table": "tokens"
3728
+ },
3729
+ {
3730
+ "columns": [
3731
+ "repo_name"
3732
+ ],
3733
+ "tableTo": "repos",
3734
+ "columnsTo": [
3735
+ "name"
3736
+ ],
3737
+ "onUpdate": "NO ACTION",
3738
+ "onDelete": "CASCADE",
3739
+ "nameExplicit": false,
3740
+ "name": "fk_worktrees_repo_name_repos_name_fk",
3741
+ "entityType": "fks",
3742
+ "table": "worktrees"
3743
+ },
3744
+ {
3745
+ "columns": [
3746
+ "host_id",
3747
+ "id"
3748
+ ],
3749
+ "nameExplicit": false,
3750
+ "name": "chat_event_holds_pk",
3751
+ "entityType": "pks",
3752
+ "table": "chat_event_holds"
3753
+ },
3754
+ {
3755
+ "columns": [
3756
+ "key",
3757
+ "scope"
3758
+ ],
3759
+ "nameExplicit": false,
3760
+ "name": "client_state_pk",
3761
+ "entityType": "pks",
3762
+ "table": "client_state"
3763
+ },
3764
+ {
3765
+ "columns": [
3766
+ "host_id",
3767
+ "worktree_path"
3768
+ ],
3769
+ "nameExplicit": false,
3770
+ "name": "pending_removals_pk",
3771
+ "entityType": "pks",
3772
+ "table": "pending_removals"
3773
+ },
3774
+ {
3775
+ "columns": [
3776
+ "repo_name",
3777
+ "host_id"
3778
+ ],
3779
+ "nameExplicit": false,
3780
+ "name": "repo_hosts_pk",
3781
+ "entityType": "pks",
3782
+ "table": "repo_hosts"
3783
+ },
3784
+ {
3785
+ "columns": [
3786
+ "worktree_id",
3787
+ "source_id"
3788
+ ],
3789
+ "nameExplicit": false,
3790
+ "name": "worktree_status_sources_pk",
3791
+ "entityType": "pks",
3792
+ "table": "worktree_status_sources"
3793
+ },
3794
+ {
3795
+ "columns": [
3796
+ "id"
3797
+ ],
3798
+ "nameExplicit": false,
3799
+ "name": "agent_sessions_pk",
3800
+ "table": "agent_sessions",
3801
+ "entityType": "pks"
3802
+ },
3803
+ {
3804
+ "columns": [
3805
+ "worktree_id"
3806
+ ],
3807
+ "nameExplicit": false,
3808
+ "name": "branch_statuses_pk",
3809
+ "table": "branch_statuses",
3810
+ "entityType": "pks"
3811
+ },
3812
+ {
3813
+ "columns": [
3814
+ "id"
3815
+ ],
3816
+ "nameExplicit": false,
3817
+ "name": "browser_history_pk",
3818
+ "table": "browser_history",
3819
+ "entityType": "pks"
3820
+ },
3821
+ {
3822
+ "columns": [
3823
+ "id"
3824
+ ],
3825
+ "nameExplicit": false,
3826
+ "name": "browser_profiles_pk",
3827
+ "table": "browser_profiles",
3828
+ "entityType": "pks"
3829
+ },
3830
+ {
3831
+ "columns": [
3832
+ "id"
3833
+ ],
3834
+ "nameExplicit": false,
3835
+ "name": "chat_events_pk",
3836
+ "table": "chat_events",
3837
+ "entityType": "pks"
3838
+ },
3839
+ {
3840
+ "columns": [
3841
+ "id"
3842
+ ],
3843
+ "nameExplicit": false,
3844
+ "name": "chat_forwards_pk",
3845
+ "table": "chat_forwards",
3846
+ "entityType": "pks"
3847
+ },
3848
+ {
3849
+ "columns": [
3850
+ "id"
3851
+ ],
3852
+ "nameExplicit": false,
3853
+ "name": "cronjobs_pk",
3854
+ "table": "cronjobs",
3855
+ "entityType": "pks"
3856
+ },
3857
+ {
3858
+ "columns": [
3859
+ "id"
3860
+ ],
3861
+ "nameExplicit": false,
3862
+ "name": "environment_builds_pk",
3863
+ "table": "environment_builds",
3864
+ "entityType": "pks"
3865
+ },
3866
+ {
3867
+ "columns": [
3868
+ "id"
3869
+ ],
3870
+ "nameExplicit": false,
3871
+ "name": "host_audit_pk",
3872
+ "table": "host_audit",
3873
+ "entityType": "pks"
3874
+ },
3875
+ {
3876
+ "columns": [
3877
+ "id"
3878
+ ],
3879
+ "nameExplicit": false,
3880
+ "name": "host_requests_pk",
3881
+ "table": "host_requests",
3882
+ "entityType": "pks"
3883
+ },
3884
+ {
3885
+ "columns": [
3886
+ "id"
3887
+ ],
3888
+ "nameExplicit": false,
3889
+ "name": "hosts_pk",
3890
+ "table": "hosts",
3891
+ "entityType": "pks"
3892
+ },
3893
+ {
3894
+ "columns": [
3895
+ "id"
3896
+ ],
3897
+ "nameExplicit": false,
3898
+ "name": "mcp_proxy_audit_pk",
3899
+ "table": "mcp_proxy_audit",
3900
+ "entityType": "pks"
3901
+ },
3902
+ {
3903
+ "columns": [
3904
+ "id"
3905
+ ],
3906
+ "nameExplicit": false,
3907
+ "name": "mcp_proxy_tokens_pk",
3908
+ "table": "mcp_proxy_tokens",
3909
+ "entityType": "pks"
3910
+ },
3911
+ {
3912
+ "columns": [
3913
+ "id"
3914
+ ],
3915
+ "nameExplicit": false,
3916
+ "name": "mcp_servers_pk",
3917
+ "table": "mcp_servers",
3918
+ "entityType": "pks"
3919
+ },
3920
+ {
3921
+ "columns": [
3922
+ "id"
3923
+ ],
3924
+ "nameExplicit": false,
3925
+ "name": "panel_states_pk",
3926
+ "table": "panel_states",
3927
+ "entityType": "pks"
3928
+ },
3929
+ {
3930
+ "columns": [
3931
+ "sha"
3932
+ ],
3933
+ "nameExplicit": false,
3934
+ "name": "pushed_shas_pk",
3935
+ "table": "pushed_shas",
3936
+ "entityType": "pks"
3937
+ },
3938
+ {
3939
+ "columns": [
3940
+ "repo_name"
3941
+ ],
3942
+ "nameExplicit": false,
3943
+ "name": "repo_browser_profiles_pk",
3944
+ "table": "repo_browser_profiles",
3945
+ "entityType": "pks"
3946
+ },
3947
+ {
3948
+ "columns": [
3949
+ "name"
3950
+ ],
3951
+ "nameExplicit": false,
3952
+ "name": "repos_pk",
3953
+ "table": "repos",
3954
+ "entityType": "pks"
3955
+ },
3956
+ {
3957
+ "columns": [
3958
+ "id"
3959
+ ],
3960
+ "nameExplicit": false,
3961
+ "name": "runner_machines_pk",
3962
+ "table": "runner_machines",
3963
+ "entityType": "pks"
3964
+ },
3965
+ {
3966
+ "columns": [
3967
+ "id"
3968
+ ],
3969
+ "nameExplicit": false,
3970
+ "name": "runner_snapshots_pk",
3971
+ "table": "runner_snapshots",
3972
+ "entityType": "pks"
3973
+ },
3974
+ {
3975
+ "columns": [
3976
+ "subscription_id"
3977
+ ],
3978
+ "nameExplicit": false,
3979
+ "name": "subscription_cursors_pk",
3980
+ "table": "subscription_cursors",
3981
+ "entityType": "pks"
3982
+ },
3983
+ {
3984
+ "columns": [
3985
+ "event_id"
3986
+ ],
3987
+ "nameExplicit": false,
3988
+ "name": "subscription_events_pk",
3989
+ "table": "subscription_events",
3990
+ "entityType": "pks"
3991
+ },
3992
+ {
3993
+ "columns": [
3994
+ "id"
3995
+ ],
3996
+ "nameExplicit": false,
3997
+ "name": "subscriptions_pk",
3998
+ "table": "subscriptions",
3999
+ "entityType": "pks"
4000
+ },
4001
+ {
4002
+ "columns": [
4003
+ "id"
4004
+ ],
4005
+ "nameExplicit": false,
4006
+ "name": "tasks_pk",
4007
+ "table": "tasks",
4008
+ "entityType": "pks"
4009
+ },
4010
+ {
4011
+ "columns": [
4012
+ "id"
4013
+ ],
4014
+ "nameExplicit": false,
4015
+ "name": "tokens_pk",
4016
+ "table": "tokens",
4017
+ "entityType": "pks"
4018
+ },
4019
+ {
4020
+ "columns": [
4021
+ "id"
4022
+ ],
4023
+ "nameExplicit": false,
4024
+ "name": "usage_events_pk",
4025
+ "table": "usage_events",
4026
+ "entityType": "pks"
4027
+ },
4028
+ {
4029
+ "columns": [
4030
+ "id"
4031
+ ],
4032
+ "nameExplicit": false,
4033
+ "name": "vault_items_pk",
4034
+ "table": "vault_items",
4035
+ "entityType": "pks"
4036
+ },
4037
+ {
4038
+ "columns": [
4039
+ "id"
4040
+ ],
4041
+ "nameExplicit": false,
4042
+ "name": "worktree_checkpoints_pk",
4043
+ "table": "worktree_checkpoints",
4044
+ "entityType": "pks"
4045
+ },
4046
+ {
4047
+ "columns": [
4048
+ "worktree_id"
4049
+ ],
4050
+ "nameExplicit": false,
4051
+ "name": "worktree_sleep_pk",
4052
+ "table": "worktree_sleep",
4053
+ "entityType": "pks"
4054
+ },
4055
+ {
4056
+ "columns": [
4057
+ "worktree_id"
4058
+ ],
4059
+ "nameExplicit": false,
4060
+ "name": "worktree_statuses_pk",
4061
+ "table": "worktree_statuses",
4062
+ "entityType": "pks"
4063
+ },
4064
+ {
4065
+ "columns": [
4066
+ "id"
4067
+ ],
4068
+ "nameExplicit": false,
4069
+ "name": "worktrees_pk",
4070
+ "table": "worktrees",
4071
+ "entityType": "pks"
4072
+ },
4073
+ {
4074
+ "columns": [
4075
+ {
4076
+ "value": "worktree_id",
4077
+ "isExpression": false
4078
+ }
4079
+ ],
4080
+ "isUnique": false,
4081
+ "where": null,
4082
+ "origin": "manual",
4083
+ "name": "agent_sessions_worktree_idx",
4084
+ "entityType": "indexes",
4085
+ "table": "agent_sessions"
4086
+ },
4087
+ {
4088
+ "columns": [
4089
+ {
4090
+ "value": "chat_id",
4091
+ "isExpression": false
4092
+ }
4093
+ ],
4094
+ "isUnique": false,
4095
+ "where": null,
4096
+ "origin": "manual",
4097
+ "name": "agent_sessions_chat_idx",
4098
+ "entityType": "indexes",
4099
+ "table": "agent_sessions"
4100
+ },
4101
+ {
4102
+ "columns": [
4103
+ {
4104
+ "value": "terminal_id",
4105
+ "isExpression": false
4106
+ }
4107
+ ],
4108
+ "isUnique": false,
4109
+ "where": null,
4110
+ "origin": "manual",
4111
+ "name": "agent_sessions_terminal_idx",
4112
+ "entityType": "indexes",
4113
+ "table": "agent_sessions"
4114
+ },
4115
+ {
4116
+ "columns": [
4117
+ {
4118
+ "value": "worktree_id",
4119
+ "isExpression": false
4120
+ },
4121
+ {
4122
+ "value": "url",
4123
+ "isExpression": false
4124
+ }
4125
+ ],
4126
+ "isUnique": true,
4127
+ "where": null,
4128
+ "origin": "manual",
4129
+ "name": "browser_history_worktree_url_uq",
4130
+ "entityType": "indexes",
4131
+ "table": "browser_history"
4132
+ },
4133
+ {
4134
+ "columns": [
4135
+ {
4136
+ "value": "worktree_id",
4137
+ "isExpression": false
4138
+ },
4139
+ {
4140
+ "value": "last_visited_at",
4141
+ "isExpression": false
4142
+ }
4143
+ ],
4144
+ "isUnique": false,
4145
+ "where": null,
4146
+ "origin": "manual",
4147
+ "name": "browser_history_worktree_visited_idx",
4148
+ "entityType": "indexes",
4149
+ "table": "browser_history"
4150
+ },
4151
+ {
4152
+ "columns": [
4153
+ {
4154
+ "value": "chat_id",
4155
+ "isExpression": false
4156
+ }
4157
+ ],
4158
+ "isUnique": false,
4159
+ "where": null,
4160
+ "origin": "manual",
4161
+ "name": "chat_event_holds_chat_idx",
4162
+ "entityType": "indexes",
4163
+ "table": "chat_event_holds"
4164
+ },
4165
+ {
4166
+ "columns": [
4167
+ {
4168
+ "value": "session_id",
4169
+ "isExpression": false
4170
+ },
4171
+ {
4172
+ "value": "revision",
4173
+ "isExpression": false
4174
+ },
4175
+ {
4176
+ "value": "id",
4177
+ "isExpression": false
4178
+ }
4179
+ ],
4180
+ "isUnique": false,
4181
+ "where": null,
4182
+ "origin": "manual",
4183
+ "name": "chat_events_session_idx",
4184
+ "entityType": "indexes",
4185
+ "table": "chat_events"
4186
+ },
4187
+ {
4188
+ "columns": [
4189
+ {
4190
+ "value": "session_id",
4191
+ "isExpression": false
4192
+ },
4193
+ {
4194
+ "value": "revision",
4195
+ "isExpression": false
4196
+ },
4197
+ {
4198
+ "value": "kind",
4199
+ "isExpression": false
4200
+ },
4201
+ {
4202
+ "value": "id",
4203
+ "isExpression": false
4204
+ }
4205
+ ],
4206
+ "isUnique": false,
4207
+ "where": null,
4208
+ "origin": "manual",
4209
+ "name": "chat_events_kind_idx",
4210
+ "entityType": "indexes",
4211
+ "table": "chat_events"
4212
+ },
4213
+ {
4214
+ "columns": [
4215
+ {
4216
+ "value": "session_id",
4217
+ "isExpression": false
4218
+ },
4219
+ {
4220
+ "value": "revision",
4221
+ "isExpression": false
4222
+ },
4223
+ {
4224
+ "value": "update_kind",
4225
+ "isExpression": false
4226
+ },
4227
+ {
4228
+ "value": "id",
4229
+ "isExpression": false
4230
+ }
4231
+ ],
4232
+ "isUnique": false,
4233
+ "where": null,
4234
+ "origin": "manual",
4235
+ "name": "chat_events_update_kind_idx",
4236
+ "entityType": "indexes",
4237
+ "table": "chat_events"
4238
+ },
4239
+ {
4240
+ "columns": [
4241
+ {
4242
+ "value": "session_id",
4243
+ "isExpression": false
4244
+ },
4245
+ {
4246
+ "value": "revision",
4247
+ "isExpression": false
4248
+ },
4249
+ {
4250
+ "value": "turn_start",
4251
+ "isExpression": false
4252
+ },
4253
+ {
4254
+ "value": "id",
4255
+ "isExpression": false
4256
+ }
4257
+ ],
4258
+ "isUnique": false,
4259
+ "where": null,
4260
+ "origin": "manual",
4261
+ "name": "chat_events_turn_start_idx",
4262
+ "entityType": "indexes",
4263
+ "table": "chat_events"
4264
+ },
4265
+ {
4266
+ "columns": [
4267
+ {
4268
+ "value": "chat_id",
4269
+ "isExpression": false
4270
+ }
4271
+ ],
4272
+ "isUnique": false,
4273
+ "where": null,
4274
+ "origin": "manual",
4275
+ "name": "chat_events_chat_idx",
4276
+ "entityType": "indexes",
4277
+ "table": "chat_events"
4278
+ },
4279
+ {
4280
+ "columns": [
4281
+ {
4282
+ "value": "host_id",
4283
+ "isExpression": false
4284
+ },
4285
+ {
4286
+ "value": "delivered_at",
4287
+ "isExpression": false
4288
+ },
4289
+ {
4290
+ "value": "created_at",
4291
+ "isExpression": false
4292
+ }
4293
+ ],
4294
+ "isUnique": false,
4295
+ "where": null,
4296
+ "origin": "manual",
4297
+ "name": "chat_forwards_pending_idx",
4298
+ "entityType": "indexes",
4299
+ "table": "chat_forwards"
4300
+ },
4301
+ {
4302
+ "columns": [
4303
+ {
4304
+ "value": "worktree_id",
4305
+ "isExpression": false
4306
+ }
4307
+ ],
4308
+ "isUnique": false,
4309
+ "where": null,
4310
+ "origin": "manual",
4311
+ "name": "client_state_worktree_idx",
4312
+ "entityType": "indexes",
4313
+ "table": "client_state"
4314
+ },
4315
+ {
4316
+ "columns": [
4317
+ {
4318
+ "value": "repo",
4319
+ "isExpression": false
4320
+ },
4321
+ {
4322
+ "value": "started_at",
4323
+ "isExpression": false
4324
+ }
4325
+ ],
4326
+ "isUnique": false,
4327
+ "where": null,
4328
+ "origin": "manual",
4329
+ "name": "environment_builds_repo_idx",
4330
+ "entityType": "indexes",
4331
+ "table": "environment_builds"
4332
+ },
4333
+ {
4334
+ "columns": [
4335
+ {
4336
+ "value": "repo",
4337
+ "isExpression": false
4338
+ },
4339
+ {
4340
+ "value": "key",
4341
+ "isExpression": false
4342
+ }
4343
+ ],
4344
+ "isUnique": false,
4345
+ "where": null,
4346
+ "origin": "manual",
4347
+ "name": "environment_builds_key_idx",
4348
+ "entityType": "indexes",
4349
+ "table": "environment_builds"
4350
+ },
4351
+ {
4352
+ "columns": [
4353
+ {
4354
+ "value": "at",
4355
+ "isExpression": false
4356
+ }
4357
+ ],
4358
+ "isUnique": false,
4359
+ "where": null,
4360
+ "origin": "manual",
4361
+ "name": "host_audit_at_idx",
4362
+ "entityType": "indexes",
4363
+ "table": "host_audit"
4364
+ },
4365
+ {
4366
+ "columns": [
4367
+ {
4368
+ "value": "status",
4369
+ "isExpression": false
4370
+ },
4371
+ {
4372
+ "value": "created_at",
4373
+ "isExpression": false
4374
+ }
4375
+ ],
4376
+ "isUnique": false,
4377
+ "where": null,
4378
+ "origin": "manual",
4379
+ "name": "host_requests_status_idx",
4380
+ "entityType": "indexes",
4381
+ "table": "host_requests"
4382
+ },
4383
+ {
4384
+ "columns": [
4385
+ {
4386
+ "value": "worktree_id",
4387
+ "isExpression": false
4388
+ }
4389
+ ],
4390
+ "isUnique": false,
4391
+ "where": null,
4392
+ "origin": "manual",
4393
+ "name": "host_requests_worktree_idx",
4394
+ "entityType": "indexes",
4395
+ "table": "host_requests"
4396
+ },
4397
+ {
4398
+ "columns": [
4399
+ {
4400
+ "value": "created_at",
4401
+ "isExpression": false
4402
+ }
4403
+ ],
4404
+ "isUnique": false,
4405
+ "where": null,
4406
+ "origin": "manual",
4407
+ "name": "hosts_created_at_idx",
4408
+ "entityType": "indexes",
4409
+ "table": "hosts"
4410
+ },
4411
+ {
4412
+ "columns": [
4413
+ {
4414
+ "value": "at",
4415
+ "isExpression": false
4416
+ }
4417
+ ],
4418
+ "isUnique": false,
4419
+ "where": null,
4420
+ "origin": "manual",
4421
+ "name": "mcp_proxy_audit_at_idx",
4422
+ "entityType": "indexes",
4423
+ "table": "mcp_proxy_audit"
4424
+ },
4425
+ {
4426
+ "columns": [
4427
+ {
4428
+ "value": "hash",
4429
+ "isExpression": false
4430
+ }
4431
+ ],
4432
+ "isUnique": true,
4433
+ "where": null,
4434
+ "origin": "manual",
4435
+ "name": "mcp_proxy_tokens_hash_idx",
4436
+ "entityType": "indexes",
4437
+ "table": "mcp_proxy_tokens"
4438
+ },
4439
+ {
4440
+ "columns": [
4441
+ {
4442
+ "value": "session_id",
4443
+ "isExpression": false
4444
+ }
4445
+ ],
4446
+ "isUnique": false,
4447
+ "where": null,
4448
+ "origin": "manual",
4449
+ "name": "mcp_proxy_tokens_session_idx",
4450
+ "entityType": "indexes",
4451
+ "table": "mcp_proxy_tokens"
4452
+ },
4453
+ {
4454
+ "columns": [
4455
+ {
4456
+ "value": "name",
4457
+ "isExpression": false
4458
+ }
4459
+ ],
4460
+ "isUnique": true,
4461
+ "where": null,
4462
+ "origin": "manual",
4463
+ "name": "mcp_servers_name_idx",
4464
+ "entityType": "indexes",
4465
+ "table": "mcp_servers"
4466
+ },
4467
+ {
4468
+ "columns": [
4469
+ {
4470
+ "value": "state",
4471
+ "isExpression": false
4472
+ }
4473
+ ],
4474
+ "isUnique": false,
4475
+ "where": null,
4476
+ "origin": "manual",
4477
+ "name": "runner_machines_state_idx",
4478
+ "entityType": "indexes",
4479
+ "table": "runner_machines"
4480
+ },
4481
+ {
4482
+ "columns": [
4483
+ {
4484
+ "value": "worker_id",
4485
+ "isExpression": false
4486
+ }
4487
+ ],
4488
+ "isUnique": false,
4489
+ "where": null,
4490
+ "origin": "manual",
4491
+ "name": "runner_machines_worker_idx",
4492
+ "entityType": "indexes",
4493
+ "table": "runner_machines"
4494
+ },
4495
+ {
4496
+ "columns": [
4497
+ {
4498
+ "value": "host_id",
4499
+ "isExpression": false
4500
+ }
4501
+ ],
4502
+ "isUnique": false,
4503
+ "where": null,
4504
+ "origin": "manual",
4505
+ "name": "runner_snapshots_host_idx",
4506
+ "entityType": "indexes",
4507
+ "table": "runner_snapshots"
4508
+ },
4509
+ {
4510
+ "columns": [
4511
+ {
4512
+ "value": "runner_id",
4513
+ "isExpression": false
4514
+ },
4515
+ {
4516
+ "value": "created_at",
4517
+ "isExpression": false
4518
+ }
4519
+ ],
4520
+ "isUnique": false,
4521
+ "where": null,
4522
+ "origin": "manual",
4523
+ "name": "runner_snapshots_runner_idx",
4524
+ "entityType": "indexes",
4525
+ "table": "runner_snapshots"
4526
+ },
4527
+ {
4528
+ "columns": [
4529
+ {
4530
+ "value": "subscription_id",
4531
+ "isExpression": false
4532
+ }
4533
+ ],
4534
+ "isUnique": false,
4535
+ "where": null,
4536
+ "origin": "manual",
4537
+ "name": "subscription_events_subscription_idx",
4538
+ "entityType": "indexes",
4539
+ "table": "subscription_events"
4540
+ },
4541
+ {
4542
+ "columns": [
4543
+ {
4544
+ "value": "chat_id",
4545
+ "isExpression": false
4546
+ }
4547
+ ],
4548
+ "isUnique": false,
4549
+ "where": null,
4550
+ "origin": "manual",
4551
+ "name": "subscriptions_chat_idx",
4552
+ "entityType": "indexes",
4553
+ "table": "subscriptions"
4554
+ },
4555
+ {
4556
+ "columns": [
4557
+ {
4558
+ "value": "worktree_id",
4559
+ "isExpression": false
4560
+ }
4561
+ ],
4562
+ "isUnique": false,
4563
+ "where": null,
4564
+ "origin": "manual",
4565
+ "name": "subscriptions_worktree_idx",
4566
+ "entityType": "indexes",
4567
+ "table": "subscriptions"
4568
+ },
4569
+ {
4570
+ "columns": [
4571
+ {
4572
+ "value": "hash",
4573
+ "isExpression": false
4574
+ }
4575
+ ],
4576
+ "isUnique": true,
4577
+ "where": null,
4578
+ "origin": "manual",
4579
+ "name": "tokens_hash_idx",
4580
+ "entityType": "indexes",
4581
+ "table": "tokens"
4582
+ },
4583
+ {
4584
+ "columns": [
4585
+ {
4586
+ "value": "host_id",
4587
+ "isExpression": false
4588
+ }
4589
+ ],
4590
+ "isUnique": false,
4591
+ "where": null,
4592
+ "origin": "manual",
4593
+ "name": "tokens_host_idx",
4594
+ "entityType": "indexes",
4595
+ "table": "tokens"
4596
+ },
4597
+ {
4598
+ "columns": [
4599
+ {
4600
+ "value": "device_id",
4601
+ "isExpression": false
4602
+ }
4603
+ ],
4604
+ "isUnique": false,
4605
+ "where": null,
4606
+ "origin": "manual",
4607
+ "name": "tokens_device_idx",
4608
+ "entityType": "indexes",
4609
+ "table": "tokens"
4610
+ },
4611
+ {
4612
+ "columns": [
4613
+ {
4614
+ "value": "created_at",
4615
+ "isExpression": false
4616
+ }
4617
+ ],
4618
+ "isUnique": false,
4619
+ "where": null,
4620
+ "origin": "manual",
4621
+ "name": "tokens_created_at_idx",
4622
+ "entityType": "indexes",
4623
+ "table": "tokens"
4624
+ },
4625
+ {
4626
+ "columns": [
4627
+ {
4628
+ "value": "captured_at",
4629
+ "isExpression": false
4630
+ }
4631
+ ],
4632
+ "isUnique": false,
4633
+ "where": null,
4634
+ "origin": "manual",
4635
+ "name": "usage_events_captured_at_idx",
4636
+ "entityType": "indexes",
4637
+ "table": "usage_events"
4638
+ },
4639
+ {
4640
+ "columns": [
4641
+ {
4642
+ "value": "task_id",
4643
+ "isExpression": false
4644
+ }
4645
+ ],
4646
+ "isUnique": false,
4647
+ "where": null,
4648
+ "origin": "manual",
4649
+ "name": "usage_events_task_idx",
4650
+ "entityType": "indexes",
4651
+ "table": "usage_events"
4652
+ },
4653
+ {
4654
+ "columns": [
4655
+ {
4656
+ "value": "worktree_id",
4657
+ "isExpression": false
4658
+ }
4659
+ ],
4660
+ "isUnique": false,
4661
+ "where": null,
4662
+ "origin": "manual",
4663
+ "name": "usage_events_worktree_idx",
4664
+ "entityType": "indexes",
4665
+ "table": "usage_events"
4666
+ },
4667
+ {
4668
+ "columns": [
4669
+ {
4670
+ "value": "external_key",
4671
+ "isExpression": false
4672
+ }
4673
+ ],
4674
+ "isUnique": true,
4675
+ "where": null,
4676
+ "origin": "manual",
4677
+ "name": "usage_events_external_key_uq",
4678
+ "entityType": "indexes",
4679
+ "table": "usage_events"
4680
+ },
4681
+ {
4682
+ "columns": [
4683
+ {
4684
+ "value": "worktree_id",
4685
+ "isExpression": false
4686
+ },
4687
+ {
4688
+ "value": "agent_type",
4689
+ "isExpression": false
4690
+ }
4691
+ ],
4692
+ "isUnique": true,
4693
+ "where": null,
4694
+ "origin": "manual",
4695
+ "name": "usage_scan_state_pk",
4696
+ "entityType": "indexes",
4697
+ "table": "usage_scan_state"
4698
+ },
4699
+ {
4700
+ "columns": [
4701
+ {
4702
+ "value": "scope",
4703
+ "isExpression": false
4704
+ },
4705
+ {
4706
+ "value": "name",
4707
+ "isExpression": false
4708
+ }
4709
+ ],
4710
+ "isUnique": true,
4711
+ "where": null,
4712
+ "origin": "manual",
4713
+ "name": "vault_items_scope_name_idx",
4714
+ "entityType": "indexes",
4715
+ "table": "vault_items"
4716
+ },
4717
+ {
4718
+ "columns": [
4719
+ {
4720
+ "value": "worktree_id",
4721
+ "isExpression": false
4722
+ },
4723
+ {
4724
+ "value": "created_at",
4725
+ "isExpression": false
4726
+ }
4727
+ ],
4728
+ "isUnique": false,
4729
+ "where": null,
4730
+ "origin": "manual",
4731
+ "name": "worktree_checkpoints_worktree_idx",
4732
+ "entityType": "indexes",
4733
+ "table": "worktree_checkpoints"
4734
+ },
4735
+ {
4736
+ "columns": [
4737
+ {
4738
+ "value": "host_id",
4739
+ "isExpression": false
4740
+ }
4741
+ ],
4742
+ "isUnique": false,
4743
+ "where": null,
4744
+ "origin": "manual",
4745
+ "name": "worktree_sleep_host_idx",
4746
+ "entityType": "indexes",
4747
+ "table": "worktree_sleep"
4748
+ },
4749
+ {
4750
+ "columns": [
4751
+ {
4752
+ "value": "terminal_id",
4753
+ "isExpression": false
4754
+ }
4755
+ ],
4756
+ "isUnique": false,
4757
+ "where": null,
4758
+ "origin": "manual",
4759
+ "name": "worktree_status_sources_terminal_idx",
4760
+ "entityType": "indexes",
4761
+ "table": "worktree_status_sources"
4762
+ }
4763
+ ],
4764
+ "renames": []
4765
+ }