alchemylab-opencode 1.0.26 → 2.0.1

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 (123) hide show
  1. package/NODE_COMPAT.md +23 -174
  2. package/dist/20260127222353_familiar_lady_ursula-KV747FJX.js +14 -0
  3. package/dist/{chunk-LTCXIXYM.js → 20260211171708_add_project_commands-GDOHPDPF.js} +3 -1
  4. package/dist/20260213144116_wakeful_the_professor-ZVDD54AK.js +14 -0
  5. package/dist/20260225215848_workspace-ZMSOZSPA.js +14 -0
  6. package/dist/20260227213759_add_session_workspace_id-ROENWPKA.js +14 -0
  7. package/dist/20260228203230_blue_harpoon-IW3Z4TQZ.js +14 -0
  8. package/dist/20260303231226_add_workspace_fields-OUVZMNAG.js +14 -0
  9. package/dist/20260309230000_move_org_to_state-NOXAPU5V.js +14 -0
  10. package/dist/20260312043431_session_message_cursor-DJ4T3T4R.js +14 -0
  11. package/dist/20260323234822_events-72GIKJ2A.js +14 -0
  12. package/dist/20260410174513_workspace-name-JXSWFBJN.js +14 -0
  13. package/dist/20260413175956_chief_energizer-4HEWZ6U3.js +14 -0
  14. package/dist/20260423070820_add_icon_url_override-X5SHFGTI.js +14 -0
  15. package/dist/20260427172553_slow_nightmare-PS5T2AH2.js +14 -0
  16. package/dist/{chunk-PWFRMDDF.js → 20260428004200_add_session_path-LGW75WYA.js} +3 -0
  17. package/dist/{valibot--1zFm7rT-FSYJNYJ6.js → 20260501142318_next_venus-J3TLVXZ6.js} +3 -1
  18. package/dist/20260504145000_add_sync_owner-3R52GB4C.js +14 -0
  19. package/dist/20260507164347_add_workspace_time-JHDRCZAR.js +14 -0
  20. package/dist/20260510033149_session_usage-UGBVOXZB.js +53 -0
  21. package/dist/20260511000411_data_migration_state-FB4LBFSE.js +14 -0
  22. package/dist/20260511173437_session-metadata-T2XHGWHS.js +14 -0
  23. package/dist/20260601010001_normalize_storage_paths-5MAY5GT3.js +14 -0
  24. package/dist/{chunk-YRY5Y3QL.js → 20260601202201_amazing_prowler-PET224YG.js} +3 -1
  25. package/dist/20260602002951_lowly_union_jack-PG6XDMGL.js +14 -0
  26. package/dist/20260602182828_add_project_directories-ZCH2ACGG.js +14 -0
  27. package/dist/20260603001617_session_message_projection_indexes-XVLJTUF2.js +14 -0
  28. package/dist/20260603040000_session_message_projection_order-XG6RACZQ.js +14 -0
  29. package/dist/20260603141458_session_input_inbox-K2VQ7V6E.js +14 -0
  30. package/dist/20260603160727_jittery_ezekiel_stane-WKJLRDO7.js +14 -0
  31. package/dist/20260604172448_event_sourced_session_input-NTXOECR7.js +14 -0
  32. package/dist/20260605003541_add_session_context_snapshot-DXMQEXMT.js +14 -0
  33. package/dist/{zod-Bwrt9trS-HVDOFWRP.js → 20260605042240_add_context_epoch_agent-W6IQYZXE.js} +3 -1
  34. package/dist/20260611035744_credential-XTMSYTJD.js +14 -0
  35. package/dist/20260611192811_lush_chimera-XPLIQMJD.js +14 -0
  36. package/dist/20260612174303_project_dir_strategy-FR2NGQKK.js +14 -0
  37. package/dist/20260622142730_simplify_session_context_epoch-NTQZR3RE.js +14 -0
  38. package/dist/20260622170816_reset_v2_session_state-5JPHJTZG.js +14 -0
  39. package/dist/20260622202450_simplify_session_input-2EXF2HMV.js +14 -0
  40. package/dist/app-runtime-HQBOCDV5.js +14 -0
  41. package/dist/chunk-4FEBIOI5.js +865 -0
  42. package/dist/chunk-4K2RXRZL.js +14 -0
  43. package/dist/chunk-4RFMKEKM.js +1455 -0
  44. package/dist/chunk-BM2C7NHL.js +41 -0
  45. package/dist/chunk-MKEMZFJI.js +393 -0
  46. package/dist/chunk-OMDJ6ZZ2.js +684 -0
  47. package/dist/chunk-OWMG4NNF.js +186 -0
  48. package/dist/chunk-QRABYJKL.js +14 -0
  49. package/dist/chunk-RHIWAYN5.js +14 -0
  50. package/dist/{arktype-aI7TBD0R-TFNARRIP.js → chunk-VURLSDCB.js} +3 -1
  51. package/dist/chunk-Z5TLIUAI.js +28 -0
  52. package/dist/code-mode-7BQJUARW.js +40 -0
  53. package/dist/copilot-provider-TX4YFKJZ.js +14 -0
  54. package/dist/photon-VQS5F5BI.js +14 -0
  55. package/dist/pty.node-Y3N2XKYG.js +14 -0
  56. package/dist/run.js +3 -1
  57. package/dist/serve.js +3 -1
  58. package/dist/server-BFUQR7MX.js +17 -0
  59. package/dist/session-6RNXZNG6.js +14 -0
  60. package/dist/{chunk-2ANK3QEN.js → worktree-QHQHX3SG.js} +3 -1
  61. package/package.json +83 -50
  62. package/patches/@ai-sdk%2Famazon-bedrock@4.0.166.patch +164 -0
  63. package/patches/@ai-sdk%2Fanthropic@3.0.111.patch +528 -0
  64. package/patches/@ai-sdk%2Fgoogle@3.0.73.patch +69 -0
  65. package/patches/@ai-sdk%2Fgroq@3.0.31.patch +79 -0
  66. package/patches/@ai-sdk%2Fmistral@3.0.51.patch +714 -0
  67. package/patches/@ai-sdk%2Fopenai-compatible@2.0.41.patch +39 -0
  68. package/patches/@ai-sdk%2Fopenai@3.0.88.patch +280 -0
  69. package/patches/@ai-sdk%2Fxai@3.0.139.patch +296 -0
  70. package/patches/@modelcontextprotocol%2Fsdk@1.29.0.patch +647 -0
  71. package/patches/@npmcli%2Fagent@4.0.2.patch +13 -0
  72. package/patches/@silvia-odwyer%2Fphoton-node@0.3.4.patch +285 -0
  73. package/patches/effect@4.0.0-beta.83.patch +57 -0
  74. package/patches/gcp-metadata@8.1.2.patch +14 -0
  75. package/patches/pacote@21.5.0.patch +18 -0
  76. package/postinstall.cjs +146 -0
  77. package/dist/chunk-5P5WLADX.js +0 -18
  78. package/dist/chunk-7KKA6WBY.js +0 -12
  79. package/dist/chunk-A7EXZZPC.js +0 -12
  80. package/dist/chunk-CZVKIDQZ.js +0 -12
  81. package/dist/chunk-FXLFZ5DL.js +0 -12
  82. package/dist/chunk-G752V4OP.js +0 -2187
  83. package/dist/chunk-GBXMNWYD.js +0 -18
  84. package/dist/chunk-IR6PDN4W.js +0 -13
  85. package/dist/chunk-M4CB72HE.js +0 -13
  86. package/dist/chunk-MBZTOEAD.js +0 -12
  87. package/dist/default-u_dwuiYb-652AQZKX.js +0 -12
  88. package/dist/effect-QlVUlMFu-JVYEXAZL.js +0 -12
  89. package/dist/log-MVJ7H4K5.js +0 -12
  90. package/dist/pty.node-X2EITEZ4.js +0 -12
  91. package/dist/registry-ISXIFNPG.js +0 -12
  92. package/dist/run-AUCA7EKA.js +0 -20
  93. package/dist/run-service-MT3LOWLS.js +0 -12
  94. package/dist/schema-YWIVP7UR.js +0 -12
  95. package/dist/server-PIYRZLBG.js +0 -12
  96. package/dist/session-ACBIJ2VE.js +0 -12
  97. package/dist/share-next-MPGA7EO4.js +0 -12
  98. package/dist/sury-CWZTCd75-3YHH6KVI.js +0 -12
  99. package/dist/typebox-Dei93FPO-GLI7OCTY.js +0 -12
  100. package/dist/valibot-D_HTw1Gn-E5NKVIOV.js +0 -12
  101. package/dist/worktree-E4DGSBLJ.js +0 -12
  102. package/dist/zod-DSgpEGAE-DSH6V7MG.js +0 -12
  103. package/packages/opencode/migration/20260127222353_familiar_lady_ursula/migration.sql +0 -90
  104. package/packages/opencode/migration/20260127222353_familiar_lady_ursula/snapshot.json +0 -796
  105. package/packages/opencode/migration/20260211171708_add_project_commands/migration.sql +0 -1
  106. package/packages/opencode/migration/20260211171708_add_project_commands/snapshot.json +0 -806
  107. package/packages/opencode/migration/20260213144116_wakeful_the_professor/migration.sql +0 -11
  108. package/packages/opencode/migration/20260213144116_wakeful_the_professor/snapshot.json +0 -897
  109. package/packages/opencode/migration/20260225215848_workspace/migration.sql +0 -7
  110. package/packages/opencode/migration/20260225215848_workspace/snapshot.json +0 -959
  111. package/packages/opencode/migration/20260227213759_add_session_workspace_id/migration.sql +0 -2
  112. package/packages/opencode/migration/20260227213759_add_session_workspace_id/snapshot.json +0 -983
  113. package/packages/opencode/migration/20260228203230_blue_harpoon/migration.sql +0 -17
  114. package/packages/opencode/migration/20260228203230_blue_harpoon/snapshot.json +0 -1102
  115. package/packages/opencode/migration/20260303231226_add_workspace_fields/migration.sql +0 -5
  116. package/packages/opencode/migration/20260303231226_add_workspace_fields/snapshot.json +0 -1013
  117. package/packages/opencode/migration/20260309230000_move_org_to_state/migration.sql +0 -3
  118. package/packages/opencode/migration/20260309230000_move_org_to_state/snapshot.json +0 -1156
  119. package/packages/opencode/migration/20260312043431_session_message_cursor/migration.sql +0 -4
  120. package/packages/opencode/migration/20260312043431_session_message_cursor/snapshot.json +0 -1168
  121. package/packages/opencode/migration/20260323234822_events/migration.sql +0 -13
  122. package/packages/opencode/migration/20260323234822_events/snapshot.json +0 -1271
  123. package/packages/opencode/migration/20260409000000_add_session_metadata/migration.sql +0 -1
@@ -1,983 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "id": "572fb732-56f4-4b1e-b981-77152c9980dd",
5
- "prevIds": ["1f1dbf2d-bf66-4b25-8af4-4ba7633b7e40"],
6
- "ddl": [
7
- {
8
- "name": "workspace",
9
- "entityType": "tables"
10
- },
11
- {
12
- "name": "control_account",
13
- "entityType": "tables"
14
- },
15
- {
16
- "name": "project",
17
- "entityType": "tables"
18
- },
19
- {
20
- "name": "message",
21
- "entityType": "tables"
22
- },
23
- {
24
- "name": "part",
25
- "entityType": "tables"
26
- },
27
- {
28
- "name": "permission",
29
- "entityType": "tables"
30
- },
31
- {
32
- "name": "session",
33
- "entityType": "tables"
34
- },
35
- {
36
- "name": "todo",
37
- "entityType": "tables"
38
- },
39
- {
40
- "name": "session_share",
41
- "entityType": "tables"
42
- },
43
- {
44
- "type": "text",
45
- "notNull": false,
46
- "autoincrement": false,
47
- "default": null,
48
- "generated": null,
49
- "name": "id",
50
- "entityType": "columns",
51
- "table": "workspace"
52
- },
53
- {
54
- "type": "text",
55
- "notNull": false,
56
- "autoincrement": false,
57
- "default": null,
58
- "generated": null,
59
- "name": "branch",
60
- "entityType": "columns",
61
- "table": "workspace"
62
- },
63
- {
64
- "type": "text",
65
- "notNull": true,
66
- "autoincrement": false,
67
- "default": null,
68
- "generated": null,
69
- "name": "project_id",
70
- "entityType": "columns",
71
- "table": "workspace"
72
- },
73
- {
74
- "type": "text",
75
- "notNull": true,
76
- "autoincrement": false,
77
- "default": null,
78
- "generated": null,
79
- "name": "config",
80
- "entityType": "columns",
81
- "table": "workspace"
82
- },
83
- {
84
- "type": "text",
85
- "notNull": true,
86
- "autoincrement": false,
87
- "default": null,
88
- "generated": null,
89
- "name": "email",
90
- "entityType": "columns",
91
- "table": "control_account"
92
- },
93
- {
94
- "type": "text",
95
- "notNull": true,
96
- "autoincrement": false,
97
- "default": null,
98
- "generated": null,
99
- "name": "url",
100
- "entityType": "columns",
101
- "table": "control_account"
102
- },
103
- {
104
- "type": "text",
105
- "notNull": true,
106
- "autoincrement": false,
107
- "default": null,
108
- "generated": null,
109
- "name": "access_token",
110
- "entityType": "columns",
111
- "table": "control_account"
112
- },
113
- {
114
- "type": "text",
115
- "notNull": true,
116
- "autoincrement": false,
117
- "default": null,
118
- "generated": null,
119
- "name": "refresh_token",
120
- "entityType": "columns",
121
- "table": "control_account"
122
- },
123
- {
124
- "type": "integer",
125
- "notNull": false,
126
- "autoincrement": false,
127
- "default": null,
128
- "generated": null,
129
- "name": "token_expiry",
130
- "entityType": "columns",
131
- "table": "control_account"
132
- },
133
- {
134
- "type": "integer",
135
- "notNull": true,
136
- "autoincrement": false,
137
- "default": null,
138
- "generated": null,
139
- "name": "active",
140
- "entityType": "columns",
141
- "table": "control_account"
142
- },
143
- {
144
- "type": "integer",
145
- "notNull": true,
146
- "autoincrement": false,
147
- "default": null,
148
- "generated": null,
149
- "name": "time_created",
150
- "entityType": "columns",
151
- "table": "control_account"
152
- },
153
- {
154
- "type": "integer",
155
- "notNull": true,
156
- "autoincrement": false,
157
- "default": null,
158
- "generated": null,
159
- "name": "time_updated",
160
- "entityType": "columns",
161
- "table": "control_account"
162
- },
163
- {
164
- "type": "text",
165
- "notNull": false,
166
- "autoincrement": false,
167
- "default": null,
168
- "generated": null,
169
- "name": "id",
170
- "entityType": "columns",
171
- "table": "project"
172
- },
173
- {
174
- "type": "text",
175
- "notNull": true,
176
- "autoincrement": false,
177
- "default": null,
178
- "generated": null,
179
- "name": "worktree",
180
- "entityType": "columns",
181
- "table": "project"
182
- },
183
- {
184
- "type": "text",
185
- "notNull": false,
186
- "autoincrement": false,
187
- "default": null,
188
- "generated": null,
189
- "name": "vcs",
190
- "entityType": "columns",
191
- "table": "project"
192
- },
193
- {
194
- "type": "text",
195
- "notNull": false,
196
- "autoincrement": false,
197
- "default": null,
198
- "generated": null,
199
- "name": "name",
200
- "entityType": "columns",
201
- "table": "project"
202
- },
203
- {
204
- "type": "text",
205
- "notNull": false,
206
- "autoincrement": false,
207
- "default": null,
208
- "generated": null,
209
- "name": "icon_url",
210
- "entityType": "columns",
211
- "table": "project"
212
- },
213
- {
214
- "type": "text",
215
- "notNull": false,
216
- "autoincrement": false,
217
- "default": null,
218
- "generated": null,
219
- "name": "icon_color",
220
- "entityType": "columns",
221
- "table": "project"
222
- },
223
- {
224
- "type": "integer",
225
- "notNull": true,
226
- "autoincrement": false,
227
- "default": null,
228
- "generated": null,
229
- "name": "time_created",
230
- "entityType": "columns",
231
- "table": "project"
232
- },
233
- {
234
- "type": "integer",
235
- "notNull": true,
236
- "autoincrement": false,
237
- "default": null,
238
- "generated": null,
239
- "name": "time_updated",
240
- "entityType": "columns",
241
- "table": "project"
242
- },
243
- {
244
- "type": "integer",
245
- "notNull": false,
246
- "autoincrement": false,
247
- "default": null,
248
- "generated": null,
249
- "name": "time_initialized",
250
- "entityType": "columns",
251
- "table": "project"
252
- },
253
- {
254
- "type": "text",
255
- "notNull": true,
256
- "autoincrement": false,
257
- "default": null,
258
- "generated": null,
259
- "name": "sandboxes",
260
- "entityType": "columns",
261
- "table": "project"
262
- },
263
- {
264
- "type": "text",
265
- "notNull": false,
266
- "autoincrement": false,
267
- "default": null,
268
- "generated": null,
269
- "name": "commands",
270
- "entityType": "columns",
271
- "table": "project"
272
- },
273
- {
274
- "type": "text",
275
- "notNull": false,
276
- "autoincrement": false,
277
- "default": null,
278
- "generated": null,
279
- "name": "id",
280
- "entityType": "columns",
281
- "table": "message"
282
- },
283
- {
284
- "type": "text",
285
- "notNull": true,
286
- "autoincrement": false,
287
- "default": null,
288
- "generated": null,
289
- "name": "session_id",
290
- "entityType": "columns",
291
- "table": "message"
292
- },
293
- {
294
- "type": "integer",
295
- "notNull": true,
296
- "autoincrement": false,
297
- "default": null,
298
- "generated": null,
299
- "name": "time_created",
300
- "entityType": "columns",
301
- "table": "message"
302
- },
303
- {
304
- "type": "integer",
305
- "notNull": true,
306
- "autoincrement": false,
307
- "default": null,
308
- "generated": null,
309
- "name": "time_updated",
310
- "entityType": "columns",
311
- "table": "message"
312
- },
313
- {
314
- "type": "text",
315
- "notNull": true,
316
- "autoincrement": false,
317
- "default": null,
318
- "generated": null,
319
- "name": "data",
320
- "entityType": "columns",
321
- "table": "message"
322
- },
323
- {
324
- "type": "text",
325
- "notNull": false,
326
- "autoincrement": false,
327
- "default": null,
328
- "generated": null,
329
- "name": "id",
330
- "entityType": "columns",
331
- "table": "part"
332
- },
333
- {
334
- "type": "text",
335
- "notNull": true,
336
- "autoincrement": false,
337
- "default": null,
338
- "generated": null,
339
- "name": "message_id",
340
- "entityType": "columns",
341
- "table": "part"
342
- },
343
- {
344
- "type": "text",
345
- "notNull": true,
346
- "autoincrement": false,
347
- "default": null,
348
- "generated": null,
349
- "name": "session_id",
350
- "entityType": "columns",
351
- "table": "part"
352
- },
353
- {
354
- "type": "integer",
355
- "notNull": true,
356
- "autoincrement": false,
357
- "default": null,
358
- "generated": null,
359
- "name": "time_created",
360
- "entityType": "columns",
361
- "table": "part"
362
- },
363
- {
364
- "type": "integer",
365
- "notNull": true,
366
- "autoincrement": false,
367
- "default": null,
368
- "generated": null,
369
- "name": "time_updated",
370
- "entityType": "columns",
371
- "table": "part"
372
- },
373
- {
374
- "type": "text",
375
- "notNull": true,
376
- "autoincrement": false,
377
- "default": null,
378
- "generated": null,
379
- "name": "data",
380
- "entityType": "columns",
381
- "table": "part"
382
- },
383
- {
384
- "type": "text",
385
- "notNull": false,
386
- "autoincrement": false,
387
- "default": null,
388
- "generated": null,
389
- "name": "project_id",
390
- "entityType": "columns",
391
- "table": "permission"
392
- },
393
- {
394
- "type": "integer",
395
- "notNull": true,
396
- "autoincrement": false,
397
- "default": null,
398
- "generated": null,
399
- "name": "time_created",
400
- "entityType": "columns",
401
- "table": "permission"
402
- },
403
- {
404
- "type": "integer",
405
- "notNull": true,
406
- "autoincrement": false,
407
- "default": null,
408
- "generated": null,
409
- "name": "time_updated",
410
- "entityType": "columns",
411
- "table": "permission"
412
- },
413
- {
414
- "type": "text",
415
- "notNull": true,
416
- "autoincrement": false,
417
- "default": null,
418
- "generated": null,
419
- "name": "data",
420
- "entityType": "columns",
421
- "table": "permission"
422
- },
423
- {
424
- "type": "text",
425
- "notNull": false,
426
- "autoincrement": false,
427
- "default": null,
428
- "generated": null,
429
- "name": "id",
430
- "entityType": "columns",
431
- "table": "session"
432
- },
433
- {
434
- "type": "text",
435
- "notNull": true,
436
- "autoincrement": false,
437
- "default": null,
438
- "generated": null,
439
- "name": "project_id",
440
- "entityType": "columns",
441
- "table": "session"
442
- },
443
- {
444
- "type": "text",
445
- "notNull": false,
446
- "autoincrement": false,
447
- "default": null,
448
- "generated": null,
449
- "name": "workspace_id",
450
- "entityType": "columns",
451
- "table": "session"
452
- },
453
- {
454
- "type": "text",
455
- "notNull": false,
456
- "autoincrement": false,
457
- "default": null,
458
- "generated": null,
459
- "name": "parent_id",
460
- "entityType": "columns",
461
- "table": "session"
462
- },
463
- {
464
- "type": "text",
465
- "notNull": true,
466
- "autoincrement": false,
467
- "default": null,
468
- "generated": null,
469
- "name": "slug",
470
- "entityType": "columns",
471
- "table": "session"
472
- },
473
- {
474
- "type": "text",
475
- "notNull": true,
476
- "autoincrement": false,
477
- "default": null,
478
- "generated": null,
479
- "name": "directory",
480
- "entityType": "columns",
481
- "table": "session"
482
- },
483
- {
484
- "type": "text",
485
- "notNull": true,
486
- "autoincrement": false,
487
- "default": null,
488
- "generated": null,
489
- "name": "title",
490
- "entityType": "columns",
491
- "table": "session"
492
- },
493
- {
494
- "type": "text",
495
- "notNull": true,
496
- "autoincrement": false,
497
- "default": null,
498
- "generated": null,
499
- "name": "version",
500
- "entityType": "columns",
501
- "table": "session"
502
- },
503
- {
504
- "type": "text",
505
- "notNull": false,
506
- "autoincrement": false,
507
- "default": null,
508
- "generated": null,
509
- "name": "share_url",
510
- "entityType": "columns",
511
- "table": "session"
512
- },
513
- {
514
- "type": "integer",
515
- "notNull": false,
516
- "autoincrement": false,
517
- "default": null,
518
- "generated": null,
519
- "name": "summary_additions",
520
- "entityType": "columns",
521
- "table": "session"
522
- },
523
- {
524
- "type": "integer",
525
- "notNull": false,
526
- "autoincrement": false,
527
- "default": null,
528
- "generated": null,
529
- "name": "summary_deletions",
530
- "entityType": "columns",
531
- "table": "session"
532
- },
533
- {
534
- "type": "integer",
535
- "notNull": false,
536
- "autoincrement": false,
537
- "default": null,
538
- "generated": null,
539
- "name": "summary_files",
540
- "entityType": "columns",
541
- "table": "session"
542
- },
543
- {
544
- "type": "text",
545
- "notNull": false,
546
- "autoincrement": false,
547
- "default": null,
548
- "generated": null,
549
- "name": "summary_diffs",
550
- "entityType": "columns",
551
- "table": "session"
552
- },
553
- {
554
- "type": "text",
555
- "notNull": false,
556
- "autoincrement": false,
557
- "default": null,
558
- "generated": null,
559
- "name": "revert",
560
- "entityType": "columns",
561
- "table": "session"
562
- },
563
- {
564
- "type": "text",
565
- "notNull": false,
566
- "autoincrement": false,
567
- "default": null,
568
- "generated": null,
569
- "name": "permission",
570
- "entityType": "columns",
571
- "table": "session"
572
- },
573
- {
574
- "type": "integer",
575
- "notNull": true,
576
- "autoincrement": false,
577
- "default": null,
578
- "generated": null,
579
- "name": "time_created",
580
- "entityType": "columns",
581
- "table": "session"
582
- },
583
- {
584
- "type": "integer",
585
- "notNull": true,
586
- "autoincrement": false,
587
- "default": null,
588
- "generated": null,
589
- "name": "time_updated",
590
- "entityType": "columns",
591
- "table": "session"
592
- },
593
- {
594
- "type": "integer",
595
- "notNull": false,
596
- "autoincrement": false,
597
- "default": null,
598
- "generated": null,
599
- "name": "time_compacting",
600
- "entityType": "columns",
601
- "table": "session"
602
- },
603
- {
604
- "type": "integer",
605
- "notNull": false,
606
- "autoincrement": false,
607
- "default": null,
608
- "generated": null,
609
- "name": "time_archived",
610
- "entityType": "columns",
611
- "table": "session"
612
- },
613
- {
614
- "type": "text",
615
- "notNull": true,
616
- "autoincrement": false,
617
- "default": null,
618
- "generated": null,
619
- "name": "session_id",
620
- "entityType": "columns",
621
- "table": "todo"
622
- },
623
- {
624
- "type": "text",
625
- "notNull": true,
626
- "autoincrement": false,
627
- "default": null,
628
- "generated": null,
629
- "name": "content",
630
- "entityType": "columns",
631
- "table": "todo"
632
- },
633
- {
634
- "type": "text",
635
- "notNull": true,
636
- "autoincrement": false,
637
- "default": null,
638
- "generated": null,
639
- "name": "status",
640
- "entityType": "columns",
641
- "table": "todo"
642
- },
643
- {
644
- "type": "text",
645
- "notNull": true,
646
- "autoincrement": false,
647
- "default": null,
648
- "generated": null,
649
- "name": "priority",
650
- "entityType": "columns",
651
- "table": "todo"
652
- },
653
- {
654
- "type": "integer",
655
- "notNull": true,
656
- "autoincrement": false,
657
- "default": null,
658
- "generated": null,
659
- "name": "position",
660
- "entityType": "columns",
661
- "table": "todo"
662
- },
663
- {
664
- "type": "integer",
665
- "notNull": true,
666
- "autoincrement": false,
667
- "default": null,
668
- "generated": null,
669
- "name": "time_created",
670
- "entityType": "columns",
671
- "table": "todo"
672
- },
673
- {
674
- "type": "integer",
675
- "notNull": true,
676
- "autoincrement": false,
677
- "default": null,
678
- "generated": null,
679
- "name": "time_updated",
680
- "entityType": "columns",
681
- "table": "todo"
682
- },
683
- {
684
- "type": "text",
685
- "notNull": false,
686
- "autoincrement": false,
687
- "default": null,
688
- "generated": null,
689
- "name": "session_id",
690
- "entityType": "columns",
691
- "table": "session_share"
692
- },
693
- {
694
- "type": "text",
695
- "notNull": true,
696
- "autoincrement": false,
697
- "default": null,
698
- "generated": null,
699
- "name": "id",
700
- "entityType": "columns",
701
- "table": "session_share"
702
- },
703
- {
704
- "type": "text",
705
- "notNull": true,
706
- "autoincrement": false,
707
- "default": null,
708
- "generated": null,
709
- "name": "secret",
710
- "entityType": "columns",
711
- "table": "session_share"
712
- },
713
- {
714
- "type": "text",
715
- "notNull": true,
716
- "autoincrement": false,
717
- "default": null,
718
- "generated": null,
719
- "name": "url",
720
- "entityType": "columns",
721
- "table": "session_share"
722
- },
723
- {
724
- "type": "integer",
725
- "notNull": true,
726
- "autoincrement": false,
727
- "default": null,
728
- "generated": null,
729
- "name": "time_created",
730
- "entityType": "columns",
731
- "table": "session_share"
732
- },
733
- {
734
- "type": "integer",
735
- "notNull": true,
736
- "autoincrement": false,
737
- "default": null,
738
- "generated": null,
739
- "name": "time_updated",
740
- "entityType": "columns",
741
- "table": "session_share"
742
- },
743
- {
744
- "columns": ["project_id"],
745
- "tableTo": "project",
746
- "columnsTo": ["id"],
747
- "onUpdate": "NO ACTION",
748
- "onDelete": "CASCADE",
749
- "nameExplicit": false,
750
- "name": "fk_workspace_project_id_project_id_fk",
751
- "entityType": "fks",
752
- "table": "workspace"
753
- },
754
- {
755
- "columns": ["session_id"],
756
- "tableTo": "session",
757
- "columnsTo": ["id"],
758
- "onUpdate": "NO ACTION",
759
- "onDelete": "CASCADE",
760
- "nameExplicit": false,
761
- "name": "fk_message_session_id_session_id_fk",
762
- "entityType": "fks",
763
- "table": "message"
764
- },
765
- {
766
- "columns": ["message_id"],
767
- "tableTo": "message",
768
- "columnsTo": ["id"],
769
- "onUpdate": "NO ACTION",
770
- "onDelete": "CASCADE",
771
- "nameExplicit": false,
772
- "name": "fk_part_message_id_message_id_fk",
773
- "entityType": "fks",
774
- "table": "part"
775
- },
776
- {
777
- "columns": ["project_id"],
778
- "tableTo": "project",
779
- "columnsTo": ["id"],
780
- "onUpdate": "NO ACTION",
781
- "onDelete": "CASCADE",
782
- "nameExplicit": false,
783
- "name": "fk_permission_project_id_project_id_fk",
784
- "entityType": "fks",
785
- "table": "permission"
786
- },
787
- {
788
- "columns": ["project_id"],
789
- "tableTo": "project",
790
- "columnsTo": ["id"],
791
- "onUpdate": "NO ACTION",
792
- "onDelete": "CASCADE",
793
- "nameExplicit": false,
794
- "name": "fk_session_project_id_project_id_fk",
795
- "entityType": "fks",
796
- "table": "session"
797
- },
798
- {
799
- "columns": ["session_id"],
800
- "tableTo": "session",
801
- "columnsTo": ["id"],
802
- "onUpdate": "NO ACTION",
803
- "onDelete": "CASCADE",
804
- "nameExplicit": false,
805
- "name": "fk_todo_session_id_session_id_fk",
806
- "entityType": "fks",
807
- "table": "todo"
808
- },
809
- {
810
- "columns": ["session_id"],
811
- "tableTo": "session",
812
- "columnsTo": ["id"],
813
- "onUpdate": "NO ACTION",
814
- "onDelete": "CASCADE",
815
- "nameExplicit": false,
816
- "name": "fk_session_share_session_id_session_id_fk",
817
- "entityType": "fks",
818
- "table": "session_share"
819
- },
820
- {
821
- "columns": ["email", "url"],
822
- "nameExplicit": false,
823
- "name": "control_account_pk",
824
- "entityType": "pks",
825
- "table": "control_account"
826
- },
827
- {
828
- "columns": ["session_id", "position"],
829
- "nameExplicit": false,
830
- "name": "todo_pk",
831
- "entityType": "pks",
832
- "table": "todo"
833
- },
834
- {
835
- "columns": ["id"],
836
- "nameExplicit": false,
837
- "name": "workspace_pk",
838
- "table": "workspace",
839
- "entityType": "pks"
840
- },
841
- {
842
- "columns": ["id"],
843
- "nameExplicit": false,
844
- "name": "project_pk",
845
- "table": "project",
846
- "entityType": "pks"
847
- },
848
- {
849
- "columns": ["id"],
850
- "nameExplicit": false,
851
- "name": "message_pk",
852
- "table": "message",
853
- "entityType": "pks"
854
- },
855
- {
856
- "columns": ["id"],
857
- "nameExplicit": false,
858
- "name": "part_pk",
859
- "table": "part",
860
- "entityType": "pks"
861
- },
862
- {
863
- "columns": ["project_id"],
864
- "nameExplicit": false,
865
- "name": "permission_pk",
866
- "table": "permission",
867
- "entityType": "pks"
868
- },
869
- {
870
- "columns": ["id"],
871
- "nameExplicit": false,
872
- "name": "session_pk",
873
- "table": "session",
874
- "entityType": "pks"
875
- },
876
- {
877
- "columns": ["session_id"],
878
- "nameExplicit": false,
879
- "name": "session_share_pk",
880
- "table": "session_share",
881
- "entityType": "pks"
882
- },
883
- {
884
- "columns": [
885
- {
886
- "value": "session_id",
887
- "isExpression": false
888
- }
889
- ],
890
- "isUnique": false,
891
- "where": null,
892
- "origin": "manual",
893
- "name": "message_session_idx",
894
- "entityType": "indexes",
895
- "table": "message"
896
- },
897
- {
898
- "columns": [
899
- {
900
- "value": "message_id",
901
- "isExpression": false
902
- }
903
- ],
904
- "isUnique": false,
905
- "where": null,
906
- "origin": "manual",
907
- "name": "part_message_idx",
908
- "entityType": "indexes",
909
- "table": "part"
910
- },
911
- {
912
- "columns": [
913
- {
914
- "value": "session_id",
915
- "isExpression": false
916
- }
917
- ],
918
- "isUnique": false,
919
- "where": null,
920
- "origin": "manual",
921
- "name": "part_session_idx",
922
- "entityType": "indexes",
923
- "table": "part"
924
- },
925
- {
926
- "columns": [
927
- {
928
- "value": "project_id",
929
- "isExpression": false
930
- }
931
- ],
932
- "isUnique": false,
933
- "where": null,
934
- "origin": "manual",
935
- "name": "session_project_idx",
936
- "entityType": "indexes",
937
- "table": "session"
938
- },
939
- {
940
- "columns": [
941
- {
942
- "value": "workspace_id",
943
- "isExpression": false
944
- }
945
- ],
946
- "isUnique": false,
947
- "where": null,
948
- "origin": "manual",
949
- "name": "session_workspace_idx",
950
- "entityType": "indexes",
951
- "table": "session"
952
- },
953
- {
954
- "columns": [
955
- {
956
- "value": "parent_id",
957
- "isExpression": false
958
- }
959
- ],
960
- "isUnique": false,
961
- "where": null,
962
- "origin": "manual",
963
- "name": "session_parent_idx",
964
- "entityType": "indexes",
965
- "table": "session"
966
- },
967
- {
968
- "columns": [
969
- {
970
- "value": "session_id",
971
- "isExpression": false
972
- }
973
- ],
974
- "isUnique": false,
975
- "where": null,
976
- "origin": "manual",
977
- "name": "todo_session_idx",
978
- "entityType": "indexes",
979
- "table": "todo"
980
- }
981
- ],
982
- "renames": []
983
- }