@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,1409 @@
1
+ {
2
+ "version": "7",
3
+ "dialect": "sqlite",
4
+ "id": "66cbe0d7-def0-451b-b88a-7608513a9b44",
5
+ "prevIds": ["30b928c5-deef-472c-856d-b5b5064bf6d4"],
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_url_override",
380
+ "entityType": "columns",
381
+ "table": "project"
382
+ },
383
+ {
384
+ "type": "text",
385
+ "notNull": false,
386
+ "autoincrement": false,
387
+ "default": null,
388
+ "generated": null,
389
+ "name": "icon_color",
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_created",
400
+ "entityType": "columns",
401
+ "table": "project"
402
+ },
403
+ {
404
+ "type": "integer",
405
+ "notNull": true,
406
+ "autoincrement": false,
407
+ "default": null,
408
+ "generated": null,
409
+ "name": "time_updated",
410
+ "entityType": "columns",
411
+ "table": "project"
412
+ },
413
+ {
414
+ "type": "integer",
415
+ "notNull": false,
416
+ "autoincrement": false,
417
+ "default": null,
418
+ "generated": null,
419
+ "name": "time_initialized",
420
+ "entityType": "columns",
421
+ "table": "project"
422
+ },
423
+ {
424
+ "type": "text",
425
+ "notNull": true,
426
+ "autoincrement": false,
427
+ "default": null,
428
+ "generated": null,
429
+ "name": "sandboxes",
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": "commands",
440
+ "entityType": "columns",
441
+ "table": "project"
442
+ },
443
+ {
444
+ "type": "text",
445
+ "notNull": false,
446
+ "autoincrement": false,
447
+ "default": null,
448
+ "generated": null,
449
+ "name": "id",
450
+ "entityType": "columns",
451
+ "table": "message"
452
+ },
453
+ {
454
+ "type": "text",
455
+ "notNull": true,
456
+ "autoincrement": false,
457
+ "default": null,
458
+ "generated": null,
459
+ "name": "session_id",
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_created",
470
+ "entityType": "columns",
471
+ "table": "message"
472
+ },
473
+ {
474
+ "type": "integer",
475
+ "notNull": true,
476
+ "autoincrement": false,
477
+ "default": null,
478
+ "generated": null,
479
+ "name": "time_updated",
480
+ "entityType": "columns",
481
+ "table": "message"
482
+ },
483
+ {
484
+ "type": "text",
485
+ "notNull": true,
486
+ "autoincrement": false,
487
+ "default": null,
488
+ "generated": null,
489
+ "name": "data",
490
+ "entityType": "columns",
491
+ "table": "message"
492
+ },
493
+ {
494
+ "type": "text",
495
+ "notNull": false,
496
+ "autoincrement": false,
497
+ "default": null,
498
+ "generated": null,
499
+ "name": "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": "message_id",
510
+ "entityType": "columns",
511
+ "table": "part"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "notNull": true,
516
+ "autoincrement": false,
517
+ "default": null,
518
+ "generated": null,
519
+ "name": "session_id",
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_created",
530
+ "entityType": "columns",
531
+ "table": "part"
532
+ },
533
+ {
534
+ "type": "integer",
535
+ "notNull": true,
536
+ "autoincrement": false,
537
+ "default": null,
538
+ "generated": null,
539
+ "name": "time_updated",
540
+ "entityType": "columns",
541
+ "table": "part"
542
+ },
543
+ {
544
+ "type": "text",
545
+ "notNull": true,
546
+ "autoincrement": false,
547
+ "default": null,
548
+ "generated": null,
549
+ "name": "data",
550
+ "entityType": "columns",
551
+ "table": "part"
552
+ },
553
+ {
554
+ "type": "text",
555
+ "notNull": false,
556
+ "autoincrement": false,
557
+ "default": null,
558
+ "generated": null,
559
+ "name": "project_id",
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_created",
570
+ "entityType": "columns",
571
+ "table": "permission"
572
+ },
573
+ {
574
+ "type": "integer",
575
+ "notNull": true,
576
+ "autoincrement": false,
577
+ "default": null,
578
+ "generated": null,
579
+ "name": "time_updated",
580
+ "entityType": "columns",
581
+ "table": "permission"
582
+ },
583
+ {
584
+ "type": "text",
585
+ "notNull": true,
586
+ "autoincrement": false,
587
+ "default": null,
588
+ "generated": null,
589
+ "name": "data",
590
+ "entityType": "columns",
591
+ "table": "permission"
592
+ },
593
+ {
594
+ "type": "text",
595
+ "notNull": false,
596
+ "autoincrement": false,
597
+ "default": null,
598
+ "generated": null,
599
+ "name": "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": "session_id",
610
+ "entityType": "columns",
611
+ "table": "session_entry"
612
+ },
613
+ {
614
+ "type": "text",
615
+ "notNull": true,
616
+ "autoincrement": false,
617
+ "default": null,
618
+ "generated": null,
619
+ "name": "type",
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_created",
630
+ "entityType": "columns",
631
+ "table": "session_entry"
632
+ },
633
+ {
634
+ "type": "integer",
635
+ "notNull": true,
636
+ "autoincrement": false,
637
+ "default": null,
638
+ "generated": null,
639
+ "name": "time_updated",
640
+ "entityType": "columns",
641
+ "table": "session_entry"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "notNull": true,
646
+ "autoincrement": false,
647
+ "default": null,
648
+ "generated": null,
649
+ "name": "data",
650
+ "entityType": "columns",
651
+ "table": "session_entry"
652
+ },
653
+ {
654
+ "type": "text",
655
+ "notNull": false,
656
+ "autoincrement": false,
657
+ "default": null,
658
+ "generated": null,
659
+ "name": "id",
660
+ "entityType": "columns",
661
+ "table": "session"
662
+ },
663
+ {
664
+ "type": "text",
665
+ "notNull": true,
666
+ "autoincrement": false,
667
+ "default": null,
668
+ "generated": null,
669
+ "name": "project_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": "workspace_id",
680
+ "entityType": "columns",
681
+ "table": "session"
682
+ },
683
+ {
684
+ "type": "text",
685
+ "notNull": false,
686
+ "autoincrement": false,
687
+ "default": null,
688
+ "generated": null,
689
+ "name": "parent_id",
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": "slug",
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": "directory",
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": "title",
720
+ "entityType": "columns",
721
+ "table": "session"
722
+ },
723
+ {
724
+ "type": "text",
725
+ "notNull": true,
726
+ "autoincrement": false,
727
+ "default": null,
728
+ "generated": null,
729
+ "name": "version",
730
+ "entityType": "columns",
731
+ "table": "session"
732
+ },
733
+ {
734
+ "type": "text",
735
+ "notNull": false,
736
+ "autoincrement": false,
737
+ "default": null,
738
+ "generated": null,
739
+ "name": "share_url",
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_additions",
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_deletions",
760
+ "entityType": "columns",
761
+ "table": "session"
762
+ },
763
+ {
764
+ "type": "integer",
765
+ "notNull": false,
766
+ "autoincrement": false,
767
+ "default": null,
768
+ "generated": null,
769
+ "name": "summary_files",
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": "summary_diffs",
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": "revert",
790
+ "entityType": "columns",
791
+ "table": "session"
792
+ },
793
+ {
794
+ "type": "text",
795
+ "notNull": false,
796
+ "autoincrement": false,
797
+ "default": null,
798
+ "generated": null,
799
+ "name": "permission",
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_created",
810
+ "entityType": "columns",
811
+ "table": "session"
812
+ },
813
+ {
814
+ "type": "integer",
815
+ "notNull": true,
816
+ "autoincrement": false,
817
+ "default": null,
818
+ "generated": null,
819
+ "name": "time_updated",
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_compacting",
830
+ "entityType": "columns",
831
+ "table": "session"
832
+ },
833
+ {
834
+ "type": "integer",
835
+ "notNull": false,
836
+ "autoincrement": false,
837
+ "default": null,
838
+ "generated": null,
839
+ "name": "time_archived",
840
+ "entityType": "columns",
841
+ "table": "session"
842
+ },
843
+ {
844
+ "type": "text",
845
+ "notNull": true,
846
+ "autoincrement": false,
847
+ "default": null,
848
+ "generated": null,
849
+ "name": "session_id",
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": "content",
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": "status",
870
+ "entityType": "columns",
871
+ "table": "todo"
872
+ },
873
+ {
874
+ "type": "text",
875
+ "notNull": true,
876
+ "autoincrement": false,
877
+ "default": null,
878
+ "generated": null,
879
+ "name": "priority",
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": "position",
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_created",
900
+ "entityType": "columns",
901
+ "table": "todo"
902
+ },
903
+ {
904
+ "type": "integer",
905
+ "notNull": true,
906
+ "autoincrement": false,
907
+ "default": null,
908
+ "generated": null,
909
+ "name": "time_updated",
910
+ "entityType": "columns",
911
+ "table": "todo"
912
+ },
913
+ {
914
+ "type": "text",
915
+ "notNull": false,
916
+ "autoincrement": false,
917
+ "default": null,
918
+ "generated": null,
919
+ "name": "session_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": "id",
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": "secret",
940
+ "entityType": "columns",
941
+ "table": "session_share"
942
+ },
943
+ {
944
+ "type": "text",
945
+ "notNull": true,
946
+ "autoincrement": false,
947
+ "default": null,
948
+ "generated": null,
949
+ "name": "url",
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_created",
960
+ "entityType": "columns",
961
+ "table": "session_share"
962
+ },
963
+ {
964
+ "type": "integer",
965
+ "notNull": true,
966
+ "autoincrement": false,
967
+ "default": null,
968
+ "generated": null,
969
+ "name": "time_updated",
970
+ "entityType": "columns",
971
+ "table": "session_share"
972
+ },
973
+ {
974
+ "type": "text",
975
+ "notNull": false,
976
+ "autoincrement": false,
977
+ "default": null,
978
+ "generated": null,
979
+ "name": "aggregate_id",
980
+ "entityType": "columns",
981
+ "table": "event_sequence"
982
+ },
983
+ {
984
+ "type": "integer",
985
+ "notNull": true,
986
+ "autoincrement": false,
987
+ "default": null,
988
+ "generated": null,
989
+ "name": "seq",
990
+ "entityType": "columns",
991
+ "table": "event_sequence"
992
+ },
993
+ {
994
+ "type": "text",
995
+ "notNull": false,
996
+ "autoincrement": false,
997
+ "default": null,
998
+ "generated": null,
999
+ "name": "id",
1000
+ "entityType": "columns",
1001
+ "table": "event"
1002
+ },
1003
+ {
1004
+ "type": "text",
1005
+ "notNull": true,
1006
+ "autoincrement": false,
1007
+ "default": null,
1008
+ "generated": null,
1009
+ "name": "aggregate_id",
1010
+ "entityType": "columns",
1011
+ "table": "event"
1012
+ },
1013
+ {
1014
+ "type": "integer",
1015
+ "notNull": true,
1016
+ "autoincrement": false,
1017
+ "default": null,
1018
+ "generated": null,
1019
+ "name": "seq",
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": "type",
1030
+ "entityType": "columns",
1031
+ "table": "event"
1032
+ },
1033
+ {
1034
+ "type": "text",
1035
+ "notNull": true,
1036
+ "autoincrement": false,
1037
+ "default": null,
1038
+ "generated": null,
1039
+ "name": "data",
1040
+ "entityType": "columns",
1041
+ "table": "event"
1042
+ },
1043
+ {
1044
+ "columns": ["active_account_id"],
1045
+ "tableTo": "account",
1046
+ "columnsTo": ["id"],
1047
+ "onUpdate": "NO ACTION",
1048
+ "onDelete": "SET NULL",
1049
+ "nameExplicit": false,
1050
+ "name": "fk_account_state_active_account_id_account_id_fk",
1051
+ "entityType": "fks",
1052
+ "table": "account_state"
1053
+ },
1054
+ {
1055
+ "columns": ["project_id"],
1056
+ "tableTo": "project",
1057
+ "columnsTo": ["id"],
1058
+ "onUpdate": "NO ACTION",
1059
+ "onDelete": "CASCADE",
1060
+ "nameExplicit": false,
1061
+ "name": "fk_workspace_project_id_project_id_fk",
1062
+ "entityType": "fks",
1063
+ "table": "workspace"
1064
+ },
1065
+ {
1066
+ "columns": ["session_id"],
1067
+ "tableTo": "session",
1068
+ "columnsTo": ["id"],
1069
+ "onUpdate": "NO ACTION",
1070
+ "onDelete": "CASCADE",
1071
+ "nameExplicit": false,
1072
+ "name": "fk_message_session_id_session_id_fk",
1073
+ "entityType": "fks",
1074
+ "table": "message"
1075
+ },
1076
+ {
1077
+ "columns": ["message_id"],
1078
+ "tableTo": "message",
1079
+ "columnsTo": ["id"],
1080
+ "onUpdate": "NO ACTION",
1081
+ "onDelete": "CASCADE",
1082
+ "nameExplicit": false,
1083
+ "name": "fk_part_message_id_message_id_fk",
1084
+ "entityType": "fks",
1085
+ "table": "part"
1086
+ },
1087
+ {
1088
+ "columns": ["project_id"],
1089
+ "tableTo": "project",
1090
+ "columnsTo": ["id"],
1091
+ "onUpdate": "NO ACTION",
1092
+ "onDelete": "CASCADE",
1093
+ "nameExplicit": false,
1094
+ "name": "fk_permission_project_id_project_id_fk",
1095
+ "entityType": "fks",
1096
+ "table": "permission"
1097
+ },
1098
+ {
1099
+ "columns": ["session_id"],
1100
+ "tableTo": "session",
1101
+ "columnsTo": ["id"],
1102
+ "onUpdate": "NO ACTION",
1103
+ "onDelete": "CASCADE",
1104
+ "nameExplicit": false,
1105
+ "name": "fk_session_entry_session_id_session_id_fk",
1106
+ "entityType": "fks",
1107
+ "table": "session_entry"
1108
+ },
1109
+ {
1110
+ "columns": ["project_id"],
1111
+ "tableTo": "project",
1112
+ "columnsTo": ["id"],
1113
+ "onUpdate": "NO ACTION",
1114
+ "onDelete": "CASCADE",
1115
+ "nameExplicit": false,
1116
+ "name": "fk_session_project_id_project_id_fk",
1117
+ "entityType": "fks",
1118
+ "table": "session"
1119
+ },
1120
+ {
1121
+ "columns": ["session_id"],
1122
+ "tableTo": "session",
1123
+ "columnsTo": ["id"],
1124
+ "onUpdate": "NO ACTION",
1125
+ "onDelete": "CASCADE",
1126
+ "nameExplicit": false,
1127
+ "name": "fk_todo_session_id_session_id_fk",
1128
+ "entityType": "fks",
1129
+ "table": "todo"
1130
+ },
1131
+ {
1132
+ "columns": ["session_id"],
1133
+ "tableTo": "session",
1134
+ "columnsTo": ["id"],
1135
+ "onUpdate": "NO ACTION",
1136
+ "onDelete": "CASCADE",
1137
+ "nameExplicit": false,
1138
+ "name": "fk_session_share_session_id_session_id_fk",
1139
+ "entityType": "fks",
1140
+ "table": "session_share"
1141
+ },
1142
+ {
1143
+ "columns": ["aggregate_id"],
1144
+ "tableTo": "event_sequence",
1145
+ "columnsTo": ["aggregate_id"],
1146
+ "onUpdate": "NO ACTION",
1147
+ "onDelete": "CASCADE",
1148
+ "nameExplicit": false,
1149
+ "name": "fk_event_aggregate_id_event_sequence_aggregate_id_fk",
1150
+ "entityType": "fks",
1151
+ "table": "event"
1152
+ },
1153
+ {
1154
+ "columns": ["email", "url"],
1155
+ "nameExplicit": false,
1156
+ "name": "control_account_pk",
1157
+ "entityType": "pks",
1158
+ "table": "control_account"
1159
+ },
1160
+ {
1161
+ "columns": ["session_id", "position"],
1162
+ "nameExplicit": false,
1163
+ "name": "todo_pk",
1164
+ "entityType": "pks",
1165
+ "table": "todo"
1166
+ },
1167
+ {
1168
+ "columns": ["id"],
1169
+ "nameExplicit": false,
1170
+ "name": "account_state_pk",
1171
+ "table": "account_state",
1172
+ "entityType": "pks"
1173
+ },
1174
+ {
1175
+ "columns": ["id"],
1176
+ "nameExplicit": false,
1177
+ "name": "account_pk",
1178
+ "table": "account",
1179
+ "entityType": "pks"
1180
+ },
1181
+ {
1182
+ "columns": ["id"],
1183
+ "nameExplicit": false,
1184
+ "name": "workspace_pk",
1185
+ "table": "workspace",
1186
+ "entityType": "pks"
1187
+ },
1188
+ {
1189
+ "columns": ["id"],
1190
+ "nameExplicit": false,
1191
+ "name": "project_pk",
1192
+ "table": "project",
1193
+ "entityType": "pks"
1194
+ },
1195
+ {
1196
+ "columns": ["id"],
1197
+ "nameExplicit": false,
1198
+ "name": "message_pk",
1199
+ "table": "message",
1200
+ "entityType": "pks"
1201
+ },
1202
+ {
1203
+ "columns": ["id"],
1204
+ "nameExplicit": false,
1205
+ "name": "part_pk",
1206
+ "table": "part",
1207
+ "entityType": "pks"
1208
+ },
1209
+ {
1210
+ "columns": ["project_id"],
1211
+ "nameExplicit": false,
1212
+ "name": "permission_pk",
1213
+ "table": "permission",
1214
+ "entityType": "pks"
1215
+ },
1216
+ {
1217
+ "columns": ["id"],
1218
+ "nameExplicit": false,
1219
+ "name": "session_entry_pk",
1220
+ "table": "session_entry",
1221
+ "entityType": "pks"
1222
+ },
1223
+ {
1224
+ "columns": ["id"],
1225
+ "nameExplicit": false,
1226
+ "name": "session_pk",
1227
+ "table": "session",
1228
+ "entityType": "pks"
1229
+ },
1230
+ {
1231
+ "columns": ["session_id"],
1232
+ "nameExplicit": false,
1233
+ "name": "session_share_pk",
1234
+ "table": "session_share",
1235
+ "entityType": "pks"
1236
+ },
1237
+ {
1238
+ "columns": ["aggregate_id"],
1239
+ "nameExplicit": false,
1240
+ "name": "event_sequence_pk",
1241
+ "table": "event_sequence",
1242
+ "entityType": "pks"
1243
+ },
1244
+ {
1245
+ "columns": ["id"],
1246
+ "nameExplicit": false,
1247
+ "name": "event_pk",
1248
+ "table": "event",
1249
+ "entityType": "pks"
1250
+ },
1251
+ {
1252
+ "columns": [
1253
+ {
1254
+ "value": "session_id",
1255
+ "isExpression": false
1256
+ },
1257
+ {
1258
+ "value": "time_created",
1259
+ "isExpression": false
1260
+ },
1261
+ {
1262
+ "value": "id",
1263
+ "isExpression": false
1264
+ }
1265
+ ],
1266
+ "isUnique": false,
1267
+ "where": null,
1268
+ "origin": "manual",
1269
+ "name": "message_session_time_created_id_idx",
1270
+ "entityType": "indexes",
1271
+ "table": "message"
1272
+ },
1273
+ {
1274
+ "columns": [
1275
+ {
1276
+ "value": "message_id",
1277
+ "isExpression": false
1278
+ },
1279
+ {
1280
+ "value": "id",
1281
+ "isExpression": false
1282
+ }
1283
+ ],
1284
+ "isUnique": false,
1285
+ "where": null,
1286
+ "origin": "manual",
1287
+ "name": "part_message_id_id_idx",
1288
+ "entityType": "indexes",
1289
+ "table": "part"
1290
+ },
1291
+ {
1292
+ "columns": [
1293
+ {
1294
+ "value": "session_id",
1295
+ "isExpression": false
1296
+ }
1297
+ ],
1298
+ "isUnique": false,
1299
+ "where": null,
1300
+ "origin": "manual",
1301
+ "name": "part_session_idx",
1302
+ "entityType": "indexes",
1303
+ "table": "part"
1304
+ },
1305
+ {
1306
+ "columns": [
1307
+ {
1308
+ "value": "session_id",
1309
+ "isExpression": false
1310
+ }
1311
+ ],
1312
+ "isUnique": false,
1313
+ "where": null,
1314
+ "origin": "manual",
1315
+ "name": "session_entry_session_idx",
1316
+ "entityType": "indexes",
1317
+ "table": "session_entry"
1318
+ },
1319
+ {
1320
+ "columns": [
1321
+ {
1322
+ "value": "session_id",
1323
+ "isExpression": false
1324
+ },
1325
+ {
1326
+ "value": "type",
1327
+ "isExpression": false
1328
+ }
1329
+ ],
1330
+ "isUnique": false,
1331
+ "where": null,
1332
+ "origin": "manual",
1333
+ "name": "session_entry_session_type_idx",
1334
+ "entityType": "indexes",
1335
+ "table": "session_entry"
1336
+ },
1337
+ {
1338
+ "columns": [
1339
+ {
1340
+ "value": "time_created",
1341
+ "isExpression": false
1342
+ }
1343
+ ],
1344
+ "isUnique": false,
1345
+ "where": null,
1346
+ "origin": "manual",
1347
+ "name": "session_entry_time_created_idx",
1348
+ "entityType": "indexes",
1349
+ "table": "session_entry"
1350
+ },
1351
+ {
1352
+ "columns": [
1353
+ {
1354
+ "value": "project_id",
1355
+ "isExpression": false
1356
+ }
1357
+ ],
1358
+ "isUnique": false,
1359
+ "where": null,
1360
+ "origin": "manual",
1361
+ "name": "session_project_idx",
1362
+ "entityType": "indexes",
1363
+ "table": "session"
1364
+ },
1365
+ {
1366
+ "columns": [
1367
+ {
1368
+ "value": "workspace_id",
1369
+ "isExpression": false
1370
+ }
1371
+ ],
1372
+ "isUnique": false,
1373
+ "where": null,
1374
+ "origin": "manual",
1375
+ "name": "session_workspace_idx",
1376
+ "entityType": "indexes",
1377
+ "table": "session"
1378
+ },
1379
+ {
1380
+ "columns": [
1381
+ {
1382
+ "value": "parent_id",
1383
+ "isExpression": false
1384
+ }
1385
+ ],
1386
+ "isUnique": false,
1387
+ "where": null,
1388
+ "origin": "manual",
1389
+ "name": "session_parent_idx",
1390
+ "entityType": "indexes",
1391
+ "table": "session"
1392
+ },
1393
+ {
1394
+ "columns": [
1395
+ {
1396
+ "value": "session_id",
1397
+ "isExpression": false
1398
+ }
1399
+ ],
1400
+ "isUnique": false,
1401
+ "where": null,
1402
+ "origin": "manual",
1403
+ "name": "todo_session_idx",
1404
+ "entityType": "indexes",
1405
+ "table": "todo"
1406
+ }
1407
+ ],
1408
+ "renames": []
1409
+ }