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