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