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

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 (107) hide show
  1. package/README.md +1 -1
  2. package/README.zh-CN.md +1 -1
  3. package/dist/codex/adapter.js +2 -16
  4. package/dist/codex/adapter.js.map +2 -2
  5. package/dist/drizzle/0009_question_tracking.sql +15 -0
  6. package/dist/drizzle/meta/0009_snapshot.json +698 -0
  7. package/dist/drizzle/meta/_journal.json +7 -0
  8. package/dist/server/db/question-tracking.js +83 -0
  9. package/dist/server/db/question-tracking.js.map +7 -0
  10. package/dist/server/db/schema.js +22 -0
  11. package/dist/server/db/schema.js.map +2 -2
  12. package/dist/server/http.js +7 -0
  13. package/dist/server/http.js.map +2 -2
  14. package/dist/server/service.js +108 -17
  15. package/dist/server/service.js.map +3 -3
  16. package/dist/shared/question-resolution.js +27 -0
  17. package/dist/shared/question-resolution.js.map +7 -0
  18. package/dist/shared/thread-attention.js +1 -1
  19. package/dist/shared/thread-attention.js.map +2 -2
  20. package/dist/shared/validation.js +8 -1
  21. package/dist/shared/validation.js.map +2 -2
  22. package/dist/web/assets/{abnfDiagram-WEYOIA3C-BCbBe9sD.js → abnfDiagram-WEYOIA3C-BO_RQeXN.js} +1 -1
  23. package/dist/web/assets/{arc-Dmj0lNjC.js → arc-BrbjGKnJ.js} +1 -1
  24. package/dist/web/assets/{architecture-WOLXFQ4H-Svdy_1x9.js → architecture-WOLXFQ4H-CO5JiNWc.js} +1 -1
  25. package/dist/web/assets/{architectureDiagram-ZHVYKT53-C7y9lfSk.js → architectureDiagram-ZHVYKT53-VZ--7mt8.js} +1 -1
  26. package/dist/web/assets/{blockDiagram-RJAE7QA3-DYxD2Kch.js → blockDiagram-RJAE7QA3-CFd3y32z.js} +1 -1
  27. package/dist/web/assets/{c4Diagram-XDPPPE54-6t2e5I0A.js → c4Diagram-XDPPPE54-DAavEe0D.js} +1 -1
  28. package/dist/web/assets/channel-B6wPa8oJ.js +1 -0
  29. package/dist/web/assets/{chunk-2E7WHVMD-75d2TU1O.js → chunk-2E7WHVMD-DmIDdy_2.js} +1 -1
  30. package/dist/web/assets/{chunk-4EMNKR2T-K8d5Kk-R.js → chunk-4EMNKR2T-Co0NPOlt.js} +1 -1
  31. package/dist/web/assets/{chunk-55XCU76K-DdfehDJs.js → chunk-55XCU76K-Z9vyXWlz.js} +1 -1
  32. package/dist/web/assets/{chunk-7S6XSTFO-Dkj4l-ja.js → chunk-7S6XSTFO-FtT06ZAY.js} +1 -1
  33. package/dist/web/assets/{chunk-AQDTSKZB-CJ0iS2wK.js → chunk-AQDTSKZB-6ECeFeD7.js} +1 -1
  34. package/dist/web/assets/{chunk-DSNLSHJZ-BtpQNPbj.js → chunk-DSNLSHJZ-BwB4BSUm.js} +1 -1
  35. package/dist/web/assets/{chunk-HAGFOTED-BSQfMdak.js → chunk-HAGFOTED-DuK_RKqo.js} +1 -1
  36. package/dist/web/assets/{chunk-HNE4Q36P-BtYKKnn5.js → chunk-HNE4Q36P-BGD3LccE.js} +1 -1
  37. package/dist/web/assets/{chunk-NQOKRVIF-2YqFnEzu.js → chunk-NQOKRVIF-d9_InO8B.js} +1 -1
  38. package/dist/web/assets/{chunk-UHW7PFBP-Ce7TuUqP.js → chunk-UHW7PFBP-oyw-rnut.js} +1 -1
  39. package/dist/web/assets/{chunk-VQ5W62QI-DQWomF93.js → chunk-VQ5W62QI-CBtXwUMd.js} +1 -1
  40. package/dist/web/assets/{chunk-WQQL4CDK-BCbKpaT6.js → chunk-WQQL4CDK-C0yGAD8U.js} +1 -1
  41. package/dist/web/assets/{chunk-XXDRQBXY-C9rTpqIe.js → chunk-XXDRQBXY-CJoPDXBk.js} +1 -1
  42. package/dist/web/assets/{chunk-YZO67HFG-C9v0ova1.js → chunk-YZO67HFG-ClQ0H3pB.js} +1 -1
  43. package/dist/web/assets/{chunk-ZAUX2LTX-BdGFguJi.js → chunk-ZAUX2LTX-Djwp7USo.js} +1 -1
  44. package/dist/web/assets/{chunk-ZCHMQSOR-JZziUBXP.js → chunk-ZCHMQSOR-B_XXu_RK.js} +1 -1
  45. package/dist/web/assets/{classDiagram-v2-4MYWR3UA-kaUa8Osh.js → classDiagram-v2-4MYWR3UA-DTykvZXI.js} +1 -1
  46. package/dist/web/assets/{cose-bilkent-JH36ORCC-B7AoZpec.js → cose-bilkent-JH36ORCC-C3noGEk8.js} +1 -1
  47. package/dist/web/assets/{cynefin-EF2NZ3EQ-mZQH-v4h.js → cynefin-EF2NZ3EQ-Cu3p3KzN.js} +1 -1
  48. package/dist/web/assets/{cynefinDiagram-WF24UDRP-VFu42UYD.js → cynefinDiagram-WF24UDRP-CMJtiF5O.js} +1 -1
  49. package/dist/web/assets/{dagre-NK4GIZVX-BykPb3q5.js → dagre-NK4GIZVX-_gQW4c3R.js} +1 -1
  50. package/dist/web/assets/{diagram-CBK3MWTC-C8Sdoz2H.js → diagram-CBK3MWTC-DQMdH7AV.js} +1 -1
  51. package/dist/web/assets/{diagram-I5XIIV2D-BngbS3N1.js → diagram-I5XIIV2D-YBBLWFnG.js} +1 -1
  52. package/dist/web/assets/{diagram-ODIL2UCW-BXxXZOOz.js → diagram-ODIL2UCW-CHXIVRf1.js} +1 -1
  53. package/dist/web/assets/{diagram-PFBEJUXE-Ck5ASHbm.js → diagram-PFBEJUXE-DDrYQuSn.js} +1 -1
  54. package/dist/web/assets/{diagram-RJA3I4VV-cQN1z6Ay.js → diagram-RJA3I4VV-T_QHVlBo.js} +1 -1
  55. package/dist/web/assets/{diagram-TYUNFSNR-BeqL9hEh.js → diagram-TYUNFSNR-CrttYzid.js} +1 -1
  56. package/dist/web/assets/{dist-BGAiDAIF.js → dist-sxTkLBEW.js} +1 -1
  57. package/dist/web/assets/{ebnfDiagram-V4P3TTPT-lMkPFQ2I.js → ebnfDiagram-V4P3TTPT-D5socIPN.js} +1 -1
  58. package/dist/web/assets/{elk-QONTBCTQ-DAmV761j.js → elk-QONTBCTQ-BnCDU5t4.js} +1 -1
  59. package/dist/web/assets/{erDiagram-KYQIGQAA-BneJIghq.js → erDiagram-KYQIGQAA-BneSJl0f.js} +1 -1
  60. package/dist/web/assets/{eventmodeling-K75KTNOO-Bouh9S6K.js → eventmodeling-K75KTNOO-DAa58bfp.js} +1 -1
  61. package/dist/web/assets/flowDiagram-IUGLLWBU-D5Kfq1wD.js +1 -0
  62. package/dist/web/assets/{ganttDiagram-R7GPNTJY-C6JqImIF.js → ganttDiagram-R7GPNTJY-CbT7Vvh8.js} +1 -1
  63. package/dist/web/assets/{gitGraph-VSP46ZUC-8sSFlknu.js → gitGraph-VSP46ZUC-DImhgnA-.js} +1 -1
  64. package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-8PTJIwji.js → gitGraphDiagram-PDYL7XHY-BCIhQSnt.js} +1 -1
  65. package/dist/web/assets/{index-ApDxvBFa.js → index-B5qrF3YQ.js} +15 -14
  66. package/dist/web/assets/{index-B565iZDe.css → index-CJhiAWU_.css} +1 -1
  67. package/dist/web/assets/{info-OHQRW6UA-zV705KAN.js → info-OHQRW6UA-Ca1dcpLj.js} +1 -1
  68. package/dist/web/assets/{infoDiagram-MVDRKAX5-BXkNK714.js → infoDiagram-MVDRKAX5-CZwqwKIn.js} +1 -1
  69. package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-DqWLS6ge.js → ishikawaDiagram-HPEHV2GE-K78USkcr.js} +1 -1
  70. package/dist/web/assets/{journeyDiagram-BOSHW7O7-De_S2cBU.js → journeyDiagram-BOSHW7O7-CInG1mSi.js} +1 -1
  71. package/dist/web/assets/{kanban-definition-FNSA4HC5-CMsQu53V.js → kanban-definition-FNSA4HC5-BnUr2xEF.js} +1 -1
  72. package/dist/web/assets/{line-DwA1hUEs.js → line-DzMtguNw.js} +1 -1
  73. package/dist/web/assets/{linear-DRJbI_Aw.js → linear-CNySZw0C.js} +1 -1
  74. package/dist/web/assets/{mermaid-parser.core-c4ZovFHr.js → mermaid-parser.core-BjNrmgSz.js} +3 -3
  75. package/dist/web/assets/{mermaid.core-Cz_9uyD3.js → mermaid.core-opaDzh2t.js} +4 -4
  76. package/dist/web/assets/{mindmap-definition-6OY57UG3-Dyz9R3e3.js → mindmap-definition-6OY57UG3-BfQCchDX.js} +1 -1
  77. package/dist/web/assets/{packet-JDAUHWVQ-CU_qWGhS.js → packet-JDAUHWVQ-d61w6Aq3.js} +1 -1
  78. package/dist/web/assets/{pegDiagram-ECIUJNBX-B__QgSw5.js → pegDiagram-ECIUJNBX-C4qbCufd.js} +1 -1
  79. package/dist/web/assets/{pie-XZMESJXO-B103X70p.js → pie-XZMESJXO-Bwb-SDtc.js} +1 -1
  80. package/dist/web/assets/{pieDiagram-GNMPY74T-DidrtQvv.js → pieDiagram-GNMPY74T-DGajqL2R.js} +1 -1
  81. package/dist/web/assets/{quadrantDiagram-D57K4MC3-Bun_QO6q.js → quadrantDiagram-D57K4MC3-DwCmnGz-.js} +1 -1
  82. package/dist/web/assets/{radar-ABXABTNO-CBQBwTY2.js → radar-ABXABTNO-CSV3Ys_t.js} +1 -1
  83. package/dist/web/assets/{railroad-I3PHUGI6-BTfftaKm.js → railroad-I3PHUGI6-B53NZiRX.js} +1 -1
  84. package/dist/web/assets/{railroad-abnf-LNEFI6M7-CD1IiV4A.js → railroad-abnf-LNEFI6M7-AZHHU_Eu.js} +1 -1
  85. package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-CvkyeA5e.js → railroad-ebnf-DWYD2UWJ-CfHUzG_e.js} +1 -1
  86. package/dist/web/assets/{railroad-peg-JR7BVNR7-CYy1mYRh.js → railroad-peg-JR7BVNR7-BFMwCv49.js} +1 -1
  87. package/dist/web/assets/{railroadDiagram-Y72NRBL7-B4Ra33yv.js → railroadDiagram-Y72NRBL7-JGBjh6gS.js} +1 -1
  88. package/dist/web/assets/{requirementDiagram-EQYSW5RA-CCJN-Jru.js → requirementDiagram-EQYSW5RA-H89IE7Aj.js} +1 -1
  89. package/dist/web/assets/{sankeyDiagram-SY24JHO5-BO8ztHMO.js → sankeyDiagram-SY24JHO5-BW1h5GMG.js} +1 -1
  90. package/dist/web/assets/{sequenceDiagram-BLEHNHQU-CHGTOFOk.js → sequenceDiagram-BLEHNHQU-DW1LCcm2.js} +1 -1
  91. package/dist/web/assets/{src-B2489Ca1.js → src-qKGv1ENI.js} +1 -1
  92. package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-BlFZedC_.js → stateDiagram-v2-A6IESKWZ-B1LYrPov.js} +1 -1
  93. package/dist/web/assets/{swimlanes-B3ENRKFQ-6lN1F8kM.js → swimlanes-B3ENRKFQ-DTZ07PM6.js} +1 -1
  94. package/dist/web/assets/swimlanesDiagram-AYQRV4AK-CmXIvE2p.js +8 -0
  95. package/dist/web/assets/{timeline-definition-JXYKGLGB-C4dWJ3yz.js → timeline-definition-JXYKGLGB-BE1obc2i.js} +1 -1
  96. package/dist/web/assets/{treeView-D4JQ5SDB-CdID1eHR.js → treeView-D4JQ5SDB-B5wK9RCF.js} +1 -1
  97. package/dist/web/assets/{treemap-SAJKECNS-BjUWV6A_.js → treemap-SAJKECNS-Cfy-_3AL.js} +1 -1
  98. package/dist/web/assets/{usecaseDiagram-WPOLBNNX-CvzHFCsX.js → usecaseDiagram-WPOLBNNX-xz4Our_C.js} +1 -1
  99. package/dist/web/assets/{vennDiagram-Q3Y3IDCW-BdU35j8g.js → vennDiagram-Q3Y3IDCW-DPiMvNxK.js} +1 -1
  100. package/dist/web/assets/{wardley-7MLQ67FV-B85NDF6v.js → wardley-7MLQ67FV-By9tOblG.js} +1 -1
  101. package/dist/web/assets/{wardleyDiagram-IVAIDKWA-DEzv-p3a.js → wardleyDiagram-IVAIDKWA-CEXsZftZ.js} +1 -1
  102. package/dist/web/assets/{xychartDiagram-4URNHDU4-B1ck_pTM.js → xychartDiagram-4URNHDU4-CpvteEDM.js} +1 -1
  103. package/dist/web/index.html +2 -2
  104. package/package.json +4 -4
  105. package/dist/web/assets/channel-hEaJUY_g.js +0 -1
  106. package/dist/web/assets/flowDiagram-IUGLLWBU-Cmf_WJgx.js +0 -1
  107. package/dist/web/assets/swimlanesDiagram-AYQRV4AK-DLgtIkQE.js +0 -8
@@ -0,0 +1,698 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "592b8664-80ad-4f32-9a90-7f8610b96292",
5
+ "prevId": "c531f24a-7fdc-4fab-a2bb-ff560659f239",
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
+ "question_action_history": {
406
+ "name": "question_action_history",
407
+ "columns": {
408
+ "action_id": {
409
+ "name": "action_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": true,
420
+ "autoincrement": false
421
+ },
422
+ "action": {
423
+ "name": "action",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false
428
+ }
429
+ },
430
+ "indexes": {
431
+ "question_action_history_thread": {
432
+ "name": "question_action_history_thread",
433
+ "columns": [
434
+ "thread_id"
435
+ ],
436
+ "isUnique": false
437
+ }
438
+ },
439
+ "foreignKeys": {},
440
+ "compositePrimaryKeys": {},
441
+ "uniqueConstraints": {},
442
+ "checkConstraints": {}
443
+ },
444
+ "question_tracking": {
445
+ "name": "question_tracking",
446
+ "columns": {
447
+ "thread_id": {
448
+ "name": "thread_id",
449
+ "type": "text",
450
+ "primaryKey": false,
451
+ "notNull": true,
452
+ "autoincrement": false
453
+ },
454
+ "question_id": {
455
+ "name": "question_id",
456
+ "type": "text",
457
+ "primaryKey": false,
458
+ "notNull": true,
459
+ "autoincrement": false
460
+ },
461
+ "state": {
462
+ "name": "state",
463
+ "type": "text",
464
+ "primaryKey": false,
465
+ "notNull": true,
466
+ "autoincrement": false
467
+ },
468
+ "operation_id": {
469
+ "name": "operation_id",
470
+ "type": "text",
471
+ "primaryKey": false,
472
+ "notNull": true,
473
+ "autoincrement": false
474
+ },
475
+ "updated_at": {
476
+ "name": "updated_at",
477
+ "type": "integer",
478
+ "primaryKey": false,
479
+ "notNull": true,
480
+ "autoincrement": false
481
+ }
482
+ },
483
+ "indexes": {},
484
+ "foreignKeys": {},
485
+ "compositePrimaryKeys": {
486
+ "question_tracking_thread_id_question_id_pk": {
487
+ "columns": [
488
+ "thread_id",
489
+ "question_id"
490
+ ],
491
+ "name": "question_tracking_thread_id_question_id_pk"
492
+ }
493
+ },
494
+ "uniqueConstraints": {},
495
+ "checkConstraints": {}
496
+ },
497
+ "session_workspaces": {
498
+ "name": "session_workspaces",
499
+ "columns": {
500
+ "operation_id": {
501
+ "name": "operation_id",
502
+ "type": "text",
503
+ "primaryKey": true,
504
+ "notNull": true,
505
+ "autoincrement": false
506
+ },
507
+ "thread_id": {
508
+ "name": "thread_id",
509
+ "type": "text",
510
+ "primaryKey": false,
511
+ "notNull": false,
512
+ "autoincrement": false
513
+ },
514
+ "root_path": {
515
+ "name": "root_path",
516
+ "type": "text",
517
+ "primaryKey": false,
518
+ "notNull": true,
519
+ "autoincrement": false
520
+ },
521
+ "canonical_root": {
522
+ "name": "canonical_root",
523
+ "type": "text",
524
+ "primaryKey": false,
525
+ "notNull": true,
526
+ "autoincrement": false
527
+ },
528
+ "created_at": {
529
+ "name": "created_at",
530
+ "type": "integer",
531
+ "primaryKey": false,
532
+ "notNull": true,
533
+ "autoincrement": false
534
+ }
535
+ },
536
+ "indexes": {
537
+ "session_workspaces_thread_id_unique": {
538
+ "name": "session_workspaces_thread_id_unique",
539
+ "columns": [
540
+ "thread_id"
541
+ ],
542
+ "isUnique": true
543
+ },
544
+ "session_workspaces_canonical_root_unique": {
545
+ "name": "session_workspaces_canonical_root_unique",
546
+ "columns": [
547
+ "canonical_root"
548
+ ],
549
+ "isUnique": true
550
+ }
551
+ },
552
+ "foreignKeys": {},
553
+ "compositePrimaryKeys": {},
554
+ "uniqueConstraints": {},
555
+ "checkConstraints": {}
556
+ },
557
+ "thread_links": {
558
+ "name": "thread_links",
559
+ "columns": {
560
+ "thread_id": {
561
+ "name": "thread_id",
562
+ "type": "text",
563
+ "primaryKey": true,
564
+ "notNull": true,
565
+ "autoincrement": false
566
+ },
567
+ "project_id": {
568
+ "name": "project_id",
569
+ "type": "text",
570
+ "primaryKey": false,
571
+ "notNull": false,
572
+ "autoincrement": false
573
+ },
574
+ "cwd": {
575
+ "name": "cwd",
576
+ "type": "text",
577
+ "primaryKey": false,
578
+ "notNull": true,
579
+ "autoincrement": false
580
+ },
581
+ "source": {
582
+ "name": "source",
583
+ "type": "text",
584
+ "primaryKey": false,
585
+ "notNull": true,
586
+ "autoincrement": false
587
+ },
588
+ "managed_epoch": {
589
+ "name": "managed_epoch",
590
+ "type": "text",
591
+ "primaryKey": false,
592
+ "notNull": false,
593
+ "autoincrement": false
594
+ },
595
+ "updated_at": {
596
+ "name": "updated_at",
597
+ "type": "integer",
598
+ "primaryKey": false,
599
+ "notNull": true,
600
+ "autoincrement": false
601
+ }
602
+ },
603
+ "indexes": {},
604
+ "foreignKeys": {},
605
+ "compositePrimaryKeys": {},
606
+ "uniqueConstraints": {},
607
+ "checkConstraints": {}
608
+ },
609
+ "turn_token_totals": {
610
+ "name": "turn_token_totals",
611
+ "columns": {
612
+ "thread_id": {
613
+ "name": "thread_id",
614
+ "type": "text",
615
+ "primaryKey": false,
616
+ "notNull": true,
617
+ "autoincrement": false
618
+ },
619
+ "turn_id": {
620
+ "name": "turn_id",
621
+ "type": "text",
622
+ "primaryKey": false,
623
+ "notNull": true,
624
+ "autoincrement": false
625
+ },
626
+ "total_tokens": {
627
+ "name": "total_tokens",
628
+ "type": "integer",
629
+ "primaryKey": false,
630
+ "notNull": true,
631
+ "autoincrement": false
632
+ }
633
+ },
634
+ "indexes": {},
635
+ "foreignKeys": {},
636
+ "compositePrimaryKeys": {
637
+ "turn_token_totals_thread_id_turn_id_pk": {
638
+ "columns": [
639
+ "thread_id",
640
+ "turn_id"
641
+ ],
642
+ "name": "turn_token_totals_thread_id_turn_id_pk"
643
+ }
644
+ },
645
+ "uniqueConstraints": {},
646
+ "checkConstraints": {}
647
+ },
648
+ "turn_usage": {
649
+ "name": "turn_usage",
650
+ "columns": {
651
+ "thread_id": {
652
+ "name": "thread_id",
653
+ "type": "text",
654
+ "primaryKey": false,
655
+ "notNull": true,
656
+ "autoincrement": false
657
+ },
658
+ "turn_id": {
659
+ "name": "turn_id",
660
+ "type": "text",
661
+ "primaryKey": false,
662
+ "notNull": true,
663
+ "autoincrement": false
664
+ },
665
+ "output_tokens": {
666
+ "name": "output_tokens",
667
+ "type": "integer",
668
+ "primaryKey": false,
669
+ "notNull": true,
670
+ "autoincrement": false
671
+ }
672
+ },
673
+ "indexes": {},
674
+ "foreignKeys": {},
675
+ "compositePrimaryKeys": {
676
+ "turn_usage_thread_id_turn_id_pk": {
677
+ "columns": [
678
+ "thread_id",
679
+ "turn_id"
680
+ ],
681
+ "name": "turn_usage_thread_id_turn_id_pk"
682
+ }
683
+ },
684
+ "uniqueConstraints": {},
685
+ "checkConstraints": {}
686
+ }
687
+ },
688
+ "views": {},
689
+ "enums": {},
690
+ "_meta": {
691
+ "schemas": {},
692
+ "tables": {},
693
+ "columns": {}
694
+ },
695
+ "internal": {
696
+ "indexes": {}
697
+ }
698
+ }
@@ -64,6 +64,13 @@
64
64
  "when": 1793864992011,
65
65
  "tag": "0008_pending_user_messages",
66
66
  "breakpoints": true
67
+ },
68
+ {
69
+ "idx": 9,
70
+ "version": "6",
71
+ "when": 1793934100379,
72
+ "tag": "0009_question_tracking",
73
+ "breakpoints": true
67
74
  }
68
75
  ]
69
76
  }