@metis_agent/metis-tui 1.0.0-rc.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 (57) hide show
  1. package/bin/metis +56 -0
  2. package/dist/LICENSE +21 -0
  3. package/dist/cli/cli/cmd/tui/photon_rs_bg-bq08arze.wasm +0 -0
  4. package/dist/cli/cli/cmd/tui/worker.js +3731 -0
  5. package/dist/cli/highlights-eq9cgrbb.scm +604 -0
  6. package/dist/cli/highlights-ghv9g403.scm +205 -0
  7. package/dist/cli/highlights-hk7bwhj4.scm +284 -0
  8. package/dist/cli/highlights-r812a2qc.scm +150 -0
  9. package/dist/cli/highlights-x6tmsnaa.scm +115 -0
  10. package/dist/cli/index.js +4464 -0
  11. package/dist/cli/injections-73j83es3.scm +27 -0
  12. package/dist/cli/parser.worker.js +1025 -0
  13. package/dist/cli/photon_rs_bg-bq08arze.wasm +0 -0
  14. package/dist/cli/tree-sitter-javascript-nd0q4pe9.wasm +0 -0
  15. package/dist/cli/tree-sitter-markdown-411r6y9b.wasm +0 -0
  16. package/dist/cli/tree-sitter-markdown_inline-j5349f42.wasm +0 -0
  17. package/dist/cli/tree-sitter-typescript-zxjzwt75.wasm +0 -0
  18. package/dist/cli/tree-sitter-zig-e78zbjpm.wasm +0 -0
  19. package/migration/20260127222353_familiar_lady_ursula/migration.sql +90 -0
  20. package/migration/20260127222353_familiar_lady_ursula/snapshot.json +796 -0
  21. package/migration/20260211171708_add_project_commands/migration.sql +1 -0
  22. package/migration/20260211171708_add_project_commands/snapshot.json +806 -0
  23. package/migration/20260213144116_wakeful_the_professor/migration.sql +11 -0
  24. package/migration/20260213144116_wakeful_the_professor/snapshot.json +897 -0
  25. package/migration/20260225215848_workspace/migration.sql +7 -0
  26. package/migration/20260225215848_workspace/snapshot.json +959 -0
  27. package/migration/20260227213759_add_session_workspace_id/migration.sql +2 -0
  28. package/migration/20260227213759_add_session_workspace_id/snapshot.json +983 -0
  29. package/migration/20260228203230_blue_harpoon/migration.sql +17 -0
  30. package/migration/20260228203230_blue_harpoon/snapshot.json +1102 -0
  31. package/migration/20260303231226_add_workspace_fields/migration.sql +5 -0
  32. package/migration/20260303231226_add_workspace_fields/snapshot.json +1013 -0
  33. package/migration/20260309230000_move_org_to_state/migration.sql +3 -0
  34. package/migration/20260309230000_move_org_to_state/snapshot.json +1156 -0
  35. package/migration/20260312043431_session_message_cursor/migration.sql +4 -0
  36. package/migration/20260312043431_session_message_cursor/snapshot.json +1168 -0
  37. package/migration/20260323234822_events/migration.sql +13 -0
  38. package/migration/20260323234822_events/snapshot.json +1271 -0
  39. package/migration/20260410174513_workspace-name/migration.sql +16 -0
  40. package/migration/20260410174513_workspace-name/snapshot.json +1271 -0
  41. package/migration/20260413175956_chief_energizer/migration.sql +13 -0
  42. package/migration/20260413175956_chief_energizer/snapshot.json +1399 -0
  43. package/migration/20260423070820_add_icon_url_override/migration.sql +2 -0
  44. package/migration/20260423070820_add_icon_url_override/snapshot.json +1409 -0
  45. package/migration/20260427172553_slow_nightmare/migration.sql +17 -0
  46. package/migration/20260427172553_slow_nightmare/snapshot.json +1409 -0
  47. package/migration/20260428004200_add_session_path/migration.sql +1 -0
  48. package/migration/20260428004200_add_session_path/snapshot.json +1419 -0
  49. package/migration/20260501142318_next_venus/migration.sql +2 -0
  50. package/migration/20260501142318_next_venus/snapshot.json +1439 -0
  51. package/migration/20260504145000_add_sync_owner/migration.sql +1 -0
  52. package/migration/20260504145000_add_sync_owner/snapshot.json +1449 -0
  53. package/migration/20260507164347_add_workspace_time/migration.sql +1 -0
  54. package/migration/20260507164347_add_workspace_time/snapshot.json +1459 -0
  55. package/migration/20260511000411_data_migration_state/migration.sql +4 -0
  56. package/migration/20260511000411_data_migration_state/snapshot.json +1490 -0
  57. package/package.json +168 -0
@@ -0,0 +1,1102 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "325559b7-104f-4d2a-a02c-934cfad7cfcc",
5
+ "prevIds": ["1f1dbf2d-bf66-4b25-8af4-4ba7633b7e40"],
6
+ "ddl": [
7
+ {
8
+ "name": "account",
9
+ "entityType": "tables"
10
+ },
11
+ {
12
+ "name": "account_state",
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": "text",
53
+ "notNull": false,
54
+ "autoincrement": false,
55
+ "default": null,
56
+ "generated": null,
57
+ "name": "id",
58
+ "entityType": "columns",
59
+ "table": "account"
60
+ },
61
+ {
62
+ "type": "text",
63
+ "notNull": true,
64
+ "autoincrement": false,
65
+ "default": null,
66
+ "generated": null,
67
+ "name": "email",
68
+ "entityType": "columns",
69
+ "table": "account"
70
+ },
71
+ {
72
+ "type": "text",
73
+ "notNull": true,
74
+ "autoincrement": false,
75
+ "default": null,
76
+ "generated": null,
77
+ "name": "url",
78
+ "entityType": "columns",
79
+ "table": "account"
80
+ },
81
+ {
82
+ "type": "text",
83
+ "notNull": true,
84
+ "autoincrement": false,
85
+ "default": null,
86
+ "generated": null,
87
+ "name": "access_token",
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": "refresh_token",
98
+ "entityType": "columns",
99
+ "table": "account"
100
+ },
101
+ {
102
+ "type": "integer",
103
+ "notNull": false,
104
+ "autoincrement": false,
105
+ "default": null,
106
+ "generated": null,
107
+ "name": "token_expiry",
108
+ "entityType": "columns",
109
+ "table": "account"
110
+ },
111
+ {
112
+ "type": "text",
113
+ "notNull": false,
114
+ "autoincrement": false,
115
+ "default": null,
116
+ "generated": null,
117
+ "name": "selected_org_id",
118
+ "entityType": "columns",
119
+ "table": "account"
120
+ },
121
+ {
122
+ "type": "integer",
123
+ "notNull": true,
124
+ "autoincrement": false,
125
+ "default": null,
126
+ "generated": null,
127
+ "name": "time_created",
128
+ "entityType": "columns",
129
+ "table": "account"
130
+ },
131
+ {
132
+ "type": "integer",
133
+ "notNull": true,
134
+ "autoincrement": false,
135
+ "default": null,
136
+ "generated": null,
137
+ "name": "time_updated",
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": "id",
148
+ "entityType": "columns",
149
+ "table": "account_state"
150
+ },
151
+ {
152
+ "type": "text",
153
+ "notNull": false,
154
+ "autoincrement": false,
155
+ "default": null,
156
+ "generated": null,
157
+ "name": "active_account_id",
158
+ "entityType": "columns",
159
+ "table": "account_state"
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": false,
254
+ "autoincrement": false,
255
+ "default": null,
256
+ "generated": null,
257
+ "name": "branch",
258
+ "entityType": "columns",
259
+ "table": "workspace"
260
+ },
261
+ {
262
+ "type": "text",
263
+ "notNull": true,
264
+ "autoincrement": false,
265
+ "default": null,
266
+ "generated": null,
267
+ "name": "project_id",
268
+ "entityType": "columns",
269
+ "table": "workspace"
270
+ },
271
+ {
272
+ "type": "text",
273
+ "notNull": true,
274
+ "autoincrement": false,
275
+ "default": null,
276
+ "generated": null,
277
+ "name": "config",
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": "id",
288
+ "entityType": "columns",
289
+ "table": "project"
290
+ },
291
+ {
292
+ "type": "text",
293
+ "notNull": true,
294
+ "autoincrement": false,
295
+ "default": null,
296
+ "generated": null,
297
+ "name": "worktree",
298
+ "entityType": "columns",
299
+ "table": "project"
300
+ },
301
+ {
302
+ "type": "text",
303
+ "notNull": false,
304
+ "autoincrement": false,
305
+ "default": null,
306
+ "generated": null,
307
+ "name": "vcs",
308
+ "entityType": "columns",
309
+ "table": "project"
310
+ },
311
+ {
312
+ "type": "text",
313
+ "notNull": false,
314
+ "autoincrement": false,
315
+ "default": null,
316
+ "generated": null,
317
+ "name": "name",
318
+ "entityType": "columns",
319
+ "table": "project"
320
+ },
321
+ {
322
+ "type": "text",
323
+ "notNull": false,
324
+ "autoincrement": false,
325
+ "default": null,
326
+ "generated": null,
327
+ "name": "icon_url",
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": "icon_color",
338
+ "entityType": "columns",
339
+ "table": "project"
340
+ },
341
+ {
342
+ "type": "integer",
343
+ "notNull": true,
344
+ "autoincrement": false,
345
+ "default": null,
346
+ "generated": null,
347
+ "name": "time_created",
348
+ "entityType": "columns",
349
+ "table": "project"
350
+ },
351
+ {
352
+ "type": "integer",
353
+ "notNull": true,
354
+ "autoincrement": false,
355
+ "default": null,
356
+ "generated": null,
357
+ "name": "time_updated",
358
+ "entityType": "columns",
359
+ "table": "project"
360
+ },
361
+ {
362
+ "type": "integer",
363
+ "notNull": false,
364
+ "autoincrement": false,
365
+ "default": null,
366
+ "generated": null,
367
+ "name": "time_initialized",
368
+ "entityType": "columns",
369
+ "table": "project"
370
+ },
371
+ {
372
+ "type": "text",
373
+ "notNull": true,
374
+ "autoincrement": false,
375
+ "default": null,
376
+ "generated": null,
377
+ "name": "sandboxes",
378
+ "entityType": "columns",
379
+ "table": "project"
380
+ },
381
+ {
382
+ "type": "text",
383
+ "notNull": false,
384
+ "autoincrement": false,
385
+ "default": null,
386
+ "generated": null,
387
+ "name": "commands",
388
+ "entityType": "columns",
389
+ "table": "project"
390
+ },
391
+ {
392
+ "type": "text",
393
+ "notNull": false,
394
+ "autoincrement": false,
395
+ "default": null,
396
+ "generated": null,
397
+ "name": "id",
398
+ "entityType": "columns",
399
+ "table": "message"
400
+ },
401
+ {
402
+ "type": "text",
403
+ "notNull": true,
404
+ "autoincrement": false,
405
+ "default": null,
406
+ "generated": null,
407
+ "name": "session_id",
408
+ "entityType": "columns",
409
+ "table": "message"
410
+ },
411
+ {
412
+ "type": "integer",
413
+ "notNull": true,
414
+ "autoincrement": false,
415
+ "default": null,
416
+ "generated": null,
417
+ "name": "time_created",
418
+ "entityType": "columns",
419
+ "table": "message"
420
+ },
421
+ {
422
+ "type": "integer",
423
+ "notNull": true,
424
+ "autoincrement": false,
425
+ "default": null,
426
+ "generated": null,
427
+ "name": "time_updated",
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": "data",
438
+ "entityType": "columns",
439
+ "table": "message"
440
+ },
441
+ {
442
+ "type": "text",
443
+ "notNull": false,
444
+ "autoincrement": false,
445
+ "default": null,
446
+ "generated": null,
447
+ "name": "id",
448
+ "entityType": "columns",
449
+ "table": "part"
450
+ },
451
+ {
452
+ "type": "text",
453
+ "notNull": true,
454
+ "autoincrement": false,
455
+ "default": null,
456
+ "generated": null,
457
+ "name": "message_id",
458
+ "entityType": "columns",
459
+ "table": "part"
460
+ },
461
+ {
462
+ "type": "text",
463
+ "notNull": true,
464
+ "autoincrement": false,
465
+ "default": null,
466
+ "generated": null,
467
+ "name": "session_id",
468
+ "entityType": "columns",
469
+ "table": "part"
470
+ },
471
+ {
472
+ "type": "integer",
473
+ "notNull": true,
474
+ "autoincrement": false,
475
+ "default": null,
476
+ "generated": null,
477
+ "name": "time_created",
478
+ "entityType": "columns",
479
+ "table": "part"
480
+ },
481
+ {
482
+ "type": "integer",
483
+ "notNull": true,
484
+ "autoincrement": false,
485
+ "default": null,
486
+ "generated": null,
487
+ "name": "time_updated",
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": "data",
498
+ "entityType": "columns",
499
+ "table": "part"
500
+ },
501
+ {
502
+ "type": "text",
503
+ "notNull": false,
504
+ "autoincrement": false,
505
+ "default": null,
506
+ "generated": null,
507
+ "name": "project_id",
508
+ "entityType": "columns",
509
+ "table": "permission"
510
+ },
511
+ {
512
+ "type": "integer",
513
+ "notNull": true,
514
+ "autoincrement": false,
515
+ "default": null,
516
+ "generated": null,
517
+ "name": "time_created",
518
+ "entityType": "columns",
519
+ "table": "permission"
520
+ },
521
+ {
522
+ "type": "integer",
523
+ "notNull": true,
524
+ "autoincrement": false,
525
+ "default": null,
526
+ "generated": null,
527
+ "name": "time_updated",
528
+ "entityType": "columns",
529
+ "table": "permission"
530
+ },
531
+ {
532
+ "type": "text",
533
+ "notNull": true,
534
+ "autoincrement": false,
535
+ "default": null,
536
+ "generated": null,
537
+ "name": "data",
538
+ "entityType": "columns",
539
+ "table": "permission"
540
+ },
541
+ {
542
+ "type": "text",
543
+ "notNull": false,
544
+ "autoincrement": false,
545
+ "default": null,
546
+ "generated": null,
547
+ "name": "id",
548
+ "entityType": "columns",
549
+ "table": "session"
550
+ },
551
+ {
552
+ "type": "text",
553
+ "notNull": true,
554
+ "autoincrement": false,
555
+ "default": null,
556
+ "generated": null,
557
+ "name": "project_id",
558
+ "entityType": "columns",
559
+ "table": "session"
560
+ },
561
+ {
562
+ "type": "text",
563
+ "notNull": false,
564
+ "autoincrement": false,
565
+ "default": null,
566
+ "generated": null,
567
+ "name": "parent_id",
568
+ "entityType": "columns",
569
+ "table": "session"
570
+ },
571
+ {
572
+ "type": "text",
573
+ "notNull": true,
574
+ "autoincrement": false,
575
+ "default": null,
576
+ "generated": null,
577
+ "name": "slug",
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": "directory",
588
+ "entityType": "columns",
589
+ "table": "session"
590
+ },
591
+ {
592
+ "type": "text",
593
+ "notNull": true,
594
+ "autoincrement": false,
595
+ "default": null,
596
+ "generated": null,
597
+ "name": "title",
598
+ "entityType": "columns",
599
+ "table": "session"
600
+ },
601
+ {
602
+ "type": "text",
603
+ "notNull": true,
604
+ "autoincrement": false,
605
+ "default": null,
606
+ "generated": null,
607
+ "name": "version",
608
+ "entityType": "columns",
609
+ "table": "session"
610
+ },
611
+ {
612
+ "type": "text",
613
+ "notNull": false,
614
+ "autoincrement": false,
615
+ "default": null,
616
+ "generated": null,
617
+ "name": "share_url",
618
+ "entityType": "columns",
619
+ "table": "session"
620
+ },
621
+ {
622
+ "type": "integer",
623
+ "notNull": false,
624
+ "autoincrement": false,
625
+ "default": null,
626
+ "generated": null,
627
+ "name": "summary_additions",
628
+ "entityType": "columns",
629
+ "table": "session"
630
+ },
631
+ {
632
+ "type": "integer",
633
+ "notNull": false,
634
+ "autoincrement": false,
635
+ "default": null,
636
+ "generated": null,
637
+ "name": "summary_deletions",
638
+ "entityType": "columns",
639
+ "table": "session"
640
+ },
641
+ {
642
+ "type": "integer",
643
+ "notNull": false,
644
+ "autoincrement": false,
645
+ "default": null,
646
+ "generated": null,
647
+ "name": "summary_files",
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": "summary_diffs",
658
+ "entityType": "columns",
659
+ "table": "session"
660
+ },
661
+ {
662
+ "type": "text",
663
+ "notNull": false,
664
+ "autoincrement": false,
665
+ "default": null,
666
+ "generated": null,
667
+ "name": "revert",
668
+ "entityType": "columns",
669
+ "table": "session"
670
+ },
671
+ {
672
+ "type": "text",
673
+ "notNull": false,
674
+ "autoincrement": false,
675
+ "default": null,
676
+ "generated": null,
677
+ "name": "permission",
678
+ "entityType": "columns",
679
+ "table": "session"
680
+ },
681
+ {
682
+ "type": "integer",
683
+ "notNull": true,
684
+ "autoincrement": false,
685
+ "default": null,
686
+ "generated": null,
687
+ "name": "time_created",
688
+ "entityType": "columns",
689
+ "table": "session"
690
+ },
691
+ {
692
+ "type": "integer",
693
+ "notNull": true,
694
+ "autoincrement": false,
695
+ "default": null,
696
+ "generated": null,
697
+ "name": "time_updated",
698
+ "entityType": "columns",
699
+ "table": "session"
700
+ },
701
+ {
702
+ "type": "integer",
703
+ "notNull": false,
704
+ "autoincrement": false,
705
+ "default": null,
706
+ "generated": null,
707
+ "name": "time_compacting",
708
+ "entityType": "columns",
709
+ "table": "session"
710
+ },
711
+ {
712
+ "type": "integer",
713
+ "notNull": false,
714
+ "autoincrement": false,
715
+ "default": null,
716
+ "generated": null,
717
+ "name": "time_archived",
718
+ "entityType": "columns",
719
+ "table": "session"
720
+ },
721
+ {
722
+ "type": "text",
723
+ "notNull": true,
724
+ "autoincrement": false,
725
+ "default": null,
726
+ "generated": null,
727
+ "name": "session_id",
728
+ "entityType": "columns",
729
+ "table": "todo"
730
+ },
731
+ {
732
+ "type": "text",
733
+ "notNull": true,
734
+ "autoincrement": false,
735
+ "default": null,
736
+ "generated": null,
737
+ "name": "content",
738
+ "entityType": "columns",
739
+ "table": "todo"
740
+ },
741
+ {
742
+ "type": "text",
743
+ "notNull": true,
744
+ "autoincrement": false,
745
+ "default": null,
746
+ "generated": null,
747
+ "name": "status",
748
+ "entityType": "columns",
749
+ "table": "todo"
750
+ },
751
+ {
752
+ "type": "text",
753
+ "notNull": true,
754
+ "autoincrement": false,
755
+ "default": null,
756
+ "generated": null,
757
+ "name": "priority",
758
+ "entityType": "columns",
759
+ "table": "todo"
760
+ },
761
+ {
762
+ "type": "integer",
763
+ "notNull": true,
764
+ "autoincrement": false,
765
+ "default": null,
766
+ "generated": null,
767
+ "name": "position",
768
+ "entityType": "columns",
769
+ "table": "todo"
770
+ },
771
+ {
772
+ "type": "integer",
773
+ "notNull": true,
774
+ "autoincrement": false,
775
+ "default": null,
776
+ "generated": null,
777
+ "name": "time_created",
778
+ "entityType": "columns",
779
+ "table": "todo"
780
+ },
781
+ {
782
+ "type": "integer",
783
+ "notNull": true,
784
+ "autoincrement": false,
785
+ "default": null,
786
+ "generated": null,
787
+ "name": "time_updated",
788
+ "entityType": "columns",
789
+ "table": "todo"
790
+ },
791
+ {
792
+ "type": "text",
793
+ "notNull": false,
794
+ "autoincrement": false,
795
+ "default": null,
796
+ "generated": null,
797
+ "name": "session_id",
798
+ "entityType": "columns",
799
+ "table": "session_share"
800
+ },
801
+ {
802
+ "type": "text",
803
+ "notNull": true,
804
+ "autoincrement": false,
805
+ "default": null,
806
+ "generated": null,
807
+ "name": "id",
808
+ "entityType": "columns",
809
+ "table": "session_share"
810
+ },
811
+ {
812
+ "type": "text",
813
+ "notNull": true,
814
+ "autoincrement": false,
815
+ "default": null,
816
+ "generated": null,
817
+ "name": "secret",
818
+ "entityType": "columns",
819
+ "table": "session_share"
820
+ },
821
+ {
822
+ "type": "text",
823
+ "notNull": true,
824
+ "autoincrement": false,
825
+ "default": null,
826
+ "generated": null,
827
+ "name": "url",
828
+ "entityType": "columns",
829
+ "table": "session_share"
830
+ },
831
+ {
832
+ "type": "integer",
833
+ "notNull": true,
834
+ "autoincrement": false,
835
+ "default": null,
836
+ "generated": null,
837
+ "name": "time_created",
838
+ "entityType": "columns",
839
+ "table": "session_share"
840
+ },
841
+ {
842
+ "type": "integer",
843
+ "notNull": true,
844
+ "autoincrement": false,
845
+ "default": null,
846
+ "generated": null,
847
+ "name": "time_updated",
848
+ "entityType": "columns",
849
+ "table": "session_share"
850
+ },
851
+ {
852
+ "columns": ["project_id"],
853
+ "tableTo": "project",
854
+ "columnsTo": ["id"],
855
+ "onUpdate": "NO ACTION",
856
+ "onDelete": "CASCADE",
857
+ "nameExplicit": false,
858
+ "name": "fk_workspace_project_id_project_id_fk",
859
+ "entityType": "fks",
860
+ "table": "workspace"
861
+ },
862
+ {
863
+ "columns": ["session_id"],
864
+ "tableTo": "session",
865
+ "columnsTo": ["id"],
866
+ "onUpdate": "NO ACTION",
867
+ "onDelete": "CASCADE",
868
+ "nameExplicit": false,
869
+ "name": "fk_message_session_id_session_id_fk",
870
+ "entityType": "fks",
871
+ "table": "message"
872
+ },
873
+ {
874
+ "columns": ["message_id"],
875
+ "tableTo": "message",
876
+ "columnsTo": ["id"],
877
+ "onUpdate": "NO ACTION",
878
+ "onDelete": "CASCADE",
879
+ "nameExplicit": false,
880
+ "name": "fk_part_message_id_message_id_fk",
881
+ "entityType": "fks",
882
+ "table": "part"
883
+ },
884
+ {
885
+ "columns": ["project_id"],
886
+ "tableTo": "project",
887
+ "columnsTo": ["id"],
888
+ "onUpdate": "NO ACTION",
889
+ "onDelete": "CASCADE",
890
+ "nameExplicit": false,
891
+ "name": "fk_permission_project_id_project_id_fk",
892
+ "entityType": "fks",
893
+ "table": "permission"
894
+ },
895
+ {
896
+ "columns": ["project_id"],
897
+ "tableTo": "project",
898
+ "columnsTo": ["id"],
899
+ "onUpdate": "NO ACTION",
900
+ "onDelete": "CASCADE",
901
+ "nameExplicit": false,
902
+ "name": "fk_session_project_id_project_id_fk",
903
+ "entityType": "fks",
904
+ "table": "session"
905
+ },
906
+ {
907
+ "columns": ["session_id"],
908
+ "tableTo": "session",
909
+ "columnsTo": ["id"],
910
+ "onUpdate": "NO ACTION",
911
+ "onDelete": "CASCADE",
912
+ "nameExplicit": false,
913
+ "name": "fk_todo_session_id_session_id_fk",
914
+ "entityType": "fks",
915
+ "table": "todo"
916
+ },
917
+ {
918
+ "columns": ["session_id"],
919
+ "tableTo": "session",
920
+ "columnsTo": ["id"],
921
+ "onUpdate": "NO ACTION",
922
+ "onDelete": "CASCADE",
923
+ "nameExplicit": false,
924
+ "name": "fk_session_share_session_id_session_id_fk",
925
+ "entityType": "fks",
926
+ "table": "session_share"
927
+ },
928
+ {
929
+ "columns": ["active_account_id"],
930
+ "tableTo": "account",
931
+ "columnsTo": ["id"],
932
+ "onUpdate": "NO ACTION",
933
+ "onDelete": "SET NULL",
934
+ "nameExplicit": false,
935
+ "name": "fk_account_state_active_account_id_account_id_fk",
936
+ "entityType": "fks",
937
+ "table": "account_state"
938
+ },
939
+ {
940
+ "columns": ["email", "url"],
941
+ "nameExplicit": false,
942
+ "name": "control_account_pk",
943
+ "entityType": "pks",
944
+ "table": "control_account"
945
+ },
946
+ {
947
+ "columns": ["session_id", "position"],
948
+ "nameExplicit": false,
949
+ "name": "todo_pk",
950
+ "entityType": "pks",
951
+ "table": "todo"
952
+ },
953
+ {
954
+ "columns": ["id"],
955
+ "nameExplicit": false,
956
+ "name": "account_pk",
957
+ "table": "account",
958
+ "entityType": "pks"
959
+ },
960
+ {
961
+ "columns": ["id"],
962
+ "nameExplicit": false,
963
+ "name": "account_state_pk",
964
+ "table": "account_state",
965
+ "entityType": "pks"
966
+ },
967
+ {
968
+ "columns": ["id"],
969
+ "nameExplicit": false,
970
+ "name": "workspace_pk",
971
+ "table": "workspace",
972
+ "entityType": "pks"
973
+ },
974
+ {
975
+ "columns": ["id"],
976
+ "nameExplicit": false,
977
+ "name": "project_pk",
978
+ "table": "project",
979
+ "entityType": "pks"
980
+ },
981
+ {
982
+ "columns": ["id"],
983
+ "nameExplicit": false,
984
+ "name": "message_pk",
985
+ "table": "message",
986
+ "entityType": "pks"
987
+ },
988
+ {
989
+ "columns": ["id"],
990
+ "nameExplicit": false,
991
+ "name": "part_pk",
992
+ "table": "part",
993
+ "entityType": "pks"
994
+ },
995
+ {
996
+ "columns": ["project_id"],
997
+ "nameExplicit": false,
998
+ "name": "permission_pk",
999
+ "table": "permission",
1000
+ "entityType": "pks"
1001
+ },
1002
+ {
1003
+ "columns": ["id"],
1004
+ "nameExplicit": false,
1005
+ "name": "session_pk",
1006
+ "table": "session",
1007
+ "entityType": "pks"
1008
+ },
1009
+ {
1010
+ "columns": ["session_id"],
1011
+ "nameExplicit": false,
1012
+ "name": "session_share_pk",
1013
+ "table": "session_share",
1014
+ "entityType": "pks"
1015
+ },
1016
+ {
1017
+ "columns": [
1018
+ {
1019
+ "value": "session_id",
1020
+ "isExpression": false
1021
+ }
1022
+ ],
1023
+ "isUnique": false,
1024
+ "where": null,
1025
+ "origin": "manual",
1026
+ "name": "message_session_idx",
1027
+ "entityType": "indexes",
1028
+ "table": "message"
1029
+ },
1030
+ {
1031
+ "columns": [
1032
+ {
1033
+ "value": "message_id",
1034
+ "isExpression": false
1035
+ }
1036
+ ],
1037
+ "isUnique": false,
1038
+ "where": null,
1039
+ "origin": "manual",
1040
+ "name": "part_message_idx",
1041
+ "entityType": "indexes",
1042
+ "table": "part"
1043
+ },
1044
+ {
1045
+ "columns": [
1046
+ {
1047
+ "value": "session_id",
1048
+ "isExpression": false
1049
+ }
1050
+ ],
1051
+ "isUnique": false,
1052
+ "where": null,
1053
+ "origin": "manual",
1054
+ "name": "part_session_idx",
1055
+ "entityType": "indexes",
1056
+ "table": "part"
1057
+ },
1058
+ {
1059
+ "columns": [
1060
+ {
1061
+ "value": "project_id",
1062
+ "isExpression": false
1063
+ }
1064
+ ],
1065
+ "isUnique": false,
1066
+ "where": null,
1067
+ "origin": "manual",
1068
+ "name": "session_project_idx",
1069
+ "entityType": "indexes",
1070
+ "table": "session"
1071
+ },
1072
+ {
1073
+ "columns": [
1074
+ {
1075
+ "value": "parent_id",
1076
+ "isExpression": false
1077
+ }
1078
+ ],
1079
+ "isUnique": false,
1080
+ "where": null,
1081
+ "origin": "manual",
1082
+ "name": "session_parent_idx",
1083
+ "entityType": "indexes",
1084
+ "table": "session"
1085
+ },
1086
+ {
1087
+ "columns": [
1088
+ {
1089
+ "value": "session_id",
1090
+ "isExpression": false
1091
+ }
1092
+ ],
1093
+ "isUnique": false,
1094
+ "where": null,
1095
+ "origin": "manual",
1096
+ "name": "todo_session_idx",
1097
+ "entityType": "indexes",
1098
+ "table": "todo"
1099
+ }
1100
+ ],
1101
+ "renames": []
1102
+ }