@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,1168 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "37e1554d-af4c-43f2-aa7c-307fb49a315e",
5
+ "prevIds": ["fb311f30-9948-4131-b15c-7d308478a878"],
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
+ "value": "time_created",
1064
+ "isExpression": false
1065
+ },
1066
+ {
1067
+ "value": "id",
1068
+ "isExpression": false
1069
+ }
1070
+ ],
1071
+ "isUnique": false,
1072
+ "where": null,
1073
+ "origin": "manual",
1074
+ "name": "message_session_time_created_id_idx",
1075
+ "entityType": "indexes",
1076
+ "table": "message"
1077
+ },
1078
+ {
1079
+ "columns": [
1080
+ {
1081
+ "value": "message_id",
1082
+ "isExpression": false
1083
+ },
1084
+ {
1085
+ "value": "id",
1086
+ "isExpression": false
1087
+ }
1088
+ ],
1089
+ "isUnique": false,
1090
+ "where": null,
1091
+ "origin": "manual",
1092
+ "name": "part_message_id_id_idx",
1093
+ "entityType": "indexes",
1094
+ "table": "part"
1095
+ },
1096
+ {
1097
+ "columns": [
1098
+ {
1099
+ "value": "session_id",
1100
+ "isExpression": false
1101
+ }
1102
+ ],
1103
+ "isUnique": false,
1104
+ "where": null,
1105
+ "origin": "manual",
1106
+ "name": "part_session_idx",
1107
+ "entityType": "indexes",
1108
+ "table": "part"
1109
+ },
1110
+ {
1111
+ "columns": [
1112
+ {
1113
+ "value": "project_id",
1114
+ "isExpression": false
1115
+ }
1116
+ ],
1117
+ "isUnique": false,
1118
+ "where": null,
1119
+ "origin": "manual",
1120
+ "name": "session_project_idx",
1121
+ "entityType": "indexes",
1122
+ "table": "session"
1123
+ },
1124
+ {
1125
+ "columns": [
1126
+ {
1127
+ "value": "workspace_id",
1128
+ "isExpression": false
1129
+ }
1130
+ ],
1131
+ "isUnique": false,
1132
+ "where": null,
1133
+ "origin": "manual",
1134
+ "name": "session_workspace_idx",
1135
+ "entityType": "indexes",
1136
+ "table": "session"
1137
+ },
1138
+ {
1139
+ "columns": [
1140
+ {
1141
+ "value": "parent_id",
1142
+ "isExpression": false
1143
+ }
1144
+ ],
1145
+ "isUnique": false,
1146
+ "where": null,
1147
+ "origin": "manual",
1148
+ "name": "session_parent_idx",
1149
+ "entityType": "indexes",
1150
+ "table": "session"
1151
+ },
1152
+ {
1153
+ "columns": [
1154
+ {
1155
+ "value": "session_id",
1156
+ "isExpression": false
1157
+ }
1158
+ ],
1159
+ "isUnique": false,
1160
+ "where": null,
1161
+ "origin": "manual",
1162
+ "name": "todo_session_idx",
1163
+ "entityType": "indexes",
1164
+ "table": "todo"
1165
+ }
1166
+ ],
1167
+ "renames": []
1168
+ }