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