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