@covro/covro 0.9.0-beta.1 → 0.9.0-beta.2
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.
- package/README.md +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/codex/adapter.js +5 -3
- package/dist/codex/adapter.js.map +2 -2
- package/dist/codex/mapping.js +1 -0
- package/dist/codex/mapping.js.map +2 -2
- package/dist/drizzle/0008_pending_user_messages.sql +12 -0
- package/dist/drizzle/meta/0008_snapshot.json +606 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/server/db/operations.js +34 -3
- package/dist/server/db/operations.js.map +2 -2
- package/dist/server/db/schema.js +19 -0
- package/dist/server/db/schema.js.map +2 -2
- package/dist/server/projection.js +4 -1
- package/dist/server/projection.js.map +2 -2
- package/dist/server/service.js +48 -12
- package/dist/server/service.js.map +2 -2
- package/dist/server/snapshot.js +4 -0
- package/dist/server/snapshot.js.map +2 -2
- package/dist/shared/user-message.js +26 -0
- package/dist/shared/user-message.js.map +7 -0
- package/dist/web/assets/{abnfDiagram-WEYOIA3C-S3UPbxUn.js → abnfDiagram-WEYOIA3C--w3UpuXr.js} +1 -1
- package/dist/web/assets/{arc-3lcNn0Sn.js → arc-BUuh0R80.js} +1 -1
- package/dist/web/assets/{architecture-WOLXFQ4H-BdBTX3Ik.js → architecture-WOLXFQ4H-CzFbMy7D.js} +1 -1
- package/dist/web/assets/{architectureDiagram-ZHVYKT53-CYO1Q71x.js → architectureDiagram-ZHVYKT53-CN0paUHo.js} +1 -1
- package/dist/web/assets/{blockDiagram-RJAE7QA3-Du1vGlhq.js → blockDiagram-RJAE7QA3-BlEcWjxu.js} +1 -1
- package/dist/web/assets/{c4Diagram-XDPPPE54-BQU2rZDm.js → c4Diagram-XDPPPE54-cIzZ_a04.js} +1 -1
- package/dist/web/assets/channel-COxn9xzm.js +1 -0
- package/dist/web/assets/{chunk-2E7WHVMD-CfYDSKsN.js → chunk-2E7WHVMD-Dmpk3iMe.js} +1 -1
- package/dist/web/assets/{chunk-4EMNKR2T-C0VVivc4.js → chunk-4EMNKR2T-UB3rAovL.js} +1 -1
- package/dist/web/assets/{chunk-55XCU76K-DEvJD_uM.js → chunk-55XCU76K-BcatroAd.js} +1 -1
- package/dist/web/assets/{chunk-7S6XSTFO-DEcCtbei.js → chunk-7S6XSTFO-DQK4DCU8.js} +1 -1
- package/dist/web/assets/{chunk-AQDTSKZB-Dceak6-P.js → chunk-AQDTSKZB-CXisXsfT.js} +1 -1
- package/dist/web/assets/{chunk-DSNLSHJZ-Bh8qc9yO.js → chunk-DSNLSHJZ-vhLg4EKI.js} +1 -1
- package/dist/web/assets/{chunk-HAGFOTED-CKdZtmf4.js → chunk-HAGFOTED-D-kcdAww.js} +1 -1
- package/dist/web/assets/{chunk-HNE4Q36P-q-kgi8BS.js → chunk-HNE4Q36P-v77NgJah.js} +1 -1
- package/dist/web/assets/{chunk-NQOKRVIF-PxyUNnJf.js → chunk-NQOKRVIF-IlEQcb62.js} +1 -1
- package/dist/web/assets/{chunk-UHW7PFBP-CE-Yrd9K.js → chunk-UHW7PFBP-CLUAsWGq.js} +1 -1
- package/dist/web/assets/{chunk-VQ5W62QI-BBXd5ndx.js → chunk-VQ5W62QI-CxJVJJ5o.js} +1 -1
- package/dist/web/assets/{chunk-WQQL4CDK-72UkMpCp.js → chunk-WQQL4CDK-mUHh6eU9.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-CXuhKPsU.js → chunk-XXDRQBXY-ztDYcrOV.js} +1 -1
- package/dist/web/assets/{chunk-YZO67HFG-t98lnr0m.js → chunk-YZO67HFG-BUP1yXz1.js} +1 -1
- package/dist/web/assets/{chunk-ZAUX2LTX-DqOZ4gqq.js → chunk-ZAUX2LTX-DTWlsdpw.js} +1 -1
- package/dist/web/assets/{chunk-ZCHMQSOR-lgNaB4GA.js → chunk-ZCHMQSOR-7wXSNeHf.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-4MYWR3UA-QK8_uANH.js → classDiagram-v2-4MYWR3UA-IO1StSMZ.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-BGOXl_Hz.js → cose-bilkent-JH36ORCC-B2gINwTx.js} +1 -1
- package/dist/web/assets/{cynefin-EF2NZ3EQ-CXv-Eedg.js → cynefin-EF2NZ3EQ-DldQxSM_.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-WF24UDRP-DTdPvUc5.js → cynefinDiagram-WF24UDRP-B8kYW1OK.js} +1 -1
- package/dist/web/assets/{dagre-NK4GIZVX-DzKylJII.js → dagre-NK4GIZVX-50hmw1Qa.js} +1 -1
- package/dist/web/assets/{diagram-CBK3MWTC-BhUuXouD.js → diagram-CBK3MWTC-CMgkahms.js} +1 -1
- package/dist/web/assets/{diagram-I5XIIV2D-CPLG3Tb6.js → diagram-I5XIIV2D-TEG8qLDl.js} +1 -1
- package/dist/web/assets/{diagram-ODIL2UCW-D2vrOgvO.js → diagram-ODIL2UCW-DIqdFHgz.js} +1 -1
- package/dist/web/assets/{diagram-PFBEJUXE-BmVHhgip.js → diagram-PFBEJUXE-CR3PdTmV.js} +1 -1
- package/dist/web/assets/{diagram-RJA3I4VV-DvdSgYRm.js → diagram-RJA3I4VV-D4D99d6l.js} +1 -1
- package/dist/web/assets/{diagram-TYUNFSNR-C-kwYvdx.js → diagram-TYUNFSNR-BPpzxGYW.js} +1 -1
- package/dist/web/assets/{dist-COT7f4nc.js → dist-CH0G0uBY.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-V4P3TTPT-BaBk_GlW.js → ebnfDiagram-V4P3TTPT-hbQgF-Vc.js} +1 -1
- package/dist/web/assets/{elk-QONTBCTQ-DgWt62tl.js → elk-QONTBCTQ-DDoQmkEA.js} +1 -1
- package/dist/web/assets/{erDiagram-KYQIGQAA-Dv4ryXsH.js → erDiagram-KYQIGQAA-CNm3mqRH.js} +1 -1
- package/dist/web/assets/{eventmodeling-K75KTNOO-CCK2dwe-.js → eventmodeling-K75KTNOO-B5HxW52S.js} +1 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-CMoN_wDb.js +1 -0
- package/dist/web/assets/{ganttDiagram-R7GPNTJY-Pyf76BsN.js → ganttDiagram-R7GPNTJY-B62avW7T.js} +1 -1
- package/dist/web/assets/{gitGraph-VSP46ZUC-Blm_W-6d.js → gitGraph-VSP46ZUC-ReIlHIT5.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-CigkTBcw.js → gitGraphDiagram-PDYL7XHY-i8pxBTq0.js} +1 -1
- package/dist/web/assets/index-B565iZDe.css +1 -0
- package/dist/web/assets/index-B8q_Rlh1.js +163 -0
- package/dist/web/assets/{info-OHQRW6UA-ShlgKH7M.js → info-OHQRW6UA-B6LA8ucb.js} +1 -1
- package/dist/web/assets/{infoDiagram-MVDRKAX5-RxgBtAAC.js → infoDiagram-MVDRKAX5-DczlQNdf.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-BX8-EDzq.js → ishikawaDiagram-HPEHV2GE-CBD57FtN.js} +1 -1
- package/dist/web/assets/{journeyDiagram-BOSHW7O7-m5ADc5x0.js → journeyDiagram-BOSHW7O7-DVA8uS2X.js} +1 -1
- package/dist/web/assets/{kanban-definition-FNSA4HC5-XHL025KK.js → kanban-definition-FNSA4HC5-CIkZ1NfE.js} +1 -1
- package/dist/web/assets/{line-NbgYmjWR.js → line-ByVvn_kk.js} +1 -1
- package/dist/web/assets/{linear-D7AWFTyL.js → linear-Bw9blK2e.js} +1 -1
- package/dist/web/assets/{mermaid-parser.core-tMbxgDMM.js → mermaid-parser.core-AtqES89L.js} +3 -3
- package/dist/web/assets/{mermaid.core-iuk9IKWM.js → mermaid.core-Bex0z1QG.js} +4 -4
- package/dist/web/assets/{mindmap-definition-6OY57UG3-B1oUT012.js → mindmap-definition-6OY57UG3-mgzJO5ba.js} +1 -1
- package/dist/web/assets/{packet-JDAUHWVQ--2WQUs6L.js → packet-JDAUHWVQ-Debj9TuA.js} +1 -1
- package/dist/web/assets/{pegDiagram-ECIUJNBX-DyfZGbQZ.js → pegDiagram-ECIUJNBX-mQ4DoxRK.js} +1 -1
- package/dist/web/assets/{pie-XZMESJXO-D4Tktw-H.js → pie-XZMESJXO-DI8YDldK.js} +1 -1
- package/dist/web/assets/{pieDiagram-GNMPY74T-lCdYfSDI.js → pieDiagram-GNMPY74T-CNJy_h2n.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-D57K4MC3-CDnovYRI.js → quadrantDiagram-D57K4MC3-B4lXMgDl.js} +1 -1
- package/dist/web/assets/{radar-ABXABTNO-Dmx2XQHp.js → radar-ABXABTNO-DfuKLYyM.js} +1 -1
- package/dist/web/assets/{railroad-I3PHUGI6-DB6M_KbS.js → railroad-I3PHUGI6-DTOHUzqI.js} +1 -1
- package/dist/web/assets/{railroad-abnf-LNEFI6M7-Dh3msl5z.js → railroad-abnf-LNEFI6M7-B2l8iioC.js} +1 -1
- package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-HqWpbl4O.js → railroad-ebnf-DWYD2UWJ-C3H7fg9D.js} +1 -1
- package/dist/web/assets/{railroad-peg-JR7BVNR7-Di4pKM6e.js → railroad-peg-JR7BVNR7-VHHw1cEa.js} +1 -1
- package/dist/web/assets/{railroadDiagram-Y72NRBL7-CE4pSnbT.js → railroadDiagram-Y72NRBL7-K_XrJO0S.js} +1 -1
- package/dist/web/assets/{requirementDiagram-EQYSW5RA-CSG9Zp4o.js → requirementDiagram-EQYSW5RA-D5ESlwnp.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-SY24JHO5-DpZC04yw.js → sankeyDiagram-SY24JHO5-dwsdiMqK.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-BLEHNHQU-CrY79quh.js → sequenceDiagram-BLEHNHQU-stj1Lviw.js} +1 -1
- package/dist/web/assets/{src-BUbhWkiw.js → src-CA4eE_49.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-awZ_sZ7F.js → stateDiagram-v2-A6IESKWZ-BW-W_CzJ.js} +1 -1
- package/dist/web/assets/{swimlanes-B3ENRKFQ-Ch_ropB1.js → swimlanes-B3ENRKFQ-e15HCKVA.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-yIxjbjFE.js +8 -0
- package/dist/web/assets/{timeline-definition-JXYKGLGB-Bcpem9rA.js → timeline-definition-JXYKGLGB-DY4VwJq-.js} +1 -1
- package/dist/web/assets/{treeView-D4JQ5SDB-C0bGVtpe.js → treeView-D4JQ5SDB-DkRmODGu.js} +1 -1
- package/dist/web/assets/{treemap-SAJKECNS-Dw7NGs2U.js → treemap-SAJKECNS-D9BUe3jZ.js} +1 -1
- package/dist/web/assets/{usecaseDiagram-WPOLBNNX-ujZyHzxq.js → usecaseDiagram-WPOLBNNX-DRObRKJI.js} +1 -1
- package/dist/web/assets/{vennDiagram-Q3Y3IDCW-CwGzrjci.js → vennDiagram-Q3Y3IDCW-bKcQJRnj.js} +1 -1
- package/dist/web/assets/{wardley-7MLQ67FV-9IZyEtGB.js → wardley-7MLQ67FV-J-w3edo1.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-IVAIDKWA-f4pHJ9xt.js → wardleyDiagram-IVAIDKWA-CilZg4RE.js} +1 -1
- package/dist/web/assets/{xychartDiagram-4URNHDU4-BJGN__WY.js → xychartDiagram-4URNHDU4-BQ9GjKB4.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +4 -4
- package/dist/web/assets/channel-D4tNOYdn.js +0 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-D1v15lCS.js +0 -1
- package/dist/web/assets/index-Bbm1piVJ.css +0 -1
- package/dist/web/assets/index-DSpVsb8N.js +0 -158
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-CMMtNEM7.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
|
+
}
|