@covro/covro 0.8.1-dev.2 → 0.8.1-dev.4

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 (109) hide show
  1. package/README.md +2 -2
  2. package/README.zh-CN.md +2 -2
  3. package/dist/codex/adapter.js +5 -3
  4. package/dist/codex/adapter.js.map +2 -2
  5. package/dist/codex/mapping.js +1 -0
  6. package/dist/codex/mapping.js.map +2 -2
  7. package/dist/drizzle/0008_pending_user_messages.sql +12 -0
  8. package/dist/drizzle/meta/0008_snapshot.json +606 -0
  9. package/dist/drizzle/meta/_journal.json +7 -0
  10. package/dist/server/db/operations.js +34 -3
  11. package/dist/server/db/operations.js.map +2 -2
  12. package/dist/server/db/schema.js +19 -0
  13. package/dist/server/db/schema.js.map +2 -2
  14. package/dist/server/projection.js +4 -1
  15. package/dist/server/projection.js.map +2 -2
  16. package/dist/server/service.js +48 -12
  17. package/dist/server/service.js.map +2 -2
  18. package/dist/server/snapshot.js +4 -0
  19. package/dist/server/snapshot.js.map +2 -2
  20. package/dist/shared/user-message.js +26 -0
  21. package/dist/shared/user-message.js.map +7 -0
  22. package/dist/web/assets/{abnfDiagram-WEYOIA3C-BU7Bs0Gi.js → abnfDiagram-WEYOIA3C-BCbBe9sD.js} +1 -1
  23. package/dist/web/assets/{arc-dmthCfDu.js → arc-Dmj0lNjC.js} +1 -1
  24. package/dist/web/assets/{architecture-WOLXFQ4H-Cs6j8yVP.js → architecture-WOLXFQ4H-Svdy_1x9.js} +1 -1
  25. package/dist/web/assets/{architectureDiagram-ZHVYKT53-Cwr-DjBV.js → architectureDiagram-ZHVYKT53-C7y9lfSk.js} +1 -1
  26. package/dist/web/assets/{blockDiagram-RJAE7QA3-BTS6xIAP.js → blockDiagram-RJAE7QA3-DYxD2Kch.js} +1 -1
  27. package/dist/web/assets/{c4Diagram-XDPPPE54-Bkl90jmJ.js → c4Diagram-XDPPPE54-6t2e5I0A.js} +1 -1
  28. package/dist/web/assets/channel-hEaJUY_g.js +1 -0
  29. package/dist/web/assets/{chunk-2E7WHVMD-BSd_Zqvs.js → chunk-2E7WHVMD-75d2TU1O.js} +1 -1
  30. package/dist/web/assets/{chunk-4EMNKR2T-Dt4mNz2Q.js → chunk-4EMNKR2T-K8d5Kk-R.js} +1 -1
  31. package/dist/web/assets/{chunk-55XCU76K-BSeGDfYk.js → chunk-55XCU76K-DdfehDJs.js} +1 -1
  32. package/dist/web/assets/{chunk-7S6XSTFO-5qmYClOG.js → chunk-7S6XSTFO-Dkj4l-ja.js} +1 -1
  33. package/dist/web/assets/{chunk-AQDTSKZB-CUbY4lyV.js → chunk-AQDTSKZB-CJ0iS2wK.js} +1 -1
  34. package/dist/web/assets/{chunk-DSNLSHJZ-cA_Agaib.js → chunk-DSNLSHJZ-BtpQNPbj.js} +1 -1
  35. package/dist/web/assets/{chunk-HAGFOTED-BiJS3TsG.js → chunk-HAGFOTED-BSQfMdak.js} +1 -1
  36. package/dist/web/assets/{chunk-HNE4Q36P-9sVE9E32.js → chunk-HNE4Q36P-BtYKKnn5.js} +1 -1
  37. package/dist/web/assets/{chunk-NQOKRVIF-5r7qjSL-.js → chunk-NQOKRVIF-2YqFnEzu.js} +1 -1
  38. package/dist/web/assets/{chunk-UHW7PFBP-DR4e1-OG.js → chunk-UHW7PFBP-Ce7TuUqP.js} +1 -1
  39. package/dist/web/assets/{chunk-VQ5W62QI-BMrNGtZP.js → chunk-VQ5W62QI-DQWomF93.js} +1 -1
  40. package/dist/web/assets/{chunk-WQQL4CDK-Dxa67_ya.js → chunk-WQQL4CDK-BCbKpaT6.js} +1 -1
  41. package/dist/web/assets/{chunk-XXDRQBXY-C32DlQj3.js → chunk-XXDRQBXY-C9rTpqIe.js} +1 -1
  42. package/dist/web/assets/{chunk-YZO67HFG-B7u-CLgK.js → chunk-YZO67HFG-C9v0ova1.js} +1 -1
  43. package/dist/web/assets/{chunk-ZAUX2LTX-hCqUOJQk.js → chunk-ZAUX2LTX-BdGFguJi.js} +1 -1
  44. package/dist/web/assets/{chunk-ZCHMQSOR-BjCBLoml.js → chunk-ZCHMQSOR-JZziUBXP.js} +1 -1
  45. package/dist/web/assets/{classDiagram-v2-4MYWR3UA-CXUqoJR8.js → classDiagram-v2-4MYWR3UA-kaUa8Osh.js} +1 -1
  46. package/dist/web/assets/{cose-bilkent-JH36ORCC-CctvL4bh.js → cose-bilkent-JH36ORCC-B7AoZpec.js} +1 -1
  47. package/dist/web/assets/{cynefin-EF2NZ3EQ-niiV2T2p.js → cynefin-EF2NZ3EQ-mZQH-v4h.js} +1 -1
  48. package/dist/web/assets/{cynefinDiagram-WF24UDRP-Ck4yEOlb.js → cynefinDiagram-WF24UDRP-VFu42UYD.js} +1 -1
  49. package/dist/web/assets/{dagre-NK4GIZVX-BzBAwbyT.js → dagre-NK4GIZVX-BykPb3q5.js} +1 -1
  50. package/dist/web/assets/{diagram-CBK3MWTC-Cen_fdrD.js → diagram-CBK3MWTC-C8Sdoz2H.js} +1 -1
  51. package/dist/web/assets/{diagram-I5XIIV2D-BzvPjOKV.js → diagram-I5XIIV2D-BngbS3N1.js} +1 -1
  52. package/dist/web/assets/{diagram-ODIL2UCW-B4aLBVte.js → diagram-ODIL2UCW-BXxXZOOz.js} +1 -1
  53. package/dist/web/assets/{diagram-PFBEJUXE-B7B0PHxg.js → diagram-PFBEJUXE-Ck5ASHbm.js} +1 -1
  54. package/dist/web/assets/{diagram-RJA3I4VV-BU_2eA20.js → diagram-RJA3I4VV-cQN1z6Ay.js} +1 -1
  55. package/dist/web/assets/{diagram-TYUNFSNR-VHdYhVzR.js → diagram-TYUNFSNR-BeqL9hEh.js} +1 -1
  56. package/dist/web/assets/{dist-DDyn6W6e.js → dist-BGAiDAIF.js} +1 -1
  57. package/dist/web/assets/{ebnfDiagram-V4P3TTPT-BAGquR5W.js → ebnfDiagram-V4P3TTPT-lMkPFQ2I.js} +1 -1
  58. package/dist/web/assets/{elk-QONTBCTQ-DnA74Jkd.js → elk-QONTBCTQ-DAmV761j.js} +1 -1
  59. package/dist/web/assets/{erDiagram-KYQIGQAA-g7epQMAv.js → erDiagram-KYQIGQAA-BneJIghq.js} +1 -1
  60. package/dist/web/assets/{eventmodeling-K75KTNOO-YHK6v7pB.js → eventmodeling-K75KTNOO-Bouh9S6K.js} +1 -1
  61. package/dist/web/assets/flowDiagram-IUGLLWBU-Cmf_WJgx.js +1 -0
  62. package/dist/web/assets/{ganttDiagram-R7GPNTJY-D7vI3lHt.js → ganttDiagram-R7GPNTJY-C6JqImIF.js} +1 -1
  63. package/dist/web/assets/{gitGraph-VSP46ZUC-C2qK8WCP.js → gitGraph-VSP46ZUC-8sSFlknu.js} +1 -1
  64. package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-Biglt0pC.js → gitGraphDiagram-PDYL7XHY-8PTJIwji.js} +1 -1
  65. package/dist/web/assets/index-ApDxvBFa.js +163 -0
  66. package/dist/web/assets/index-B565iZDe.css +1 -0
  67. package/dist/web/assets/{info-OHQRW6UA-DFT-Jh0s.js → info-OHQRW6UA-zV705KAN.js} +1 -1
  68. package/dist/web/assets/{infoDiagram-MVDRKAX5-BfYm7VOT.js → infoDiagram-MVDRKAX5-BXkNK714.js} +1 -1
  69. package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-wgM27dSy.js → ishikawaDiagram-HPEHV2GE-DqWLS6ge.js} +1 -1
  70. package/dist/web/assets/{journeyDiagram-BOSHW7O7-BkPrcCO9.js → journeyDiagram-BOSHW7O7-De_S2cBU.js} +1 -1
  71. package/dist/web/assets/{kanban-definition-FNSA4HC5-C88rjzqC.js → kanban-definition-FNSA4HC5-CMsQu53V.js} +1 -1
  72. package/dist/web/assets/{line-BLl5ilT2.js → line-DwA1hUEs.js} +1 -1
  73. package/dist/web/assets/{linear-BiGgc0vL.js → linear-DRJbI_Aw.js} +1 -1
  74. package/dist/web/assets/{mermaid-parser.core-DgoUXno_.js → mermaid-parser.core-c4ZovFHr.js} +3 -3
  75. package/dist/web/assets/{mermaid.core-C-R-gUUP.js → mermaid.core-Cz_9uyD3.js} +4 -4
  76. package/dist/web/assets/{mindmap-definition-6OY57UG3-DY_zin8r.js → mindmap-definition-6OY57UG3-Dyz9R3e3.js} +1 -1
  77. package/dist/web/assets/{packet-JDAUHWVQ-CoV_qT7q.js → packet-JDAUHWVQ-CU_qWGhS.js} +1 -1
  78. package/dist/web/assets/{pegDiagram-ECIUJNBX-Dfa3QC2d.js → pegDiagram-ECIUJNBX-B__QgSw5.js} +1 -1
  79. package/dist/web/assets/{pie-XZMESJXO-yP70M26p.js → pie-XZMESJXO-B103X70p.js} +1 -1
  80. package/dist/web/assets/{pieDiagram-GNMPY74T-CGG8tnZU.js → pieDiagram-GNMPY74T-DidrtQvv.js} +1 -1
  81. package/dist/web/assets/{quadrantDiagram-D57K4MC3-B8x9urm3.js → quadrantDiagram-D57K4MC3-Bun_QO6q.js} +1 -1
  82. package/dist/web/assets/{radar-ABXABTNO-DsSZYtHb.js → radar-ABXABTNO-CBQBwTY2.js} +1 -1
  83. package/dist/web/assets/{railroad-I3PHUGI6-CBkwsY49.js → railroad-I3PHUGI6-BTfftaKm.js} +1 -1
  84. package/dist/web/assets/{railroad-abnf-LNEFI6M7-UpVIgDvv.js → railroad-abnf-LNEFI6M7-CD1IiV4A.js} +1 -1
  85. package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-D1GtLjYh.js → railroad-ebnf-DWYD2UWJ-CvkyeA5e.js} +1 -1
  86. package/dist/web/assets/{railroad-peg-JR7BVNR7-CdAGhGM0.js → railroad-peg-JR7BVNR7-CYy1mYRh.js} +1 -1
  87. package/dist/web/assets/{railroadDiagram-Y72NRBL7-CaQOQFyE.js → railroadDiagram-Y72NRBL7-B4Ra33yv.js} +1 -1
  88. package/dist/web/assets/{requirementDiagram-EQYSW5RA-CR4Pq8Xq.js → requirementDiagram-EQYSW5RA-CCJN-Jru.js} +1 -1
  89. package/dist/web/assets/{sankeyDiagram-SY24JHO5-DndZsMBd.js → sankeyDiagram-SY24JHO5-BO8ztHMO.js} +1 -1
  90. package/dist/web/assets/{sequenceDiagram-BLEHNHQU-B8FP_voP.js → sequenceDiagram-BLEHNHQU-CHGTOFOk.js} +1 -1
  91. package/dist/web/assets/{src-QF6jdVLv.js → src-B2489Ca1.js} +1 -1
  92. package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-DU9HCmsP.js → stateDiagram-v2-A6IESKWZ-BlFZedC_.js} +1 -1
  93. package/dist/web/assets/{swimlanes-B3ENRKFQ-Djt7Osrm.js → swimlanes-B3ENRKFQ-6lN1F8kM.js} +1 -1
  94. package/dist/web/assets/swimlanesDiagram-AYQRV4AK-DLgtIkQE.js +8 -0
  95. package/dist/web/assets/{timeline-definition-JXYKGLGB-CMYjEACU.js → timeline-definition-JXYKGLGB-C4dWJ3yz.js} +1 -1
  96. package/dist/web/assets/{treeView-D4JQ5SDB-DRHIdA_a.js → treeView-D4JQ5SDB-CdID1eHR.js} +1 -1
  97. package/dist/web/assets/{treemap-SAJKECNS-dxQy5M5M.js → treemap-SAJKECNS-BjUWV6A_.js} +1 -1
  98. package/dist/web/assets/{usecaseDiagram-WPOLBNNX-UFImsKcM.js → usecaseDiagram-WPOLBNNX-CvzHFCsX.js} +1 -1
  99. package/dist/web/assets/{vennDiagram-Q3Y3IDCW-BC75t58-.js → vennDiagram-Q3Y3IDCW-BdU35j8g.js} +1 -1
  100. package/dist/web/assets/{wardley-7MLQ67FV-DBwJmL0E.js → wardley-7MLQ67FV-B85NDF6v.js} +1 -1
  101. package/dist/web/assets/{wardleyDiagram-IVAIDKWA-B1Mpvf-R.js → wardleyDiagram-IVAIDKWA-DEzv-p3a.js} +1 -1
  102. package/dist/web/assets/{xychartDiagram-4URNHDU4-B0M0BOfK.js → xychartDiagram-4URNHDU4-B1ck_pTM.js} +1 -1
  103. package/dist/web/index.html +2 -2
  104. package/package.json +4 -4
  105. package/dist/web/assets/channel-BFa1PTAs.js +0 -1
  106. package/dist/web/assets/flowDiagram-IUGLLWBU-DOLy1TaN.js +0 -1
  107. package/dist/web/assets/index-Bbm1piVJ.css +0 -1
  108. package/dist/web/assets/index-DIC0WizT.js +0 -158
  109. package/dist/web/assets/swimlanesDiagram-AYQRV4AK-Cma0gW03.js +0 -8
@@ -0,0 +1,606 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "c531f24a-7fdc-4fab-a2bb-ff560659f239",
5
+ "prevId": "9ddfabdf-9818-4451-ab12-9acc142e2952",
6
+ "tables": {
7
+ "execution_markers": {
8
+ "name": "execution_markers",
9
+ "columns": {
10
+ "operation_id": {
11
+ "name": "operation_id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "thread_id": {
18
+ "name": "thread_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "turn_id": {
25
+ "name": "turn_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": false,
29
+ "autoincrement": false
30
+ },
31
+ "workspace_key": {
32
+ "name": "workspace_key",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "codex_epoch": {
39
+ "name": "codex_epoch",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false
44
+ },
45
+ "state": {
46
+ "name": "state",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false
51
+ },
52
+ "created_at": {
53
+ "name": "created_at",
54
+ "type": "integer",
55
+ "primaryKey": false,
56
+ "notNull": true,
57
+ "autoincrement": false
58
+ },
59
+ "ended_at": {
60
+ "name": "ended_at",
61
+ "type": "integer",
62
+ "primaryKey": false,
63
+ "notNull": false,
64
+ "autoincrement": false
65
+ },
66
+ "reconciled_at": {
67
+ "name": "reconciled_at",
68
+ "type": "integer",
69
+ "primaryKey": false,
70
+ "notNull": false,
71
+ "autoincrement": false
72
+ },
73
+ "reconciliation_operation_id": {
74
+ "name": "reconciliation_operation_id",
75
+ "type": "text",
76
+ "primaryKey": false,
77
+ "notNull": false,
78
+ "autoincrement": false
79
+ }
80
+ },
81
+ "indexes": {
82
+ "execution_markers_active_thread": {
83
+ "name": "execution_markers_active_thread",
84
+ "columns": [
85
+ "thread_id"
86
+ ],
87
+ "isUnique": true,
88
+ "where": "\"execution_markers\".\"ended_at\" is null"
89
+ }
90
+ },
91
+ "foreignKeys": {
92
+ "execution_markers_operation_id_operations_client_operation_id_fk": {
93
+ "name": "execution_markers_operation_id_operations_client_operation_id_fk",
94
+ "tableFrom": "execution_markers",
95
+ "tableTo": "operations",
96
+ "columnsFrom": [
97
+ "operation_id"
98
+ ],
99
+ "columnsTo": [
100
+ "client_operation_id"
101
+ ],
102
+ "onDelete": "no action",
103
+ "onUpdate": "no action"
104
+ },
105
+ "execution_markers_reconciliation_operation_id_operations_client_operation_id_fk": {
106
+ "name": "execution_markers_reconciliation_operation_id_operations_client_operation_id_fk",
107
+ "tableFrom": "execution_markers",
108
+ "tableTo": "operations",
109
+ "columnsFrom": [
110
+ "reconciliation_operation_id"
111
+ ],
112
+ "columnsTo": [
113
+ "client_operation_id"
114
+ ],
115
+ "onDelete": "no action",
116
+ "onUpdate": "no action"
117
+ }
118
+ },
119
+ "compositePrimaryKeys": {},
120
+ "uniqueConstraints": {},
121
+ "checkConstraints": {
122
+ "execution_markers_state_check": {
123
+ "name": "execution_markers_state_check",
124
+ "value": "\"execution_markers\".\"state\" in ('active', 'unknown', 'terminal', 'reconciled')"
125
+ }
126
+ }
127
+ },
128
+ "operations": {
129
+ "name": "operations",
130
+ "columns": {
131
+ "client_operation_id": {
132
+ "name": "client_operation_id",
133
+ "type": "text",
134
+ "primaryKey": true,
135
+ "notNull": true,
136
+ "autoincrement": false
137
+ },
138
+ "kind": {
139
+ "name": "kind",
140
+ "type": "text",
141
+ "primaryKey": false,
142
+ "notNull": true,
143
+ "autoincrement": false
144
+ },
145
+ "target": {
146
+ "name": "target",
147
+ "type": "text",
148
+ "primaryKey": false,
149
+ "notNull": true,
150
+ "autoincrement": false
151
+ },
152
+ "project_id": {
153
+ "name": "project_id",
154
+ "type": "text",
155
+ "primaryKey": false,
156
+ "notNull": false,
157
+ "autoincrement": false
158
+ },
159
+ "request_digest": {
160
+ "name": "request_digest",
161
+ "type": "text",
162
+ "primaryKey": false,
163
+ "notNull": true,
164
+ "autoincrement": false
165
+ },
166
+ "state": {
167
+ "name": "state",
168
+ "type": "text",
169
+ "primaryKey": false,
170
+ "notNull": true,
171
+ "autoincrement": false
172
+ },
173
+ "result": {
174
+ "name": "result",
175
+ "type": "text",
176
+ "primaryKey": false,
177
+ "notNull": false,
178
+ "autoincrement": false
179
+ },
180
+ "error": {
181
+ "name": "error",
182
+ "type": "text",
183
+ "primaryKey": false,
184
+ "notNull": false,
185
+ "autoincrement": false
186
+ },
187
+ "created_at": {
188
+ "name": "created_at",
189
+ "type": "integer",
190
+ "primaryKey": false,
191
+ "notNull": true,
192
+ "autoincrement": false
193
+ },
194
+ "updated_at": {
195
+ "name": "updated_at",
196
+ "type": "integer",
197
+ "primaryKey": false,
198
+ "notNull": true,
199
+ "autoincrement": false
200
+ },
201
+ "reconciled_at": {
202
+ "name": "reconciled_at",
203
+ "type": "integer",
204
+ "primaryKey": false,
205
+ "notNull": false,
206
+ "autoincrement": false
207
+ },
208
+ "reconciliation_decision": {
209
+ "name": "reconciliation_decision",
210
+ "type": "text",
211
+ "primaryKey": false,
212
+ "notNull": false,
213
+ "autoincrement": false
214
+ }
215
+ },
216
+ "indexes": {
217
+ "operations_state_idx": {
218
+ "name": "operations_state_idx",
219
+ "columns": [
220
+ "state"
221
+ ],
222
+ "isUnique": false
223
+ }
224
+ },
225
+ "foreignKeys": {},
226
+ "compositePrimaryKeys": {},
227
+ "uniqueConstraints": {},
228
+ "checkConstraints": {
229
+ "operations_state_check": {
230
+ "name": "operations_state_check",
231
+ "value": "\"operations\".\"state\" in ('accepted', 'dispatching', 'acknowledged', 'failed', 'unknown')"
232
+ }
233
+ }
234
+ },
235
+ "pending_user_messages": {
236
+ "name": "pending_user_messages",
237
+ "columns": {
238
+ "id": {
239
+ "name": "id",
240
+ "type": "text",
241
+ "primaryKey": true,
242
+ "notNull": true,
243
+ "autoincrement": false
244
+ },
245
+ "thread_id": {
246
+ "name": "thread_id",
247
+ "type": "text",
248
+ "primaryKey": false,
249
+ "notNull": true,
250
+ "autoincrement": false
251
+ },
252
+ "turn_id": {
253
+ "name": "turn_id",
254
+ "type": "text",
255
+ "primaryKey": false,
256
+ "notNull": false,
257
+ "autoincrement": false
258
+ },
259
+ "item": {
260
+ "name": "item",
261
+ "type": "text",
262
+ "primaryKey": false,
263
+ "notNull": true,
264
+ "autoincrement": false
265
+ },
266
+ "status": {
267
+ "name": "status",
268
+ "type": "text",
269
+ "primaryKey": false,
270
+ "notNull": true,
271
+ "autoincrement": false
272
+ },
273
+ "created_at": {
274
+ "name": "created_at",
275
+ "type": "integer",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "autoincrement": false
279
+ }
280
+ },
281
+ "indexes": {
282
+ "pending_user_messages_thread_idx": {
283
+ "name": "pending_user_messages_thread_idx",
284
+ "columns": [
285
+ "thread_id"
286
+ ],
287
+ "isUnique": false
288
+ }
289
+ },
290
+ "foreignKeys": {
291
+ "pending_user_messages_id_operations_client_operation_id_fk": {
292
+ "name": "pending_user_messages_id_operations_client_operation_id_fk",
293
+ "tableFrom": "pending_user_messages",
294
+ "tableTo": "operations",
295
+ "columnsFrom": [
296
+ "id"
297
+ ],
298
+ "columnsTo": [
299
+ "client_operation_id"
300
+ ],
301
+ "onDelete": "no action",
302
+ "onUpdate": "no action"
303
+ }
304
+ },
305
+ "compositePrimaryKeys": {},
306
+ "uniqueConstraints": {},
307
+ "checkConstraints": {
308
+ "pending_user_messages_status_check": {
309
+ "name": "pending_user_messages_status_check",
310
+ "value": "\"pending_user_messages\".\"status\" in ('submitting', 'submitted', 'unknown', 'failed')"
311
+ }
312
+ }
313
+ },
314
+ "preferences": {
315
+ "name": "preferences",
316
+ "columns": {
317
+ "key": {
318
+ "name": "key",
319
+ "type": "text",
320
+ "primaryKey": true,
321
+ "notNull": true,
322
+ "autoincrement": false
323
+ },
324
+ "value": {
325
+ "name": "value",
326
+ "type": "text",
327
+ "primaryKey": false,
328
+ "notNull": true,
329
+ "autoincrement": false
330
+ }
331
+ },
332
+ "indexes": {},
333
+ "foreignKeys": {},
334
+ "compositePrimaryKeys": {},
335
+ "uniqueConstraints": {},
336
+ "checkConstraints": {}
337
+ },
338
+ "project_registrations": {
339
+ "name": "project_registrations",
340
+ "columns": {
341
+ "id": {
342
+ "name": "id",
343
+ "type": "text",
344
+ "primaryKey": true,
345
+ "notNull": true,
346
+ "autoincrement": false
347
+ },
348
+ "name": {
349
+ "name": "name",
350
+ "type": "text",
351
+ "primaryKey": false,
352
+ "notNull": true,
353
+ "autoincrement": false
354
+ },
355
+ "path": {
356
+ "name": "path",
357
+ "type": "text",
358
+ "primaryKey": false,
359
+ "notNull": true,
360
+ "autoincrement": false
361
+ },
362
+ "canonical_root": {
363
+ "name": "canonical_root",
364
+ "type": "text",
365
+ "primaryKey": false,
366
+ "notNull": false,
367
+ "autoincrement": false
368
+ },
369
+ "removed_at": {
370
+ "name": "removed_at",
371
+ "type": "integer",
372
+ "primaryKey": false,
373
+ "notNull": false,
374
+ "autoincrement": false
375
+ },
376
+ "sort_order": {
377
+ "name": "sort_order",
378
+ "type": "integer",
379
+ "primaryKey": false,
380
+ "notNull": true,
381
+ "autoincrement": false,
382
+ "default": 0
383
+ },
384
+ "created_at": {
385
+ "name": "created_at",
386
+ "type": "integer",
387
+ "primaryKey": false,
388
+ "notNull": true,
389
+ "autoincrement": false
390
+ },
391
+ "updated_at": {
392
+ "name": "updated_at",
393
+ "type": "integer",
394
+ "primaryKey": false,
395
+ "notNull": true,
396
+ "autoincrement": false
397
+ }
398
+ },
399
+ "indexes": {},
400
+ "foreignKeys": {},
401
+ "compositePrimaryKeys": {},
402
+ "uniqueConstraints": {},
403
+ "checkConstraints": {}
404
+ },
405
+ "session_workspaces": {
406
+ "name": "session_workspaces",
407
+ "columns": {
408
+ "operation_id": {
409
+ "name": "operation_id",
410
+ "type": "text",
411
+ "primaryKey": true,
412
+ "notNull": true,
413
+ "autoincrement": false
414
+ },
415
+ "thread_id": {
416
+ "name": "thread_id",
417
+ "type": "text",
418
+ "primaryKey": false,
419
+ "notNull": false,
420
+ "autoincrement": false
421
+ },
422
+ "root_path": {
423
+ "name": "root_path",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false
428
+ },
429
+ "canonical_root": {
430
+ "name": "canonical_root",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": true,
434
+ "autoincrement": false
435
+ },
436
+ "created_at": {
437
+ "name": "created_at",
438
+ "type": "integer",
439
+ "primaryKey": false,
440
+ "notNull": true,
441
+ "autoincrement": false
442
+ }
443
+ },
444
+ "indexes": {
445
+ "session_workspaces_thread_id_unique": {
446
+ "name": "session_workspaces_thread_id_unique",
447
+ "columns": [
448
+ "thread_id"
449
+ ],
450
+ "isUnique": true
451
+ },
452
+ "session_workspaces_canonical_root_unique": {
453
+ "name": "session_workspaces_canonical_root_unique",
454
+ "columns": [
455
+ "canonical_root"
456
+ ],
457
+ "isUnique": true
458
+ }
459
+ },
460
+ "foreignKeys": {},
461
+ "compositePrimaryKeys": {},
462
+ "uniqueConstraints": {},
463
+ "checkConstraints": {}
464
+ },
465
+ "thread_links": {
466
+ "name": "thread_links",
467
+ "columns": {
468
+ "thread_id": {
469
+ "name": "thread_id",
470
+ "type": "text",
471
+ "primaryKey": true,
472
+ "notNull": true,
473
+ "autoincrement": false
474
+ },
475
+ "project_id": {
476
+ "name": "project_id",
477
+ "type": "text",
478
+ "primaryKey": false,
479
+ "notNull": false,
480
+ "autoincrement": false
481
+ },
482
+ "cwd": {
483
+ "name": "cwd",
484
+ "type": "text",
485
+ "primaryKey": false,
486
+ "notNull": true,
487
+ "autoincrement": false
488
+ },
489
+ "source": {
490
+ "name": "source",
491
+ "type": "text",
492
+ "primaryKey": false,
493
+ "notNull": true,
494
+ "autoincrement": false
495
+ },
496
+ "managed_epoch": {
497
+ "name": "managed_epoch",
498
+ "type": "text",
499
+ "primaryKey": false,
500
+ "notNull": false,
501
+ "autoincrement": false
502
+ },
503
+ "updated_at": {
504
+ "name": "updated_at",
505
+ "type": "integer",
506
+ "primaryKey": false,
507
+ "notNull": true,
508
+ "autoincrement": false
509
+ }
510
+ },
511
+ "indexes": {},
512
+ "foreignKeys": {},
513
+ "compositePrimaryKeys": {},
514
+ "uniqueConstraints": {},
515
+ "checkConstraints": {}
516
+ },
517
+ "turn_token_totals": {
518
+ "name": "turn_token_totals",
519
+ "columns": {
520
+ "thread_id": {
521
+ "name": "thread_id",
522
+ "type": "text",
523
+ "primaryKey": false,
524
+ "notNull": true,
525
+ "autoincrement": false
526
+ },
527
+ "turn_id": {
528
+ "name": "turn_id",
529
+ "type": "text",
530
+ "primaryKey": false,
531
+ "notNull": true,
532
+ "autoincrement": false
533
+ },
534
+ "total_tokens": {
535
+ "name": "total_tokens",
536
+ "type": "integer",
537
+ "primaryKey": false,
538
+ "notNull": true,
539
+ "autoincrement": false
540
+ }
541
+ },
542
+ "indexes": {},
543
+ "foreignKeys": {},
544
+ "compositePrimaryKeys": {
545
+ "turn_token_totals_thread_id_turn_id_pk": {
546
+ "columns": [
547
+ "thread_id",
548
+ "turn_id"
549
+ ],
550
+ "name": "turn_token_totals_thread_id_turn_id_pk"
551
+ }
552
+ },
553
+ "uniqueConstraints": {},
554
+ "checkConstraints": {}
555
+ },
556
+ "turn_usage": {
557
+ "name": "turn_usage",
558
+ "columns": {
559
+ "thread_id": {
560
+ "name": "thread_id",
561
+ "type": "text",
562
+ "primaryKey": false,
563
+ "notNull": true,
564
+ "autoincrement": false
565
+ },
566
+ "turn_id": {
567
+ "name": "turn_id",
568
+ "type": "text",
569
+ "primaryKey": false,
570
+ "notNull": true,
571
+ "autoincrement": false
572
+ },
573
+ "output_tokens": {
574
+ "name": "output_tokens",
575
+ "type": "integer",
576
+ "primaryKey": false,
577
+ "notNull": true,
578
+ "autoincrement": false
579
+ }
580
+ },
581
+ "indexes": {},
582
+ "foreignKeys": {},
583
+ "compositePrimaryKeys": {
584
+ "turn_usage_thread_id_turn_id_pk": {
585
+ "columns": [
586
+ "thread_id",
587
+ "turn_id"
588
+ ],
589
+ "name": "turn_usage_thread_id_turn_id_pk"
590
+ }
591
+ },
592
+ "uniqueConstraints": {},
593
+ "checkConstraints": {}
594
+ }
595
+ },
596
+ "views": {},
597
+ "enums": {},
598
+ "_meta": {
599
+ "schemas": {},
600
+ "tables": {},
601
+ "columns": {}
602
+ },
603
+ "internal": {
604
+ "indexes": {}
605
+ }
606
+ }
@@ -57,6 +57,13 @@
57
57
  "when": 1793698804577,
58
58
  "tag": "0007_turn_total_tokens",
59
59
  "breakpoints": true
60
+ },
61
+ {
62
+ "idx": 8,
63
+ "version": "6",
64
+ "when": 1793864992011,
65
+ "tag": "0008_pending_user_messages",
66
+ "breakpoints": true
60
67
  }
61
68
  ]
62
69
  }