@band-app/server 0.34.0 → 0.36.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 (152) hide show
  1. package/README.md +1 -1
  2. package/dist/client/assets/TerminalPanel-6-rt7Tzp.js +1 -0
  3. package/dist/client/assets/_basePickBy-D1cW8RfA.js +1 -0
  4. package/dist/client/assets/{_baseUniq-C_y7bQp7.js → _baseUniq-DCImWVn2.js} +1 -1
  5. package/dist/client/assets/{arc-DHUj8i-C.js → arc-Jv1JrzDM.js} +1 -1
  6. package/dist/client/assets/{architectureDiagram-VXUJARFQ-D4Gtstny.js → architectureDiagram-VXUJARFQ-DJTHV1y7.js} +1 -1
  7. package/dist/client/assets/{blockDiagram-VD42YOAC-BnvoqD8n.js → blockDiagram-VD42YOAC-Cj_bRlht.js} +1 -1
  8. package/dist/client/assets/{c4Diagram-YG6GDRKO-B3kFa8rY.js → c4Diagram-YG6GDRKO-xPUaEy7L.js} +1 -1
  9. package/dist/client/assets/channel-BObJvFJf.js +1 -0
  10. package/dist/client/assets/{chunk-4BX2VUAB-Cry6RdNE.js → chunk-4BX2VUAB-DWHXL8Ea.js} +1 -1
  11. package/dist/client/assets/{chunk-55IACEB6-B2Hcf4yS.js → chunk-55IACEB6-Bd7QCFS0.js} +1 -1
  12. package/dist/client/assets/{chunk-B4BG7PRW-BqTOv_Q4.js → chunk-B4BG7PRW-By14k0HA.js} +1 -1
  13. package/dist/client/assets/{chunk-DI55MBZ5-BHJn8-Rw.js → chunk-DI55MBZ5-D6pCQEj8.js} +1 -1
  14. package/dist/client/assets/{chunk-FMBD7UC4-D2HIyXOe.js → chunk-FMBD7UC4-DYeXE4xT.js} +1 -1
  15. package/dist/client/assets/{chunk-QN33PNHL-BSLNMHFq.js → chunk-QN33PNHL-DcLmw7kN.js} +1 -1
  16. package/dist/client/assets/{chunk-QZHKN3VN-BuBnSFe-.js → chunk-QZHKN3VN-CRzbN_tm.js} +1 -1
  17. package/dist/client/assets/{chunk-TZMSLE5B-DiQMwPjF.js → chunk-TZMSLE5B-B75f53t3.js} +1 -1
  18. package/dist/client/assets/classDiagram-2ON5EDUG-B4j3Xs8O.js +1 -0
  19. package/dist/client/assets/classDiagram-v2-WZHVMYZB-B4j3Xs8O.js +1 -0
  20. package/dist/client/assets/clone-D1oJjm-k.js +1 -0
  21. package/dist/client/assets/{cose-bilkent-S5V4N54A-Db5PXk3I.js → cose-bilkent-S5V4N54A-BkAK4OL7.js} +1 -1
  22. package/dist/client/assets/{dagre-6UL2VRFP-COrq1-o3.js → dagre-6UL2VRFP-DncmS6YY.js} +1 -1
  23. package/dist/client/assets/{diagram-PSM6KHXK-BEFxHLpj.js → diagram-PSM6KHXK-Cn4L1emn.js} +1 -1
  24. package/dist/client/assets/{diagram-QEK2KX5R-K9i-foPa.js → diagram-QEK2KX5R-PfH1MBS7.js} +1 -1
  25. package/dist/client/assets/{diagram-S2PKOQOG-5WsQ8w0M.js → diagram-S2PKOQOG-DIyYe2yo.js} +1 -1
  26. package/dist/client/assets/{erDiagram-Q2GNP2WA-CzYts47e.js → erDiagram-Q2GNP2WA-DWSS5ilU.js} +1 -1
  27. package/dist/client/assets/{flowDiagram-NV44I4VS-BHSMXKBN.js → flowDiagram-NV44I4VS-D8sgfoe8.js} +1 -1
  28. package/dist/client/assets/{ganttDiagram-JELNMOA3-lrI55nIi.js → ganttDiagram-JELNMOA3-CY0uwMQo.js} +1 -1
  29. package/dist/client/assets/{gitGraphDiagram-V2S2FVAM-BR9i1nFI.js → gitGraphDiagram-V2S2FVAM-C5HEaqeu.js} +1 -1
  30. package/dist/client/assets/{graph-CHzn7hGd.js → graph-CHdAVft2.js} +1 -1
  31. package/dist/client/assets/{highlighted-body-B3W2YXNL-pf8CG4LE.js → highlighted-body-B3W2YXNL-fz7u7Bcv.js} +1 -1
  32. package/dist/client/assets/{index-C4WPBk8W.js → index-8d72uArR.js} +1 -1
  33. package/dist/client/assets/{index-CAapUiFF.js → index-BooiqIu5.js} +1 -1
  34. package/dist/client/assets/{index-iDhzXhLS.js → index-Clbffg3I.js} +1 -1
  35. package/dist/client/assets/{index-DRbvI3mJ.js → index-CrBImo8f.js} +1 -1
  36. package/dist/client/assets/{index-C_k8X250.js → index-D-HgfXJR.js} +1 -1
  37. package/dist/client/assets/{index-BFvt5Udm.js → index-D6YofG76.js} +1 -1
  38. package/dist/client/assets/{index-CprTy2ja.js → index-DMwXny-D.js} +1 -1
  39. package/dist/client/assets/{index-sjjEn2vn.js → index-DQOFyUau.js} +1 -1
  40. package/dist/client/assets/{index-Cg2goL7s.js → index-DWJFPU_5.js} +1 -1
  41. package/dist/client/assets/{index-B1M1Nr1U.js → index-DZYkmDwN.js} +1 -1
  42. package/dist/client/assets/{index-DOz7KiMS.js → index-Dz2ryCk3.js} +1 -1
  43. package/dist/client/assets/{index-BZejpLSO.js → index-Ru2Dc5A_.js} +1 -1
  44. package/dist/client/assets/{index-B3_tKObw.js → index-xQGEDauU.js} +1 -1
  45. package/dist/client/assets/{infoDiagram-HS3SLOUP-CPWEaaXS.js → infoDiagram-HS3SLOUP-D0hp75aO.js} +1 -1
  46. package/dist/client/assets/{journeyDiagram-XKPGCS4Q-IpZXRX_B.js → journeyDiagram-XKPGCS4Q-91HWCjRU.js} +1 -1
  47. package/dist/client/assets/{kanban-definition-3W4ZIXB7-BcAUFQlt.js → kanban-definition-3W4ZIXB7-BzioXfF6.js} +1 -1
  48. package/dist/client/assets/{layout-CIxVWn8u.js → layout-DfQbFp33.js} +1 -1
  49. package/dist/client/assets/main-CXgf0iaP.css +1 -0
  50. package/dist/client/assets/{main-D13cBYQG.js → main-Dqe_6Q3-.js} +246 -241
  51. package/dist/client/assets/{mindmap-definition-VGOIOE7T-CX1T1sUN.js → mindmap-definition-VGOIOE7T-C_jxHaxD.js} +1 -1
  52. package/dist/client/assets/{pieDiagram-ADFJNKIX-DyLrkF8x.js → pieDiagram-ADFJNKIX-Kn_LfuP0.js} +1 -1
  53. package/dist/client/assets/{quadrantDiagram-AYHSOK5B-B_-kuE5u.js → quadrantDiagram-AYHSOK5B-CbeGV886.js} +1 -1
  54. package/dist/client/assets/{requirementDiagram-UZGBJVZJ-CW2Pkh0d.js → requirementDiagram-UZGBJVZJ-COoa_fat.js} +1 -1
  55. package/dist/client/assets/{sankeyDiagram-TZEHDZUN-SH3i00se.js → sankeyDiagram-TZEHDZUN-TXccJBqI.js} +1 -1
  56. package/dist/client/assets/{sequenceDiagram-WL72ISMW-reJi3BTh.js → sequenceDiagram-WL72ISMW-Llnk43Jx.js} +1 -1
  57. package/dist/client/assets/{stateDiagram-FKZM4ZOC-CjXJfQgu.js → stateDiagram-FKZM4ZOC-DsQWz-Kg.js} +1 -1
  58. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-BZgMRt9_.js +1 -0
  59. package/dist/client/assets/{timeline-definition-IT6M3QCI-B96AUWWH.js → timeline-definition-IT6M3QCI-B16mbiqF.js} +1 -1
  60. package/dist/client/assets/{treemap-GDKQZRPO-DoFQQo5a.js → treemap-GDKQZRPO-CN_Il1TD.js} +1 -1
  61. package/dist/client/assets/{workspace._workspaceId-ftjuXabJ.js → workspace._workspaceId-CXgdRFSq.js} +1 -1
  62. package/dist/client/assets/workspace._workspaceId-DJz9r6Bk.js +1 -0
  63. package/dist/client/assets/{xychartDiagram-PRI3JC2R-v-oqC6We.js → xychartDiagram-PRI3JC2R-RSssrHeJ.js} +1 -1
  64. package/dist/migrations/20260928064736_agent_status_sources/migration.sql +10 -0
  65. package/dist/migrations/20260928064736_agent_status_sources/snapshot.json +1841 -0
  66. package/dist/migrations/20260928065233_branch_status_pr/migration.sql +1 -0
  67. package/dist/migrations/20260928065233_branch_status_pr/snapshot.json +1773 -0
  68. package/dist/openapi.json +315 -46
  69. package/dist/server/assets/{TerminalPanel-DJnQglDZ.js → TerminalPanel-BE1IBqp5.js} +6 -4
  70. package/dist/server/assets/{_basePickBy-RSzPH-5U.js → _basePickBy-CHo3_xmm.js} +2 -2
  71. package/dist/server/assets/{_baseUniq-Cp_Qm3uS.js → _baseUniq-CSupPFs6.js} +1 -1
  72. package/dist/server/assets/_tanstack-start-manifest_v-Cnfw-Mtl.js +4 -0
  73. package/dist/server/assets/{arc-BAImyMJ-.js → arc-D44kAr9U.js} +1 -1
  74. package/dist/server/assets/{architecture-7HQA4BMR-BldYj4EA.js → architecture-7HQA4BMR-vXckakYr.js} +6 -6
  75. package/dist/server/assets/{architectureDiagram-VXUJARFQ-iEEYNhTp.js → architectureDiagram-VXUJARFQ-CR2ITyvh.js} +6 -6
  76. package/dist/server/assets/{blockDiagram-VD42YOAC-CpXPlM5p.js → blockDiagram-VD42YOAC-DEeR9cDU.js} +6 -6
  77. package/dist/server/assets/{c4Diagram-YG6GDRKO-C0jPSgch.js → c4Diagram-YG6GDRKO-DBRRCTXb.js} +2 -2
  78. package/dist/server/assets/{channel-BXmVLq-u.js → channel-C5tRsfJG.js} +1 -1
  79. package/dist/server/assets/{chunk-4BX2VUAB-BRh-MKqM.js → chunk-4BX2VUAB-bf7NCd3y.js} +1 -1
  80. package/dist/server/assets/{chunk-55IACEB6-D-II5Uvr.js → chunk-55IACEB6-DWdn6VWI.js} +1 -1
  81. package/dist/server/assets/{chunk-B4BG7PRW-CLc3MoS-.js → chunk-B4BG7PRW-Dkh6IKnk.js} +4 -4
  82. package/dist/server/assets/{chunk-DI55MBZ5-rIuRlmCw.js → chunk-DI55MBZ5-DBWVZkkA.js} +3 -3
  83. package/dist/server/assets/{chunk-FMBD7UC4-CwpJS1jy.js → chunk-FMBD7UC4-BdS42WOu.js} +1 -1
  84. package/dist/server/assets/{chunk-QN33PNHL-DDjZ9iRW.js → chunk-QN33PNHL-B8Ct7vG8.js} +1 -1
  85. package/dist/server/assets/{chunk-QZHKN3VN-CqXxabdj.js → chunk-QZHKN3VN-B9nHGxsX.js} +1 -1
  86. package/dist/server/assets/{chunk-TZMSLE5B-YmXbykHL.js → chunk-TZMSLE5B-BlzccDyU.js} +1 -1
  87. package/dist/server/assets/{classDiagram-v2-WZHVMYZB-B5goRv2J.js → classDiagram-2ON5EDUG-Chmrw_oF.js} +5 -5
  88. package/dist/server/assets/{classDiagram-2ON5EDUG-B5goRv2J.js → classDiagram-v2-WZHVMYZB-Chmrw_oF.js} +5 -5
  89. package/dist/server/assets/{clone-8krOB2fX.js → clone-aEnx_Sae.js} +1 -1
  90. package/dist/server/assets/{cose-bilkent-S5V4N54A-CT0fXZG5.js → cose-bilkent-S5V4N54A-Bc5NoQXq.js} +1 -1
  91. package/dist/server/assets/{dagre-6UL2VRFP-BKnoyRYf.js → dagre-6UL2VRFP-H_kNmEPM.js} +6 -6
  92. package/dist/server/assets/{diagram-PSM6KHXK-3yiYIfYG.js → diagram-PSM6KHXK-BcsANBT1.js} +7 -7
  93. package/dist/server/assets/{diagram-QEK2KX5R-BZS0Hd_d.js → diagram-QEK2KX5R-k-zPaYMJ.js} +6 -6
  94. package/dist/server/assets/{diagram-S2PKOQOG-BkGWooM_.js → diagram-S2PKOQOG-DjbSY-6m.js} +6 -6
  95. package/dist/server/assets/{erDiagram-Q2GNP2WA-BlJW8Tz3.js → erDiagram-Q2GNP2WA-CydybEEO.js} +4 -4
  96. package/dist/server/assets/{flowDiagram-NV44I4VS-BGWlA0EG.js → flowDiagram-NV44I4VS-tA99onXp.js} +5 -5
  97. package/dist/server/assets/{ganttDiagram-JELNMOA3-Cf3LALG6.js → ganttDiagram-JELNMOA3-DsJKSbMm.js} +1 -1
  98. package/dist/server/assets/{gitGraph-G5XIXVHT-B9S3heYN.js → gitGraph-G5XIXVHT-BNHu-oQ-.js} +6 -6
  99. package/dist/server/assets/{gitGraphDiagram-V2S2FVAM-C4_f3rx4.js → gitGraphDiagram-V2S2FVAM-CzPNHl73.js} +7 -7
  100. package/dist/server/assets/{graph-DYj8A2bp.js → graph-BnMaPr50.js} +2 -2
  101. package/dist/server/assets/{highlighted-body-B3W2YXNL-Df68BBlw.js → highlighted-body-B3W2YXNL-BdiOjvlf.js} +1 -1
  102. package/dist/server/assets/{index-BiwgNHMQ.js → index-B5Ou6PeY.js} +1 -1
  103. package/dist/server/assets/{index-B5gG6MB7.js → index-BDjoQgaj.js} +1 -1
  104. package/dist/server/assets/{index-CxMB5JY7.js → index-BbZG02I3.js} +1 -1
  105. package/dist/server/assets/{index-DyUjxC3i.js → index-BcHVcca2.js} +1 -1
  106. package/dist/server/assets/{index-CMq_WJJ7.js → index-BdUQ01QB.js} +1 -1
  107. package/dist/server/assets/{index-BYKwSvPL.js → index-BuEcvcgH.js} +1 -1
  108. package/dist/server/assets/{index-CISg2hqm.js → index-C1sJw8Wd.js} +1 -1
  109. package/dist/server/assets/{index-CopZNvBd.js → index-CGb2LUtT.js} +1 -1
  110. package/dist/server/assets/{index-ChV05j8R.js → index-CPWcRp4N.js} +1 -1
  111. package/dist/server/assets/{index-BDEhO1ya.js → index-CvQ9Ebcc.js} +1 -1
  112. package/dist/server/assets/{index-DIuiSZSj.js → index-DKZU081P.js} +1 -1
  113. package/dist/server/assets/{index-DqsmbFGQ.js → index-DYrcmtj8.js} +1 -1
  114. package/dist/server/assets/{index-7UlzI_dK.js → index-Z2HsI7K-.js} +1 -1
  115. package/dist/server/assets/{info-VBDWY6EO-BmkTQbMv.js → info-VBDWY6EO-C24hC3ph.js} +6 -6
  116. package/dist/server/assets/{infoDiagram-HS3SLOUP-CKR2MY9e.js → infoDiagram-HS3SLOUP-CSvzttKw.js} +5 -5
  117. package/dist/server/assets/{journeyDiagram-XKPGCS4Q-DPsUHcaJ.js → journeyDiagram-XKPGCS4Q-Bb7ADiou.js} +4 -4
  118. package/dist/server/assets/{kanban-definition-3W4ZIXB7-C5QIVVhD.js → kanban-definition-3W4ZIXB7-BCi9DXfZ.js} +2 -2
  119. package/dist/server/assets/{layout-R-e4wg8W.js → layout-CBoh_yzS.js} +4 -4
  120. package/dist/server/assets/{mermaid-3ZIDBTTL-ByDi8HnK.js → mermaid-3ZIDBTTL-DrE5sAWk.js} +1 -1
  121. package/dist/server/assets/{mermaid-parser.core-C9wm222O.js → mermaid-parser.core-C6_1Cugd.js} +11 -11
  122. package/dist/server/assets/{mindmap-definition-VGOIOE7T-1gh-bXjE.js → mindmap-definition-VGOIOE7T-yqPdoOIb.js} +3 -3
  123. package/dist/server/assets/{packet-DYOGHKS2-Bxy3z0_p.js → packet-DYOGHKS2-DJmc50nE.js} +6 -6
  124. package/dist/server/assets/{pie-VRWISCQL-BlDk8RiA.js → pie-VRWISCQL-CvrR2-yk.js} +6 -6
  125. package/dist/server/assets/{pieDiagram-ADFJNKIX-CwnESx-9.js → pieDiagram-ADFJNKIX-CFOW6PnN.js} +7 -7
  126. package/dist/server/assets/{quadrantDiagram-AYHSOK5B-B-US3olm.js → quadrantDiagram-AYHSOK5B-3A-aZNyC.js} +1 -1
  127. package/dist/server/assets/{radar-ZZBFDIW7-Dy71dV8F.js → radar-ZZBFDIW7-Cfbkh5bz.js} +6 -6
  128. package/dist/server/assets/{requirementDiagram-UZGBJVZJ-DZZQz_qm.js → requirementDiagram-UZGBJVZJ-Dlll26uf.js} +3 -3
  129. package/dist/server/assets/{router-C6awDsR6.js → router-B261twKF.js} +2435 -1373
  130. package/dist/server/assets/{sankeyDiagram-TZEHDZUN-DMIqo7mj.js → sankeyDiagram-TZEHDZUN-BQaOXs3v.js} +1 -1
  131. package/dist/server/assets/{sequenceDiagram-WL72ISMW-B8koBIGl.js → sequenceDiagram-WL72ISMW-BCAnfOwu.js} +3 -3
  132. package/dist/server/assets/{stateDiagram-FKZM4ZOC-BHze-gTI.js → stateDiagram-FKZM4ZOC-BqJZtxdF.js} +8 -8
  133. package/dist/server/assets/{stateDiagram-v2-4FDKWEC3-DRFmfjyi.js → stateDiagram-v2-4FDKWEC3-1ifEjgYq.js} +4 -4
  134. package/dist/server/assets/{timeline-definition-IT6M3QCI-CEkzxLSR.js → timeline-definition-IT6M3QCI-CAWbczQG.js} +2 -2
  135. package/dist/server/assets/{treemap-GDKQZRPO-0VBmxaAW.js → treemap-GDKQZRPO-BK5fWRQl.js} +6 -6
  136. package/dist/server/assets/{workspace._workspaceId-C7ra183B.js → workspace._workspaceId-C895SrvA.js} +1 -1
  137. package/dist/server/assets/{workspace._workspaceId-BtMBxm9H.js → workspace._workspaceId-DJjGZFKN.js} +10 -1
  138. package/dist/server/assets/{xychartDiagram-PRI3JC2R-BQCIxu2L.js → xychartDiagram-PRI3JC2R-DfSubvZj.js} +1 -1
  139. package/dist/server/server.js +2 -2
  140. package/dist/start-server.mjs +3783 -2373
  141. package/dist/terminal-daemon.mjs +1 -0
  142. package/package.json +5 -5
  143. package/dist/client/assets/TerminalPanel-BlzUBzmR.js +0 -1
  144. package/dist/client/assets/_basePickBy-78hIlKHL.js +0 -1
  145. package/dist/client/assets/channel-C2tC7nD9.js +0 -1
  146. package/dist/client/assets/classDiagram-2ON5EDUG-BWbZZspv.js +0 -1
  147. package/dist/client/assets/classDiagram-v2-WZHVMYZB-BWbZZspv.js +0 -1
  148. package/dist/client/assets/clone-BxWL4DUp.js +0 -1
  149. package/dist/client/assets/main-Bx2dZBHM.css +0 -1
  150. package/dist/client/assets/stateDiagram-v2-4FDKWEC3-XtJwX8Ka.js +0 -1
  151. package/dist/client/assets/workspace._workspaceId-XsdwFk5t.js +0 -1
  152. package/dist/server/assets/_tanstack-start-manifest_v-GQWxvAsR.js +0 -4
@@ -0,0 +1,1841 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "f452e03b-841a-4dbe-9250-42b51eeda6d6",
5
+ "prevIds": [
6
+ "d8c37670-11b4-48f4-ae59-82c51beb6132"
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": "panel_states",
39
+ "entityType": "tables"
40
+ },
41
+ {
42
+ "name": "project_browser_profiles",
43
+ "entityType": "tables"
44
+ },
45
+ {
46
+ "name": "projects",
47
+ "entityType": "tables"
48
+ },
49
+ {
50
+ "name": "tasks",
51
+ "entityType": "tables"
52
+ },
53
+ {
54
+ "name": "usage_events",
55
+ "entityType": "tables"
56
+ },
57
+ {
58
+ "name": "usage_scan_state",
59
+ "entityType": "tables"
60
+ },
61
+ {
62
+ "name": "workspace_status_sources",
63
+ "entityType": "tables"
64
+ },
65
+ {
66
+ "name": "workspace_statuses",
67
+ "entityType": "tables"
68
+ },
69
+ {
70
+ "name": "worktrees",
71
+ "entityType": "tables"
72
+ },
73
+ {
74
+ "type": "text",
75
+ "notNull": false,
76
+ "autoincrement": false,
77
+ "default": null,
78
+ "generated": null,
79
+ "name": "id",
80
+ "entityType": "columns",
81
+ "table": "agent_sessions"
82
+ },
83
+ {
84
+ "type": "text",
85
+ "notNull": true,
86
+ "autoincrement": false,
87
+ "default": null,
88
+ "generated": null,
89
+ "name": "workspace_id",
90
+ "entityType": "columns",
91
+ "table": "agent_sessions"
92
+ },
93
+ {
94
+ "type": "text",
95
+ "notNull": true,
96
+ "autoincrement": false,
97
+ "default": null,
98
+ "generated": null,
99
+ "name": "agent_definition_id",
100
+ "entityType": "columns",
101
+ "table": "agent_sessions"
102
+ },
103
+ {
104
+ "type": "text",
105
+ "notNull": false,
106
+ "autoincrement": false,
107
+ "default": null,
108
+ "generated": null,
109
+ "name": "provider_session_id",
110
+ "entityType": "columns",
111
+ "table": "agent_sessions"
112
+ },
113
+ {
114
+ "type": "text",
115
+ "notNull": true,
116
+ "autoincrement": false,
117
+ "default": null,
118
+ "generated": null,
119
+ "name": "mode",
120
+ "entityType": "columns",
121
+ "table": "agent_sessions"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "notNull": false,
126
+ "autoincrement": false,
127
+ "default": null,
128
+ "generated": null,
129
+ "name": "chat_id",
130
+ "entityType": "columns",
131
+ "table": "agent_sessions"
132
+ },
133
+ {
134
+ "type": "text",
135
+ "notNull": false,
136
+ "autoincrement": false,
137
+ "default": null,
138
+ "generated": null,
139
+ "name": "terminal_id",
140
+ "entityType": "columns",
141
+ "table": "agent_sessions"
142
+ },
143
+ {
144
+ "type": "text",
145
+ "notNull": true,
146
+ "autoincrement": false,
147
+ "default": null,
148
+ "generated": null,
149
+ "name": "state",
150
+ "entityType": "columns",
151
+ "table": "agent_sessions"
152
+ },
153
+ {
154
+ "type": "integer",
155
+ "notNull": true,
156
+ "autoincrement": false,
157
+ "default": null,
158
+ "generated": null,
159
+ "name": "created_at",
160
+ "entityType": "columns",
161
+ "table": "agent_sessions"
162
+ },
163
+ {
164
+ "type": "integer",
165
+ "notNull": true,
166
+ "autoincrement": false,
167
+ "default": null,
168
+ "generated": null,
169
+ "name": "updated_at",
170
+ "entityType": "columns",
171
+ "table": "agent_sessions"
172
+ },
173
+ {
174
+ "type": "text",
175
+ "notNull": false,
176
+ "autoincrement": false,
177
+ "default": null,
178
+ "generated": null,
179
+ "name": "workspace_id",
180
+ "entityType": "columns",
181
+ "table": "branch_statuses"
182
+ },
183
+ {
184
+ "type": "integer",
185
+ "notNull": true,
186
+ "autoincrement": false,
187
+ "default": null,
188
+ "generated": null,
189
+ "name": "git_dirty",
190
+ "entityType": "columns",
191
+ "table": "branch_statuses"
192
+ },
193
+ {
194
+ "type": "integer",
195
+ "notNull": true,
196
+ "autoincrement": false,
197
+ "default": null,
198
+ "generated": null,
199
+ "name": "git_conflict",
200
+ "entityType": "columns",
201
+ "table": "branch_statuses"
202
+ },
203
+ {
204
+ "type": "integer",
205
+ "notNull": true,
206
+ "autoincrement": false,
207
+ "default": null,
208
+ "generated": null,
209
+ "name": "git_ahead",
210
+ "entityType": "columns",
211
+ "table": "branch_statuses"
212
+ },
213
+ {
214
+ "type": "integer",
215
+ "notNull": true,
216
+ "autoincrement": false,
217
+ "default": null,
218
+ "generated": null,
219
+ "name": "git_behind",
220
+ "entityType": "columns",
221
+ "table": "branch_statuses"
222
+ },
223
+ {
224
+ "type": "text",
225
+ "notNull": true,
226
+ "autoincrement": false,
227
+ "default": null,
228
+ "generated": null,
229
+ "name": "git_sync_state",
230
+ "entityType": "columns",
231
+ "table": "branch_statuses"
232
+ },
233
+ {
234
+ "type": "text",
235
+ "notNull": true,
236
+ "autoincrement": false,
237
+ "default": null,
238
+ "generated": null,
239
+ "name": "ci_state",
240
+ "entityType": "columns",
241
+ "table": "branch_statuses"
242
+ },
243
+ {
244
+ "type": "text",
245
+ "notNull": false,
246
+ "autoincrement": false,
247
+ "default": null,
248
+ "generated": null,
249
+ "name": "ci_url",
250
+ "entityType": "columns",
251
+ "table": "branch_statuses"
252
+ },
253
+ {
254
+ "type": "integer",
255
+ "notNull": true,
256
+ "autoincrement": false,
257
+ "default": null,
258
+ "generated": null,
259
+ "name": "updated_at",
260
+ "entityType": "columns",
261
+ "table": "branch_statuses"
262
+ },
263
+ {
264
+ "type": "integer",
265
+ "notNull": false,
266
+ "autoincrement": true,
267
+ "default": null,
268
+ "generated": null,
269
+ "name": "id",
270
+ "entityType": "columns",
271
+ "table": "browser_history"
272
+ },
273
+ {
274
+ "type": "text",
275
+ "notNull": true,
276
+ "autoincrement": false,
277
+ "default": null,
278
+ "generated": null,
279
+ "name": "workspace_id",
280
+ "entityType": "columns",
281
+ "table": "browser_history"
282
+ },
283
+ {
284
+ "type": "text",
285
+ "notNull": true,
286
+ "autoincrement": false,
287
+ "default": null,
288
+ "generated": null,
289
+ "name": "url",
290
+ "entityType": "columns",
291
+ "table": "browser_history"
292
+ },
293
+ {
294
+ "type": "text",
295
+ "notNull": false,
296
+ "autoincrement": false,
297
+ "default": null,
298
+ "generated": null,
299
+ "name": "title",
300
+ "entityType": "columns",
301
+ "table": "browser_history"
302
+ },
303
+ {
304
+ "type": "text",
305
+ "notNull": false,
306
+ "autoincrement": false,
307
+ "default": null,
308
+ "generated": null,
309
+ "name": "favicon_url",
310
+ "entityType": "columns",
311
+ "table": "browser_history"
312
+ },
313
+ {
314
+ "type": "integer",
315
+ "notNull": true,
316
+ "autoincrement": false,
317
+ "default": null,
318
+ "generated": null,
319
+ "name": "last_visited_at",
320
+ "entityType": "columns",
321
+ "table": "browser_history"
322
+ },
323
+ {
324
+ "type": "integer",
325
+ "notNull": true,
326
+ "autoincrement": false,
327
+ "default": "1",
328
+ "generated": null,
329
+ "name": "visit_count",
330
+ "entityType": "columns",
331
+ "table": "browser_history"
332
+ },
333
+ {
334
+ "type": "text",
335
+ "notNull": false,
336
+ "autoincrement": false,
337
+ "default": null,
338
+ "generated": null,
339
+ "name": "id",
340
+ "entityType": "columns",
341
+ "table": "browser_profiles"
342
+ },
343
+ {
344
+ "type": "text",
345
+ "notNull": true,
346
+ "autoincrement": false,
347
+ "default": null,
348
+ "generated": null,
349
+ "name": "name",
350
+ "entityType": "columns",
351
+ "table": "browser_profiles"
352
+ },
353
+ {
354
+ "type": "text",
355
+ "notNull": false,
356
+ "autoincrement": false,
357
+ "default": null,
358
+ "generated": null,
359
+ "name": "source",
360
+ "entityType": "columns",
361
+ "table": "browser_profiles"
362
+ },
363
+ {
364
+ "type": "integer",
365
+ "notNull": true,
366
+ "autoincrement": false,
367
+ "default": null,
368
+ "generated": null,
369
+ "name": "created_at",
370
+ "entityType": "columns",
371
+ "table": "browser_profiles"
372
+ },
373
+ {
374
+ "type": "integer",
375
+ "notNull": false,
376
+ "autoincrement": true,
377
+ "default": null,
378
+ "generated": null,
379
+ "name": "id",
380
+ "entityType": "columns",
381
+ "table": "chat_events"
382
+ },
383
+ {
384
+ "type": "text",
385
+ "notNull": true,
386
+ "autoincrement": false,
387
+ "default": null,
388
+ "generated": null,
389
+ "name": "chat_id",
390
+ "entityType": "columns",
391
+ "table": "chat_events"
392
+ },
393
+ {
394
+ "type": "text",
395
+ "notNull": true,
396
+ "autoincrement": false,
397
+ "default": null,
398
+ "generated": null,
399
+ "name": "session_id",
400
+ "entityType": "columns",
401
+ "table": "chat_events"
402
+ },
403
+ {
404
+ "type": "integer",
405
+ "notNull": true,
406
+ "autoincrement": false,
407
+ "default": null,
408
+ "generated": null,
409
+ "name": "revision",
410
+ "entityType": "columns",
411
+ "table": "chat_events"
412
+ },
413
+ {
414
+ "type": "text",
415
+ "notNull": true,
416
+ "autoincrement": false,
417
+ "default": null,
418
+ "generated": null,
419
+ "name": "kind",
420
+ "entityType": "columns",
421
+ "table": "chat_events"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "notNull": false,
426
+ "autoincrement": false,
427
+ "default": null,
428
+ "generated": null,
429
+ "name": "update_kind",
430
+ "entityType": "columns",
431
+ "table": "chat_events"
432
+ },
433
+ {
434
+ "type": "text",
435
+ "notNull": false,
436
+ "autoincrement": false,
437
+ "default": null,
438
+ "generated": null,
439
+ "name": "message_id",
440
+ "entityType": "columns",
441
+ "table": "chat_events"
442
+ },
443
+ {
444
+ "type": "text",
445
+ "notNull": false,
446
+ "autoincrement": false,
447
+ "default": null,
448
+ "generated": null,
449
+ "name": "tool_call_id",
450
+ "entityType": "columns",
451
+ "table": "chat_events"
452
+ },
453
+ {
454
+ "type": "integer",
455
+ "notNull": true,
456
+ "autoincrement": false,
457
+ "default": "false",
458
+ "generated": null,
459
+ "name": "turn_start",
460
+ "entityType": "columns",
461
+ "table": "chat_events"
462
+ },
463
+ {
464
+ "type": "text",
465
+ "notNull": true,
466
+ "autoincrement": false,
467
+ "default": null,
468
+ "generated": null,
469
+ "name": "payload",
470
+ "entityType": "columns",
471
+ "table": "chat_events"
472
+ },
473
+ {
474
+ "type": "integer",
475
+ "notNull": true,
476
+ "autoincrement": false,
477
+ "default": null,
478
+ "generated": null,
479
+ "name": "created_at",
480
+ "entityType": "columns",
481
+ "table": "chat_events"
482
+ },
483
+ {
484
+ "type": "text",
485
+ "notNull": true,
486
+ "autoincrement": false,
487
+ "default": null,
488
+ "generated": null,
489
+ "name": "key",
490
+ "entityType": "columns",
491
+ "table": "client_state"
492
+ },
493
+ {
494
+ "type": "text",
495
+ "notNull": true,
496
+ "autoincrement": false,
497
+ "default": null,
498
+ "generated": null,
499
+ "name": "scope",
500
+ "entityType": "columns",
501
+ "table": "client_state"
502
+ },
503
+ {
504
+ "type": "text",
505
+ "notNull": false,
506
+ "autoincrement": false,
507
+ "default": null,
508
+ "generated": null,
509
+ "name": "workspace_id",
510
+ "entityType": "columns",
511
+ "table": "client_state"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "notNull": false,
516
+ "autoincrement": false,
517
+ "default": null,
518
+ "generated": null,
519
+ "name": "value",
520
+ "entityType": "columns",
521
+ "table": "client_state"
522
+ },
523
+ {
524
+ "type": "integer",
525
+ "notNull": true,
526
+ "autoincrement": false,
527
+ "default": null,
528
+ "generated": null,
529
+ "name": "version",
530
+ "entityType": "columns",
531
+ "table": "client_state"
532
+ },
533
+ {
534
+ "type": "integer",
535
+ "notNull": true,
536
+ "autoincrement": false,
537
+ "default": null,
538
+ "generated": null,
539
+ "name": "updated_at",
540
+ "entityType": "columns",
541
+ "table": "client_state"
542
+ },
543
+ {
544
+ "type": "text",
545
+ "notNull": false,
546
+ "autoincrement": false,
547
+ "default": null,
548
+ "generated": null,
549
+ "name": "id",
550
+ "entityType": "columns",
551
+ "table": "cronjobs"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "notNull": true,
556
+ "autoincrement": false,
557
+ "default": null,
558
+ "generated": null,
559
+ "name": "file_key",
560
+ "entityType": "columns",
561
+ "table": "cronjobs"
562
+ },
563
+ {
564
+ "type": "text",
565
+ "notNull": true,
566
+ "autoincrement": false,
567
+ "default": null,
568
+ "generated": null,
569
+ "name": "name",
570
+ "entityType": "columns",
571
+ "table": "cronjobs"
572
+ },
573
+ {
574
+ "type": "text",
575
+ "notNull": true,
576
+ "autoincrement": false,
577
+ "default": null,
578
+ "generated": null,
579
+ "name": "prompt",
580
+ "entityType": "columns",
581
+ "table": "cronjobs"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "notNull": true,
586
+ "autoincrement": false,
587
+ "default": null,
588
+ "generated": null,
589
+ "name": "cron_expression",
590
+ "entityType": "columns",
591
+ "table": "cronjobs"
592
+ },
593
+ {
594
+ "type": "text",
595
+ "notNull": true,
596
+ "autoincrement": false,
597
+ "default": null,
598
+ "generated": null,
599
+ "name": "scope",
600
+ "entityType": "columns",
601
+ "table": "cronjobs"
602
+ },
603
+ {
604
+ "type": "text",
605
+ "notNull": false,
606
+ "autoincrement": false,
607
+ "default": null,
608
+ "generated": null,
609
+ "name": "workspace_id",
610
+ "entityType": "columns",
611
+ "table": "cronjobs"
612
+ },
613
+ {
614
+ "type": "text",
615
+ "notNull": true,
616
+ "autoincrement": false,
617
+ "default": "'chat'",
618
+ "generated": null,
619
+ "name": "via",
620
+ "entityType": "columns",
621
+ "table": "cronjobs"
622
+ },
623
+ {
624
+ "type": "integer",
625
+ "notNull": true,
626
+ "autoincrement": false,
627
+ "default": "true",
628
+ "generated": null,
629
+ "name": "enabled",
630
+ "entityType": "columns",
631
+ "table": "cronjobs"
632
+ },
633
+ {
634
+ "type": "text",
635
+ "notNull": true,
636
+ "autoincrement": false,
637
+ "default": null,
638
+ "generated": null,
639
+ "name": "created_at",
640
+ "entityType": "columns",
641
+ "table": "cronjobs"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "notNull": false,
646
+ "autoincrement": false,
647
+ "default": null,
648
+ "generated": null,
649
+ "name": "last_run_at",
650
+ "entityType": "columns",
651
+ "table": "cronjobs"
652
+ },
653
+ {
654
+ "type": "text",
655
+ "notNull": false,
656
+ "autoincrement": false,
657
+ "default": null,
658
+ "generated": null,
659
+ "name": "last_run_status",
660
+ "entityType": "columns",
661
+ "table": "cronjobs"
662
+ },
663
+ {
664
+ "type": "text",
665
+ "notNull": false,
666
+ "autoincrement": false,
667
+ "default": null,
668
+ "generated": null,
669
+ "name": "last_terminal_id",
670
+ "entityType": "columns",
671
+ "table": "cronjobs"
672
+ },
673
+ {
674
+ "type": "text",
675
+ "notNull": false,
676
+ "autoincrement": false,
677
+ "default": null,
678
+ "generated": null,
679
+ "name": "id",
680
+ "entityType": "columns",
681
+ "table": "panel_states"
682
+ },
683
+ {
684
+ "type": "text",
685
+ "notNull": true,
686
+ "autoincrement": false,
687
+ "default": null,
688
+ "generated": null,
689
+ "name": "workspace_id",
690
+ "entityType": "columns",
691
+ "table": "panel_states"
692
+ },
693
+ {
694
+ "type": "text",
695
+ "notNull": true,
696
+ "autoincrement": false,
697
+ "default": null,
698
+ "generated": null,
699
+ "name": "panel_type",
700
+ "entityType": "columns",
701
+ "table": "panel_states"
702
+ },
703
+ {
704
+ "type": "text",
705
+ "notNull": true,
706
+ "autoincrement": false,
707
+ "default": null,
708
+ "generated": null,
709
+ "name": "state",
710
+ "entityType": "columns",
711
+ "table": "panel_states"
712
+ },
713
+ {
714
+ "type": "text",
715
+ "notNull": false,
716
+ "autoincrement": false,
717
+ "default": null,
718
+ "generated": null,
719
+ "name": "labels",
720
+ "entityType": "columns",
721
+ "table": "panel_states"
722
+ },
723
+ {
724
+ "type": "integer",
725
+ "notNull": true,
726
+ "autoincrement": false,
727
+ "default": null,
728
+ "generated": null,
729
+ "name": "created_at",
730
+ "entityType": "columns",
731
+ "table": "panel_states"
732
+ },
733
+ {
734
+ "type": "integer",
735
+ "notNull": true,
736
+ "autoincrement": false,
737
+ "default": null,
738
+ "generated": null,
739
+ "name": "updated_at",
740
+ "entityType": "columns",
741
+ "table": "panel_states"
742
+ },
743
+ {
744
+ "type": "text",
745
+ "notNull": false,
746
+ "autoincrement": false,
747
+ "default": null,
748
+ "generated": null,
749
+ "name": "project_name",
750
+ "entityType": "columns",
751
+ "table": "project_browser_profiles"
752
+ },
753
+ {
754
+ "type": "text",
755
+ "notNull": true,
756
+ "autoincrement": false,
757
+ "default": null,
758
+ "generated": null,
759
+ "name": "profile_id",
760
+ "entityType": "columns",
761
+ "table": "project_browser_profiles"
762
+ },
763
+ {
764
+ "type": "integer",
765
+ "notNull": true,
766
+ "autoincrement": false,
767
+ "default": null,
768
+ "generated": null,
769
+ "name": "updated_at",
770
+ "entityType": "columns",
771
+ "table": "project_browser_profiles"
772
+ },
773
+ {
774
+ "type": "text",
775
+ "notNull": false,
776
+ "autoincrement": false,
777
+ "default": null,
778
+ "generated": null,
779
+ "name": "name",
780
+ "entityType": "columns",
781
+ "table": "projects"
782
+ },
783
+ {
784
+ "type": "text",
785
+ "notNull": true,
786
+ "autoincrement": false,
787
+ "default": null,
788
+ "generated": null,
789
+ "name": "path",
790
+ "entityType": "columns",
791
+ "table": "projects"
792
+ },
793
+ {
794
+ "type": "text",
795
+ "notNull": true,
796
+ "autoincrement": false,
797
+ "default": null,
798
+ "generated": null,
799
+ "name": "default_branch",
800
+ "entityType": "columns",
801
+ "table": "projects"
802
+ },
803
+ {
804
+ "type": "text",
805
+ "notNull": false,
806
+ "autoincrement": false,
807
+ "default": null,
808
+ "generated": null,
809
+ "name": "label",
810
+ "entityType": "columns",
811
+ "table": "projects"
812
+ },
813
+ {
814
+ "type": "integer",
815
+ "notNull": true,
816
+ "autoincrement": false,
817
+ "default": null,
818
+ "generated": null,
819
+ "name": "sort_order",
820
+ "entityType": "columns",
821
+ "table": "projects"
822
+ },
823
+ {
824
+ "type": "text",
825
+ "notNull": true,
826
+ "autoincrement": false,
827
+ "default": "'git'",
828
+ "generated": null,
829
+ "name": "kind",
830
+ "entityType": "columns",
831
+ "table": "projects"
832
+ },
833
+ {
834
+ "type": "integer",
835
+ "notNull": true,
836
+ "autoincrement": false,
837
+ "default": "true",
838
+ "generated": null,
839
+ "name": "has_origin",
840
+ "entityType": "columns",
841
+ "table": "projects"
842
+ },
843
+ {
844
+ "type": "text",
845
+ "notNull": false,
846
+ "autoincrement": false,
847
+ "default": null,
848
+ "generated": null,
849
+ "name": "id",
850
+ "entityType": "columns",
851
+ "table": "tasks"
852
+ },
853
+ {
854
+ "type": "text",
855
+ "notNull": true,
856
+ "autoincrement": false,
857
+ "default": null,
858
+ "generated": null,
859
+ "name": "workspace_id",
860
+ "entityType": "columns",
861
+ "table": "tasks"
862
+ },
863
+ {
864
+ "type": "text",
865
+ "notNull": true,
866
+ "autoincrement": false,
867
+ "default": null,
868
+ "generated": null,
869
+ "name": "project",
870
+ "entityType": "columns",
871
+ "table": "tasks"
872
+ },
873
+ {
874
+ "type": "text",
875
+ "notNull": true,
876
+ "autoincrement": false,
877
+ "default": null,
878
+ "generated": null,
879
+ "name": "branch",
880
+ "entityType": "columns",
881
+ "table": "tasks"
882
+ },
883
+ {
884
+ "type": "text",
885
+ "notNull": true,
886
+ "autoincrement": false,
887
+ "default": null,
888
+ "generated": null,
889
+ "name": "prompt",
890
+ "entityType": "columns",
891
+ "table": "tasks"
892
+ },
893
+ {
894
+ "type": "text",
895
+ "notNull": true,
896
+ "autoincrement": false,
897
+ "default": null,
898
+ "generated": null,
899
+ "name": "status",
900
+ "entityType": "columns",
901
+ "table": "tasks"
902
+ },
903
+ {
904
+ "type": "text",
905
+ "notNull": false,
906
+ "autoincrement": false,
907
+ "default": null,
908
+ "generated": null,
909
+ "name": "session_id",
910
+ "entityType": "columns",
911
+ "table": "tasks"
912
+ },
913
+ {
914
+ "type": "integer",
915
+ "notNull": true,
916
+ "autoincrement": false,
917
+ "default": null,
918
+ "generated": null,
919
+ "name": "started_at",
920
+ "entityType": "columns",
921
+ "table": "tasks"
922
+ },
923
+ {
924
+ "type": "integer",
925
+ "notNull": false,
926
+ "autoincrement": false,
927
+ "default": null,
928
+ "generated": null,
929
+ "name": "completed_at",
930
+ "entityType": "columns",
931
+ "table": "tasks"
932
+ },
933
+ {
934
+ "type": "text",
935
+ "notNull": false,
936
+ "autoincrement": false,
937
+ "default": null,
938
+ "generated": null,
939
+ "name": "mode",
940
+ "entityType": "columns",
941
+ "table": "tasks"
942
+ },
943
+ {
944
+ "type": "text",
945
+ "notNull": false,
946
+ "autoincrement": false,
947
+ "default": null,
948
+ "generated": null,
949
+ "name": "model",
950
+ "entityType": "columns",
951
+ "table": "tasks"
952
+ },
953
+ {
954
+ "type": "text",
955
+ "notNull": false,
956
+ "autoincrement": false,
957
+ "default": null,
958
+ "generated": null,
959
+ "name": "coding_agent_id",
960
+ "entityType": "columns",
961
+ "table": "tasks"
962
+ },
963
+ {
964
+ "type": "text",
965
+ "notNull": false,
966
+ "autoincrement": false,
967
+ "default": null,
968
+ "generated": null,
969
+ "name": "chat_id",
970
+ "entityType": "columns",
971
+ "table": "tasks"
972
+ },
973
+ {
974
+ "type": "integer",
975
+ "notNull": false,
976
+ "autoincrement": true,
977
+ "default": null,
978
+ "generated": null,
979
+ "name": "id",
980
+ "entityType": "columns",
981
+ "table": "usage_events"
982
+ },
983
+ {
984
+ "type": "text",
985
+ "notNull": true,
986
+ "autoincrement": false,
987
+ "default": null,
988
+ "generated": null,
989
+ "name": "task_id",
990
+ "entityType": "columns",
991
+ "table": "usage_events"
992
+ },
993
+ {
994
+ "type": "text",
995
+ "notNull": false,
996
+ "autoincrement": false,
997
+ "default": null,
998
+ "generated": null,
999
+ "name": "chat_id",
1000
+ "entityType": "columns",
1001
+ "table": "usage_events"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "notNull": true,
1006
+ "autoincrement": false,
1007
+ "default": null,
1008
+ "generated": null,
1009
+ "name": "workspace_id",
1010
+ "entityType": "columns",
1011
+ "table": "usage_events"
1012
+ },
1013
+ {
1014
+ "type": "text",
1015
+ "notNull": true,
1016
+ "autoincrement": false,
1017
+ "default": null,
1018
+ "generated": null,
1019
+ "name": "project",
1020
+ "entityType": "columns",
1021
+ "table": "usage_events"
1022
+ },
1023
+ {
1024
+ "type": "text",
1025
+ "notNull": false,
1026
+ "autoincrement": false,
1027
+ "default": null,
1028
+ "generated": null,
1029
+ "name": "session_id",
1030
+ "entityType": "columns",
1031
+ "table": "usage_events"
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "notNull": false,
1036
+ "autoincrement": false,
1037
+ "default": null,
1038
+ "generated": null,
1039
+ "name": "coding_agent_id",
1040
+ "entityType": "columns",
1041
+ "table": "usage_events"
1042
+ },
1043
+ {
1044
+ "type": "text",
1045
+ "notNull": false,
1046
+ "autoincrement": false,
1047
+ "default": null,
1048
+ "generated": null,
1049
+ "name": "provider",
1050
+ "entityType": "columns",
1051
+ "table": "usage_events"
1052
+ },
1053
+ {
1054
+ "type": "text",
1055
+ "notNull": false,
1056
+ "autoincrement": false,
1057
+ "default": null,
1058
+ "generated": null,
1059
+ "name": "model",
1060
+ "entityType": "columns",
1061
+ "table": "usage_events"
1062
+ },
1063
+ {
1064
+ "type": "integer",
1065
+ "notNull": true,
1066
+ "autoincrement": false,
1067
+ "default": "0",
1068
+ "generated": null,
1069
+ "name": "input_tokens",
1070
+ "entityType": "columns",
1071
+ "table": "usage_events"
1072
+ },
1073
+ {
1074
+ "type": "integer",
1075
+ "notNull": true,
1076
+ "autoincrement": false,
1077
+ "default": "0",
1078
+ "generated": null,
1079
+ "name": "output_tokens",
1080
+ "entityType": "columns",
1081
+ "table": "usage_events"
1082
+ },
1083
+ {
1084
+ "type": "integer",
1085
+ "notNull": true,
1086
+ "autoincrement": false,
1087
+ "default": "0",
1088
+ "generated": null,
1089
+ "name": "cache_read_tokens",
1090
+ "entityType": "columns",
1091
+ "table": "usage_events"
1092
+ },
1093
+ {
1094
+ "type": "integer",
1095
+ "notNull": true,
1096
+ "autoincrement": false,
1097
+ "default": "0",
1098
+ "generated": null,
1099
+ "name": "cache_creation_tokens",
1100
+ "entityType": "columns",
1101
+ "table": "usage_events"
1102
+ },
1103
+ {
1104
+ "type": "integer",
1105
+ "notNull": true,
1106
+ "autoincrement": false,
1107
+ "default": "0",
1108
+ "generated": null,
1109
+ "name": "reasoning_output_tokens",
1110
+ "entityType": "columns",
1111
+ "table": "usage_events"
1112
+ },
1113
+ {
1114
+ "type": "real",
1115
+ "notNull": true,
1116
+ "autoincrement": false,
1117
+ "default": "0",
1118
+ "generated": null,
1119
+ "name": "cost_usd",
1120
+ "entityType": "columns",
1121
+ "table": "usage_events"
1122
+ },
1123
+ {
1124
+ "type": "integer",
1125
+ "notNull": true,
1126
+ "autoincrement": false,
1127
+ "default": null,
1128
+ "generated": null,
1129
+ "name": "captured_at",
1130
+ "entityType": "columns",
1131
+ "table": "usage_events"
1132
+ },
1133
+ {
1134
+ "type": "text",
1135
+ "notNull": false,
1136
+ "autoincrement": false,
1137
+ "default": null,
1138
+ "generated": null,
1139
+ "name": "external_key",
1140
+ "entityType": "columns",
1141
+ "table": "usage_events"
1142
+ },
1143
+ {
1144
+ "type": "text",
1145
+ "notNull": true,
1146
+ "autoincrement": false,
1147
+ "default": null,
1148
+ "generated": null,
1149
+ "name": "workspace_id",
1150
+ "entityType": "columns",
1151
+ "table": "usage_scan_state"
1152
+ },
1153
+ {
1154
+ "type": "text",
1155
+ "notNull": true,
1156
+ "autoincrement": false,
1157
+ "default": null,
1158
+ "generated": null,
1159
+ "name": "agent_type",
1160
+ "entityType": "columns",
1161
+ "table": "usage_scan_state"
1162
+ },
1163
+ {
1164
+ "type": "integer",
1165
+ "notNull": true,
1166
+ "autoincrement": false,
1167
+ "default": null,
1168
+ "generated": null,
1169
+ "name": "last_scanned_updated_at",
1170
+ "entityType": "columns",
1171
+ "table": "usage_scan_state"
1172
+ },
1173
+ {
1174
+ "type": "text",
1175
+ "notNull": true,
1176
+ "autoincrement": false,
1177
+ "default": null,
1178
+ "generated": null,
1179
+ "name": "workspace_id",
1180
+ "entityType": "columns",
1181
+ "table": "workspace_status_sources"
1182
+ },
1183
+ {
1184
+ "type": "text",
1185
+ "notNull": true,
1186
+ "autoincrement": false,
1187
+ "default": null,
1188
+ "generated": null,
1189
+ "name": "source_id",
1190
+ "entityType": "columns",
1191
+ "table": "workspace_status_sources"
1192
+ },
1193
+ {
1194
+ "type": "text",
1195
+ "notNull": true,
1196
+ "autoincrement": false,
1197
+ "default": null,
1198
+ "generated": null,
1199
+ "name": "status",
1200
+ "entityType": "columns",
1201
+ "table": "workspace_status_sources"
1202
+ },
1203
+ {
1204
+ "type": "text",
1205
+ "notNull": false,
1206
+ "autoincrement": false,
1207
+ "default": null,
1208
+ "generated": null,
1209
+ "name": "terminal_id",
1210
+ "entityType": "columns",
1211
+ "table": "workspace_status_sources"
1212
+ },
1213
+ {
1214
+ "type": "integer",
1215
+ "notNull": true,
1216
+ "autoincrement": false,
1217
+ "default": null,
1218
+ "generated": null,
1219
+ "name": "updated_at",
1220
+ "entityType": "columns",
1221
+ "table": "workspace_status_sources"
1222
+ },
1223
+ {
1224
+ "type": "text",
1225
+ "notNull": false,
1226
+ "autoincrement": false,
1227
+ "default": null,
1228
+ "generated": null,
1229
+ "name": "workspace_id",
1230
+ "entityType": "columns",
1231
+ "table": "workspace_statuses"
1232
+ },
1233
+ {
1234
+ "type": "text",
1235
+ "notNull": true,
1236
+ "autoincrement": false,
1237
+ "default": null,
1238
+ "generated": null,
1239
+ "name": "project",
1240
+ "entityType": "columns",
1241
+ "table": "workspace_statuses"
1242
+ },
1243
+ {
1244
+ "type": "text",
1245
+ "notNull": true,
1246
+ "autoincrement": false,
1247
+ "default": null,
1248
+ "generated": null,
1249
+ "name": "branch",
1250
+ "entityType": "columns",
1251
+ "table": "workspace_statuses"
1252
+ },
1253
+ {
1254
+ "type": "text",
1255
+ "notNull": true,
1256
+ "autoincrement": false,
1257
+ "default": null,
1258
+ "generated": null,
1259
+ "name": "worktree_path",
1260
+ "entityType": "columns",
1261
+ "table": "workspace_statuses"
1262
+ },
1263
+ {
1264
+ "type": "text",
1265
+ "notNull": false,
1266
+ "autoincrement": false,
1267
+ "default": null,
1268
+ "generated": null,
1269
+ "name": "agent_name",
1270
+ "entityType": "columns",
1271
+ "table": "workspace_statuses"
1272
+ },
1273
+ {
1274
+ "type": "text",
1275
+ "notNull": false,
1276
+ "autoincrement": false,
1277
+ "default": null,
1278
+ "generated": null,
1279
+ "name": "agent_status",
1280
+ "entityType": "columns",
1281
+ "table": "workspace_statuses"
1282
+ },
1283
+ {
1284
+ "type": "text",
1285
+ "notNull": false,
1286
+ "autoincrement": false,
1287
+ "default": null,
1288
+ "generated": null,
1289
+ "name": "agent_last_activity",
1290
+ "entityType": "columns",
1291
+ "table": "workspace_statuses"
1292
+ },
1293
+ {
1294
+ "type": "text",
1295
+ "notNull": false,
1296
+ "autoincrement": false,
1297
+ "default": null,
1298
+ "generated": null,
1299
+ "name": "agent_summary",
1300
+ "entityType": "columns",
1301
+ "table": "workspace_statuses"
1302
+ },
1303
+ {
1304
+ "type": "text",
1305
+ "notNull": false,
1306
+ "autoincrement": false,
1307
+ "default": null,
1308
+ "generated": null,
1309
+ "name": "coding_agent_id",
1310
+ "entityType": "columns",
1311
+ "table": "workspace_statuses"
1312
+ },
1313
+ {
1314
+ "type": "integer",
1315
+ "notNull": true,
1316
+ "autoincrement": false,
1317
+ "default": null,
1318
+ "generated": null,
1319
+ "name": "updated_at",
1320
+ "entityType": "columns",
1321
+ "table": "workspace_statuses"
1322
+ },
1323
+ {
1324
+ "type": "integer",
1325
+ "notNull": false,
1326
+ "autoincrement": true,
1327
+ "default": null,
1328
+ "generated": null,
1329
+ "name": "id",
1330
+ "entityType": "columns",
1331
+ "table": "worktrees"
1332
+ },
1333
+ {
1334
+ "type": "text",
1335
+ "notNull": true,
1336
+ "autoincrement": false,
1337
+ "default": null,
1338
+ "generated": null,
1339
+ "name": "project_name",
1340
+ "entityType": "columns",
1341
+ "table": "worktrees"
1342
+ },
1343
+ {
1344
+ "type": "text",
1345
+ "notNull": true,
1346
+ "autoincrement": false,
1347
+ "default": null,
1348
+ "generated": null,
1349
+ "name": "name",
1350
+ "entityType": "columns",
1351
+ "table": "worktrees"
1352
+ },
1353
+ {
1354
+ "type": "text",
1355
+ "notNull": true,
1356
+ "autoincrement": false,
1357
+ "default": null,
1358
+ "generated": null,
1359
+ "name": "branch",
1360
+ "entityType": "columns",
1361
+ "table": "worktrees"
1362
+ },
1363
+ {
1364
+ "type": "text",
1365
+ "notNull": true,
1366
+ "autoincrement": false,
1367
+ "default": null,
1368
+ "generated": null,
1369
+ "name": "path",
1370
+ "entityType": "columns",
1371
+ "table": "worktrees"
1372
+ },
1373
+ {
1374
+ "type": "text",
1375
+ "notNull": false,
1376
+ "autoincrement": false,
1377
+ "default": null,
1378
+ "generated": null,
1379
+ "name": "head",
1380
+ "entityType": "columns",
1381
+ "table": "worktrees"
1382
+ },
1383
+ {
1384
+ "type": "integer",
1385
+ "notNull": true,
1386
+ "autoincrement": false,
1387
+ "default": "false",
1388
+ "generated": null,
1389
+ "name": "pinned",
1390
+ "entityType": "columns",
1391
+ "table": "worktrees"
1392
+ },
1393
+ {
1394
+ "columns": [
1395
+ "project_name"
1396
+ ],
1397
+ "tableTo": "projects",
1398
+ "columnsTo": [
1399
+ "name"
1400
+ ],
1401
+ "onUpdate": "NO ACTION",
1402
+ "onDelete": "CASCADE",
1403
+ "nameExplicit": false,
1404
+ "name": "worktrees_project_name_projects_name_fk",
1405
+ "entityType": "fks",
1406
+ "table": "worktrees"
1407
+ },
1408
+ {
1409
+ "columns": [
1410
+ "key",
1411
+ "scope"
1412
+ ],
1413
+ "nameExplicit": false,
1414
+ "name": "client_state_pk",
1415
+ "entityType": "pks",
1416
+ "table": "client_state"
1417
+ },
1418
+ {
1419
+ "columns": [
1420
+ "workspace_id",
1421
+ "source_id"
1422
+ ],
1423
+ "nameExplicit": false,
1424
+ "name": "workspace_status_sources_pk",
1425
+ "entityType": "pks",
1426
+ "table": "workspace_status_sources"
1427
+ },
1428
+ {
1429
+ "columns": [
1430
+ "id"
1431
+ ],
1432
+ "nameExplicit": false,
1433
+ "name": "agent_sessions_pk",
1434
+ "table": "agent_sessions",
1435
+ "entityType": "pks"
1436
+ },
1437
+ {
1438
+ "columns": [
1439
+ "workspace_id"
1440
+ ],
1441
+ "nameExplicit": false,
1442
+ "name": "branch_statuses_pk",
1443
+ "table": "branch_statuses",
1444
+ "entityType": "pks"
1445
+ },
1446
+ {
1447
+ "columns": [
1448
+ "id"
1449
+ ],
1450
+ "nameExplicit": false,
1451
+ "name": "browser_history_pk",
1452
+ "table": "browser_history",
1453
+ "entityType": "pks"
1454
+ },
1455
+ {
1456
+ "columns": [
1457
+ "id"
1458
+ ],
1459
+ "nameExplicit": false,
1460
+ "name": "browser_profiles_pk",
1461
+ "table": "browser_profiles",
1462
+ "entityType": "pks"
1463
+ },
1464
+ {
1465
+ "columns": [
1466
+ "id"
1467
+ ],
1468
+ "nameExplicit": false,
1469
+ "name": "chat_events_pk",
1470
+ "table": "chat_events",
1471
+ "entityType": "pks"
1472
+ },
1473
+ {
1474
+ "columns": [
1475
+ "id"
1476
+ ],
1477
+ "nameExplicit": false,
1478
+ "name": "cronjobs_pk",
1479
+ "table": "cronjobs",
1480
+ "entityType": "pks"
1481
+ },
1482
+ {
1483
+ "columns": [
1484
+ "id"
1485
+ ],
1486
+ "nameExplicit": false,
1487
+ "name": "panel_states_pk",
1488
+ "table": "panel_states",
1489
+ "entityType": "pks"
1490
+ },
1491
+ {
1492
+ "columns": [
1493
+ "project_name"
1494
+ ],
1495
+ "nameExplicit": false,
1496
+ "name": "project_browser_profiles_pk",
1497
+ "table": "project_browser_profiles",
1498
+ "entityType": "pks"
1499
+ },
1500
+ {
1501
+ "columns": [
1502
+ "name"
1503
+ ],
1504
+ "nameExplicit": false,
1505
+ "name": "projects_pk",
1506
+ "table": "projects",
1507
+ "entityType": "pks"
1508
+ },
1509
+ {
1510
+ "columns": [
1511
+ "id"
1512
+ ],
1513
+ "nameExplicit": false,
1514
+ "name": "tasks_pk",
1515
+ "table": "tasks",
1516
+ "entityType": "pks"
1517
+ },
1518
+ {
1519
+ "columns": [
1520
+ "id"
1521
+ ],
1522
+ "nameExplicit": false,
1523
+ "name": "usage_events_pk",
1524
+ "table": "usage_events",
1525
+ "entityType": "pks"
1526
+ },
1527
+ {
1528
+ "columns": [
1529
+ "workspace_id"
1530
+ ],
1531
+ "nameExplicit": false,
1532
+ "name": "workspace_statuses_pk",
1533
+ "table": "workspace_statuses",
1534
+ "entityType": "pks"
1535
+ },
1536
+ {
1537
+ "columns": [
1538
+ "id"
1539
+ ],
1540
+ "nameExplicit": false,
1541
+ "name": "worktrees_pk",
1542
+ "table": "worktrees",
1543
+ "entityType": "pks"
1544
+ },
1545
+ {
1546
+ "columns": [
1547
+ {
1548
+ "value": "workspace_id",
1549
+ "isExpression": false
1550
+ }
1551
+ ],
1552
+ "isUnique": false,
1553
+ "where": null,
1554
+ "origin": "manual",
1555
+ "name": "agent_sessions_workspace_idx",
1556
+ "entityType": "indexes",
1557
+ "table": "agent_sessions"
1558
+ },
1559
+ {
1560
+ "columns": [
1561
+ {
1562
+ "value": "chat_id",
1563
+ "isExpression": false
1564
+ }
1565
+ ],
1566
+ "isUnique": false,
1567
+ "where": null,
1568
+ "origin": "manual",
1569
+ "name": "agent_sessions_chat_idx",
1570
+ "entityType": "indexes",
1571
+ "table": "agent_sessions"
1572
+ },
1573
+ {
1574
+ "columns": [
1575
+ {
1576
+ "value": "terminal_id",
1577
+ "isExpression": false
1578
+ }
1579
+ ],
1580
+ "isUnique": false,
1581
+ "where": null,
1582
+ "origin": "manual",
1583
+ "name": "agent_sessions_terminal_idx",
1584
+ "entityType": "indexes",
1585
+ "table": "agent_sessions"
1586
+ },
1587
+ {
1588
+ "columns": [
1589
+ {
1590
+ "value": "workspace_id",
1591
+ "isExpression": false
1592
+ },
1593
+ {
1594
+ "value": "url",
1595
+ "isExpression": false
1596
+ }
1597
+ ],
1598
+ "isUnique": true,
1599
+ "where": null,
1600
+ "origin": "manual",
1601
+ "name": "browser_history_workspace_url_uq",
1602
+ "entityType": "indexes",
1603
+ "table": "browser_history"
1604
+ },
1605
+ {
1606
+ "columns": [
1607
+ {
1608
+ "value": "workspace_id",
1609
+ "isExpression": false
1610
+ },
1611
+ {
1612
+ "value": "last_visited_at",
1613
+ "isExpression": false
1614
+ }
1615
+ ],
1616
+ "isUnique": false,
1617
+ "where": null,
1618
+ "origin": "manual",
1619
+ "name": "browser_history_workspace_visited_idx",
1620
+ "entityType": "indexes",
1621
+ "table": "browser_history"
1622
+ },
1623
+ {
1624
+ "columns": [
1625
+ {
1626
+ "value": "session_id",
1627
+ "isExpression": false
1628
+ },
1629
+ {
1630
+ "value": "revision",
1631
+ "isExpression": false
1632
+ },
1633
+ {
1634
+ "value": "id",
1635
+ "isExpression": false
1636
+ }
1637
+ ],
1638
+ "isUnique": false,
1639
+ "where": null,
1640
+ "origin": "manual",
1641
+ "name": "chat_events_session_idx",
1642
+ "entityType": "indexes",
1643
+ "table": "chat_events"
1644
+ },
1645
+ {
1646
+ "columns": [
1647
+ {
1648
+ "value": "session_id",
1649
+ "isExpression": false
1650
+ },
1651
+ {
1652
+ "value": "revision",
1653
+ "isExpression": false
1654
+ },
1655
+ {
1656
+ "value": "kind",
1657
+ "isExpression": false
1658
+ },
1659
+ {
1660
+ "value": "id",
1661
+ "isExpression": false
1662
+ }
1663
+ ],
1664
+ "isUnique": false,
1665
+ "where": null,
1666
+ "origin": "manual",
1667
+ "name": "chat_events_kind_idx",
1668
+ "entityType": "indexes",
1669
+ "table": "chat_events"
1670
+ },
1671
+ {
1672
+ "columns": [
1673
+ {
1674
+ "value": "session_id",
1675
+ "isExpression": false
1676
+ },
1677
+ {
1678
+ "value": "revision",
1679
+ "isExpression": false
1680
+ },
1681
+ {
1682
+ "value": "update_kind",
1683
+ "isExpression": false
1684
+ },
1685
+ {
1686
+ "value": "id",
1687
+ "isExpression": false
1688
+ }
1689
+ ],
1690
+ "isUnique": false,
1691
+ "where": null,
1692
+ "origin": "manual",
1693
+ "name": "chat_events_update_kind_idx",
1694
+ "entityType": "indexes",
1695
+ "table": "chat_events"
1696
+ },
1697
+ {
1698
+ "columns": [
1699
+ {
1700
+ "value": "session_id",
1701
+ "isExpression": false
1702
+ },
1703
+ {
1704
+ "value": "revision",
1705
+ "isExpression": false
1706
+ },
1707
+ {
1708
+ "value": "turn_start",
1709
+ "isExpression": false
1710
+ },
1711
+ {
1712
+ "value": "id",
1713
+ "isExpression": false
1714
+ }
1715
+ ],
1716
+ "isUnique": false,
1717
+ "where": null,
1718
+ "origin": "manual",
1719
+ "name": "chat_events_turn_start_idx",
1720
+ "entityType": "indexes",
1721
+ "table": "chat_events"
1722
+ },
1723
+ {
1724
+ "columns": [
1725
+ {
1726
+ "value": "chat_id",
1727
+ "isExpression": false
1728
+ }
1729
+ ],
1730
+ "isUnique": false,
1731
+ "where": null,
1732
+ "origin": "manual",
1733
+ "name": "chat_events_chat_idx",
1734
+ "entityType": "indexes",
1735
+ "table": "chat_events"
1736
+ },
1737
+ {
1738
+ "columns": [
1739
+ {
1740
+ "value": "workspace_id",
1741
+ "isExpression": false
1742
+ }
1743
+ ],
1744
+ "isUnique": false,
1745
+ "where": null,
1746
+ "origin": "manual",
1747
+ "name": "client_state_workspace_idx",
1748
+ "entityType": "indexes",
1749
+ "table": "client_state"
1750
+ },
1751
+ {
1752
+ "columns": [
1753
+ {
1754
+ "value": "captured_at",
1755
+ "isExpression": false
1756
+ }
1757
+ ],
1758
+ "isUnique": false,
1759
+ "where": null,
1760
+ "origin": "manual",
1761
+ "name": "usage_events_captured_at_idx",
1762
+ "entityType": "indexes",
1763
+ "table": "usage_events"
1764
+ },
1765
+ {
1766
+ "columns": [
1767
+ {
1768
+ "value": "task_id",
1769
+ "isExpression": false
1770
+ }
1771
+ ],
1772
+ "isUnique": false,
1773
+ "where": null,
1774
+ "origin": "manual",
1775
+ "name": "usage_events_task_idx",
1776
+ "entityType": "indexes",
1777
+ "table": "usage_events"
1778
+ },
1779
+ {
1780
+ "columns": [
1781
+ {
1782
+ "value": "workspace_id",
1783
+ "isExpression": false
1784
+ }
1785
+ ],
1786
+ "isUnique": false,
1787
+ "where": null,
1788
+ "origin": "manual",
1789
+ "name": "usage_events_workspace_idx",
1790
+ "entityType": "indexes",
1791
+ "table": "usage_events"
1792
+ },
1793
+ {
1794
+ "columns": [
1795
+ {
1796
+ "value": "external_key",
1797
+ "isExpression": false
1798
+ }
1799
+ ],
1800
+ "isUnique": true,
1801
+ "where": null,
1802
+ "origin": "manual",
1803
+ "name": "usage_events_external_key_uq",
1804
+ "entityType": "indexes",
1805
+ "table": "usage_events"
1806
+ },
1807
+ {
1808
+ "columns": [
1809
+ {
1810
+ "value": "workspace_id",
1811
+ "isExpression": false
1812
+ },
1813
+ {
1814
+ "value": "agent_type",
1815
+ "isExpression": false
1816
+ }
1817
+ ],
1818
+ "isUnique": true,
1819
+ "where": null,
1820
+ "origin": "manual",
1821
+ "name": "usage_scan_state_pk",
1822
+ "entityType": "indexes",
1823
+ "table": "usage_scan_state"
1824
+ },
1825
+ {
1826
+ "columns": [
1827
+ {
1828
+ "value": "terminal_id",
1829
+ "isExpression": false
1830
+ }
1831
+ ],
1832
+ "isUnique": false,
1833
+ "where": null,
1834
+ "origin": "manual",
1835
+ "name": "workspace_status_sources_terminal_idx",
1836
+ "entityType": "indexes",
1837
+ "table": "workspace_status_sources"
1838
+ }
1839
+ ],
1840
+ "renames": []
1841
+ }