@covro/covro 0.12.1-dev.4 → 0.12.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.
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/dist/cli/service-restart.js +3 -0
- package/dist/cli/service-restart.js.map +2 -2
- package/dist/codex/adapter.js +34 -47
- package/dist/codex/adapter.js.map +2 -2
- package/dist/drizzle/0011_session_loops.sql +23 -0
- package/dist/drizzle/meta/0011_snapshot.json +903 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/server/capacity-retry.js +2 -2
- package/dist/server/capacity-retry.js.map +2 -2
- package/dist/server/db/index.js.map +2 -2
- package/dist/server/db/operations.js +2 -1
- package/dist/server/db/operations.js.map +2 -2
- package/dist/server/db/schema.js +26 -0
- package/dist/server/db/schema.js.map +2 -2
- package/dist/server/db/session-loops.js +106 -0
- package/dist/server/db/session-loops.js.map +7 -0
- package/dist/server/http.js +23 -0
- package/dist/server/http.js.map +2 -2
- package/dist/server/main.js +4 -1
- package/dist/server/main.js.map +2 -2
- package/dist/server/projects.js +7 -2
- package/dist/server/projects.js.map +2 -2
- package/dist/server/service.js +294 -10
- package/dist/server/service.js.map +2 -2
- package/dist/server/workspaces.js +5 -2
- package/dist/server/workspaces.js.map +2 -2
- package/dist/shared/service-restart.js.map +2 -2
- package/dist/shared/session-loop.js +19 -0
- package/dist/shared/session-loop.js.map +7 -0
- package/dist/shared/updates.js.map +1 -1
- package/dist/shared/validation.js +12 -0
- package/dist/shared/validation.js.map +2 -2
- package/dist/updates/manager.js +13 -0
- package/dist/updates/manager.js.map +2 -2
- package/dist/web/assets/{abnfDiagram-WEYOIA3C-CfL2upMv.js → abnfDiagram-WEYOIA3C-DTxKASBq.js} +1 -1
- package/dist/web/assets/{arc-B8P0_gJ3.js → arc-CTODTx-T.js} +1 -1
- package/dist/web/assets/{architecture-WOLXFQ4H-Dx8Y7HAv.js → architecture-WOLXFQ4H-CgONpBhp.js} +1 -1
- package/dist/web/assets/{architectureDiagram-ZHVYKT53-PE8uZdYJ.js → architectureDiagram-ZHVYKT53-DgSVRsho.js} +1 -1
- package/dist/web/assets/{blockDiagram-RJAE7QA3-C6YOWwwf.js → blockDiagram-RJAE7QA3-Dfbyt4Mg.js} +1 -1
- package/dist/web/assets/{c4Diagram-XDPPPE54-CXmkBz06.js → c4Diagram-XDPPPE54-C-up9990.js} +1 -1
- package/dist/web/assets/channel-BQfGy39B.js +1 -0
- package/dist/web/assets/{chunk-2E7WHVMD-CktmjPe8.js → chunk-2E7WHVMD-DSzRiVhc.js} +1 -1
- package/dist/web/assets/{chunk-4EMNKR2T-CWfc5hHF.js → chunk-4EMNKR2T-D2fbv8OX.js} +1 -1
- package/dist/web/assets/{chunk-55XCU76K-5ouIimWC.js → chunk-55XCU76K-vRMhZxPd.js} +1 -1
- package/dist/web/assets/{chunk-7S6XSTFO-DS_UZlTN.js → chunk-7S6XSTFO-D8UBIzBE.js} +1 -1
- package/dist/web/assets/{chunk-AQDTSKZB-B0aU7jvv.js → chunk-AQDTSKZB-D8Nv_cUy.js} +1 -1
- package/dist/web/assets/{chunk-DSNLSHJZ-CaAXgYsE.js → chunk-DSNLSHJZ-BtS4W02K.js} +1 -1
- package/dist/web/assets/{chunk-HAGFOTED-B24hglTY.js → chunk-HAGFOTED-B3QtICEI.js} +1 -1
- package/dist/web/assets/{chunk-HNE4Q36P-DLFCRuMX.js → chunk-HNE4Q36P-DQyVLAvz.js} +1 -1
- package/dist/web/assets/{chunk-NQOKRVIF-_ORmZhR3.js → chunk-NQOKRVIF-cTkWOiO_.js} +1 -1
- package/dist/web/assets/{chunk-UHW7PFBP-Dd2QYGXY.js → chunk-UHW7PFBP-3QgJspBh.js} +1 -1
- package/dist/web/assets/{chunk-VQ5W62QI-B6Wl1vCx.js → chunk-VQ5W62QI-DrBSIHiT.js} +1 -1
- package/dist/web/assets/{chunk-WQQL4CDK-o-F8BVzT.js → chunk-WQQL4CDK--6NH6pg3.js} +1 -1
- package/dist/web/assets/{chunk-XXDRQBXY-DGKvyDsF.js → chunk-XXDRQBXY-DWc3R84b.js} +1 -1
- package/dist/web/assets/{chunk-YZO67HFG-aKbt_Djq.js → chunk-YZO67HFG-BfOeVuzg.js} +1 -1
- package/dist/web/assets/{chunk-ZAUX2LTX-BI4TR8xC.js → chunk-ZAUX2LTX-DMNoglbg.js} +1 -1
- package/dist/web/assets/{chunk-ZCHMQSOR-Df0qQCY7.js → chunk-ZCHMQSOR-D_H6diqO.js} +1 -1
- package/dist/web/assets/{classDiagram-v2-4MYWR3UA-CY7Ndtdz.js → classDiagram-v2-4MYWR3UA-PbGoD8mz.js} +1 -1
- package/dist/web/assets/{cose-bilkent-JH36ORCC-DSsLWsfp.js → cose-bilkent-JH36ORCC-CtZ8jcqm.js} +1 -1
- package/dist/web/assets/{cynefin-EF2NZ3EQ-ORXztfh3.js → cynefin-EF2NZ3EQ-BhXV3WgQ.js} +1 -1
- package/dist/web/assets/{cynefinDiagram-WF24UDRP-2hoxPZDJ.js → cynefinDiagram-WF24UDRP-BlMHZ_8r.js} +1 -1
- package/dist/web/assets/{dagre-NK4GIZVX-Dxb1BVWJ.js → dagre-NK4GIZVX-CV_LGc9d.js} +1 -1
- package/dist/web/assets/{diagram-CBK3MWTC-CeabmcX-.js → diagram-CBK3MWTC-B9wRlOFW.js} +1 -1
- package/dist/web/assets/{diagram-I5XIIV2D-CDdEo0zR.js → diagram-I5XIIV2D-BFCMVWRB.js} +1 -1
- package/dist/web/assets/{diagram-ODIL2UCW-DAmhtOl4.js → diagram-ODIL2UCW-FIQ9yBpv.js} +1 -1
- package/dist/web/assets/{diagram-PFBEJUXE-DZrjMTo5.js → diagram-PFBEJUXE-DvyOG5EC.js} +1 -1
- package/dist/web/assets/{diagram-RJA3I4VV-CyetWt9a.js → diagram-RJA3I4VV-C05KmXAX.js} +1 -1
- package/dist/web/assets/{diagram-TYUNFSNR-DrNBo31w.js → diagram-TYUNFSNR-CFLofPiV.js} +1 -1
- package/dist/web/assets/{dist-wBx7EsPP.js → dist-BEzdpFTD.js} +1 -1
- package/dist/web/assets/{ebnfDiagram-V4P3TTPT-3azAtjW2.js → ebnfDiagram-V4P3TTPT-hnUY3Tq8.js} +1 -1
- package/dist/web/assets/{elk-QONTBCTQ-BYibnVW1.js → elk-QONTBCTQ-BB0EcC-Y.js} +1 -1
- package/dist/web/assets/{erDiagram-KYQIGQAA-CbFAhZ0K.js → erDiagram-KYQIGQAA-Ej61ngkc.js} +1 -1
- package/dist/web/assets/{eventmodeling-K75KTNOO-L0FcCnh_.js → eventmodeling-K75KTNOO-Vxhz1RQB.js} +1 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-C5L8epB5.js +1 -0
- package/dist/web/assets/{ganttDiagram-R7GPNTJY-CM-5movO.js → ganttDiagram-R7GPNTJY-DGK3Ln6v.js} +1 -1
- package/dist/web/assets/{gitGraph-VSP46ZUC-DWXyHKFe.js → gitGraph-VSP46ZUC-BaXG5U53.js} +1 -1
- package/dist/web/assets/{gitGraphDiagram-PDYL7XHY-ClnFqOQQ.js → gitGraphDiagram-PDYL7XHY-DjyRn2AH.js} +1 -1
- package/dist/web/assets/{index-Ns5fm-Kl.css → index-D4z03hlo.css} +1 -1
- package/dist/web/assets/index-DXDRmiiJ.js +166 -0
- package/dist/web/assets/{info-OHQRW6UA-DIs0BHXF.js → info-OHQRW6UA-B_k1FX8t.js} +1 -1
- package/dist/web/assets/{infoDiagram-MVDRKAX5-C1_DbSCr.js → infoDiagram-MVDRKAX5-CJIadX0G.js} +1 -1
- package/dist/web/assets/{ishikawaDiagram-HPEHV2GE-VpiM0FMG.js → ishikawaDiagram-HPEHV2GE-B5zXsPdq.js} +1 -1
- package/dist/web/assets/{journeyDiagram-BOSHW7O7-xH45BIep.js → journeyDiagram-BOSHW7O7-mEN9XVOh.js} +1 -1
- package/dist/web/assets/{kanban-definition-FNSA4HC5-DkVZqvmq.js → kanban-definition-FNSA4HC5-B0KZnPT5.js} +1 -1
- package/dist/web/assets/{line-CVVQQK-J.js → line-C2aH8HGR.js} +1 -1
- package/dist/web/assets/{linear-DALC1WJP.js → linear-I4EwVf2a.js} +1 -1
- package/dist/web/assets/{mermaid-parser.core-BiNQvcQp.js → mermaid-parser.core-BRLVs0ga.js} +3 -3
- package/dist/web/assets/{mermaid.core-D-_gEHi-.js → mermaid.core-BaUEqwlC.js} +4 -4
- package/dist/web/assets/{mindmap-definition-6OY57UG3-CDn7a7di.js → mindmap-definition-6OY57UG3-Dkp-oAso.js} +1 -1
- package/dist/web/assets/{packet-JDAUHWVQ-BqXCG-VL.js → packet-JDAUHWVQ-XjJRttCs.js} +1 -1
- package/dist/web/assets/{pegDiagram-ECIUJNBX-D26k-vK6.js → pegDiagram-ECIUJNBX-D0G0x1wn.js} +1 -1
- package/dist/web/assets/{pie-XZMESJXO-BzugFQlC.js → pie-XZMESJXO-CkU67f-9.js} +1 -1
- package/dist/web/assets/{pieDiagram-GNMPY74T-CFFh2jEE.js → pieDiagram-GNMPY74T-9oe-O71I.js} +1 -1
- package/dist/web/assets/{quadrantDiagram-D57K4MC3-BdxTipFV.js → quadrantDiagram-D57K4MC3-CHnQ1h26.js} +1 -1
- package/dist/web/assets/{radar-ABXABTNO-CmP_Tkk1.js → radar-ABXABTNO-BQK2VVvN.js} +1 -1
- package/dist/web/assets/{railroad-I3PHUGI6-iWEj5PTd.js → railroad-I3PHUGI6-BsWdf7Sd.js} +1 -1
- package/dist/web/assets/{railroad-abnf-LNEFI6M7-DdluYQS_.js → railroad-abnf-LNEFI6M7-mEUn8w5B.js} +1 -1
- package/dist/web/assets/{railroad-ebnf-DWYD2UWJ-B2ekqTZO.js → railroad-ebnf-DWYD2UWJ-Cgim9iJs.js} +1 -1
- package/dist/web/assets/{railroad-peg-JR7BVNR7-BsiAmzwy.js → railroad-peg-JR7BVNR7-Djn09B6i.js} +1 -1
- package/dist/web/assets/{railroadDiagram-Y72NRBL7-Bq5bT77v.js → railroadDiagram-Y72NRBL7-B3hygTDm.js} +1 -1
- package/dist/web/assets/{requirementDiagram-EQYSW5RA-BiHubcKH.js → requirementDiagram-EQYSW5RA-B6RNUNeB.js} +1 -1
- package/dist/web/assets/{sankeyDiagram-SY24JHO5-DJYlu994.js → sankeyDiagram-SY24JHO5-CbXK1FL0.js} +1 -1
- package/dist/web/assets/{sequenceDiagram-BLEHNHQU-Cy3bK9DO.js → sequenceDiagram-BLEHNHQU-DD-HRRNG.js} +1 -1
- package/dist/web/assets/{src-CZ-9bvj-.js → src-5kIzPkDL.js} +1 -1
- package/dist/web/assets/{stateDiagram-v2-A6IESKWZ-Ceonzb5Y.js → stateDiagram-v2-A6IESKWZ-C9koceXb.js} +1 -1
- package/dist/web/assets/{swimlanes-B3ENRKFQ-B8GPDh5I.js → swimlanes-B3ENRKFQ-rIgflVZK.js} +1 -1
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-Cyq4U5Ci.js +8 -0
- package/dist/web/assets/{timeline-definition-JXYKGLGB-DGIn4Lky.js → timeline-definition-JXYKGLGB-ByxHhQH7.js} +1 -1
- package/dist/web/assets/{treeView-D4JQ5SDB-CwUDOtLK.js → treeView-D4JQ5SDB-CSOfJbOb.js} +1 -1
- package/dist/web/assets/{treemap-SAJKECNS-Cw1lsxWY.js → treemap-SAJKECNS-cS9CRCSQ.js} +1 -1
- package/dist/web/assets/{usecaseDiagram-WPOLBNNX-Cf-7XCFK.js → usecaseDiagram-WPOLBNNX-DUKj_IMB.js} +1 -1
- package/dist/web/assets/{vennDiagram-Q3Y3IDCW-WDII2_mW.js → vennDiagram-Q3Y3IDCW-ChDogeim.js} +1 -1
- package/dist/web/assets/{wardley-7MLQ67FV-DVuWP4SO.js → wardley-7MLQ67FV-nUCK7W1w.js} +1 -1
- package/dist/web/assets/{wardleyDiagram-IVAIDKWA-BZ04NZcX.js → wardleyDiagram-IVAIDKWA-BTlZCUjg.js} +1 -1
- package/dist/web/assets/{xychartDiagram-4URNHDU4-B7xGmh10.js → xychartDiagram-4URNHDU4-BR1T857u.js} +1 -1
- package/dist/web/index.html +2 -2
- package/package.json +4 -4
- package/dist/web/assets/channel-DCgcdDVm.js +0 -1
- package/dist/web/assets/flowDiagram-IUGLLWBU-DC340tOR.js +0 -1
- package/dist/web/assets/index-bkos8JIV.js +0 -166
- package/dist/web/assets/swimlanesDiagram-AYQRV4AK-C9IDlMZz.js +0 -8
|
@@ -0,0 +1,903 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "6",
|
|
3
|
+
"dialect": "sqlite",
|
|
4
|
+
"id": "48f1a544-16cb-4fda-9e28-9101242ca42f",
|
|
5
|
+
"prevId": "77bd151d-e8e2-4765-aafc-bbc9d6a0f6f9",
|
|
6
|
+
"tables": {
|
|
7
|
+
"background_tasks": {
|
|
8
|
+
"name": "background_tasks",
|
|
9
|
+
"columns": {
|
|
10
|
+
"id": {
|
|
11
|
+
"name": "id",
|
|
12
|
+
"type": "text",
|
|
13
|
+
"primaryKey": true,
|
|
14
|
+
"notNull": true,
|
|
15
|
+
"autoincrement": false
|
|
16
|
+
},
|
|
17
|
+
"kind": {
|
|
18
|
+
"name": "kind",
|
|
19
|
+
"type": "text",
|
|
20
|
+
"primaryKey": false,
|
|
21
|
+
"notNull": true,
|
|
22
|
+
"autoincrement": false
|
|
23
|
+
},
|
|
24
|
+
"fingerprint": {
|
|
25
|
+
"name": "fingerprint",
|
|
26
|
+
"type": "text",
|
|
27
|
+
"primaryKey": false,
|
|
28
|
+
"notNull": true,
|
|
29
|
+
"autoincrement": false
|
|
30
|
+
},
|
|
31
|
+
"snapshot": {
|
|
32
|
+
"name": "snapshot",
|
|
33
|
+
"type": "text",
|
|
34
|
+
"primaryKey": false,
|
|
35
|
+
"notNull": false,
|
|
36
|
+
"autoincrement": false
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"indexes": {},
|
|
40
|
+
"foreignKeys": {},
|
|
41
|
+
"compositePrimaryKeys": {},
|
|
42
|
+
"uniqueConstraints": {},
|
|
43
|
+
"checkConstraints": {}
|
|
44
|
+
},
|
|
45
|
+
"execution_markers": {
|
|
46
|
+
"name": "execution_markers",
|
|
47
|
+
"columns": {
|
|
48
|
+
"operation_id": {
|
|
49
|
+
"name": "operation_id",
|
|
50
|
+
"type": "text",
|
|
51
|
+
"primaryKey": true,
|
|
52
|
+
"notNull": true,
|
|
53
|
+
"autoincrement": false
|
|
54
|
+
},
|
|
55
|
+
"thread_id": {
|
|
56
|
+
"name": "thread_id",
|
|
57
|
+
"type": "text",
|
|
58
|
+
"primaryKey": false,
|
|
59
|
+
"notNull": true,
|
|
60
|
+
"autoincrement": false
|
|
61
|
+
},
|
|
62
|
+
"turn_id": {
|
|
63
|
+
"name": "turn_id",
|
|
64
|
+
"type": "text",
|
|
65
|
+
"primaryKey": false,
|
|
66
|
+
"notNull": false,
|
|
67
|
+
"autoincrement": false
|
|
68
|
+
},
|
|
69
|
+
"workspace_key": {
|
|
70
|
+
"name": "workspace_key",
|
|
71
|
+
"type": "text",
|
|
72
|
+
"primaryKey": false,
|
|
73
|
+
"notNull": true,
|
|
74
|
+
"autoincrement": false
|
|
75
|
+
},
|
|
76
|
+
"codex_epoch": {
|
|
77
|
+
"name": "codex_epoch",
|
|
78
|
+
"type": "text",
|
|
79
|
+
"primaryKey": false,
|
|
80
|
+
"notNull": true,
|
|
81
|
+
"autoincrement": false
|
|
82
|
+
},
|
|
83
|
+
"state": {
|
|
84
|
+
"name": "state",
|
|
85
|
+
"type": "text",
|
|
86
|
+
"primaryKey": false,
|
|
87
|
+
"notNull": true,
|
|
88
|
+
"autoincrement": false
|
|
89
|
+
},
|
|
90
|
+
"created_at": {
|
|
91
|
+
"name": "created_at",
|
|
92
|
+
"type": "integer",
|
|
93
|
+
"primaryKey": false,
|
|
94
|
+
"notNull": true,
|
|
95
|
+
"autoincrement": false
|
|
96
|
+
},
|
|
97
|
+
"ended_at": {
|
|
98
|
+
"name": "ended_at",
|
|
99
|
+
"type": "integer",
|
|
100
|
+
"primaryKey": false,
|
|
101
|
+
"notNull": false,
|
|
102
|
+
"autoincrement": false
|
|
103
|
+
},
|
|
104
|
+
"reconciled_at": {
|
|
105
|
+
"name": "reconciled_at",
|
|
106
|
+
"type": "integer",
|
|
107
|
+
"primaryKey": false,
|
|
108
|
+
"notNull": false,
|
|
109
|
+
"autoincrement": false
|
|
110
|
+
},
|
|
111
|
+
"reconciliation_operation_id": {
|
|
112
|
+
"name": "reconciliation_operation_id",
|
|
113
|
+
"type": "text",
|
|
114
|
+
"primaryKey": false,
|
|
115
|
+
"notNull": false,
|
|
116
|
+
"autoincrement": false
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"indexes": {
|
|
120
|
+
"execution_markers_active_thread": {
|
|
121
|
+
"name": "execution_markers_active_thread",
|
|
122
|
+
"columns": [
|
|
123
|
+
"thread_id"
|
|
124
|
+
],
|
|
125
|
+
"isUnique": true,
|
|
126
|
+
"where": "\"execution_markers\".\"ended_at\" is null"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
"foreignKeys": {
|
|
130
|
+
"execution_markers_operation_id_operations_client_operation_id_fk": {
|
|
131
|
+
"name": "execution_markers_operation_id_operations_client_operation_id_fk",
|
|
132
|
+
"tableFrom": "execution_markers",
|
|
133
|
+
"tableTo": "operations",
|
|
134
|
+
"columnsFrom": [
|
|
135
|
+
"operation_id"
|
|
136
|
+
],
|
|
137
|
+
"columnsTo": [
|
|
138
|
+
"client_operation_id"
|
|
139
|
+
],
|
|
140
|
+
"onDelete": "no action",
|
|
141
|
+
"onUpdate": "no action"
|
|
142
|
+
},
|
|
143
|
+
"execution_markers_reconciliation_operation_id_operations_client_operation_id_fk": {
|
|
144
|
+
"name": "execution_markers_reconciliation_operation_id_operations_client_operation_id_fk",
|
|
145
|
+
"tableFrom": "execution_markers",
|
|
146
|
+
"tableTo": "operations",
|
|
147
|
+
"columnsFrom": [
|
|
148
|
+
"reconciliation_operation_id"
|
|
149
|
+
],
|
|
150
|
+
"columnsTo": [
|
|
151
|
+
"client_operation_id"
|
|
152
|
+
],
|
|
153
|
+
"onDelete": "no action",
|
|
154
|
+
"onUpdate": "no action"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"compositePrimaryKeys": {},
|
|
158
|
+
"uniqueConstraints": {},
|
|
159
|
+
"checkConstraints": {
|
|
160
|
+
"execution_markers_state_check": {
|
|
161
|
+
"name": "execution_markers_state_check",
|
|
162
|
+
"value": "\"execution_markers\".\"state\" in ('active', 'unknown', 'terminal', 'reconciled')"
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
},
|
|
166
|
+
"operations": {
|
|
167
|
+
"name": "operations",
|
|
168
|
+
"columns": {
|
|
169
|
+
"client_operation_id": {
|
|
170
|
+
"name": "client_operation_id",
|
|
171
|
+
"type": "text",
|
|
172
|
+
"primaryKey": true,
|
|
173
|
+
"notNull": true,
|
|
174
|
+
"autoincrement": false
|
|
175
|
+
},
|
|
176
|
+
"kind": {
|
|
177
|
+
"name": "kind",
|
|
178
|
+
"type": "text",
|
|
179
|
+
"primaryKey": false,
|
|
180
|
+
"notNull": true,
|
|
181
|
+
"autoincrement": false
|
|
182
|
+
},
|
|
183
|
+
"target": {
|
|
184
|
+
"name": "target",
|
|
185
|
+
"type": "text",
|
|
186
|
+
"primaryKey": false,
|
|
187
|
+
"notNull": true,
|
|
188
|
+
"autoincrement": false
|
|
189
|
+
},
|
|
190
|
+
"project_id": {
|
|
191
|
+
"name": "project_id",
|
|
192
|
+
"type": "text",
|
|
193
|
+
"primaryKey": false,
|
|
194
|
+
"notNull": false,
|
|
195
|
+
"autoincrement": false
|
|
196
|
+
},
|
|
197
|
+
"request_digest": {
|
|
198
|
+
"name": "request_digest",
|
|
199
|
+
"type": "text",
|
|
200
|
+
"primaryKey": false,
|
|
201
|
+
"notNull": true,
|
|
202
|
+
"autoincrement": false
|
|
203
|
+
},
|
|
204
|
+
"state": {
|
|
205
|
+
"name": "state",
|
|
206
|
+
"type": "text",
|
|
207
|
+
"primaryKey": false,
|
|
208
|
+
"notNull": true,
|
|
209
|
+
"autoincrement": false
|
|
210
|
+
},
|
|
211
|
+
"result": {
|
|
212
|
+
"name": "result",
|
|
213
|
+
"type": "text",
|
|
214
|
+
"primaryKey": false,
|
|
215
|
+
"notNull": false,
|
|
216
|
+
"autoincrement": false
|
|
217
|
+
},
|
|
218
|
+
"error": {
|
|
219
|
+
"name": "error",
|
|
220
|
+
"type": "text",
|
|
221
|
+
"primaryKey": false,
|
|
222
|
+
"notNull": false,
|
|
223
|
+
"autoincrement": false
|
|
224
|
+
},
|
|
225
|
+
"created_at": {
|
|
226
|
+
"name": "created_at",
|
|
227
|
+
"type": "integer",
|
|
228
|
+
"primaryKey": false,
|
|
229
|
+
"notNull": true,
|
|
230
|
+
"autoincrement": false
|
|
231
|
+
},
|
|
232
|
+
"updated_at": {
|
|
233
|
+
"name": "updated_at",
|
|
234
|
+
"type": "integer",
|
|
235
|
+
"primaryKey": false,
|
|
236
|
+
"notNull": true,
|
|
237
|
+
"autoincrement": false
|
|
238
|
+
},
|
|
239
|
+
"reconciled_at": {
|
|
240
|
+
"name": "reconciled_at",
|
|
241
|
+
"type": "integer",
|
|
242
|
+
"primaryKey": false,
|
|
243
|
+
"notNull": false,
|
|
244
|
+
"autoincrement": false
|
|
245
|
+
},
|
|
246
|
+
"reconciliation_decision": {
|
|
247
|
+
"name": "reconciliation_decision",
|
|
248
|
+
"type": "text",
|
|
249
|
+
"primaryKey": false,
|
|
250
|
+
"notNull": false,
|
|
251
|
+
"autoincrement": false
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"indexes": {
|
|
255
|
+
"operations_state_idx": {
|
|
256
|
+
"name": "operations_state_idx",
|
|
257
|
+
"columns": [
|
|
258
|
+
"state"
|
|
259
|
+
],
|
|
260
|
+
"isUnique": false
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
"foreignKeys": {},
|
|
264
|
+
"compositePrimaryKeys": {},
|
|
265
|
+
"uniqueConstraints": {},
|
|
266
|
+
"checkConstraints": {
|
|
267
|
+
"operations_state_check": {
|
|
268
|
+
"name": "operations_state_check",
|
|
269
|
+
"value": "\"operations\".\"state\" in ('accepted', 'dispatching', 'acknowledged', 'failed', 'unknown')"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"pending_user_messages": {
|
|
274
|
+
"name": "pending_user_messages",
|
|
275
|
+
"columns": {
|
|
276
|
+
"id": {
|
|
277
|
+
"name": "id",
|
|
278
|
+
"type": "text",
|
|
279
|
+
"primaryKey": true,
|
|
280
|
+
"notNull": true,
|
|
281
|
+
"autoincrement": false
|
|
282
|
+
},
|
|
283
|
+
"thread_id": {
|
|
284
|
+
"name": "thread_id",
|
|
285
|
+
"type": "text",
|
|
286
|
+
"primaryKey": false,
|
|
287
|
+
"notNull": true,
|
|
288
|
+
"autoincrement": false
|
|
289
|
+
},
|
|
290
|
+
"turn_id": {
|
|
291
|
+
"name": "turn_id",
|
|
292
|
+
"type": "text",
|
|
293
|
+
"primaryKey": false,
|
|
294
|
+
"notNull": false,
|
|
295
|
+
"autoincrement": false
|
|
296
|
+
},
|
|
297
|
+
"item": {
|
|
298
|
+
"name": "item",
|
|
299
|
+
"type": "text",
|
|
300
|
+
"primaryKey": false,
|
|
301
|
+
"notNull": true,
|
|
302
|
+
"autoincrement": false
|
|
303
|
+
},
|
|
304
|
+
"status": {
|
|
305
|
+
"name": "status",
|
|
306
|
+
"type": "text",
|
|
307
|
+
"primaryKey": false,
|
|
308
|
+
"notNull": true,
|
|
309
|
+
"autoincrement": false
|
|
310
|
+
},
|
|
311
|
+
"created_at": {
|
|
312
|
+
"name": "created_at",
|
|
313
|
+
"type": "integer",
|
|
314
|
+
"primaryKey": false,
|
|
315
|
+
"notNull": true,
|
|
316
|
+
"autoincrement": false
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
"indexes": {
|
|
320
|
+
"pending_user_messages_thread_idx": {
|
|
321
|
+
"name": "pending_user_messages_thread_idx",
|
|
322
|
+
"columns": [
|
|
323
|
+
"thread_id"
|
|
324
|
+
],
|
|
325
|
+
"isUnique": false
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"foreignKeys": {
|
|
329
|
+
"pending_user_messages_id_operations_client_operation_id_fk": {
|
|
330
|
+
"name": "pending_user_messages_id_operations_client_operation_id_fk",
|
|
331
|
+
"tableFrom": "pending_user_messages",
|
|
332
|
+
"tableTo": "operations",
|
|
333
|
+
"columnsFrom": [
|
|
334
|
+
"id"
|
|
335
|
+
],
|
|
336
|
+
"columnsTo": [
|
|
337
|
+
"client_operation_id"
|
|
338
|
+
],
|
|
339
|
+
"onDelete": "no action",
|
|
340
|
+
"onUpdate": "no action"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
"compositePrimaryKeys": {},
|
|
344
|
+
"uniqueConstraints": {},
|
|
345
|
+
"checkConstraints": {
|
|
346
|
+
"pending_user_messages_status_check": {
|
|
347
|
+
"name": "pending_user_messages_status_check",
|
|
348
|
+
"value": "\"pending_user_messages\".\"status\" in ('submitting', 'submitted', 'unknown', 'failed')"
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
"preferences": {
|
|
353
|
+
"name": "preferences",
|
|
354
|
+
"columns": {
|
|
355
|
+
"key": {
|
|
356
|
+
"name": "key",
|
|
357
|
+
"type": "text",
|
|
358
|
+
"primaryKey": true,
|
|
359
|
+
"notNull": true,
|
|
360
|
+
"autoincrement": false
|
|
361
|
+
},
|
|
362
|
+
"value": {
|
|
363
|
+
"name": "value",
|
|
364
|
+
"type": "text",
|
|
365
|
+
"primaryKey": false,
|
|
366
|
+
"notNull": true,
|
|
367
|
+
"autoincrement": false
|
|
368
|
+
}
|
|
369
|
+
},
|
|
370
|
+
"indexes": {},
|
|
371
|
+
"foreignKeys": {},
|
|
372
|
+
"compositePrimaryKeys": {},
|
|
373
|
+
"uniqueConstraints": {},
|
|
374
|
+
"checkConstraints": {}
|
|
375
|
+
},
|
|
376
|
+
"project_registrations": {
|
|
377
|
+
"name": "project_registrations",
|
|
378
|
+
"columns": {
|
|
379
|
+
"id": {
|
|
380
|
+
"name": "id",
|
|
381
|
+
"type": "text",
|
|
382
|
+
"primaryKey": true,
|
|
383
|
+
"notNull": true,
|
|
384
|
+
"autoincrement": false
|
|
385
|
+
},
|
|
386
|
+
"name": {
|
|
387
|
+
"name": "name",
|
|
388
|
+
"type": "text",
|
|
389
|
+
"primaryKey": false,
|
|
390
|
+
"notNull": true,
|
|
391
|
+
"autoincrement": false
|
|
392
|
+
},
|
|
393
|
+
"path": {
|
|
394
|
+
"name": "path",
|
|
395
|
+
"type": "text",
|
|
396
|
+
"primaryKey": false,
|
|
397
|
+
"notNull": true,
|
|
398
|
+
"autoincrement": false
|
|
399
|
+
},
|
|
400
|
+
"canonical_root": {
|
|
401
|
+
"name": "canonical_root",
|
|
402
|
+
"type": "text",
|
|
403
|
+
"primaryKey": false,
|
|
404
|
+
"notNull": false,
|
|
405
|
+
"autoincrement": false
|
|
406
|
+
},
|
|
407
|
+
"removed_at": {
|
|
408
|
+
"name": "removed_at",
|
|
409
|
+
"type": "integer",
|
|
410
|
+
"primaryKey": false,
|
|
411
|
+
"notNull": false,
|
|
412
|
+
"autoincrement": false
|
|
413
|
+
},
|
|
414
|
+
"sort_order": {
|
|
415
|
+
"name": "sort_order",
|
|
416
|
+
"type": "integer",
|
|
417
|
+
"primaryKey": false,
|
|
418
|
+
"notNull": true,
|
|
419
|
+
"autoincrement": false,
|
|
420
|
+
"default": 0
|
|
421
|
+
},
|
|
422
|
+
"created_at": {
|
|
423
|
+
"name": "created_at",
|
|
424
|
+
"type": "integer",
|
|
425
|
+
"primaryKey": false,
|
|
426
|
+
"notNull": true,
|
|
427
|
+
"autoincrement": false
|
|
428
|
+
},
|
|
429
|
+
"updated_at": {
|
|
430
|
+
"name": "updated_at",
|
|
431
|
+
"type": "integer",
|
|
432
|
+
"primaryKey": false,
|
|
433
|
+
"notNull": true,
|
|
434
|
+
"autoincrement": false
|
|
435
|
+
}
|
|
436
|
+
},
|
|
437
|
+
"indexes": {},
|
|
438
|
+
"foreignKeys": {},
|
|
439
|
+
"compositePrimaryKeys": {},
|
|
440
|
+
"uniqueConstraints": {},
|
|
441
|
+
"checkConstraints": {}
|
|
442
|
+
},
|
|
443
|
+
"question_action_history": {
|
|
444
|
+
"name": "question_action_history",
|
|
445
|
+
"columns": {
|
|
446
|
+
"action_id": {
|
|
447
|
+
"name": "action_id",
|
|
448
|
+
"type": "text",
|
|
449
|
+
"primaryKey": true,
|
|
450
|
+
"notNull": true,
|
|
451
|
+
"autoincrement": false
|
|
452
|
+
},
|
|
453
|
+
"thread_id": {
|
|
454
|
+
"name": "thread_id",
|
|
455
|
+
"type": "text",
|
|
456
|
+
"primaryKey": false,
|
|
457
|
+
"notNull": true,
|
|
458
|
+
"autoincrement": false
|
|
459
|
+
},
|
|
460
|
+
"action": {
|
|
461
|
+
"name": "action",
|
|
462
|
+
"type": "text",
|
|
463
|
+
"primaryKey": false,
|
|
464
|
+
"notNull": true,
|
|
465
|
+
"autoincrement": false
|
|
466
|
+
}
|
|
467
|
+
},
|
|
468
|
+
"indexes": {
|
|
469
|
+
"question_action_history_thread": {
|
|
470
|
+
"name": "question_action_history_thread",
|
|
471
|
+
"columns": [
|
|
472
|
+
"thread_id"
|
|
473
|
+
],
|
|
474
|
+
"isUnique": false
|
|
475
|
+
}
|
|
476
|
+
},
|
|
477
|
+
"foreignKeys": {},
|
|
478
|
+
"compositePrimaryKeys": {},
|
|
479
|
+
"uniqueConstraints": {},
|
|
480
|
+
"checkConstraints": {}
|
|
481
|
+
},
|
|
482
|
+
"question_tracking": {
|
|
483
|
+
"name": "question_tracking",
|
|
484
|
+
"columns": {
|
|
485
|
+
"thread_id": {
|
|
486
|
+
"name": "thread_id",
|
|
487
|
+
"type": "text",
|
|
488
|
+
"primaryKey": false,
|
|
489
|
+
"notNull": true,
|
|
490
|
+
"autoincrement": false
|
|
491
|
+
},
|
|
492
|
+
"question_id": {
|
|
493
|
+
"name": "question_id",
|
|
494
|
+
"type": "text",
|
|
495
|
+
"primaryKey": false,
|
|
496
|
+
"notNull": true,
|
|
497
|
+
"autoincrement": false
|
|
498
|
+
},
|
|
499
|
+
"state": {
|
|
500
|
+
"name": "state",
|
|
501
|
+
"type": "text",
|
|
502
|
+
"primaryKey": false,
|
|
503
|
+
"notNull": true,
|
|
504
|
+
"autoincrement": false
|
|
505
|
+
},
|
|
506
|
+
"operation_id": {
|
|
507
|
+
"name": "operation_id",
|
|
508
|
+
"type": "text",
|
|
509
|
+
"primaryKey": false,
|
|
510
|
+
"notNull": true,
|
|
511
|
+
"autoincrement": false
|
|
512
|
+
},
|
|
513
|
+
"updated_at": {
|
|
514
|
+
"name": "updated_at",
|
|
515
|
+
"type": "integer",
|
|
516
|
+
"primaryKey": false,
|
|
517
|
+
"notNull": true,
|
|
518
|
+
"autoincrement": false
|
|
519
|
+
}
|
|
520
|
+
},
|
|
521
|
+
"indexes": {},
|
|
522
|
+
"foreignKeys": {},
|
|
523
|
+
"compositePrimaryKeys": {
|
|
524
|
+
"question_tracking_thread_id_question_id_pk": {
|
|
525
|
+
"columns": [
|
|
526
|
+
"thread_id",
|
|
527
|
+
"question_id"
|
|
528
|
+
],
|
|
529
|
+
"name": "question_tracking_thread_id_question_id_pk"
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
"uniqueConstraints": {},
|
|
533
|
+
"checkConstraints": {}
|
|
534
|
+
},
|
|
535
|
+
"session_loops": {
|
|
536
|
+
"name": "session_loops",
|
|
537
|
+
"columns": {
|
|
538
|
+
"id": {
|
|
539
|
+
"name": "id",
|
|
540
|
+
"type": "text",
|
|
541
|
+
"primaryKey": true,
|
|
542
|
+
"notNull": true,
|
|
543
|
+
"autoincrement": false
|
|
544
|
+
},
|
|
545
|
+
"thread_id": {
|
|
546
|
+
"name": "thread_id",
|
|
547
|
+
"type": "text",
|
|
548
|
+
"primaryKey": false,
|
|
549
|
+
"notNull": true,
|
|
550
|
+
"autoincrement": false
|
|
551
|
+
},
|
|
552
|
+
"workspace_key": {
|
|
553
|
+
"name": "workspace_key",
|
|
554
|
+
"type": "text",
|
|
555
|
+
"primaryKey": false,
|
|
556
|
+
"notNull": true,
|
|
557
|
+
"autoincrement": false
|
|
558
|
+
},
|
|
559
|
+
"settings": {
|
|
560
|
+
"name": "settings",
|
|
561
|
+
"type": "text",
|
|
562
|
+
"primaryKey": false,
|
|
563
|
+
"notNull": true,
|
|
564
|
+
"autoincrement": false
|
|
565
|
+
},
|
|
566
|
+
"prompt": {
|
|
567
|
+
"name": "prompt",
|
|
568
|
+
"type": "text",
|
|
569
|
+
"primaryKey": false,
|
|
570
|
+
"notNull": true,
|
|
571
|
+
"autoincrement": false
|
|
572
|
+
},
|
|
573
|
+
"interval_ms": {
|
|
574
|
+
"name": "interval_ms",
|
|
575
|
+
"type": "integer",
|
|
576
|
+
"primaryKey": false,
|
|
577
|
+
"notNull": true,
|
|
578
|
+
"autoincrement": false
|
|
579
|
+
},
|
|
580
|
+
"status": {
|
|
581
|
+
"name": "status",
|
|
582
|
+
"type": "text",
|
|
583
|
+
"primaryKey": false,
|
|
584
|
+
"notNull": true,
|
|
585
|
+
"autoincrement": false
|
|
586
|
+
},
|
|
587
|
+
"reason": {
|
|
588
|
+
"name": "reason",
|
|
589
|
+
"type": "text",
|
|
590
|
+
"primaryKey": false,
|
|
591
|
+
"notNull": false,
|
|
592
|
+
"autoincrement": false
|
|
593
|
+
},
|
|
594
|
+
"version": {
|
|
595
|
+
"name": "version",
|
|
596
|
+
"type": "integer",
|
|
597
|
+
"primaryKey": false,
|
|
598
|
+
"notNull": true,
|
|
599
|
+
"autoincrement": false,
|
|
600
|
+
"default": 0
|
|
601
|
+
},
|
|
602
|
+
"runs": {
|
|
603
|
+
"name": "runs",
|
|
604
|
+
"type": "integer",
|
|
605
|
+
"primaryKey": false,
|
|
606
|
+
"notNull": true,
|
|
607
|
+
"autoincrement": false,
|
|
608
|
+
"default": 0
|
|
609
|
+
},
|
|
610
|
+
"next_run_at": {
|
|
611
|
+
"name": "next_run_at",
|
|
612
|
+
"type": "integer",
|
|
613
|
+
"primaryKey": false,
|
|
614
|
+
"notNull": true,
|
|
615
|
+
"autoincrement": false
|
|
616
|
+
},
|
|
617
|
+
"last_started_at": {
|
|
618
|
+
"name": "last_started_at",
|
|
619
|
+
"type": "integer",
|
|
620
|
+
"primaryKey": false,
|
|
621
|
+
"notNull": false,
|
|
622
|
+
"autoincrement": false
|
|
623
|
+
},
|
|
624
|
+
"last_result": {
|
|
625
|
+
"name": "last_result",
|
|
626
|
+
"type": "text",
|
|
627
|
+
"primaryKey": false,
|
|
628
|
+
"notNull": false,
|
|
629
|
+
"autoincrement": false
|
|
630
|
+
},
|
|
631
|
+
"last_turn_id": {
|
|
632
|
+
"name": "last_turn_id",
|
|
633
|
+
"type": "text",
|
|
634
|
+
"primaryKey": false,
|
|
635
|
+
"notNull": false,
|
|
636
|
+
"autoincrement": false
|
|
637
|
+
},
|
|
638
|
+
"last_operation_id": {
|
|
639
|
+
"name": "last_operation_id",
|
|
640
|
+
"type": "text",
|
|
641
|
+
"primaryKey": false,
|
|
642
|
+
"notNull": false,
|
|
643
|
+
"autoincrement": false
|
|
644
|
+
}
|
|
645
|
+
},
|
|
646
|
+
"indexes": {
|
|
647
|
+
"session_loops_thread_idx": {
|
|
648
|
+
"name": "session_loops_thread_idx",
|
|
649
|
+
"columns": [
|
|
650
|
+
"thread_id"
|
|
651
|
+
],
|
|
652
|
+
"isUnique": false
|
|
653
|
+
},
|
|
654
|
+
"session_loops_run_idx": {
|
|
655
|
+
"name": "session_loops_run_idx",
|
|
656
|
+
"columns": [
|
|
657
|
+
"last_operation_id"
|
|
658
|
+
],
|
|
659
|
+
"isUnique": true
|
|
660
|
+
},
|
|
661
|
+
"session_loops_due_idx": {
|
|
662
|
+
"name": "session_loops_due_idx",
|
|
663
|
+
"columns": [
|
|
664
|
+
"status",
|
|
665
|
+
"next_run_at"
|
|
666
|
+
],
|
|
667
|
+
"isUnique": false
|
|
668
|
+
}
|
|
669
|
+
},
|
|
670
|
+
"foreignKeys": {
|
|
671
|
+
"session_loops_id_operations_client_operation_id_fk": {
|
|
672
|
+
"name": "session_loops_id_operations_client_operation_id_fk",
|
|
673
|
+
"tableFrom": "session_loops",
|
|
674
|
+
"tableTo": "operations",
|
|
675
|
+
"columnsFrom": [
|
|
676
|
+
"id"
|
|
677
|
+
],
|
|
678
|
+
"columnsTo": [
|
|
679
|
+
"client_operation_id"
|
|
680
|
+
],
|
|
681
|
+
"onDelete": "no action",
|
|
682
|
+
"onUpdate": "no action"
|
|
683
|
+
},
|
|
684
|
+
"session_loops_last_operation_id_operations_client_operation_id_fk": {
|
|
685
|
+
"name": "session_loops_last_operation_id_operations_client_operation_id_fk",
|
|
686
|
+
"tableFrom": "session_loops",
|
|
687
|
+
"tableTo": "operations",
|
|
688
|
+
"columnsFrom": [
|
|
689
|
+
"last_operation_id"
|
|
690
|
+
],
|
|
691
|
+
"columnsTo": [
|
|
692
|
+
"client_operation_id"
|
|
693
|
+
],
|
|
694
|
+
"onDelete": "no action",
|
|
695
|
+
"onUpdate": "no action"
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"compositePrimaryKeys": {},
|
|
699
|
+
"uniqueConstraints": {},
|
|
700
|
+
"checkConstraints": {}
|
|
701
|
+
},
|
|
702
|
+
"session_workspaces": {
|
|
703
|
+
"name": "session_workspaces",
|
|
704
|
+
"columns": {
|
|
705
|
+
"operation_id": {
|
|
706
|
+
"name": "operation_id",
|
|
707
|
+
"type": "text",
|
|
708
|
+
"primaryKey": true,
|
|
709
|
+
"notNull": true,
|
|
710
|
+
"autoincrement": false
|
|
711
|
+
},
|
|
712
|
+
"thread_id": {
|
|
713
|
+
"name": "thread_id",
|
|
714
|
+
"type": "text",
|
|
715
|
+
"primaryKey": false,
|
|
716
|
+
"notNull": false,
|
|
717
|
+
"autoincrement": false
|
|
718
|
+
},
|
|
719
|
+
"root_path": {
|
|
720
|
+
"name": "root_path",
|
|
721
|
+
"type": "text",
|
|
722
|
+
"primaryKey": false,
|
|
723
|
+
"notNull": true,
|
|
724
|
+
"autoincrement": false
|
|
725
|
+
},
|
|
726
|
+
"canonical_root": {
|
|
727
|
+
"name": "canonical_root",
|
|
728
|
+
"type": "text",
|
|
729
|
+
"primaryKey": false,
|
|
730
|
+
"notNull": true,
|
|
731
|
+
"autoincrement": false
|
|
732
|
+
},
|
|
733
|
+
"created_at": {
|
|
734
|
+
"name": "created_at",
|
|
735
|
+
"type": "integer",
|
|
736
|
+
"primaryKey": false,
|
|
737
|
+
"notNull": true,
|
|
738
|
+
"autoincrement": false
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
"indexes": {
|
|
742
|
+
"session_workspaces_thread_id_unique": {
|
|
743
|
+
"name": "session_workspaces_thread_id_unique",
|
|
744
|
+
"columns": [
|
|
745
|
+
"thread_id"
|
|
746
|
+
],
|
|
747
|
+
"isUnique": true
|
|
748
|
+
},
|
|
749
|
+
"session_workspaces_canonical_root_unique": {
|
|
750
|
+
"name": "session_workspaces_canonical_root_unique",
|
|
751
|
+
"columns": [
|
|
752
|
+
"canonical_root"
|
|
753
|
+
],
|
|
754
|
+
"isUnique": true
|
|
755
|
+
}
|
|
756
|
+
},
|
|
757
|
+
"foreignKeys": {},
|
|
758
|
+
"compositePrimaryKeys": {},
|
|
759
|
+
"uniqueConstraints": {},
|
|
760
|
+
"checkConstraints": {}
|
|
761
|
+
},
|
|
762
|
+
"thread_links": {
|
|
763
|
+
"name": "thread_links",
|
|
764
|
+
"columns": {
|
|
765
|
+
"thread_id": {
|
|
766
|
+
"name": "thread_id",
|
|
767
|
+
"type": "text",
|
|
768
|
+
"primaryKey": true,
|
|
769
|
+
"notNull": true,
|
|
770
|
+
"autoincrement": false
|
|
771
|
+
},
|
|
772
|
+
"project_id": {
|
|
773
|
+
"name": "project_id",
|
|
774
|
+
"type": "text",
|
|
775
|
+
"primaryKey": false,
|
|
776
|
+
"notNull": false,
|
|
777
|
+
"autoincrement": false
|
|
778
|
+
},
|
|
779
|
+
"cwd": {
|
|
780
|
+
"name": "cwd",
|
|
781
|
+
"type": "text",
|
|
782
|
+
"primaryKey": false,
|
|
783
|
+
"notNull": true,
|
|
784
|
+
"autoincrement": false
|
|
785
|
+
},
|
|
786
|
+
"source": {
|
|
787
|
+
"name": "source",
|
|
788
|
+
"type": "text",
|
|
789
|
+
"primaryKey": false,
|
|
790
|
+
"notNull": true,
|
|
791
|
+
"autoincrement": false
|
|
792
|
+
},
|
|
793
|
+
"managed_epoch": {
|
|
794
|
+
"name": "managed_epoch",
|
|
795
|
+
"type": "text",
|
|
796
|
+
"primaryKey": false,
|
|
797
|
+
"notNull": false,
|
|
798
|
+
"autoincrement": false
|
|
799
|
+
},
|
|
800
|
+
"updated_at": {
|
|
801
|
+
"name": "updated_at",
|
|
802
|
+
"type": "integer",
|
|
803
|
+
"primaryKey": false,
|
|
804
|
+
"notNull": true,
|
|
805
|
+
"autoincrement": false
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"indexes": {},
|
|
809
|
+
"foreignKeys": {},
|
|
810
|
+
"compositePrimaryKeys": {},
|
|
811
|
+
"uniqueConstraints": {},
|
|
812
|
+
"checkConstraints": {}
|
|
813
|
+
},
|
|
814
|
+
"turn_token_totals": {
|
|
815
|
+
"name": "turn_token_totals",
|
|
816
|
+
"columns": {
|
|
817
|
+
"thread_id": {
|
|
818
|
+
"name": "thread_id",
|
|
819
|
+
"type": "text",
|
|
820
|
+
"primaryKey": false,
|
|
821
|
+
"notNull": true,
|
|
822
|
+
"autoincrement": false
|
|
823
|
+
},
|
|
824
|
+
"turn_id": {
|
|
825
|
+
"name": "turn_id",
|
|
826
|
+
"type": "text",
|
|
827
|
+
"primaryKey": false,
|
|
828
|
+
"notNull": true,
|
|
829
|
+
"autoincrement": false
|
|
830
|
+
},
|
|
831
|
+
"total_tokens": {
|
|
832
|
+
"name": "total_tokens",
|
|
833
|
+
"type": "integer",
|
|
834
|
+
"primaryKey": false,
|
|
835
|
+
"notNull": true,
|
|
836
|
+
"autoincrement": false
|
|
837
|
+
}
|
|
838
|
+
},
|
|
839
|
+
"indexes": {},
|
|
840
|
+
"foreignKeys": {},
|
|
841
|
+
"compositePrimaryKeys": {
|
|
842
|
+
"turn_token_totals_thread_id_turn_id_pk": {
|
|
843
|
+
"columns": [
|
|
844
|
+
"thread_id",
|
|
845
|
+
"turn_id"
|
|
846
|
+
],
|
|
847
|
+
"name": "turn_token_totals_thread_id_turn_id_pk"
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
"uniqueConstraints": {},
|
|
851
|
+
"checkConstraints": {}
|
|
852
|
+
},
|
|
853
|
+
"turn_usage": {
|
|
854
|
+
"name": "turn_usage",
|
|
855
|
+
"columns": {
|
|
856
|
+
"thread_id": {
|
|
857
|
+
"name": "thread_id",
|
|
858
|
+
"type": "text",
|
|
859
|
+
"primaryKey": false,
|
|
860
|
+
"notNull": true,
|
|
861
|
+
"autoincrement": false
|
|
862
|
+
},
|
|
863
|
+
"turn_id": {
|
|
864
|
+
"name": "turn_id",
|
|
865
|
+
"type": "text",
|
|
866
|
+
"primaryKey": false,
|
|
867
|
+
"notNull": true,
|
|
868
|
+
"autoincrement": false
|
|
869
|
+
},
|
|
870
|
+
"output_tokens": {
|
|
871
|
+
"name": "output_tokens",
|
|
872
|
+
"type": "integer",
|
|
873
|
+
"primaryKey": false,
|
|
874
|
+
"notNull": true,
|
|
875
|
+
"autoincrement": false
|
|
876
|
+
}
|
|
877
|
+
},
|
|
878
|
+
"indexes": {},
|
|
879
|
+
"foreignKeys": {},
|
|
880
|
+
"compositePrimaryKeys": {
|
|
881
|
+
"turn_usage_thread_id_turn_id_pk": {
|
|
882
|
+
"columns": [
|
|
883
|
+
"thread_id",
|
|
884
|
+
"turn_id"
|
|
885
|
+
],
|
|
886
|
+
"name": "turn_usage_thread_id_turn_id_pk"
|
|
887
|
+
}
|
|
888
|
+
},
|
|
889
|
+
"uniqueConstraints": {},
|
|
890
|
+
"checkConstraints": {}
|
|
891
|
+
}
|
|
892
|
+
},
|
|
893
|
+
"views": {},
|
|
894
|
+
"enums": {},
|
|
895
|
+
"_meta": {
|
|
896
|
+
"schemas": {},
|
|
897
|
+
"tables": {},
|
|
898
|
+
"columns": {}
|
|
899
|
+
},
|
|
900
|
+
"internal": {
|
|
901
|
+
"indexes": {}
|
|
902
|
+
}
|
|
903
|
+
}
|