alchemylab-opencode 1.0.25 → 2.0.0

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-YRY5Y3QL.js → 20260428004200_add_session_path-LGW75WYA.js} +3 -1
  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-PWFRMDDF.js → 20260601202201_amazing_prowler-PET224YG.js} +3 -0
  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-6NGO2HRS.js +14 -0
  41. package/dist/chunk-4K2RXRZL.js +14 -0
  42. package/dist/chunk-BM2C7NHL.js +41 -0
  43. package/dist/chunk-E47SMIVL.js +186 -0
  44. package/dist/chunk-OMDJ6ZZ2.js +684 -0
  45. package/dist/chunk-PLQOF3WF.js +393 -0
  46. package/dist/chunk-QRABYJKL.js +14 -0
  47. package/dist/chunk-RHIWAYN5.js +14 -0
  48. package/dist/{arktype-aI7TBD0R-TFNARRIP.js → chunk-VURLSDCB.js} +3 -1
  49. package/dist/chunk-Z5TLIUAI.js +28 -0
  50. package/dist/chunk-ZMHNE2MU.js +865 -0
  51. package/dist/chunk-ZWLTE2TM.js +1455 -0
  52. package/dist/code-mode-YFX4N2VN.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-TI57TGPO.js +17 -0
  59. package/dist/session-6RNXZNG6.js +14 -0
  60. package/dist/{chunk-2ANK3QEN.js → worktree-3RZQEGVC.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-26PYOYAY.js +0 -13
  78. package/dist/chunk-7KKA6WBY.js +0 -12
  79. package/dist/chunk-CZVKIDQZ.js +0 -12
  80. package/dist/chunk-FXLFZ5DL.js +0 -12
  81. package/dist/chunk-GXWCFXGG.js +0 -12
  82. package/dist/chunk-M4CB72HE.js +0 -13
  83. package/dist/chunk-MBZTOEAD.js +0 -12
  84. package/dist/chunk-NLFNI3VW.js +0 -18
  85. package/dist/chunk-XJGIPERR.js +0 -2187
  86. package/dist/chunk-YDTJPTBK.js +0 -18
  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-4BBWPCYV.js +0 -12
  92. package/dist/run-XDEC53H6.js +0 -20
  93. package/dist/run-service-6DJSRAIA.js +0 -12
  94. package/dist/schema-YWIVP7UR.js +0 -12
  95. package/dist/server-IT7ZVNR2.js +0 -12
  96. package/dist/session-HPEX3PLB.js +0 -12
  97. package/dist/share-next-3FDGRL3C.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-INBHVVO4.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,1271 +0,0 @@
1
- {
2
- "version": "7",
3
- "dialect": "sqlite",
4
- "id": "f13dfa58-7fb4-47a2-8f6b-dc70258e14ed",
5
- "prevIds": ["37e1554d-af4c-43f2-aa7c-307fb49a315e"],
6
- "ddl": [
7
- {
8
- "name": "account_state",
9
- "entityType": "tables"
10
- },
11
- {
12
- "name": "account",
13
- "entityType": "tables"
14
- },
15
- {
16
- "name": "control_account",
17
- "entityType": "tables"
18
- },
19
- {
20
- "name": "workspace",
21
- "entityType": "tables"
22
- },
23
- {
24
- "name": "project",
25
- "entityType": "tables"
26
- },
27
- {
28
- "name": "message",
29
- "entityType": "tables"
30
- },
31
- {
32
- "name": "part",
33
- "entityType": "tables"
34
- },
35
- {
36
- "name": "permission",
37
- "entityType": "tables"
38
- },
39
- {
40
- "name": "session",
41
- "entityType": "tables"
42
- },
43
- {
44
- "name": "todo",
45
- "entityType": "tables"
46
- },
47
- {
48
- "name": "session_share",
49
- "entityType": "tables"
50
- },
51
- {
52
- "name": "event_sequence",
53
- "entityType": "tables"
54
- },
55
- {
56
- "name": "event",
57
- "entityType": "tables"
58
- },
59
- {
60
- "type": "integer",
61
- "notNull": false,
62
- "autoincrement": false,
63
- "default": null,
64
- "generated": null,
65
- "name": "id",
66
- "entityType": "columns",
67
- "table": "account_state"
68
- },
69
- {
70
- "type": "text",
71
- "notNull": false,
72
- "autoincrement": false,
73
- "default": null,
74
- "generated": null,
75
- "name": "active_account_id",
76
- "entityType": "columns",
77
- "table": "account_state"
78
- },
79
- {
80
- "type": "text",
81
- "notNull": false,
82
- "autoincrement": false,
83
- "default": null,
84
- "generated": null,
85
- "name": "active_org_id",
86
- "entityType": "columns",
87
- "table": "account_state"
88
- },
89
- {
90
- "type": "text",
91
- "notNull": false,
92
- "autoincrement": false,
93
- "default": null,
94
- "generated": null,
95
- "name": "id",
96
- "entityType": "columns",
97
- "table": "account"
98
- },
99
- {
100
- "type": "text",
101
- "notNull": true,
102
- "autoincrement": false,
103
- "default": null,
104
- "generated": null,
105
- "name": "email",
106
- "entityType": "columns",
107
- "table": "account"
108
- },
109
- {
110
- "type": "text",
111
- "notNull": true,
112
- "autoincrement": false,
113
- "default": null,
114
- "generated": null,
115
- "name": "url",
116
- "entityType": "columns",
117
- "table": "account"
118
- },
119
- {
120
- "type": "text",
121
- "notNull": true,
122
- "autoincrement": false,
123
- "default": null,
124
- "generated": null,
125
- "name": "access_token",
126
- "entityType": "columns",
127
- "table": "account"
128
- },
129
- {
130
- "type": "text",
131
- "notNull": true,
132
- "autoincrement": false,
133
- "default": null,
134
- "generated": null,
135
- "name": "refresh_token",
136
- "entityType": "columns",
137
- "table": "account"
138
- },
139
- {
140
- "type": "integer",
141
- "notNull": false,
142
- "autoincrement": false,
143
- "default": null,
144
- "generated": null,
145
- "name": "token_expiry",
146
- "entityType": "columns",
147
- "table": "account"
148
- },
149
- {
150
- "type": "integer",
151
- "notNull": true,
152
- "autoincrement": false,
153
- "default": null,
154
- "generated": null,
155
- "name": "time_created",
156
- "entityType": "columns",
157
- "table": "account"
158
- },
159
- {
160
- "type": "integer",
161
- "notNull": true,
162
- "autoincrement": false,
163
- "default": null,
164
- "generated": null,
165
- "name": "time_updated",
166
- "entityType": "columns",
167
- "table": "account"
168
- },
169
- {
170
- "type": "text",
171
- "notNull": true,
172
- "autoincrement": false,
173
- "default": null,
174
- "generated": null,
175
- "name": "email",
176
- "entityType": "columns",
177
- "table": "control_account"
178
- },
179
- {
180
- "type": "text",
181
- "notNull": true,
182
- "autoincrement": false,
183
- "default": null,
184
- "generated": null,
185
- "name": "url",
186
- "entityType": "columns",
187
- "table": "control_account"
188
- },
189
- {
190
- "type": "text",
191
- "notNull": true,
192
- "autoincrement": false,
193
- "default": null,
194
- "generated": null,
195
- "name": "access_token",
196
- "entityType": "columns",
197
- "table": "control_account"
198
- },
199
- {
200
- "type": "text",
201
- "notNull": true,
202
- "autoincrement": false,
203
- "default": null,
204
- "generated": null,
205
- "name": "refresh_token",
206
- "entityType": "columns",
207
- "table": "control_account"
208
- },
209
- {
210
- "type": "integer",
211
- "notNull": false,
212
- "autoincrement": false,
213
- "default": null,
214
- "generated": null,
215
- "name": "token_expiry",
216
- "entityType": "columns",
217
- "table": "control_account"
218
- },
219
- {
220
- "type": "integer",
221
- "notNull": true,
222
- "autoincrement": false,
223
- "default": null,
224
- "generated": null,
225
- "name": "active",
226
- "entityType": "columns",
227
- "table": "control_account"
228
- },
229
- {
230
- "type": "integer",
231
- "notNull": true,
232
- "autoincrement": false,
233
- "default": null,
234
- "generated": null,
235
- "name": "time_created",
236
- "entityType": "columns",
237
- "table": "control_account"
238
- },
239
- {
240
- "type": "integer",
241
- "notNull": true,
242
- "autoincrement": false,
243
- "default": null,
244
- "generated": null,
245
- "name": "time_updated",
246
- "entityType": "columns",
247
- "table": "control_account"
248
- },
249
- {
250
- "type": "text",
251
- "notNull": false,
252
- "autoincrement": false,
253
- "default": null,
254
- "generated": null,
255
- "name": "id",
256
- "entityType": "columns",
257
- "table": "workspace"
258
- },
259
- {
260
- "type": "text",
261
- "notNull": true,
262
- "autoincrement": false,
263
- "default": null,
264
- "generated": null,
265
- "name": "type",
266
- "entityType": "columns",
267
- "table": "workspace"
268
- },
269
- {
270
- "type": "text",
271
- "notNull": false,
272
- "autoincrement": false,
273
- "default": null,
274
- "generated": null,
275
- "name": "branch",
276
- "entityType": "columns",
277
- "table": "workspace"
278
- },
279
- {
280
- "type": "text",
281
- "notNull": false,
282
- "autoincrement": false,
283
- "default": null,
284
- "generated": null,
285
- "name": "name",
286
- "entityType": "columns",
287
- "table": "workspace"
288
- },
289
- {
290
- "type": "text",
291
- "notNull": false,
292
- "autoincrement": false,
293
- "default": null,
294
- "generated": null,
295
- "name": "directory",
296
- "entityType": "columns",
297
- "table": "workspace"
298
- },
299
- {
300
- "type": "text",
301
- "notNull": false,
302
- "autoincrement": false,
303
- "default": null,
304
- "generated": null,
305
- "name": "extra",
306
- "entityType": "columns",
307
- "table": "workspace"
308
- },
309
- {
310
- "type": "text",
311
- "notNull": true,
312
- "autoincrement": false,
313
- "default": null,
314
- "generated": null,
315
- "name": "project_id",
316
- "entityType": "columns",
317
- "table": "workspace"
318
- },
319
- {
320
- "type": "text",
321
- "notNull": false,
322
- "autoincrement": false,
323
- "default": null,
324
- "generated": null,
325
- "name": "id",
326
- "entityType": "columns",
327
- "table": "project"
328
- },
329
- {
330
- "type": "text",
331
- "notNull": true,
332
- "autoincrement": false,
333
- "default": null,
334
- "generated": null,
335
- "name": "worktree",
336
- "entityType": "columns",
337
- "table": "project"
338
- },
339
- {
340
- "type": "text",
341
- "notNull": false,
342
- "autoincrement": false,
343
- "default": null,
344
- "generated": null,
345
- "name": "vcs",
346
- "entityType": "columns",
347
- "table": "project"
348
- },
349
- {
350
- "type": "text",
351
- "notNull": false,
352
- "autoincrement": false,
353
- "default": null,
354
- "generated": null,
355
- "name": "name",
356
- "entityType": "columns",
357
- "table": "project"
358
- },
359
- {
360
- "type": "text",
361
- "notNull": false,
362
- "autoincrement": false,
363
- "default": null,
364
- "generated": null,
365
- "name": "icon_url",
366
- "entityType": "columns",
367
- "table": "project"
368
- },
369
- {
370
- "type": "text",
371
- "notNull": false,
372
- "autoincrement": false,
373
- "default": null,
374
- "generated": null,
375
- "name": "icon_color",
376
- "entityType": "columns",
377
- "table": "project"
378
- },
379
- {
380
- "type": "integer",
381
- "notNull": true,
382
- "autoincrement": false,
383
- "default": null,
384
- "generated": null,
385
- "name": "time_created",
386
- "entityType": "columns",
387
- "table": "project"
388
- },
389
- {
390
- "type": "integer",
391
- "notNull": true,
392
- "autoincrement": false,
393
- "default": null,
394
- "generated": null,
395
- "name": "time_updated",
396
- "entityType": "columns",
397
- "table": "project"
398
- },
399
- {
400
- "type": "integer",
401
- "notNull": false,
402
- "autoincrement": false,
403
- "default": null,
404
- "generated": null,
405
- "name": "time_initialized",
406
- "entityType": "columns",
407
- "table": "project"
408
- },
409
- {
410
- "type": "text",
411
- "notNull": true,
412
- "autoincrement": false,
413
- "default": null,
414
- "generated": null,
415
- "name": "sandboxes",
416
- "entityType": "columns",
417
- "table": "project"
418
- },
419
- {
420
- "type": "text",
421
- "notNull": false,
422
- "autoincrement": false,
423
- "default": null,
424
- "generated": null,
425
- "name": "commands",
426
- "entityType": "columns",
427
- "table": "project"
428
- },
429
- {
430
- "type": "text",
431
- "notNull": false,
432
- "autoincrement": false,
433
- "default": null,
434
- "generated": null,
435
- "name": "id",
436
- "entityType": "columns",
437
- "table": "message"
438
- },
439
- {
440
- "type": "text",
441
- "notNull": true,
442
- "autoincrement": false,
443
- "default": null,
444
- "generated": null,
445
- "name": "session_id",
446
- "entityType": "columns",
447
- "table": "message"
448
- },
449
- {
450
- "type": "integer",
451
- "notNull": true,
452
- "autoincrement": false,
453
- "default": null,
454
- "generated": null,
455
- "name": "time_created",
456
- "entityType": "columns",
457
- "table": "message"
458
- },
459
- {
460
- "type": "integer",
461
- "notNull": true,
462
- "autoincrement": false,
463
- "default": null,
464
- "generated": null,
465
- "name": "time_updated",
466
- "entityType": "columns",
467
- "table": "message"
468
- },
469
- {
470
- "type": "text",
471
- "notNull": true,
472
- "autoincrement": false,
473
- "default": null,
474
- "generated": null,
475
- "name": "data",
476
- "entityType": "columns",
477
- "table": "message"
478
- },
479
- {
480
- "type": "text",
481
- "notNull": false,
482
- "autoincrement": false,
483
- "default": null,
484
- "generated": null,
485
- "name": "id",
486
- "entityType": "columns",
487
- "table": "part"
488
- },
489
- {
490
- "type": "text",
491
- "notNull": true,
492
- "autoincrement": false,
493
- "default": null,
494
- "generated": null,
495
- "name": "message_id",
496
- "entityType": "columns",
497
- "table": "part"
498
- },
499
- {
500
- "type": "text",
501
- "notNull": true,
502
- "autoincrement": false,
503
- "default": null,
504
- "generated": null,
505
- "name": "session_id",
506
- "entityType": "columns",
507
- "table": "part"
508
- },
509
- {
510
- "type": "integer",
511
- "notNull": true,
512
- "autoincrement": false,
513
- "default": null,
514
- "generated": null,
515
- "name": "time_created",
516
- "entityType": "columns",
517
- "table": "part"
518
- },
519
- {
520
- "type": "integer",
521
- "notNull": true,
522
- "autoincrement": false,
523
- "default": null,
524
- "generated": null,
525
- "name": "time_updated",
526
- "entityType": "columns",
527
- "table": "part"
528
- },
529
- {
530
- "type": "text",
531
- "notNull": true,
532
- "autoincrement": false,
533
- "default": null,
534
- "generated": null,
535
- "name": "data",
536
- "entityType": "columns",
537
- "table": "part"
538
- },
539
- {
540
- "type": "text",
541
- "notNull": false,
542
- "autoincrement": false,
543
- "default": null,
544
- "generated": null,
545
- "name": "project_id",
546
- "entityType": "columns",
547
- "table": "permission"
548
- },
549
- {
550
- "type": "integer",
551
- "notNull": true,
552
- "autoincrement": false,
553
- "default": null,
554
- "generated": null,
555
- "name": "time_created",
556
- "entityType": "columns",
557
- "table": "permission"
558
- },
559
- {
560
- "type": "integer",
561
- "notNull": true,
562
- "autoincrement": false,
563
- "default": null,
564
- "generated": null,
565
- "name": "time_updated",
566
- "entityType": "columns",
567
- "table": "permission"
568
- },
569
- {
570
- "type": "text",
571
- "notNull": true,
572
- "autoincrement": false,
573
- "default": null,
574
- "generated": null,
575
- "name": "data",
576
- "entityType": "columns",
577
- "table": "permission"
578
- },
579
- {
580
- "type": "text",
581
- "notNull": false,
582
- "autoincrement": false,
583
- "default": null,
584
- "generated": null,
585
- "name": "id",
586
- "entityType": "columns",
587
- "table": "session"
588
- },
589
- {
590
- "type": "text",
591
- "notNull": true,
592
- "autoincrement": false,
593
- "default": null,
594
- "generated": null,
595
- "name": "project_id",
596
- "entityType": "columns",
597
- "table": "session"
598
- },
599
- {
600
- "type": "text",
601
- "notNull": false,
602
- "autoincrement": false,
603
- "default": null,
604
- "generated": null,
605
- "name": "workspace_id",
606
- "entityType": "columns",
607
- "table": "session"
608
- },
609
- {
610
- "type": "text",
611
- "notNull": false,
612
- "autoincrement": false,
613
- "default": null,
614
- "generated": null,
615
- "name": "parent_id",
616
- "entityType": "columns",
617
- "table": "session"
618
- },
619
- {
620
- "type": "text",
621
- "notNull": true,
622
- "autoincrement": false,
623
- "default": null,
624
- "generated": null,
625
- "name": "slug",
626
- "entityType": "columns",
627
- "table": "session"
628
- },
629
- {
630
- "type": "text",
631
- "notNull": true,
632
- "autoincrement": false,
633
- "default": null,
634
- "generated": null,
635
- "name": "directory",
636
- "entityType": "columns",
637
- "table": "session"
638
- },
639
- {
640
- "type": "text",
641
- "notNull": true,
642
- "autoincrement": false,
643
- "default": null,
644
- "generated": null,
645
- "name": "title",
646
- "entityType": "columns",
647
- "table": "session"
648
- },
649
- {
650
- "type": "text",
651
- "notNull": true,
652
- "autoincrement": false,
653
- "default": null,
654
- "generated": null,
655
- "name": "version",
656
- "entityType": "columns",
657
- "table": "session"
658
- },
659
- {
660
- "type": "text",
661
- "notNull": false,
662
- "autoincrement": false,
663
- "default": null,
664
- "generated": null,
665
- "name": "share_url",
666
- "entityType": "columns",
667
- "table": "session"
668
- },
669
- {
670
- "type": "integer",
671
- "notNull": false,
672
- "autoincrement": false,
673
- "default": null,
674
- "generated": null,
675
- "name": "summary_additions",
676
- "entityType": "columns",
677
- "table": "session"
678
- },
679
- {
680
- "type": "integer",
681
- "notNull": false,
682
- "autoincrement": false,
683
- "default": null,
684
- "generated": null,
685
- "name": "summary_deletions",
686
- "entityType": "columns",
687
- "table": "session"
688
- },
689
- {
690
- "type": "integer",
691
- "notNull": false,
692
- "autoincrement": false,
693
- "default": null,
694
- "generated": null,
695
- "name": "summary_files",
696
- "entityType": "columns",
697
- "table": "session"
698
- },
699
- {
700
- "type": "text",
701
- "notNull": false,
702
- "autoincrement": false,
703
- "default": null,
704
- "generated": null,
705
- "name": "summary_diffs",
706
- "entityType": "columns",
707
- "table": "session"
708
- },
709
- {
710
- "type": "text",
711
- "notNull": false,
712
- "autoincrement": false,
713
- "default": null,
714
- "generated": null,
715
- "name": "revert",
716
- "entityType": "columns",
717
- "table": "session"
718
- },
719
- {
720
- "type": "text",
721
- "notNull": false,
722
- "autoincrement": false,
723
- "default": null,
724
- "generated": null,
725
- "name": "permission",
726
- "entityType": "columns",
727
- "table": "session"
728
- },
729
- {
730
- "type": "integer",
731
- "notNull": true,
732
- "autoincrement": false,
733
- "default": null,
734
- "generated": null,
735
- "name": "time_created",
736
- "entityType": "columns",
737
- "table": "session"
738
- },
739
- {
740
- "type": "integer",
741
- "notNull": true,
742
- "autoincrement": false,
743
- "default": null,
744
- "generated": null,
745
- "name": "time_updated",
746
- "entityType": "columns",
747
- "table": "session"
748
- },
749
- {
750
- "type": "integer",
751
- "notNull": false,
752
- "autoincrement": false,
753
- "default": null,
754
- "generated": null,
755
- "name": "time_compacting",
756
- "entityType": "columns",
757
- "table": "session"
758
- },
759
- {
760
- "type": "integer",
761
- "notNull": false,
762
- "autoincrement": false,
763
- "default": null,
764
- "generated": null,
765
- "name": "time_archived",
766
- "entityType": "columns",
767
- "table": "session"
768
- },
769
- {
770
- "type": "text",
771
- "notNull": true,
772
- "autoincrement": false,
773
- "default": null,
774
- "generated": null,
775
- "name": "session_id",
776
- "entityType": "columns",
777
- "table": "todo"
778
- },
779
- {
780
- "type": "text",
781
- "notNull": true,
782
- "autoincrement": false,
783
- "default": null,
784
- "generated": null,
785
- "name": "content",
786
- "entityType": "columns",
787
- "table": "todo"
788
- },
789
- {
790
- "type": "text",
791
- "notNull": true,
792
- "autoincrement": false,
793
- "default": null,
794
- "generated": null,
795
- "name": "status",
796
- "entityType": "columns",
797
- "table": "todo"
798
- },
799
- {
800
- "type": "text",
801
- "notNull": true,
802
- "autoincrement": false,
803
- "default": null,
804
- "generated": null,
805
- "name": "priority",
806
- "entityType": "columns",
807
- "table": "todo"
808
- },
809
- {
810
- "type": "integer",
811
- "notNull": true,
812
- "autoincrement": false,
813
- "default": null,
814
- "generated": null,
815
- "name": "position",
816
- "entityType": "columns",
817
- "table": "todo"
818
- },
819
- {
820
- "type": "integer",
821
- "notNull": true,
822
- "autoincrement": false,
823
- "default": null,
824
- "generated": null,
825
- "name": "time_created",
826
- "entityType": "columns",
827
- "table": "todo"
828
- },
829
- {
830
- "type": "integer",
831
- "notNull": true,
832
- "autoincrement": false,
833
- "default": null,
834
- "generated": null,
835
- "name": "time_updated",
836
- "entityType": "columns",
837
- "table": "todo"
838
- },
839
- {
840
- "type": "text",
841
- "notNull": false,
842
- "autoincrement": false,
843
- "default": null,
844
- "generated": null,
845
- "name": "session_id",
846
- "entityType": "columns",
847
- "table": "session_share"
848
- },
849
- {
850
- "type": "text",
851
- "notNull": true,
852
- "autoincrement": false,
853
- "default": null,
854
- "generated": null,
855
- "name": "id",
856
- "entityType": "columns",
857
- "table": "session_share"
858
- },
859
- {
860
- "type": "text",
861
- "notNull": true,
862
- "autoincrement": false,
863
- "default": null,
864
- "generated": null,
865
- "name": "secret",
866
- "entityType": "columns",
867
- "table": "session_share"
868
- },
869
- {
870
- "type": "text",
871
- "notNull": true,
872
- "autoincrement": false,
873
- "default": null,
874
- "generated": null,
875
- "name": "url",
876
- "entityType": "columns",
877
- "table": "session_share"
878
- },
879
- {
880
- "type": "integer",
881
- "notNull": true,
882
- "autoincrement": false,
883
- "default": null,
884
- "generated": null,
885
- "name": "time_created",
886
- "entityType": "columns",
887
- "table": "session_share"
888
- },
889
- {
890
- "type": "integer",
891
- "notNull": true,
892
- "autoincrement": false,
893
- "default": null,
894
- "generated": null,
895
- "name": "time_updated",
896
- "entityType": "columns",
897
- "table": "session_share"
898
- },
899
- {
900
- "type": "text",
901
- "notNull": false,
902
- "autoincrement": false,
903
- "default": null,
904
- "generated": null,
905
- "name": "aggregate_id",
906
- "entityType": "columns",
907
- "table": "event_sequence"
908
- },
909
- {
910
- "type": "integer",
911
- "notNull": true,
912
- "autoincrement": false,
913
- "default": null,
914
- "generated": null,
915
- "name": "seq",
916
- "entityType": "columns",
917
- "table": "event_sequence"
918
- },
919
- {
920
- "type": "text",
921
- "notNull": false,
922
- "autoincrement": false,
923
- "default": null,
924
- "generated": null,
925
- "name": "id",
926
- "entityType": "columns",
927
- "table": "event"
928
- },
929
- {
930
- "type": "text",
931
- "notNull": true,
932
- "autoincrement": false,
933
- "default": null,
934
- "generated": null,
935
- "name": "aggregate_id",
936
- "entityType": "columns",
937
- "table": "event"
938
- },
939
- {
940
- "type": "integer",
941
- "notNull": true,
942
- "autoincrement": false,
943
- "default": null,
944
- "generated": null,
945
- "name": "seq",
946
- "entityType": "columns",
947
- "table": "event"
948
- },
949
- {
950
- "type": "text",
951
- "notNull": true,
952
- "autoincrement": false,
953
- "default": null,
954
- "generated": null,
955
- "name": "type",
956
- "entityType": "columns",
957
- "table": "event"
958
- },
959
- {
960
- "type": "text",
961
- "notNull": true,
962
- "autoincrement": false,
963
- "default": null,
964
- "generated": null,
965
- "name": "data",
966
- "entityType": "columns",
967
- "table": "event"
968
- },
969
- {
970
- "columns": ["active_account_id"],
971
- "tableTo": "account",
972
- "columnsTo": ["id"],
973
- "onUpdate": "NO ACTION",
974
- "onDelete": "SET NULL",
975
- "nameExplicit": false,
976
- "name": "fk_account_state_active_account_id_account_id_fk",
977
- "entityType": "fks",
978
- "table": "account_state"
979
- },
980
- {
981
- "columns": ["project_id"],
982
- "tableTo": "project",
983
- "columnsTo": ["id"],
984
- "onUpdate": "NO ACTION",
985
- "onDelete": "CASCADE",
986
- "nameExplicit": false,
987
- "name": "fk_workspace_project_id_project_id_fk",
988
- "entityType": "fks",
989
- "table": "workspace"
990
- },
991
- {
992
- "columns": ["session_id"],
993
- "tableTo": "session",
994
- "columnsTo": ["id"],
995
- "onUpdate": "NO ACTION",
996
- "onDelete": "CASCADE",
997
- "nameExplicit": false,
998
- "name": "fk_message_session_id_session_id_fk",
999
- "entityType": "fks",
1000
- "table": "message"
1001
- },
1002
- {
1003
- "columns": ["message_id"],
1004
- "tableTo": "message",
1005
- "columnsTo": ["id"],
1006
- "onUpdate": "NO ACTION",
1007
- "onDelete": "CASCADE",
1008
- "nameExplicit": false,
1009
- "name": "fk_part_message_id_message_id_fk",
1010
- "entityType": "fks",
1011
- "table": "part"
1012
- },
1013
- {
1014
- "columns": ["project_id"],
1015
- "tableTo": "project",
1016
- "columnsTo": ["id"],
1017
- "onUpdate": "NO ACTION",
1018
- "onDelete": "CASCADE",
1019
- "nameExplicit": false,
1020
- "name": "fk_permission_project_id_project_id_fk",
1021
- "entityType": "fks",
1022
- "table": "permission"
1023
- },
1024
- {
1025
- "columns": ["project_id"],
1026
- "tableTo": "project",
1027
- "columnsTo": ["id"],
1028
- "onUpdate": "NO ACTION",
1029
- "onDelete": "CASCADE",
1030
- "nameExplicit": false,
1031
- "name": "fk_session_project_id_project_id_fk",
1032
- "entityType": "fks",
1033
- "table": "session"
1034
- },
1035
- {
1036
- "columns": ["session_id"],
1037
- "tableTo": "session",
1038
- "columnsTo": ["id"],
1039
- "onUpdate": "NO ACTION",
1040
- "onDelete": "CASCADE",
1041
- "nameExplicit": false,
1042
- "name": "fk_todo_session_id_session_id_fk",
1043
- "entityType": "fks",
1044
- "table": "todo"
1045
- },
1046
- {
1047
- "columns": ["session_id"],
1048
- "tableTo": "session",
1049
- "columnsTo": ["id"],
1050
- "onUpdate": "NO ACTION",
1051
- "onDelete": "CASCADE",
1052
- "nameExplicit": false,
1053
- "name": "fk_session_share_session_id_session_id_fk",
1054
- "entityType": "fks",
1055
- "table": "session_share"
1056
- },
1057
- {
1058
- "columns": ["aggregate_id"],
1059
- "tableTo": "event_sequence",
1060
- "columnsTo": ["aggregate_id"],
1061
- "onUpdate": "NO ACTION",
1062
- "onDelete": "CASCADE",
1063
- "nameExplicit": false,
1064
- "name": "fk_event_aggregate_id_event_sequence_aggregate_id_fk",
1065
- "entityType": "fks",
1066
- "table": "event"
1067
- },
1068
- {
1069
- "columns": ["email", "url"],
1070
- "nameExplicit": false,
1071
- "name": "control_account_pk",
1072
- "entityType": "pks",
1073
- "table": "control_account"
1074
- },
1075
- {
1076
- "columns": ["session_id", "position"],
1077
- "nameExplicit": false,
1078
- "name": "todo_pk",
1079
- "entityType": "pks",
1080
- "table": "todo"
1081
- },
1082
- {
1083
- "columns": ["id"],
1084
- "nameExplicit": false,
1085
- "name": "account_state_pk",
1086
- "table": "account_state",
1087
- "entityType": "pks"
1088
- },
1089
- {
1090
- "columns": ["id"],
1091
- "nameExplicit": false,
1092
- "name": "account_pk",
1093
- "table": "account",
1094
- "entityType": "pks"
1095
- },
1096
- {
1097
- "columns": ["id"],
1098
- "nameExplicit": false,
1099
- "name": "workspace_pk",
1100
- "table": "workspace",
1101
- "entityType": "pks"
1102
- },
1103
- {
1104
- "columns": ["id"],
1105
- "nameExplicit": false,
1106
- "name": "project_pk",
1107
- "table": "project",
1108
- "entityType": "pks"
1109
- },
1110
- {
1111
- "columns": ["id"],
1112
- "nameExplicit": false,
1113
- "name": "message_pk",
1114
- "table": "message",
1115
- "entityType": "pks"
1116
- },
1117
- {
1118
- "columns": ["id"],
1119
- "nameExplicit": false,
1120
- "name": "part_pk",
1121
- "table": "part",
1122
- "entityType": "pks"
1123
- },
1124
- {
1125
- "columns": ["project_id"],
1126
- "nameExplicit": false,
1127
- "name": "permission_pk",
1128
- "table": "permission",
1129
- "entityType": "pks"
1130
- },
1131
- {
1132
- "columns": ["id"],
1133
- "nameExplicit": false,
1134
- "name": "session_pk",
1135
- "table": "session",
1136
- "entityType": "pks"
1137
- },
1138
- {
1139
- "columns": ["session_id"],
1140
- "nameExplicit": false,
1141
- "name": "session_share_pk",
1142
- "table": "session_share",
1143
- "entityType": "pks"
1144
- },
1145
- {
1146
- "columns": ["aggregate_id"],
1147
- "nameExplicit": false,
1148
- "name": "event_sequence_pk",
1149
- "table": "event_sequence",
1150
- "entityType": "pks"
1151
- },
1152
- {
1153
- "columns": ["id"],
1154
- "nameExplicit": false,
1155
- "name": "event_pk",
1156
- "table": "event",
1157
- "entityType": "pks"
1158
- },
1159
- {
1160
- "columns": [
1161
- {
1162
- "value": "session_id",
1163
- "isExpression": false
1164
- },
1165
- {
1166
- "value": "time_created",
1167
- "isExpression": false
1168
- },
1169
- {
1170
- "value": "id",
1171
- "isExpression": false
1172
- }
1173
- ],
1174
- "isUnique": false,
1175
- "where": null,
1176
- "origin": "manual",
1177
- "name": "message_session_time_created_id_idx",
1178
- "entityType": "indexes",
1179
- "table": "message"
1180
- },
1181
- {
1182
- "columns": [
1183
- {
1184
- "value": "message_id",
1185
- "isExpression": false
1186
- },
1187
- {
1188
- "value": "id",
1189
- "isExpression": false
1190
- }
1191
- ],
1192
- "isUnique": false,
1193
- "where": null,
1194
- "origin": "manual",
1195
- "name": "part_message_id_id_idx",
1196
- "entityType": "indexes",
1197
- "table": "part"
1198
- },
1199
- {
1200
- "columns": [
1201
- {
1202
- "value": "session_id",
1203
- "isExpression": false
1204
- }
1205
- ],
1206
- "isUnique": false,
1207
- "where": null,
1208
- "origin": "manual",
1209
- "name": "part_session_idx",
1210
- "entityType": "indexes",
1211
- "table": "part"
1212
- },
1213
- {
1214
- "columns": [
1215
- {
1216
- "value": "project_id",
1217
- "isExpression": false
1218
- }
1219
- ],
1220
- "isUnique": false,
1221
- "where": null,
1222
- "origin": "manual",
1223
- "name": "session_project_idx",
1224
- "entityType": "indexes",
1225
- "table": "session"
1226
- },
1227
- {
1228
- "columns": [
1229
- {
1230
- "value": "workspace_id",
1231
- "isExpression": false
1232
- }
1233
- ],
1234
- "isUnique": false,
1235
- "where": null,
1236
- "origin": "manual",
1237
- "name": "session_workspace_idx",
1238
- "entityType": "indexes",
1239
- "table": "session"
1240
- },
1241
- {
1242
- "columns": [
1243
- {
1244
- "value": "parent_id",
1245
- "isExpression": false
1246
- }
1247
- ],
1248
- "isUnique": false,
1249
- "where": null,
1250
- "origin": "manual",
1251
- "name": "session_parent_idx",
1252
- "entityType": "indexes",
1253
- "table": "session"
1254
- },
1255
- {
1256
- "columns": [
1257
- {
1258
- "value": "session_id",
1259
- "isExpression": false
1260
- }
1261
- ],
1262
- "isUnique": false,
1263
- "where": null,
1264
- "origin": "manual",
1265
- "name": "todo_session_idx",
1266
- "entityType": "indexes",
1267
- "table": "todo"
1268
- }
1269
- ],
1270
- "renames": []
1271
- }