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