@pstdio/pocketcoder-cli 0.7.2 → 0.8.0

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.
@@ -0,0 +1,3943 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "6e8daa9a-ab9e-450a-9594-52b17b419879",
5
+ "prevIds": [
6
+ "075f1364-c42c-49aa-b0f0-d7b11fa6e38f"
7
+ ],
8
+ "ddl": [
9
+ {
10
+ "isRlsEnabled": false,
11
+ "name": "event_outbox",
12
+ "entityType": "tables",
13
+ "schema": "public"
14
+ },
15
+ {
16
+ "isRlsEnabled": false,
17
+ "name": "machine_keys",
18
+ "entityType": "tables",
19
+ "schema": "public"
20
+ },
21
+ {
22
+ "isRlsEnabled": false,
23
+ "name": "principals",
24
+ "entityType": "tables",
25
+ "schema": "public"
26
+ },
27
+ {
28
+ "isRlsEnabled": false,
29
+ "name": "templates",
30
+ "entityType": "tables",
31
+ "schema": "public"
32
+ },
33
+ {
34
+ "isRlsEnabled": false,
35
+ "name": "warm_pool_runtimes",
36
+ "entityType": "tables",
37
+ "schema": "public"
38
+ },
39
+ {
40
+ "isRlsEnabled": false,
41
+ "name": "workspace_checkpoints",
42
+ "entityType": "tables",
43
+ "schema": "public"
44
+ },
45
+ {
46
+ "isRlsEnabled": false,
47
+ "name": "workspace_conversation_messages",
48
+ "entityType": "tables",
49
+ "schema": "public"
50
+ },
51
+ {
52
+ "isRlsEnabled": false,
53
+ "name": "workspace_conversations",
54
+ "entityType": "tables",
55
+ "schema": "public"
56
+ },
57
+ {
58
+ "isRlsEnabled": false,
59
+ "name": "workspace_logs",
60
+ "entityType": "tables",
61
+ "schema": "public"
62
+ },
63
+ {
64
+ "isRlsEnabled": false,
65
+ "name": "workspace_network_events",
66
+ "entityType": "tables",
67
+ "schema": "public"
68
+ },
69
+ {
70
+ "isRlsEnabled": false,
71
+ "name": "workspace_operations",
72
+ "entityType": "tables",
73
+ "schema": "public"
74
+ },
75
+ {
76
+ "isRlsEnabled": false,
77
+ "name": "workspace_outputs",
78
+ "entityType": "tables",
79
+ "schema": "public"
80
+ },
81
+ {
82
+ "isRlsEnabled": false,
83
+ "name": "workspace_state_history",
84
+ "entityType": "tables",
85
+ "schema": "public"
86
+ },
87
+ {
88
+ "isRlsEnabled": false,
89
+ "name": "workspace_storage",
90
+ "entityType": "tables",
91
+ "schema": "public"
92
+ },
93
+ {
94
+ "isRlsEnabled": false,
95
+ "name": "workspace_terminal_sessions",
96
+ "entityType": "tables",
97
+ "schema": "public"
98
+ },
99
+ {
100
+ "isRlsEnabled": false,
101
+ "name": "workspaces",
102
+ "entityType": "tables",
103
+ "schema": "public"
104
+ },
105
+ {
106
+ "type": "uuid",
107
+ "typeSchema": null,
108
+ "notNull": true,
109
+ "dimensions": 0,
110
+ "default": null,
111
+ "generated": null,
112
+ "identity": null,
113
+ "name": "id",
114
+ "entityType": "columns",
115
+ "schema": "public",
116
+ "table": "event_outbox"
117
+ },
118
+ {
119
+ "type": "uuid",
120
+ "typeSchema": null,
121
+ "notNull": true,
122
+ "dimensions": 0,
123
+ "default": null,
124
+ "generated": null,
125
+ "identity": null,
126
+ "name": "workspace_id",
127
+ "entityType": "columns",
128
+ "schema": "public",
129
+ "table": "event_outbox"
130
+ },
131
+ {
132
+ "type": "text",
133
+ "typeSchema": null,
134
+ "notNull": true,
135
+ "dimensions": 0,
136
+ "default": null,
137
+ "generated": null,
138
+ "identity": null,
139
+ "name": "event_type",
140
+ "entityType": "columns",
141
+ "schema": "public",
142
+ "table": "event_outbox"
143
+ },
144
+ {
145
+ "type": "jsonb",
146
+ "typeSchema": null,
147
+ "notNull": true,
148
+ "dimensions": 0,
149
+ "default": null,
150
+ "generated": null,
151
+ "identity": null,
152
+ "name": "payload",
153
+ "entityType": "columns",
154
+ "schema": "public",
155
+ "table": "event_outbox"
156
+ },
157
+ {
158
+ "type": "timestamp with time zone",
159
+ "typeSchema": null,
160
+ "notNull": true,
161
+ "dimensions": 0,
162
+ "default": null,
163
+ "generated": null,
164
+ "identity": null,
165
+ "name": "occurred_at",
166
+ "entityType": "columns",
167
+ "schema": "public",
168
+ "table": "event_outbox"
169
+ },
170
+ {
171
+ "type": "timestamp with time zone",
172
+ "typeSchema": null,
173
+ "notNull": true,
174
+ "dimensions": 0,
175
+ "default": null,
176
+ "generated": null,
177
+ "identity": null,
178
+ "name": "next_attempt_at",
179
+ "entityType": "columns",
180
+ "schema": "public",
181
+ "table": "event_outbox"
182
+ },
183
+ {
184
+ "type": "integer",
185
+ "typeSchema": null,
186
+ "notNull": true,
187
+ "dimensions": 0,
188
+ "default": "0",
189
+ "generated": null,
190
+ "identity": null,
191
+ "name": "attempt_count",
192
+ "entityType": "columns",
193
+ "schema": "public",
194
+ "table": "event_outbox"
195
+ },
196
+ {
197
+ "type": "timestamp with time zone",
198
+ "typeSchema": null,
199
+ "notNull": false,
200
+ "dimensions": 0,
201
+ "default": null,
202
+ "generated": null,
203
+ "identity": null,
204
+ "name": "delivered_at",
205
+ "entityType": "columns",
206
+ "schema": "public",
207
+ "table": "event_outbox"
208
+ },
209
+ {
210
+ "type": "text",
211
+ "typeSchema": null,
212
+ "notNull": false,
213
+ "dimensions": 0,
214
+ "default": null,
215
+ "generated": null,
216
+ "identity": null,
217
+ "name": "last_error_code",
218
+ "entityType": "columns",
219
+ "schema": "public",
220
+ "table": "event_outbox"
221
+ },
222
+ {
223
+ "type": "text",
224
+ "typeSchema": null,
225
+ "notNull": false,
226
+ "dimensions": 0,
227
+ "default": null,
228
+ "generated": null,
229
+ "identity": null,
230
+ "name": "issuance_request_id",
231
+ "entityType": "columns",
232
+ "schema": "public",
233
+ "table": "machine_keys"
234
+ },
235
+ {
236
+ "type": "text",
237
+ "typeSchema": null,
238
+ "notNull": false,
239
+ "dimensions": 0,
240
+ "default": null,
241
+ "generated": null,
242
+ "identity": null,
243
+ "name": "issuance_request_digest",
244
+ "entityType": "columns",
245
+ "schema": "public",
246
+ "table": "machine_keys"
247
+ },
248
+ {
249
+ "type": "text",
250
+ "typeSchema": null,
251
+ "notNull": true,
252
+ "dimensions": 1,
253
+ "default": "'{}'",
254
+ "generated": null,
255
+ "identity": null,
256
+ "name": "managed_principal_ids",
257
+ "entityType": "columns",
258
+ "schema": "public",
259
+ "table": "machine_keys"
260
+ },
261
+ {
262
+ "type": "uuid",
263
+ "typeSchema": null,
264
+ "notNull": true,
265
+ "dimensions": 0,
266
+ "default": null,
267
+ "generated": null,
268
+ "identity": null,
269
+ "name": "id",
270
+ "entityType": "columns",
271
+ "schema": "public",
272
+ "table": "machine_keys"
273
+ },
274
+ {
275
+ "type": "uuid",
276
+ "typeSchema": null,
277
+ "notNull": true,
278
+ "dimensions": 0,
279
+ "default": null,
280
+ "generated": null,
281
+ "identity": null,
282
+ "name": "principal_id",
283
+ "entityType": "columns",
284
+ "schema": "public",
285
+ "table": "machine_keys"
286
+ },
287
+ {
288
+ "type": "bytea",
289
+ "typeSchema": null,
290
+ "notNull": true,
291
+ "dimensions": 0,
292
+ "default": null,
293
+ "generated": null,
294
+ "identity": null,
295
+ "name": "secret_digest",
296
+ "entityType": "columns",
297
+ "schema": "public",
298
+ "table": "machine_keys"
299
+ },
300
+ {
301
+ "type": "text",
302
+ "typeSchema": null,
303
+ "notNull": true,
304
+ "dimensions": 1,
305
+ "default": null,
306
+ "generated": null,
307
+ "identity": null,
308
+ "name": "scopes",
309
+ "entityType": "columns",
310
+ "schema": "public",
311
+ "table": "machine_keys"
312
+ },
313
+ {
314
+ "type": "timestamp with time zone",
315
+ "typeSchema": null,
316
+ "notNull": true,
317
+ "dimensions": 0,
318
+ "default": null,
319
+ "generated": null,
320
+ "identity": null,
321
+ "name": "created_at",
322
+ "entityType": "columns",
323
+ "schema": "public",
324
+ "table": "machine_keys"
325
+ },
326
+ {
327
+ "type": "timestamp with time zone",
328
+ "typeSchema": null,
329
+ "notNull": false,
330
+ "dimensions": 0,
331
+ "default": null,
332
+ "generated": null,
333
+ "identity": null,
334
+ "name": "expires_at",
335
+ "entityType": "columns",
336
+ "schema": "public",
337
+ "table": "machine_keys"
338
+ },
339
+ {
340
+ "type": "timestamp with time zone",
341
+ "typeSchema": null,
342
+ "notNull": false,
343
+ "dimensions": 0,
344
+ "default": null,
345
+ "generated": null,
346
+ "identity": null,
347
+ "name": "revoked_at",
348
+ "entityType": "columns",
349
+ "schema": "public",
350
+ "table": "machine_keys"
351
+ },
352
+ {
353
+ "type": "timestamp with time zone",
354
+ "typeSchema": null,
355
+ "notNull": false,
356
+ "dimensions": 0,
357
+ "default": null,
358
+ "generated": null,
359
+ "identity": null,
360
+ "name": "last_used_at",
361
+ "entityType": "columns",
362
+ "schema": "public",
363
+ "table": "machine_keys"
364
+ },
365
+ {
366
+ "type": "uuid",
367
+ "typeSchema": null,
368
+ "notNull": true,
369
+ "dimensions": 0,
370
+ "default": null,
371
+ "generated": null,
372
+ "identity": null,
373
+ "name": "id",
374
+ "entityType": "columns",
375
+ "schema": "public",
376
+ "table": "principals"
377
+ },
378
+ {
379
+ "type": "text",
380
+ "typeSchema": null,
381
+ "notNull": true,
382
+ "dimensions": 0,
383
+ "default": null,
384
+ "generated": null,
385
+ "identity": null,
386
+ "name": "name",
387
+ "entityType": "columns",
388
+ "schema": "public",
389
+ "table": "principals"
390
+ },
391
+ {
392
+ "type": "text",
393
+ "typeSchema": null,
394
+ "notNull": true,
395
+ "dimensions": 1,
396
+ "default": null,
397
+ "generated": null,
398
+ "identity": null,
399
+ "name": "scopes",
400
+ "entityType": "columns",
401
+ "schema": "public",
402
+ "table": "principals"
403
+ },
404
+ {
405
+ "type": "text",
406
+ "typeSchema": null,
407
+ "notNull": true,
408
+ "dimensions": 1,
409
+ "default": null,
410
+ "generated": null,
411
+ "identity": null,
412
+ "name": "template_names",
413
+ "entityType": "columns",
414
+ "schema": "public",
415
+ "table": "principals"
416
+ },
417
+ {
418
+ "type": "timestamp with time zone",
419
+ "typeSchema": null,
420
+ "notNull": false,
421
+ "dimensions": 0,
422
+ "default": null,
423
+ "generated": null,
424
+ "identity": null,
425
+ "name": "disabled_at",
426
+ "entityType": "columns",
427
+ "schema": "public",
428
+ "table": "principals"
429
+ },
430
+ {
431
+ "type": "timestamp with time zone",
432
+ "typeSchema": null,
433
+ "notNull": true,
434
+ "dimensions": 0,
435
+ "default": null,
436
+ "generated": null,
437
+ "identity": null,
438
+ "name": "created_at",
439
+ "entityType": "columns",
440
+ "schema": "public",
441
+ "table": "principals"
442
+ },
443
+ {
444
+ "type": "uuid",
445
+ "typeSchema": null,
446
+ "notNull": true,
447
+ "dimensions": 0,
448
+ "default": null,
449
+ "generated": null,
450
+ "identity": null,
451
+ "name": "id",
452
+ "entityType": "columns",
453
+ "schema": "public",
454
+ "table": "templates"
455
+ },
456
+ {
457
+ "type": "text",
458
+ "typeSchema": null,
459
+ "notNull": true,
460
+ "dimensions": 0,
461
+ "default": null,
462
+ "generated": null,
463
+ "identity": null,
464
+ "name": "name",
465
+ "entityType": "columns",
466
+ "schema": "public",
467
+ "table": "templates"
468
+ },
469
+ {
470
+ "type": "text",
471
+ "typeSchema": null,
472
+ "notNull": true,
473
+ "dimensions": 0,
474
+ "default": null,
475
+ "generated": null,
476
+ "identity": null,
477
+ "name": "version",
478
+ "entityType": "columns",
479
+ "schema": "public",
480
+ "table": "templates"
481
+ },
482
+ {
483
+ "type": "text",
484
+ "typeSchema": null,
485
+ "notNull": true,
486
+ "dimensions": 0,
487
+ "default": null,
488
+ "generated": null,
489
+ "identity": null,
490
+ "name": "digest",
491
+ "entityType": "columns",
492
+ "schema": "public",
493
+ "table": "templates"
494
+ },
495
+ {
496
+ "type": "text",
497
+ "typeSchema": null,
498
+ "notNull": false,
499
+ "dimensions": 0,
500
+ "default": null,
501
+ "generated": null,
502
+ "identity": null,
503
+ "name": "description",
504
+ "entityType": "columns",
505
+ "schema": "public",
506
+ "table": "templates"
507
+ },
508
+ {
509
+ "type": "jsonb",
510
+ "typeSchema": null,
511
+ "notNull": true,
512
+ "dimensions": 0,
513
+ "default": null,
514
+ "generated": null,
515
+ "identity": null,
516
+ "name": "spec",
517
+ "entityType": "columns",
518
+ "schema": "public",
519
+ "table": "templates"
520
+ },
521
+ {
522
+ "type": "text",
523
+ "typeSchema": null,
524
+ "notNull": true,
525
+ "dimensions": 0,
526
+ "default": null,
527
+ "generated": null,
528
+ "identity": null,
529
+ "name": "status",
530
+ "entityType": "columns",
531
+ "schema": "public",
532
+ "table": "templates"
533
+ },
534
+ {
535
+ "type": "timestamp with time zone",
536
+ "typeSchema": null,
537
+ "notNull": true,
538
+ "dimensions": 0,
539
+ "default": null,
540
+ "generated": null,
541
+ "identity": null,
542
+ "name": "created_at",
543
+ "entityType": "columns",
544
+ "schema": "public",
545
+ "table": "templates"
546
+ },
547
+ {
548
+ "type": "timestamp with time zone",
549
+ "typeSchema": null,
550
+ "notNull": false,
551
+ "dimensions": 0,
552
+ "default": null,
553
+ "generated": null,
554
+ "identity": null,
555
+ "name": "retired_at",
556
+ "entityType": "columns",
557
+ "schema": "public",
558
+ "table": "templates"
559
+ },
560
+ {
561
+ "type": "uuid",
562
+ "typeSchema": null,
563
+ "notNull": true,
564
+ "dimensions": 0,
565
+ "default": null,
566
+ "generated": null,
567
+ "identity": null,
568
+ "name": "id",
569
+ "entityType": "columns",
570
+ "schema": "public",
571
+ "table": "warm_pool_runtimes"
572
+ },
573
+ {
574
+ "type": "uuid",
575
+ "typeSchema": null,
576
+ "notNull": true,
577
+ "dimensions": 0,
578
+ "default": null,
579
+ "generated": null,
580
+ "identity": null,
581
+ "name": "template_id",
582
+ "entityType": "columns",
583
+ "schema": "public",
584
+ "table": "warm_pool_runtimes"
585
+ },
586
+ {
587
+ "type": "text",
588
+ "typeSchema": null,
589
+ "notNull": true,
590
+ "dimensions": 0,
591
+ "default": null,
592
+ "generated": null,
593
+ "identity": null,
594
+ "name": "template_name",
595
+ "entityType": "columns",
596
+ "schema": "public",
597
+ "table": "warm_pool_runtimes"
598
+ },
599
+ {
600
+ "type": "text",
601
+ "typeSchema": null,
602
+ "notNull": true,
603
+ "dimensions": 0,
604
+ "default": null,
605
+ "generated": null,
606
+ "identity": null,
607
+ "name": "template_version",
608
+ "entityType": "columns",
609
+ "schema": "public",
610
+ "table": "warm_pool_runtimes"
611
+ },
612
+ {
613
+ "type": "text",
614
+ "typeSchema": null,
615
+ "notNull": true,
616
+ "dimensions": 0,
617
+ "default": null,
618
+ "generated": null,
619
+ "identity": null,
620
+ "name": "template_digest",
621
+ "entityType": "columns",
622
+ "schema": "public",
623
+ "table": "warm_pool_runtimes"
624
+ },
625
+ {
626
+ "type": "text",
627
+ "typeSchema": null,
628
+ "notNull": true,
629
+ "dimensions": 0,
630
+ "default": null,
631
+ "generated": null,
632
+ "identity": null,
633
+ "name": "driver_kind",
634
+ "entityType": "columns",
635
+ "schema": "public",
636
+ "table": "warm_pool_runtimes"
637
+ },
638
+ {
639
+ "type": "text",
640
+ "typeSchema": null,
641
+ "notNull": true,
642
+ "dimensions": 0,
643
+ "default": null,
644
+ "generated": null,
645
+ "identity": null,
646
+ "name": "eligibility_fingerprint",
647
+ "entityType": "columns",
648
+ "schema": "public",
649
+ "table": "warm_pool_runtimes"
650
+ },
651
+ {
652
+ "type": "text",
653
+ "typeSchema": null,
654
+ "notNull": true,
655
+ "dimensions": 0,
656
+ "default": null,
657
+ "generated": null,
658
+ "identity": null,
659
+ "name": "state",
660
+ "entityType": "columns",
661
+ "schema": "public",
662
+ "table": "warm_pool_runtimes"
663
+ },
664
+ {
665
+ "type": "jsonb",
666
+ "typeSchema": null,
667
+ "notNull": false,
668
+ "dimensions": 0,
669
+ "default": null,
670
+ "generated": null,
671
+ "identity": null,
672
+ "name": "provider_ref",
673
+ "entityType": "columns",
674
+ "schema": "public",
675
+ "table": "warm_pool_runtimes"
676
+ },
677
+ {
678
+ "type": "bytea",
679
+ "typeSchema": null,
680
+ "notNull": false,
681
+ "dimensions": 0,
682
+ "default": null,
683
+ "generated": null,
684
+ "identity": null,
685
+ "name": "enrollment_digest",
686
+ "entityType": "columns",
687
+ "schema": "public",
688
+ "table": "warm_pool_runtimes"
689
+ },
690
+ {
691
+ "type": "timestamp with time zone",
692
+ "typeSchema": null,
693
+ "notNull": false,
694
+ "dimensions": 0,
695
+ "default": null,
696
+ "generated": null,
697
+ "identity": null,
698
+ "name": "enrollment_expires_at",
699
+ "entityType": "columns",
700
+ "schema": "public",
701
+ "table": "warm_pool_runtimes"
702
+ },
703
+ {
704
+ "type": "uuid",
705
+ "typeSchema": null,
706
+ "notNull": false,
707
+ "dimensions": 0,
708
+ "default": null,
709
+ "generated": null,
710
+ "identity": null,
711
+ "name": "workspace_id",
712
+ "entityType": "columns",
713
+ "schema": "public",
714
+ "table": "warm_pool_runtimes"
715
+ },
716
+ {
717
+ "type": "timestamp with time zone",
718
+ "typeSchema": null,
719
+ "notNull": true,
720
+ "dimensions": 0,
721
+ "default": null,
722
+ "generated": null,
723
+ "identity": null,
724
+ "name": "created_at",
725
+ "entityType": "columns",
726
+ "schema": "public",
727
+ "table": "warm_pool_runtimes"
728
+ },
729
+ {
730
+ "type": "timestamp with time zone",
731
+ "typeSchema": null,
732
+ "notNull": true,
733
+ "dimensions": 0,
734
+ "default": null,
735
+ "generated": null,
736
+ "identity": null,
737
+ "name": "updated_at",
738
+ "entityType": "columns",
739
+ "schema": "public",
740
+ "table": "warm_pool_runtimes"
741
+ },
742
+ {
743
+ "type": "timestamp with time zone",
744
+ "typeSchema": null,
745
+ "notNull": false,
746
+ "dimensions": 0,
747
+ "default": null,
748
+ "generated": null,
749
+ "identity": null,
750
+ "name": "ready_at",
751
+ "entityType": "columns",
752
+ "schema": "public",
753
+ "table": "warm_pool_runtimes"
754
+ },
755
+ {
756
+ "type": "timestamp with time zone",
757
+ "typeSchema": null,
758
+ "notNull": false,
759
+ "dimensions": 0,
760
+ "default": null,
761
+ "generated": null,
762
+ "identity": null,
763
+ "name": "leased_at",
764
+ "entityType": "columns",
765
+ "schema": "public",
766
+ "table": "warm_pool_runtimes"
767
+ },
768
+ {
769
+ "type": "text",
770
+ "typeSchema": null,
771
+ "notNull": false,
772
+ "dimensions": 0,
773
+ "default": null,
774
+ "generated": null,
775
+ "identity": null,
776
+ "name": "failure_code",
777
+ "entityType": "columns",
778
+ "schema": "public",
779
+ "table": "warm_pool_runtimes"
780
+ },
781
+ {
782
+ "type": "uuid",
783
+ "typeSchema": null,
784
+ "notNull": true,
785
+ "dimensions": 0,
786
+ "default": null,
787
+ "generated": null,
788
+ "identity": null,
789
+ "name": "id",
790
+ "entityType": "columns",
791
+ "schema": "public",
792
+ "table": "workspace_checkpoints"
793
+ },
794
+ {
795
+ "type": "uuid",
796
+ "typeSchema": null,
797
+ "notNull": true,
798
+ "dimensions": 0,
799
+ "default": null,
800
+ "generated": null,
801
+ "identity": null,
802
+ "name": "workspace_id",
803
+ "entityType": "columns",
804
+ "schema": "public",
805
+ "table": "workspace_checkpoints"
806
+ },
807
+ {
808
+ "type": "uuid",
809
+ "typeSchema": null,
810
+ "notNull": true,
811
+ "dimensions": 0,
812
+ "default": null,
813
+ "generated": null,
814
+ "identity": null,
815
+ "name": "principal_id",
816
+ "entityType": "columns",
817
+ "schema": "public",
818
+ "table": "workspace_checkpoints"
819
+ },
820
+ {
821
+ "type": "uuid",
822
+ "typeSchema": null,
823
+ "notNull": true,
824
+ "dimensions": 0,
825
+ "default": null,
826
+ "generated": null,
827
+ "identity": null,
828
+ "name": "storage_id",
829
+ "entityType": "columns",
830
+ "schema": "public",
831
+ "table": "workspace_checkpoints"
832
+ },
833
+ {
834
+ "type": "uuid",
835
+ "typeSchema": null,
836
+ "notNull": false,
837
+ "dimensions": 0,
838
+ "default": null,
839
+ "generated": null,
840
+ "identity": null,
841
+ "name": "parent_checkpoint_id",
842
+ "entityType": "columns",
843
+ "schema": "public",
844
+ "table": "workspace_checkpoints"
845
+ },
846
+ {
847
+ "type": "text",
848
+ "typeSchema": null,
849
+ "notNull": true,
850
+ "dimensions": 0,
851
+ "default": null,
852
+ "generated": null,
853
+ "identity": null,
854
+ "name": "state",
855
+ "entityType": "columns",
856
+ "schema": "public",
857
+ "table": "workspace_checkpoints"
858
+ },
859
+ {
860
+ "type": "text",
861
+ "typeSchema": null,
862
+ "notNull": false,
863
+ "dimensions": 0,
864
+ "default": null,
865
+ "generated": null,
866
+ "identity": null,
867
+ "name": "reason_code",
868
+ "entityType": "columns",
869
+ "schema": "public",
870
+ "table": "workspace_checkpoints"
871
+ },
872
+ {
873
+ "type": "text",
874
+ "typeSchema": null,
875
+ "notNull": true,
876
+ "dimensions": 0,
877
+ "default": null,
878
+ "generated": null,
879
+ "identity": null,
880
+ "name": "provider_kind",
881
+ "entityType": "columns",
882
+ "schema": "public",
883
+ "table": "workspace_checkpoints"
884
+ },
885
+ {
886
+ "type": "jsonb",
887
+ "typeSchema": null,
888
+ "notNull": false,
889
+ "dimensions": 0,
890
+ "default": null,
891
+ "generated": null,
892
+ "identity": null,
893
+ "name": "provider_ref",
894
+ "entityType": "columns",
895
+ "schema": "public",
896
+ "table": "workspace_checkpoints"
897
+ },
898
+ {
899
+ "type": "jsonb",
900
+ "typeSchema": null,
901
+ "notNull": true,
902
+ "dimensions": 0,
903
+ "default": null,
904
+ "generated": null,
905
+ "identity": null,
906
+ "name": "template_snapshot",
907
+ "entityType": "columns",
908
+ "schema": "public",
909
+ "table": "workspace_checkpoints"
910
+ },
911
+ {
912
+ "type": "text",
913
+ "typeSchema": null,
914
+ "notNull": true,
915
+ "dimensions": 0,
916
+ "default": null,
917
+ "generated": null,
918
+ "identity": null,
919
+ "name": "template_digest",
920
+ "entityType": "columns",
921
+ "schema": "public",
922
+ "table": "workspace_checkpoints"
923
+ },
924
+ {
925
+ "type": "jsonb",
926
+ "typeSchema": null,
927
+ "notNull": false,
928
+ "dimensions": 0,
929
+ "default": null,
930
+ "generated": null,
931
+ "identity": null,
932
+ "name": "source_provenance",
933
+ "entityType": "columns",
934
+ "schema": "public",
935
+ "table": "workspace_checkpoints"
936
+ },
937
+ {
938
+ "type": "jsonb",
939
+ "typeSchema": null,
940
+ "notNull": false,
941
+ "dimensions": 0,
942
+ "default": null,
943
+ "generated": null,
944
+ "identity": null,
945
+ "name": "manifest",
946
+ "entityType": "columns",
947
+ "schema": "public",
948
+ "table": "workspace_checkpoints"
949
+ },
950
+ {
951
+ "type": "text",
952
+ "typeSchema": null,
953
+ "notNull": false,
954
+ "dimensions": 0,
955
+ "default": null,
956
+ "generated": null,
957
+ "identity": null,
958
+ "name": "manifest_digest",
959
+ "entityType": "columns",
960
+ "schema": "public",
961
+ "table": "workspace_checkpoints"
962
+ },
963
+ {
964
+ "type": "bigint",
965
+ "typeSchema": null,
966
+ "notNull": false,
967
+ "dimensions": 0,
968
+ "default": null,
969
+ "generated": null,
970
+ "identity": null,
971
+ "name": "logical_bytes",
972
+ "entityType": "columns",
973
+ "schema": "public",
974
+ "table": "workspace_checkpoints"
975
+ },
976
+ {
977
+ "type": "bigint",
978
+ "typeSchema": null,
979
+ "notNull": false,
980
+ "dimensions": 0,
981
+ "default": null,
982
+ "generated": null,
983
+ "identity": null,
984
+ "name": "stored_bytes",
985
+ "entityType": "columns",
986
+ "schema": "public",
987
+ "table": "workspace_checkpoints"
988
+ },
989
+ {
990
+ "type": "bigint",
991
+ "typeSchema": null,
992
+ "notNull": false,
993
+ "dimensions": 0,
994
+ "default": null,
995
+ "generated": null,
996
+ "identity": null,
997
+ "name": "file_count",
998
+ "entityType": "columns",
999
+ "schema": "public",
1000
+ "table": "workspace_checkpoints"
1001
+ },
1002
+ {
1003
+ "type": "text",
1004
+ "typeSchema": null,
1005
+ "notNull": true,
1006
+ "dimensions": 0,
1007
+ "default": null,
1008
+ "generated": null,
1009
+ "identity": null,
1010
+ "name": "conversation_restore",
1011
+ "entityType": "columns",
1012
+ "schema": "public",
1013
+ "table": "workspace_checkpoints"
1014
+ },
1015
+ {
1016
+ "type": "text",
1017
+ "typeSchema": null,
1018
+ "notNull": false,
1019
+ "dimensions": 0,
1020
+ "default": null,
1021
+ "generated": null,
1022
+ "identity": null,
1023
+ "name": "label",
1024
+ "entityType": "columns",
1025
+ "schema": "public",
1026
+ "table": "workspace_checkpoints"
1027
+ },
1028
+ {
1029
+ "type": "timestamp with time zone",
1030
+ "typeSchema": null,
1031
+ "notNull": true,
1032
+ "dimensions": 0,
1033
+ "default": null,
1034
+ "generated": null,
1035
+ "identity": null,
1036
+ "name": "created_at",
1037
+ "entityType": "columns",
1038
+ "schema": "public",
1039
+ "table": "workspace_checkpoints"
1040
+ },
1041
+ {
1042
+ "type": "timestamp with time zone",
1043
+ "typeSchema": null,
1044
+ "notNull": true,
1045
+ "dimensions": 0,
1046
+ "default": null,
1047
+ "generated": null,
1048
+ "identity": null,
1049
+ "name": "updated_at",
1050
+ "entityType": "columns",
1051
+ "schema": "public",
1052
+ "table": "workspace_checkpoints"
1053
+ },
1054
+ {
1055
+ "type": "timestamp with time zone",
1056
+ "typeSchema": null,
1057
+ "notNull": false,
1058
+ "dimensions": 0,
1059
+ "default": null,
1060
+ "generated": null,
1061
+ "identity": null,
1062
+ "name": "ready_at",
1063
+ "entityType": "columns",
1064
+ "schema": "public",
1065
+ "table": "workspace_checkpoints"
1066
+ },
1067
+ {
1068
+ "type": "timestamp with time zone",
1069
+ "typeSchema": null,
1070
+ "notNull": false,
1071
+ "dimensions": 0,
1072
+ "default": null,
1073
+ "generated": null,
1074
+ "identity": null,
1075
+ "name": "expires_at",
1076
+ "entityType": "columns",
1077
+ "schema": "public",
1078
+ "table": "workspace_checkpoints"
1079
+ },
1080
+ {
1081
+ "type": "timestamp with time zone",
1082
+ "typeSchema": null,
1083
+ "notNull": false,
1084
+ "dimensions": 0,
1085
+ "default": null,
1086
+ "generated": null,
1087
+ "identity": null,
1088
+ "name": "deleted_at",
1089
+ "entityType": "columns",
1090
+ "schema": "public",
1091
+ "table": "workspace_checkpoints"
1092
+ },
1093
+ {
1094
+ "type": "uuid",
1095
+ "typeSchema": null,
1096
+ "notNull": true,
1097
+ "dimensions": 0,
1098
+ "default": null,
1099
+ "generated": null,
1100
+ "identity": null,
1101
+ "name": "workspace_id",
1102
+ "entityType": "columns",
1103
+ "schema": "public",
1104
+ "table": "workspace_conversation_messages"
1105
+ },
1106
+ {
1107
+ "type": "bigint",
1108
+ "typeSchema": null,
1109
+ "notNull": true,
1110
+ "dimensions": 0,
1111
+ "default": null,
1112
+ "generated": null,
1113
+ "identity": null,
1114
+ "name": "seq",
1115
+ "entityType": "columns",
1116
+ "schema": "public",
1117
+ "table": "workspace_conversation_messages"
1118
+ },
1119
+ {
1120
+ "type": "text",
1121
+ "typeSchema": null,
1122
+ "notNull": true,
1123
+ "dimensions": 0,
1124
+ "default": null,
1125
+ "generated": null,
1126
+ "identity": null,
1127
+ "name": "message_id",
1128
+ "entityType": "columns",
1129
+ "schema": "public",
1130
+ "table": "workspace_conversation_messages"
1131
+ },
1132
+ {
1133
+ "type": "text",
1134
+ "typeSchema": null,
1135
+ "notNull": true,
1136
+ "dimensions": 0,
1137
+ "default": null,
1138
+ "generated": null,
1139
+ "identity": null,
1140
+ "name": "role",
1141
+ "entityType": "columns",
1142
+ "schema": "public",
1143
+ "table": "workspace_conversation_messages"
1144
+ },
1145
+ {
1146
+ "type": "text",
1147
+ "typeSchema": null,
1148
+ "notNull": true,
1149
+ "dimensions": 0,
1150
+ "default": null,
1151
+ "generated": null,
1152
+ "identity": null,
1153
+ "name": "content",
1154
+ "entityType": "columns",
1155
+ "schema": "public",
1156
+ "table": "workspace_conversation_messages"
1157
+ },
1158
+ {
1159
+ "type": "timestamp with time zone",
1160
+ "typeSchema": null,
1161
+ "notNull": true,
1162
+ "dimensions": 0,
1163
+ "default": null,
1164
+ "generated": null,
1165
+ "identity": null,
1166
+ "name": "occurred_at",
1167
+ "entityType": "columns",
1168
+ "schema": "public",
1169
+ "table": "workspace_conversation_messages"
1170
+ },
1171
+ {
1172
+ "type": "jsonb",
1173
+ "typeSchema": null,
1174
+ "notNull": true,
1175
+ "dimensions": 0,
1176
+ "default": "'{}'",
1177
+ "generated": null,
1178
+ "identity": null,
1179
+ "name": "metadata",
1180
+ "entityType": "columns",
1181
+ "schema": "public",
1182
+ "table": "workspace_conversation_messages"
1183
+ },
1184
+ {
1185
+ "type": "timestamp with time zone",
1186
+ "typeSchema": null,
1187
+ "notNull": true,
1188
+ "dimensions": 0,
1189
+ "default": null,
1190
+ "generated": null,
1191
+ "identity": null,
1192
+ "name": "created_at",
1193
+ "entityType": "columns",
1194
+ "schema": "public",
1195
+ "table": "workspace_conversation_messages"
1196
+ },
1197
+ {
1198
+ "type": "uuid",
1199
+ "typeSchema": null,
1200
+ "notNull": true,
1201
+ "dimensions": 0,
1202
+ "default": null,
1203
+ "generated": null,
1204
+ "identity": null,
1205
+ "name": "workspace_id",
1206
+ "entityType": "columns",
1207
+ "schema": "public",
1208
+ "table": "workspace_conversations"
1209
+ },
1210
+ {
1211
+ "type": "text",
1212
+ "typeSchema": null,
1213
+ "notNull": true,
1214
+ "dimensions": 0,
1215
+ "default": null,
1216
+ "generated": null,
1217
+ "identity": null,
1218
+ "name": "status",
1219
+ "entityType": "columns",
1220
+ "schema": "public",
1221
+ "table": "workspace_conversations"
1222
+ },
1223
+ {
1224
+ "type": "timestamp with time zone",
1225
+ "typeSchema": null,
1226
+ "notNull": false,
1227
+ "dimensions": 0,
1228
+ "default": null,
1229
+ "generated": null,
1230
+ "identity": null,
1231
+ "name": "expires_at",
1232
+ "entityType": "columns",
1233
+ "schema": "public",
1234
+ "table": "workspace_conversations"
1235
+ },
1236
+ {
1237
+ "type": "timestamp with time zone",
1238
+ "typeSchema": null,
1239
+ "notNull": false,
1240
+ "dimensions": 0,
1241
+ "default": null,
1242
+ "generated": null,
1243
+ "identity": null,
1244
+ "name": "deleted_at",
1245
+ "entityType": "columns",
1246
+ "schema": "public",
1247
+ "table": "workspace_conversations"
1248
+ },
1249
+ {
1250
+ "type": "timestamp with time zone",
1251
+ "typeSchema": null,
1252
+ "notNull": true,
1253
+ "dimensions": 0,
1254
+ "default": null,
1255
+ "generated": null,
1256
+ "identity": null,
1257
+ "name": "updated_at",
1258
+ "entityType": "columns",
1259
+ "schema": "public",
1260
+ "table": "workspace_conversations"
1261
+ },
1262
+ {
1263
+ "type": "uuid",
1264
+ "typeSchema": null,
1265
+ "notNull": true,
1266
+ "dimensions": 0,
1267
+ "default": null,
1268
+ "generated": null,
1269
+ "identity": null,
1270
+ "name": "workspace_id",
1271
+ "entityType": "columns",
1272
+ "schema": "public",
1273
+ "table": "workspace_logs"
1274
+ },
1275
+ {
1276
+ "type": "bigint",
1277
+ "typeSchema": null,
1278
+ "notNull": true,
1279
+ "dimensions": 0,
1280
+ "default": null,
1281
+ "generated": null,
1282
+ "identity": null,
1283
+ "name": "seq",
1284
+ "entityType": "columns",
1285
+ "schema": "public",
1286
+ "table": "workspace_logs"
1287
+ },
1288
+ {
1289
+ "type": "text",
1290
+ "typeSchema": null,
1291
+ "notNull": true,
1292
+ "dimensions": 0,
1293
+ "default": null,
1294
+ "generated": null,
1295
+ "identity": null,
1296
+ "name": "stream",
1297
+ "entityType": "columns",
1298
+ "schema": "public",
1299
+ "table": "workspace_logs"
1300
+ },
1301
+ {
1302
+ "type": "timestamp with time zone",
1303
+ "typeSchema": null,
1304
+ "notNull": true,
1305
+ "dimensions": 0,
1306
+ "default": null,
1307
+ "generated": null,
1308
+ "identity": null,
1309
+ "name": "occurred_at",
1310
+ "entityType": "columns",
1311
+ "schema": "public",
1312
+ "table": "workspace_logs"
1313
+ },
1314
+ {
1315
+ "type": "bytea",
1316
+ "typeSchema": null,
1317
+ "notNull": true,
1318
+ "dimensions": 0,
1319
+ "default": null,
1320
+ "generated": null,
1321
+ "identity": null,
1322
+ "name": "content",
1323
+ "entityType": "columns",
1324
+ "schema": "public",
1325
+ "table": "workspace_logs"
1326
+ },
1327
+ {
1328
+ "type": "uuid",
1329
+ "typeSchema": null,
1330
+ "notNull": true,
1331
+ "dimensions": 0,
1332
+ "default": null,
1333
+ "generated": null,
1334
+ "identity": null,
1335
+ "name": "workspace_id",
1336
+ "entityType": "columns",
1337
+ "schema": "public",
1338
+ "table": "workspace_network_events"
1339
+ },
1340
+ {
1341
+ "type": "bigint",
1342
+ "typeSchema": null,
1343
+ "notNull": true,
1344
+ "dimensions": 0,
1345
+ "default": null,
1346
+ "generated": null,
1347
+ "identity": null,
1348
+ "name": "seq",
1349
+ "entityType": "columns",
1350
+ "schema": "public",
1351
+ "table": "workspace_network_events"
1352
+ },
1353
+ {
1354
+ "type": "uuid",
1355
+ "typeSchema": null,
1356
+ "notNull": true,
1357
+ "dimensions": 0,
1358
+ "default": null,
1359
+ "generated": null,
1360
+ "identity": null,
1361
+ "name": "source_session_id",
1362
+ "entityType": "columns",
1363
+ "schema": "public",
1364
+ "table": "workspace_network_events"
1365
+ },
1366
+ {
1367
+ "type": "bigint",
1368
+ "typeSchema": null,
1369
+ "notNull": true,
1370
+ "dimensions": 0,
1371
+ "default": null,
1372
+ "generated": null,
1373
+ "identity": null,
1374
+ "name": "source_seq",
1375
+ "entityType": "columns",
1376
+ "schema": "public",
1377
+ "table": "workspace_network_events"
1378
+ },
1379
+ {
1380
+ "type": "timestamp with time zone",
1381
+ "typeSchema": null,
1382
+ "notNull": true,
1383
+ "dimensions": 0,
1384
+ "default": null,
1385
+ "generated": null,
1386
+ "identity": null,
1387
+ "name": "occurred_at",
1388
+ "entityType": "columns",
1389
+ "schema": "public",
1390
+ "table": "workspace_network_events"
1391
+ },
1392
+ {
1393
+ "type": "text",
1394
+ "typeSchema": null,
1395
+ "notNull": true,
1396
+ "dimensions": 0,
1397
+ "default": null,
1398
+ "generated": null,
1399
+ "identity": null,
1400
+ "name": "decision",
1401
+ "entityType": "columns",
1402
+ "schema": "public",
1403
+ "table": "workspace_network_events"
1404
+ },
1405
+ {
1406
+ "type": "text",
1407
+ "typeSchema": null,
1408
+ "notNull": true,
1409
+ "dimensions": 0,
1410
+ "default": null,
1411
+ "generated": null,
1412
+ "identity": null,
1413
+ "name": "transport",
1414
+ "entityType": "columns",
1415
+ "schema": "public",
1416
+ "table": "workspace_network_events"
1417
+ },
1418
+ {
1419
+ "type": "text",
1420
+ "typeSchema": null,
1421
+ "notNull": true,
1422
+ "dimensions": 0,
1423
+ "default": null,
1424
+ "generated": null,
1425
+ "identity": null,
1426
+ "name": "host",
1427
+ "entityType": "columns",
1428
+ "schema": "public",
1429
+ "table": "workspace_network_events"
1430
+ },
1431
+ {
1432
+ "type": "integer",
1433
+ "typeSchema": null,
1434
+ "notNull": true,
1435
+ "dimensions": 0,
1436
+ "default": null,
1437
+ "generated": null,
1438
+ "identity": null,
1439
+ "name": "port",
1440
+ "entityType": "columns",
1441
+ "schema": "public",
1442
+ "table": "workspace_network_events"
1443
+ },
1444
+ {
1445
+ "type": "text",
1446
+ "typeSchema": null,
1447
+ "notNull": false,
1448
+ "dimensions": 0,
1449
+ "default": null,
1450
+ "generated": null,
1451
+ "identity": null,
1452
+ "name": "method",
1453
+ "entityType": "columns",
1454
+ "schema": "public",
1455
+ "table": "workspace_network_events"
1456
+ },
1457
+ {
1458
+ "type": "text",
1459
+ "typeSchema": null,
1460
+ "notNull": false,
1461
+ "dimensions": 0,
1462
+ "default": null,
1463
+ "generated": null,
1464
+ "identity": null,
1465
+ "name": "path",
1466
+ "entityType": "columns",
1467
+ "schema": "public",
1468
+ "table": "workspace_network_events"
1469
+ },
1470
+ {
1471
+ "type": "text",
1472
+ "typeSchema": null,
1473
+ "notNull": false,
1474
+ "dimensions": 0,
1475
+ "default": null,
1476
+ "generated": null,
1477
+ "identity": null,
1478
+ "name": "matched_rule",
1479
+ "entityType": "columns",
1480
+ "schema": "public",
1481
+ "table": "workspace_network_events"
1482
+ },
1483
+ {
1484
+ "type": "text",
1485
+ "typeSchema": null,
1486
+ "notNull": true,
1487
+ "dimensions": 0,
1488
+ "default": null,
1489
+ "generated": null,
1490
+ "identity": null,
1491
+ "name": "reason",
1492
+ "entityType": "columns",
1493
+ "schema": "public",
1494
+ "table": "workspace_network_events"
1495
+ },
1496
+ {
1497
+ "type": "uuid",
1498
+ "typeSchema": null,
1499
+ "notNull": true,
1500
+ "dimensions": 0,
1501
+ "default": null,
1502
+ "generated": null,
1503
+ "identity": null,
1504
+ "name": "id",
1505
+ "entityType": "columns",
1506
+ "schema": "public",
1507
+ "table": "workspace_operations"
1508
+ },
1509
+ {
1510
+ "type": "uuid",
1511
+ "typeSchema": null,
1512
+ "notNull": true,
1513
+ "dimensions": 0,
1514
+ "default": null,
1515
+ "generated": null,
1516
+ "identity": null,
1517
+ "name": "principal_id",
1518
+ "entityType": "columns",
1519
+ "schema": "public",
1520
+ "table": "workspace_operations"
1521
+ },
1522
+ {
1523
+ "type": "text",
1524
+ "typeSchema": null,
1525
+ "notNull": true,
1526
+ "dimensions": 0,
1527
+ "default": null,
1528
+ "generated": null,
1529
+ "identity": null,
1530
+ "name": "kind",
1531
+ "entityType": "columns",
1532
+ "schema": "public",
1533
+ "table": "workspace_operations"
1534
+ },
1535
+ {
1536
+ "type": "text",
1537
+ "typeSchema": null,
1538
+ "notNull": true,
1539
+ "dimensions": 0,
1540
+ "default": null,
1541
+ "generated": null,
1542
+ "identity": null,
1543
+ "name": "state",
1544
+ "entityType": "columns",
1545
+ "schema": "public",
1546
+ "table": "workspace_operations"
1547
+ },
1548
+ {
1549
+ "type": "text",
1550
+ "typeSchema": null,
1551
+ "notNull": true,
1552
+ "dimensions": 0,
1553
+ "default": null,
1554
+ "generated": null,
1555
+ "identity": null,
1556
+ "name": "idempotency_key",
1557
+ "entityType": "columns",
1558
+ "schema": "public",
1559
+ "table": "workspace_operations"
1560
+ },
1561
+ {
1562
+ "type": "text",
1563
+ "typeSchema": null,
1564
+ "notNull": true,
1565
+ "dimensions": 0,
1566
+ "default": null,
1567
+ "generated": null,
1568
+ "identity": null,
1569
+ "name": "request_digest",
1570
+ "entityType": "columns",
1571
+ "schema": "public",
1572
+ "table": "workspace_operations"
1573
+ },
1574
+ {
1575
+ "type": "uuid",
1576
+ "typeSchema": null,
1577
+ "notNull": false,
1578
+ "dimensions": 0,
1579
+ "default": null,
1580
+ "generated": null,
1581
+ "identity": null,
1582
+ "name": "workspace_id",
1583
+ "entityType": "columns",
1584
+ "schema": "public",
1585
+ "table": "workspace_operations"
1586
+ },
1587
+ {
1588
+ "type": "uuid",
1589
+ "typeSchema": null,
1590
+ "notNull": false,
1591
+ "dimensions": 0,
1592
+ "default": null,
1593
+ "generated": null,
1594
+ "identity": null,
1595
+ "name": "checkpoint_id",
1596
+ "entityType": "columns",
1597
+ "schema": "public",
1598
+ "table": "workspace_operations"
1599
+ },
1600
+ {
1601
+ "type": "uuid",
1602
+ "typeSchema": null,
1603
+ "notNull": false,
1604
+ "dimensions": 0,
1605
+ "default": null,
1606
+ "generated": null,
1607
+ "identity": null,
1608
+ "name": "result_workspace_id",
1609
+ "entityType": "columns",
1610
+ "schema": "public",
1611
+ "table": "workspace_operations"
1612
+ },
1613
+ {
1614
+ "type": "text",
1615
+ "typeSchema": null,
1616
+ "notNull": false,
1617
+ "dimensions": 0,
1618
+ "default": null,
1619
+ "generated": null,
1620
+ "identity": null,
1621
+ "name": "reason_code",
1622
+ "entityType": "columns",
1623
+ "schema": "public",
1624
+ "table": "workspace_operations"
1625
+ },
1626
+ {
1627
+ "type": "integer",
1628
+ "typeSchema": null,
1629
+ "notNull": true,
1630
+ "dimensions": 0,
1631
+ "default": "0",
1632
+ "generated": null,
1633
+ "identity": null,
1634
+ "name": "attempt_count",
1635
+ "entityType": "columns",
1636
+ "schema": "public",
1637
+ "table": "workspace_operations"
1638
+ },
1639
+ {
1640
+ "type": "timestamp with time zone",
1641
+ "typeSchema": null,
1642
+ "notNull": true,
1643
+ "dimensions": 0,
1644
+ "default": null,
1645
+ "generated": null,
1646
+ "identity": null,
1647
+ "name": "created_at",
1648
+ "entityType": "columns",
1649
+ "schema": "public",
1650
+ "table": "workspace_operations"
1651
+ },
1652
+ {
1653
+ "type": "timestamp with time zone",
1654
+ "typeSchema": null,
1655
+ "notNull": true,
1656
+ "dimensions": 0,
1657
+ "default": null,
1658
+ "generated": null,
1659
+ "identity": null,
1660
+ "name": "updated_at",
1661
+ "entityType": "columns",
1662
+ "schema": "public",
1663
+ "table": "workspace_operations"
1664
+ },
1665
+ {
1666
+ "type": "timestamp with time zone",
1667
+ "typeSchema": null,
1668
+ "notNull": false,
1669
+ "dimensions": 0,
1670
+ "default": null,
1671
+ "generated": null,
1672
+ "identity": null,
1673
+ "name": "completed_at",
1674
+ "entityType": "columns",
1675
+ "schema": "public",
1676
+ "table": "workspace_operations"
1677
+ },
1678
+ {
1679
+ "type": "uuid",
1680
+ "typeSchema": null,
1681
+ "notNull": true,
1682
+ "dimensions": 0,
1683
+ "default": null,
1684
+ "generated": null,
1685
+ "identity": null,
1686
+ "name": "workspace_id",
1687
+ "entityType": "columns",
1688
+ "schema": "public",
1689
+ "table": "workspace_outputs"
1690
+ },
1691
+ {
1692
+ "type": "bigint",
1693
+ "typeSchema": null,
1694
+ "notNull": true,
1695
+ "dimensions": 0,
1696
+ "default": null,
1697
+ "generated": null,
1698
+ "identity": null,
1699
+ "name": "seq",
1700
+ "entityType": "columns",
1701
+ "schema": "public",
1702
+ "table": "workspace_outputs"
1703
+ },
1704
+ {
1705
+ "type": "text",
1706
+ "typeSchema": null,
1707
+ "notNull": true,
1708
+ "dimensions": 0,
1709
+ "default": null,
1710
+ "generated": null,
1711
+ "identity": null,
1712
+ "name": "name",
1713
+ "entityType": "columns",
1714
+ "schema": "public",
1715
+ "table": "workspace_outputs"
1716
+ },
1717
+ {
1718
+ "type": "jsonb",
1719
+ "typeSchema": null,
1720
+ "notNull": true,
1721
+ "dimensions": 0,
1722
+ "default": null,
1723
+ "generated": null,
1724
+ "identity": null,
1725
+ "name": "value",
1726
+ "entityType": "columns",
1727
+ "schema": "public",
1728
+ "table": "workspace_outputs"
1729
+ },
1730
+ {
1731
+ "type": "timestamp with time zone",
1732
+ "typeSchema": null,
1733
+ "notNull": true,
1734
+ "dimensions": 0,
1735
+ "default": null,
1736
+ "generated": null,
1737
+ "identity": null,
1738
+ "name": "occurred_at",
1739
+ "entityType": "columns",
1740
+ "schema": "public",
1741
+ "table": "workspace_outputs"
1742
+ },
1743
+ {
1744
+ "type": "uuid",
1745
+ "typeSchema": null,
1746
+ "notNull": true,
1747
+ "dimensions": 0,
1748
+ "default": null,
1749
+ "generated": null,
1750
+ "identity": null,
1751
+ "name": "id",
1752
+ "entityType": "columns",
1753
+ "schema": "public",
1754
+ "table": "workspace_state_history"
1755
+ },
1756
+ {
1757
+ "type": "uuid",
1758
+ "typeSchema": null,
1759
+ "notNull": true,
1760
+ "dimensions": 0,
1761
+ "default": null,
1762
+ "generated": null,
1763
+ "identity": null,
1764
+ "name": "workspace_id",
1765
+ "entityType": "columns",
1766
+ "schema": "public",
1767
+ "table": "workspace_state_history"
1768
+ },
1769
+ {
1770
+ "type": "text",
1771
+ "typeSchema": null,
1772
+ "notNull": false,
1773
+ "dimensions": 0,
1774
+ "default": null,
1775
+ "generated": null,
1776
+ "identity": null,
1777
+ "name": "from_state",
1778
+ "entityType": "columns",
1779
+ "schema": "public",
1780
+ "table": "workspace_state_history"
1781
+ },
1782
+ {
1783
+ "type": "text",
1784
+ "typeSchema": null,
1785
+ "notNull": true,
1786
+ "dimensions": 0,
1787
+ "default": null,
1788
+ "generated": null,
1789
+ "identity": null,
1790
+ "name": "to_state",
1791
+ "entityType": "columns",
1792
+ "schema": "public",
1793
+ "table": "workspace_state_history"
1794
+ },
1795
+ {
1796
+ "type": "text",
1797
+ "typeSchema": null,
1798
+ "notNull": false,
1799
+ "dimensions": 0,
1800
+ "default": null,
1801
+ "generated": null,
1802
+ "identity": null,
1803
+ "name": "reason_code",
1804
+ "entityType": "columns",
1805
+ "schema": "public",
1806
+ "table": "workspace_state_history"
1807
+ },
1808
+ {
1809
+ "type": "timestamp with time zone",
1810
+ "typeSchema": null,
1811
+ "notNull": true,
1812
+ "dimensions": 0,
1813
+ "default": null,
1814
+ "generated": null,
1815
+ "identity": null,
1816
+ "name": "occurred_at",
1817
+ "entityType": "columns",
1818
+ "schema": "public",
1819
+ "table": "workspace_state_history"
1820
+ },
1821
+ {
1822
+ "type": "uuid",
1823
+ "typeSchema": null,
1824
+ "notNull": true,
1825
+ "dimensions": 0,
1826
+ "default": null,
1827
+ "generated": null,
1828
+ "identity": null,
1829
+ "name": "id",
1830
+ "entityType": "columns",
1831
+ "schema": "public",
1832
+ "table": "workspace_storage"
1833
+ },
1834
+ {
1835
+ "type": "uuid",
1836
+ "typeSchema": null,
1837
+ "notNull": true,
1838
+ "dimensions": 0,
1839
+ "default": null,
1840
+ "generated": null,
1841
+ "identity": null,
1842
+ "name": "workspace_id",
1843
+ "entityType": "columns",
1844
+ "schema": "public",
1845
+ "table": "workspace_storage"
1846
+ },
1847
+ {
1848
+ "type": "uuid",
1849
+ "typeSchema": null,
1850
+ "notNull": true,
1851
+ "dimensions": 0,
1852
+ "default": null,
1853
+ "generated": null,
1854
+ "identity": null,
1855
+ "name": "principal_id",
1856
+ "entityType": "columns",
1857
+ "schema": "public",
1858
+ "table": "workspace_storage"
1859
+ },
1860
+ {
1861
+ "type": "text",
1862
+ "typeSchema": null,
1863
+ "notNull": true,
1864
+ "dimensions": 0,
1865
+ "default": null,
1866
+ "generated": null,
1867
+ "identity": null,
1868
+ "name": "provider_kind",
1869
+ "entityType": "columns",
1870
+ "schema": "public",
1871
+ "table": "workspace_storage"
1872
+ },
1873
+ {
1874
+ "type": "jsonb",
1875
+ "typeSchema": null,
1876
+ "notNull": true,
1877
+ "dimensions": 0,
1878
+ "default": null,
1879
+ "generated": null,
1880
+ "identity": null,
1881
+ "name": "provider_ref",
1882
+ "entityType": "columns",
1883
+ "schema": "public",
1884
+ "table": "workspace_storage"
1885
+ },
1886
+ {
1887
+ "type": "text",
1888
+ "typeSchema": null,
1889
+ "notNull": true,
1890
+ "dimensions": 0,
1891
+ "default": null,
1892
+ "generated": null,
1893
+ "identity": null,
1894
+ "name": "state",
1895
+ "entityType": "columns",
1896
+ "schema": "public",
1897
+ "table": "workspace_storage"
1898
+ },
1899
+ {
1900
+ "type": "jsonb",
1901
+ "typeSchema": null,
1902
+ "notNull": true,
1903
+ "dimensions": 0,
1904
+ "default": null,
1905
+ "generated": null,
1906
+ "identity": null,
1907
+ "name": "mount_manifest",
1908
+ "entityType": "columns",
1909
+ "schema": "public",
1910
+ "table": "workspace_storage"
1911
+ },
1912
+ {
1913
+ "type": "bigint",
1914
+ "typeSchema": null,
1915
+ "notNull": false,
1916
+ "dimensions": 0,
1917
+ "default": null,
1918
+ "generated": null,
1919
+ "identity": null,
1920
+ "name": "logical_bytes",
1921
+ "entityType": "columns",
1922
+ "schema": "public",
1923
+ "table": "workspace_storage"
1924
+ },
1925
+ {
1926
+ "type": "bigint",
1927
+ "typeSchema": null,
1928
+ "notNull": false,
1929
+ "dimensions": 0,
1930
+ "default": null,
1931
+ "generated": null,
1932
+ "identity": null,
1933
+ "name": "file_count",
1934
+ "entityType": "columns",
1935
+ "schema": "public",
1936
+ "table": "workspace_storage"
1937
+ },
1938
+ {
1939
+ "type": "timestamp with time zone",
1940
+ "typeSchema": null,
1941
+ "notNull": false,
1942
+ "dimensions": 0,
1943
+ "default": null,
1944
+ "generated": null,
1945
+ "identity": null,
1946
+ "name": "retained_until",
1947
+ "entityType": "columns",
1948
+ "schema": "public",
1949
+ "table": "workspace_storage"
1950
+ },
1951
+ {
1952
+ "type": "timestamp with time zone",
1953
+ "typeSchema": null,
1954
+ "notNull": true,
1955
+ "dimensions": 0,
1956
+ "default": null,
1957
+ "generated": null,
1958
+ "identity": null,
1959
+ "name": "created_at",
1960
+ "entityType": "columns",
1961
+ "schema": "public",
1962
+ "table": "workspace_storage"
1963
+ },
1964
+ {
1965
+ "type": "timestamp with time zone",
1966
+ "typeSchema": null,
1967
+ "notNull": true,
1968
+ "dimensions": 0,
1969
+ "default": null,
1970
+ "generated": null,
1971
+ "identity": null,
1972
+ "name": "updated_at",
1973
+ "entityType": "columns",
1974
+ "schema": "public",
1975
+ "table": "workspace_storage"
1976
+ },
1977
+ {
1978
+ "type": "timestamp with time zone",
1979
+ "typeSchema": null,
1980
+ "notNull": false,
1981
+ "dimensions": 0,
1982
+ "default": null,
1983
+ "generated": null,
1984
+ "identity": null,
1985
+ "name": "deleted_at",
1986
+ "entityType": "columns",
1987
+ "schema": "public",
1988
+ "table": "workspace_storage"
1989
+ },
1990
+ {
1991
+ "type": "text",
1992
+ "typeSchema": null,
1993
+ "notNull": false,
1994
+ "dimensions": 0,
1995
+ "default": null,
1996
+ "generated": null,
1997
+ "identity": null,
1998
+ "name": "last_error_code",
1999
+ "entityType": "columns",
2000
+ "schema": "public",
2001
+ "table": "workspace_storage"
2002
+ },
2003
+ {
2004
+ "type": "uuid",
2005
+ "typeSchema": null,
2006
+ "notNull": true,
2007
+ "dimensions": 0,
2008
+ "default": null,
2009
+ "generated": null,
2010
+ "identity": null,
2011
+ "name": "session_id",
2012
+ "entityType": "columns",
2013
+ "schema": "public",
2014
+ "table": "workspace_terminal_sessions"
2015
+ },
2016
+ {
2017
+ "type": "uuid",
2018
+ "typeSchema": null,
2019
+ "notNull": true,
2020
+ "dimensions": 0,
2021
+ "default": null,
2022
+ "generated": null,
2023
+ "identity": null,
2024
+ "name": "workspace_id",
2025
+ "entityType": "columns",
2026
+ "schema": "public",
2027
+ "table": "workspace_terminal_sessions"
2028
+ },
2029
+ {
2030
+ "type": "uuid",
2031
+ "typeSchema": null,
2032
+ "notNull": true,
2033
+ "dimensions": 0,
2034
+ "default": null,
2035
+ "generated": null,
2036
+ "identity": null,
2037
+ "name": "key_id",
2038
+ "entityType": "columns",
2039
+ "schema": "public",
2040
+ "table": "workspace_terminal_sessions"
2041
+ },
2042
+ {
2043
+ "type": "timestamp with time zone",
2044
+ "typeSchema": null,
2045
+ "notNull": true,
2046
+ "dimensions": 0,
2047
+ "default": null,
2048
+ "generated": null,
2049
+ "identity": null,
2050
+ "name": "opened_at",
2051
+ "entityType": "columns",
2052
+ "schema": "public",
2053
+ "table": "workspace_terminal_sessions"
2054
+ },
2055
+ {
2056
+ "type": "timestamp with time zone",
2057
+ "typeSchema": null,
2058
+ "notNull": false,
2059
+ "dimensions": 0,
2060
+ "default": null,
2061
+ "generated": null,
2062
+ "identity": null,
2063
+ "name": "closed_at",
2064
+ "entityType": "columns",
2065
+ "schema": "public",
2066
+ "table": "workspace_terminal_sessions"
2067
+ },
2068
+ {
2069
+ "type": "text",
2070
+ "typeSchema": null,
2071
+ "notNull": false,
2072
+ "dimensions": 0,
2073
+ "default": null,
2074
+ "generated": null,
2075
+ "identity": null,
2076
+ "name": "close_reason",
2077
+ "entityType": "columns",
2078
+ "schema": "public",
2079
+ "table": "workspace_terminal_sessions"
2080
+ },
2081
+ {
2082
+ "type": "integer",
2083
+ "typeSchema": null,
2084
+ "notNull": false,
2085
+ "dimensions": 0,
2086
+ "default": null,
2087
+ "generated": null,
2088
+ "identity": null,
2089
+ "name": "exit_code",
2090
+ "entityType": "columns",
2091
+ "schema": "public",
2092
+ "table": "workspace_terminal_sessions"
2093
+ },
2094
+ {
2095
+ "type": "bigint",
2096
+ "typeSchema": null,
2097
+ "notNull": true,
2098
+ "dimensions": 0,
2099
+ "default": "0",
2100
+ "generated": null,
2101
+ "identity": null,
2102
+ "name": "bytes_in",
2103
+ "entityType": "columns",
2104
+ "schema": "public",
2105
+ "table": "workspace_terminal_sessions"
2106
+ },
2107
+ {
2108
+ "type": "bigint",
2109
+ "typeSchema": null,
2110
+ "notNull": true,
2111
+ "dimensions": 0,
2112
+ "default": "0",
2113
+ "generated": null,
2114
+ "identity": null,
2115
+ "name": "bytes_out",
2116
+ "entityType": "columns",
2117
+ "schema": "public",
2118
+ "table": "workspace_terminal_sessions"
2119
+ },
2120
+ {
2121
+ "type": "uuid",
2122
+ "typeSchema": null,
2123
+ "notNull": true,
2124
+ "dimensions": 0,
2125
+ "default": null,
2126
+ "generated": null,
2127
+ "identity": null,
2128
+ "name": "id",
2129
+ "entityType": "columns",
2130
+ "schema": "public",
2131
+ "table": "workspaces"
2132
+ },
2133
+ {
2134
+ "type": "uuid",
2135
+ "typeSchema": null,
2136
+ "notNull": true,
2137
+ "dimensions": 0,
2138
+ "default": null,
2139
+ "generated": null,
2140
+ "identity": null,
2141
+ "name": "principal_id",
2142
+ "entityType": "columns",
2143
+ "schema": "public",
2144
+ "table": "workspaces"
2145
+ },
2146
+ {
2147
+ "type": "text",
2148
+ "typeSchema": null,
2149
+ "notNull": true,
2150
+ "dimensions": 0,
2151
+ "default": null,
2152
+ "generated": null,
2153
+ "identity": null,
2154
+ "name": "external_id",
2155
+ "entityType": "columns",
2156
+ "schema": "public",
2157
+ "table": "workspaces"
2158
+ },
2159
+ {
2160
+ "type": "text",
2161
+ "typeSchema": null,
2162
+ "notNull": true,
2163
+ "dimensions": 0,
2164
+ "default": null,
2165
+ "generated": null,
2166
+ "identity": null,
2167
+ "name": "idempotency_key",
2168
+ "entityType": "columns",
2169
+ "schema": "public",
2170
+ "table": "workspaces"
2171
+ },
2172
+ {
2173
+ "type": "text",
2174
+ "typeSchema": null,
2175
+ "notNull": true,
2176
+ "dimensions": 0,
2177
+ "default": null,
2178
+ "generated": null,
2179
+ "identity": null,
2180
+ "name": "request_digest",
2181
+ "entityType": "columns",
2182
+ "schema": "public",
2183
+ "table": "workspaces"
2184
+ },
2185
+ {
2186
+ "type": "uuid",
2187
+ "typeSchema": null,
2188
+ "notNull": true,
2189
+ "dimensions": 0,
2190
+ "default": null,
2191
+ "generated": null,
2192
+ "identity": null,
2193
+ "name": "template_id",
2194
+ "entityType": "columns",
2195
+ "schema": "public",
2196
+ "table": "workspaces"
2197
+ },
2198
+ {
2199
+ "type": "text",
2200
+ "typeSchema": null,
2201
+ "notNull": true,
2202
+ "dimensions": 0,
2203
+ "default": null,
2204
+ "generated": null,
2205
+ "identity": null,
2206
+ "name": "template_name",
2207
+ "entityType": "columns",
2208
+ "schema": "public",
2209
+ "table": "workspaces"
2210
+ },
2211
+ {
2212
+ "type": "text",
2213
+ "typeSchema": null,
2214
+ "notNull": true,
2215
+ "dimensions": 0,
2216
+ "default": null,
2217
+ "generated": null,
2218
+ "identity": null,
2219
+ "name": "template_version",
2220
+ "entityType": "columns",
2221
+ "schema": "public",
2222
+ "table": "workspaces"
2223
+ },
2224
+ {
2225
+ "type": "text",
2226
+ "typeSchema": null,
2227
+ "notNull": true,
2228
+ "dimensions": 0,
2229
+ "default": null,
2230
+ "generated": null,
2231
+ "identity": null,
2232
+ "name": "template_digest",
2233
+ "entityType": "columns",
2234
+ "schema": "public",
2235
+ "table": "workspaces"
2236
+ },
2237
+ {
2238
+ "type": "jsonb",
2239
+ "typeSchema": null,
2240
+ "notNull": true,
2241
+ "dimensions": 0,
2242
+ "default": null,
2243
+ "generated": null,
2244
+ "identity": null,
2245
+ "name": "template_snapshot",
2246
+ "entityType": "columns",
2247
+ "schema": "public",
2248
+ "table": "workspaces"
2249
+ },
2250
+ {
2251
+ "type": "text",
2252
+ "typeSchema": null,
2253
+ "notNull": true,
2254
+ "dimensions": 0,
2255
+ "default": null,
2256
+ "generated": null,
2257
+ "identity": null,
2258
+ "name": "state",
2259
+ "entityType": "columns",
2260
+ "schema": "public",
2261
+ "table": "workspaces"
2262
+ },
2263
+ {
2264
+ "type": "text",
2265
+ "typeSchema": null,
2266
+ "notNull": false,
2267
+ "dimensions": 0,
2268
+ "default": null,
2269
+ "generated": null,
2270
+ "identity": null,
2271
+ "name": "reason_code",
2272
+ "entityType": "columns",
2273
+ "schema": "public",
2274
+ "table": "workspaces"
2275
+ },
2276
+ {
2277
+ "type": "text",
2278
+ "typeSchema": null,
2279
+ "notNull": true,
2280
+ "dimensions": 0,
2281
+ "default": "'unknown'",
2282
+ "generated": null,
2283
+ "identity": null,
2284
+ "name": "agent_state",
2285
+ "entityType": "columns",
2286
+ "schema": "public",
2287
+ "table": "workspaces"
2288
+ },
2289
+ {
2290
+ "type": "text",
2291
+ "typeSchema": null,
2292
+ "notNull": true,
2293
+ "dimensions": 0,
2294
+ "default": "'disabled'",
2295
+ "generated": null,
2296
+ "identity": null,
2297
+ "name": "network_state",
2298
+ "entityType": "columns",
2299
+ "schema": "public",
2300
+ "table": "workspaces"
2301
+ },
2302
+ {
2303
+ "type": "bigint",
2304
+ "typeSchema": null,
2305
+ "notNull": true,
2306
+ "dimensions": 0,
2307
+ "default": "0",
2308
+ "generated": null,
2309
+ "identity": null,
2310
+ "name": "network_event_seq",
2311
+ "entityType": "columns",
2312
+ "schema": "public",
2313
+ "table": "workspaces"
2314
+ },
2315
+ {
2316
+ "type": "bigint",
2317
+ "typeSchema": null,
2318
+ "notNull": true,
2319
+ "dimensions": 0,
2320
+ "default": "1",
2321
+ "generated": null,
2322
+ "identity": null,
2323
+ "name": "change_seq",
2324
+ "entityType": "columns",
2325
+ "schema": "public",
2326
+ "table": "workspaces"
2327
+ },
2328
+ {
2329
+ "type": "text",
2330
+ "typeSchema": null,
2331
+ "notNull": false,
2332
+ "dimensions": 0,
2333
+ "default": null,
2334
+ "generated": null,
2335
+ "identity": null,
2336
+ "name": "failure_log_tail",
2337
+ "entityType": "columns",
2338
+ "schema": "public",
2339
+ "table": "workspaces"
2340
+ },
2341
+ {
2342
+ "type": "boolean",
2343
+ "typeSchema": null,
2344
+ "notNull": true,
2345
+ "dimensions": 0,
2346
+ "default": "false",
2347
+ "generated": null,
2348
+ "identity": null,
2349
+ "name": "failure_log_tail_truncated",
2350
+ "entityType": "columns",
2351
+ "schema": "public",
2352
+ "table": "workspaces"
2353
+ },
2354
+ {
2355
+ "type": "bigint",
2356
+ "typeSchema": null,
2357
+ "notNull": false,
2358
+ "dimensions": 0,
2359
+ "default": null,
2360
+ "generated": null,
2361
+ "identity": null,
2362
+ "name": "failure_last_log_seq",
2363
+ "entityType": "columns",
2364
+ "schema": "public",
2365
+ "table": "workspaces"
2366
+ },
2367
+ {
2368
+ "type": "text",
2369
+ "typeSchema": null,
2370
+ "notNull": false,
2371
+ "dimensions": 0,
2372
+ "default": null,
2373
+ "generated": null,
2374
+ "identity": null,
2375
+ "name": "terminal_intent",
2376
+ "entityType": "columns",
2377
+ "schema": "public",
2378
+ "table": "workspaces"
2379
+ },
2380
+ {
2381
+ "type": "jsonb",
2382
+ "typeSchema": null,
2383
+ "notNull": false,
2384
+ "dimensions": 0,
2385
+ "default": null,
2386
+ "generated": null,
2387
+ "identity": null,
2388
+ "name": "launch_input",
2389
+ "entityType": "columns",
2390
+ "schema": "public",
2391
+ "table": "workspaces"
2392
+ },
2393
+ {
2394
+ "type": "text",
2395
+ "typeSchema": null,
2396
+ "notNull": false,
2397
+ "dimensions": 0,
2398
+ "default": null,
2399
+ "generated": null,
2400
+ "identity": null,
2401
+ "name": "provider_kind",
2402
+ "entityType": "columns",
2403
+ "schema": "public",
2404
+ "table": "workspaces"
2405
+ },
2406
+ {
2407
+ "type": "jsonb",
2408
+ "typeSchema": null,
2409
+ "notNull": false,
2410
+ "dimensions": 0,
2411
+ "default": null,
2412
+ "generated": null,
2413
+ "identity": null,
2414
+ "name": "provider_ref",
2415
+ "entityType": "columns",
2416
+ "schema": "public",
2417
+ "table": "workspaces"
2418
+ },
2419
+ {
2420
+ "type": "text",
2421
+ "typeSchema": null,
2422
+ "notNull": false,
2423
+ "dimensions": 0,
2424
+ "default": null,
2425
+ "generated": null,
2426
+ "identity": null,
2427
+ "name": "provisioning_mode",
2428
+ "entityType": "columns",
2429
+ "schema": "public",
2430
+ "table": "workspaces"
2431
+ },
2432
+ {
2433
+ "type": "bytea",
2434
+ "typeSchema": null,
2435
+ "notNull": false,
2436
+ "dimensions": 0,
2437
+ "default": null,
2438
+ "generated": null,
2439
+ "identity": null,
2440
+ "name": "registration_digest",
2441
+ "entityType": "columns",
2442
+ "schema": "public",
2443
+ "table": "workspaces"
2444
+ },
2445
+ {
2446
+ "type": "timestamp with time zone",
2447
+ "typeSchema": null,
2448
+ "notNull": false,
2449
+ "dimensions": 0,
2450
+ "default": null,
2451
+ "generated": null,
2452
+ "identity": null,
2453
+ "name": "registration_expires_at",
2454
+ "entityType": "columns",
2455
+ "schema": "public",
2456
+ "table": "workspaces"
2457
+ },
2458
+ {
2459
+ "type": "bytea",
2460
+ "typeSchema": null,
2461
+ "notNull": false,
2462
+ "dimensions": 0,
2463
+ "default": null,
2464
+ "generated": null,
2465
+ "identity": null,
2466
+ "name": "reconnect_digest",
2467
+ "entityType": "columns",
2468
+ "schema": "public",
2469
+ "table": "workspaces"
2470
+ },
2471
+ {
2472
+ "type": "integer",
2473
+ "typeSchema": null,
2474
+ "notNull": true,
2475
+ "dimensions": 0,
2476
+ "default": "0",
2477
+ "generated": null,
2478
+ "identity": null,
2479
+ "name": "connection_epoch",
2480
+ "entityType": "columns",
2481
+ "schema": "public",
2482
+ "table": "workspaces"
2483
+ },
2484
+ {
2485
+ "type": "timestamp with time zone",
2486
+ "typeSchema": null,
2487
+ "notNull": false,
2488
+ "dimensions": 0,
2489
+ "default": null,
2490
+ "generated": null,
2491
+ "identity": null,
2492
+ "name": "connected_at",
2493
+ "entityType": "columns",
2494
+ "schema": "public",
2495
+ "table": "workspaces"
2496
+ },
2497
+ {
2498
+ "type": "timestamp with time zone",
2499
+ "typeSchema": null,
2500
+ "notNull": false,
2501
+ "dimensions": 0,
2502
+ "default": null,
2503
+ "generated": null,
2504
+ "identity": null,
2505
+ "name": "disconnected_at",
2506
+ "entityType": "columns",
2507
+ "schema": "public",
2508
+ "table": "workspaces"
2509
+ },
2510
+ {
2511
+ "type": "timestamp with time zone",
2512
+ "typeSchema": null,
2513
+ "notNull": false,
2514
+ "dimensions": 0,
2515
+ "default": null,
2516
+ "generated": null,
2517
+ "identity": null,
2518
+ "name": "ready_at",
2519
+ "entityType": "columns",
2520
+ "schema": "public",
2521
+ "table": "workspaces"
2522
+ },
2523
+ {
2524
+ "type": "timestamp with time zone",
2525
+ "typeSchema": null,
2526
+ "notNull": false,
2527
+ "dimensions": 0,
2528
+ "default": null,
2529
+ "generated": null,
2530
+ "identity": null,
2531
+ "name": "last_activity_at",
2532
+ "entityType": "columns",
2533
+ "schema": "public",
2534
+ "table": "workspaces"
2535
+ },
2536
+ {
2537
+ "type": "integer",
2538
+ "typeSchema": null,
2539
+ "notNull": true,
2540
+ "dimensions": 0,
2541
+ "default": "0",
2542
+ "generated": null,
2543
+ "identity": null,
2544
+ "name": "launch_attempts",
2545
+ "entityType": "columns",
2546
+ "schema": "public",
2547
+ "table": "workspaces"
2548
+ },
2549
+ {
2550
+ "type": "jsonb",
2551
+ "typeSchema": null,
2552
+ "notNull": true,
2553
+ "dimensions": 0,
2554
+ "default": "'{}'",
2555
+ "generated": null,
2556
+ "identity": null,
2557
+ "name": "health",
2558
+ "entityType": "columns",
2559
+ "schema": "public",
2560
+ "table": "workspaces"
2561
+ },
2562
+ {
2563
+ "type": "jsonb",
2564
+ "typeSchema": null,
2565
+ "notNull": true,
2566
+ "dimensions": 0,
2567
+ "default": "'{}'",
2568
+ "generated": null,
2569
+ "identity": null,
2570
+ "name": "metadata",
2571
+ "entityType": "columns",
2572
+ "schema": "public",
2573
+ "table": "workspaces"
2574
+ },
2575
+ {
2576
+ "type": "timestamp with time zone",
2577
+ "typeSchema": null,
2578
+ "notNull": true,
2579
+ "dimensions": 0,
2580
+ "default": null,
2581
+ "generated": null,
2582
+ "identity": null,
2583
+ "name": "deadline_at",
2584
+ "entityType": "columns",
2585
+ "schema": "public",
2586
+ "table": "workspaces"
2587
+ },
2588
+ {
2589
+ "type": "timestamp with time zone",
2590
+ "typeSchema": null,
2591
+ "notNull": true,
2592
+ "dimensions": 0,
2593
+ "default": null,
2594
+ "generated": null,
2595
+ "identity": null,
2596
+ "name": "created_at",
2597
+ "entityType": "columns",
2598
+ "schema": "public",
2599
+ "table": "workspaces"
2600
+ },
2601
+ {
2602
+ "type": "timestamp with time zone",
2603
+ "typeSchema": null,
2604
+ "notNull": true,
2605
+ "dimensions": 0,
2606
+ "default": null,
2607
+ "generated": null,
2608
+ "identity": null,
2609
+ "name": "updated_at",
2610
+ "entityType": "columns",
2611
+ "schema": "public",
2612
+ "table": "workspaces"
2613
+ },
2614
+ {
2615
+ "type": "timestamp with time zone",
2616
+ "typeSchema": null,
2617
+ "notNull": false,
2618
+ "dimensions": 0,
2619
+ "default": null,
2620
+ "generated": null,
2621
+ "identity": null,
2622
+ "name": "terminal_at",
2623
+ "entityType": "columns",
2624
+ "schema": "public",
2625
+ "table": "workspaces"
2626
+ },
2627
+ {
2628
+ "type": "timestamp with time zone",
2629
+ "typeSchema": null,
2630
+ "notNull": false,
2631
+ "dimensions": 0,
2632
+ "default": null,
2633
+ "generated": null,
2634
+ "identity": null,
2635
+ "name": "purge_requested_at",
2636
+ "entityType": "columns",
2637
+ "schema": "public",
2638
+ "table": "workspaces"
2639
+ },
2640
+ {
2641
+ "type": "uuid",
2642
+ "typeSchema": null,
2643
+ "notNull": false,
2644
+ "dimensions": 0,
2645
+ "default": null,
2646
+ "generated": null,
2647
+ "identity": null,
2648
+ "name": "origin_workspace_id",
2649
+ "entityType": "columns",
2650
+ "schema": "public",
2651
+ "table": "workspaces"
2652
+ },
2653
+ {
2654
+ "type": "uuid",
2655
+ "typeSchema": null,
2656
+ "notNull": false,
2657
+ "dimensions": 0,
2658
+ "default": null,
2659
+ "generated": null,
2660
+ "identity": null,
2661
+ "name": "restored_from_checkpoint_id",
2662
+ "entityType": "columns",
2663
+ "schema": "public",
2664
+ "table": "workspaces"
2665
+ },
2666
+ {
2667
+ "type": "jsonb",
2668
+ "typeSchema": null,
2669
+ "notNull": false,
2670
+ "dimensions": 0,
2671
+ "default": null,
2672
+ "generated": null,
2673
+ "identity": null,
2674
+ "name": "source_descriptor",
2675
+ "entityType": "columns",
2676
+ "schema": "public",
2677
+ "table": "workspaces"
2678
+ },
2679
+ {
2680
+ "type": "jsonb",
2681
+ "typeSchema": null,
2682
+ "notNull": false,
2683
+ "dimensions": 0,
2684
+ "default": null,
2685
+ "generated": null,
2686
+ "identity": null,
2687
+ "name": "resolved_source",
2688
+ "entityType": "columns",
2689
+ "schema": "public",
2690
+ "table": "workspaces"
2691
+ },
2692
+ {
2693
+ "type": "text",
2694
+ "typeSchema": null,
2695
+ "notNull": true,
2696
+ "dimensions": 0,
2697
+ "default": "'filesystem_only'",
2698
+ "generated": null,
2699
+ "identity": null,
2700
+ "name": "persistence_capability",
2701
+ "entityType": "columns",
2702
+ "schema": "public",
2703
+ "table": "workspaces"
2704
+ },
2705
+ {
2706
+ "type": "uuid",
2707
+ "typeSchema": null,
2708
+ "notNull": false,
2709
+ "dimensions": 0,
2710
+ "default": null,
2711
+ "generated": null,
2712
+ "identity": null,
2713
+ "name": "latest_checkpoint_id",
2714
+ "entityType": "columns",
2715
+ "schema": "public",
2716
+ "table": "workspaces"
2717
+ },
2718
+ {
2719
+ "type": "text",
2720
+ "typeSchema": null,
2721
+ "notNull": true,
2722
+ "dimensions": 0,
2723
+ "default": "'create'",
2724
+ "generated": null,
2725
+ "identity": null,
2726
+ "name": "launch_mode",
2727
+ "entityType": "columns",
2728
+ "schema": "public",
2729
+ "table": "workspaces"
2730
+ },
2731
+ {
2732
+ "type": "jsonb",
2733
+ "typeSchema": null,
2734
+ "notNull": true,
2735
+ "dimensions": 0,
2736
+ "default": "'{}'",
2737
+ "generated": null,
2738
+ "identity": null,
2739
+ "name": "outputs",
2740
+ "entityType": "columns",
2741
+ "schema": "public",
2742
+ "table": "workspaces"
2743
+ },
2744
+ {
2745
+ "nameExplicit": true,
2746
+ "columns": [
2747
+ {
2748
+ "value": "next_attempt_at",
2749
+ "isExpression": false,
2750
+ "asc": true,
2751
+ "nullsFirst": false,
2752
+ "opclass": null
2753
+ }
2754
+ ],
2755
+ "isUnique": false,
2756
+ "where": "\"delivered_at\" IS NULL",
2757
+ "with": "",
2758
+ "method": "btree",
2759
+ "concurrently": false,
2760
+ "name": "event_outbox_due",
2761
+ "entityType": "indexes",
2762
+ "schema": "public",
2763
+ "table": "event_outbox"
2764
+ },
2765
+ {
2766
+ "nameExplicit": true,
2767
+ "columns": [
2768
+ {
2769
+ "value": "template_digest",
2770
+ "isExpression": false,
2771
+ "asc": true,
2772
+ "nullsFirst": false,
2773
+ "opclass": null
2774
+ },
2775
+ {
2776
+ "value": "driver_kind",
2777
+ "isExpression": false,
2778
+ "asc": true,
2779
+ "nullsFirst": false,
2780
+ "opclass": null
2781
+ },
2782
+ {
2783
+ "value": "eligibility_fingerprint",
2784
+ "isExpression": false,
2785
+ "asc": true,
2786
+ "nullsFirst": false,
2787
+ "opclass": null
2788
+ },
2789
+ {
2790
+ "value": "state",
2791
+ "isExpression": false,
2792
+ "asc": true,
2793
+ "nullsFirst": false,
2794
+ "opclass": null
2795
+ },
2796
+ {
2797
+ "value": "ready_at",
2798
+ "isExpression": false,
2799
+ "asc": true,
2800
+ "nullsFirst": false,
2801
+ "opclass": null
2802
+ }
2803
+ ],
2804
+ "isUnique": false,
2805
+ "where": null,
2806
+ "with": "",
2807
+ "method": "btree",
2808
+ "concurrently": false,
2809
+ "name": "warm_pool_eligible",
2810
+ "entityType": "indexes",
2811
+ "schema": "public",
2812
+ "table": "warm_pool_runtimes"
2813
+ },
2814
+ {
2815
+ "nameExplicit": true,
2816
+ "columns": [
2817
+ {
2818
+ "value": "workspace_id",
2819
+ "isExpression": false,
2820
+ "asc": true,
2821
+ "nullsFirst": false,
2822
+ "opclass": null
2823
+ }
2824
+ ],
2825
+ "isUnique": true,
2826
+ "where": null,
2827
+ "with": "",
2828
+ "method": "btree",
2829
+ "concurrently": false,
2830
+ "name": "warm_pool_workspace_once",
2831
+ "entityType": "indexes",
2832
+ "schema": "public",
2833
+ "table": "warm_pool_runtimes"
2834
+ },
2835
+ {
2836
+ "nameExplicit": true,
2837
+ "columns": [
2838
+ {
2839
+ "value": "principal_id",
2840
+ "isExpression": false,
2841
+ "asc": true,
2842
+ "nullsFirst": false,
2843
+ "opclass": null
2844
+ },
2845
+ {
2846
+ "value": "state",
2847
+ "isExpression": false,
2848
+ "asc": true,
2849
+ "nullsFirst": false,
2850
+ "opclass": null
2851
+ },
2852
+ {
2853
+ "value": "created_at",
2854
+ "isExpression": false,
2855
+ "asc": true,
2856
+ "nullsFirst": false,
2857
+ "opclass": null
2858
+ }
2859
+ ],
2860
+ "isUnique": false,
2861
+ "where": null,
2862
+ "with": "",
2863
+ "method": "btree",
2864
+ "concurrently": false,
2865
+ "name": "workspace_checkpoints_principal_state",
2866
+ "entityType": "indexes",
2867
+ "schema": "public",
2868
+ "table": "workspace_checkpoints"
2869
+ },
2870
+ {
2871
+ "nameExplicit": true,
2872
+ "columns": [
2873
+ {
2874
+ "value": "state",
2875
+ "isExpression": false,
2876
+ "asc": true,
2877
+ "nullsFirst": false,
2878
+ "opclass": null
2879
+ },
2880
+ {
2881
+ "value": "expires_at",
2882
+ "isExpression": false,
2883
+ "asc": true,
2884
+ "nullsFirst": false,
2885
+ "opclass": null
2886
+ }
2887
+ ],
2888
+ "isUnique": false,
2889
+ "where": null,
2890
+ "with": "",
2891
+ "method": "btree",
2892
+ "concurrently": false,
2893
+ "name": "workspace_checkpoints_gc",
2894
+ "entityType": "indexes",
2895
+ "schema": "public",
2896
+ "table": "workspace_checkpoints"
2897
+ },
2898
+ {
2899
+ "nameExplicit": true,
2900
+ "columns": [
2901
+ {
2902
+ "value": "workspace_id",
2903
+ "isExpression": false,
2904
+ "asc": true,
2905
+ "nullsFirst": false,
2906
+ "opclass": null
2907
+ },
2908
+ {
2909
+ "value": "seq",
2910
+ "isExpression": false,
2911
+ "asc": true,
2912
+ "nullsFirst": false,
2913
+ "opclass": null
2914
+ }
2915
+ ],
2916
+ "isUnique": false,
2917
+ "where": null,
2918
+ "with": "",
2919
+ "method": "btree",
2920
+ "concurrently": false,
2921
+ "name": "workspace_network_events_page",
2922
+ "entityType": "indexes",
2923
+ "schema": "public",
2924
+ "table": "workspace_network_events"
2925
+ },
2926
+ {
2927
+ "nameExplicit": true,
2928
+ "columns": [
2929
+ {
2930
+ "value": "state",
2931
+ "isExpression": false,
2932
+ "asc": true,
2933
+ "nullsFirst": false,
2934
+ "opclass": null
2935
+ },
2936
+ {
2937
+ "value": "updated_at",
2938
+ "isExpression": false,
2939
+ "asc": true,
2940
+ "nullsFirst": false,
2941
+ "opclass": null
2942
+ }
2943
+ ],
2944
+ "isUnique": false,
2945
+ "where": null,
2946
+ "with": "",
2947
+ "method": "btree",
2948
+ "concurrently": false,
2949
+ "name": "workspace_operations_due",
2950
+ "entityType": "indexes",
2951
+ "schema": "public",
2952
+ "table": "workspace_operations"
2953
+ },
2954
+ {
2955
+ "nameExplicit": true,
2956
+ "columns": [
2957
+ {
2958
+ "value": "workspace_id",
2959
+ "isExpression": false,
2960
+ "asc": true,
2961
+ "nullsFirst": false,
2962
+ "opclass": null
2963
+ },
2964
+ {
2965
+ "value": "occurred_at",
2966
+ "isExpression": false,
2967
+ "asc": true,
2968
+ "nullsFirst": false,
2969
+ "opclass": null
2970
+ }
2971
+ ],
2972
+ "isUnique": false,
2973
+ "where": null,
2974
+ "with": "",
2975
+ "method": "btree",
2976
+ "concurrently": false,
2977
+ "name": "workspace_state_history_ws",
2978
+ "entityType": "indexes",
2979
+ "schema": "public",
2980
+ "table": "workspace_state_history"
2981
+ },
2982
+ {
2983
+ "nameExplicit": true,
2984
+ "columns": [
2985
+ {
2986
+ "value": "workspace_id",
2987
+ "isExpression": false,
2988
+ "asc": true,
2989
+ "nullsFirst": false,
2990
+ "opclass": null
2991
+ }
2992
+ ],
2993
+ "isUnique": true,
2994
+ "where": "\"state\" NOT IN ('deleted', 'lost', 'quarantined')",
2995
+ "with": "",
2996
+ "method": "btree",
2997
+ "concurrently": false,
2998
+ "name": "workspace_storage_one_live",
2999
+ "entityType": "indexes",
3000
+ "schema": "public",
3001
+ "table": "workspace_storage"
3002
+ },
3003
+ {
3004
+ "nameExplicit": true,
3005
+ "columns": [
3006
+ {
3007
+ "value": "state",
3008
+ "isExpression": false,
3009
+ "asc": true,
3010
+ "nullsFirst": false,
3011
+ "opclass": null
3012
+ },
3013
+ {
3014
+ "value": "retained_until",
3015
+ "isExpression": false,
3016
+ "asc": true,
3017
+ "nullsFirst": false,
3018
+ "opclass": null
3019
+ }
3020
+ ],
3021
+ "isUnique": false,
3022
+ "where": null,
3023
+ "with": "",
3024
+ "method": "btree",
3025
+ "concurrently": false,
3026
+ "name": "workspace_storage_gc",
3027
+ "entityType": "indexes",
3028
+ "schema": "public",
3029
+ "table": "workspace_storage"
3030
+ },
3031
+ {
3032
+ "nameExplicit": true,
3033
+ "columns": [
3034
+ {
3035
+ "value": "principal_id",
3036
+ "isExpression": false,
3037
+ "asc": true,
3038
+ "nullsFirst": false,
3039
+ "opclass": null
3040
+ }
3041
+ ],
3042
+ "isUnique": false,
3043
+ "where": null,
3044
+ "with": "",
3045
+ "method": "btree",
3046
+ "concurrently": false,
3047
+ "name": "workspace_storage_principal",
3048
+ "entityType": "indexes",
3049
+ "schema": "public",
3050
+ "table": "workspace_storage"
3051
+ },
3052
+ {
3053
+ "nameExplicit": true,
3054
+ "columns": [
3055
+ {
3056
+ "value": "workspace_id",
3057
+ "isExpression": false,
3058
+ "asc": true,
3059
+ "nullsFirst": false,
3060
+ "opclass": null
3061
+ },
3062
+ {
3063
+ "value": "opened_at",
3064
+ "isExpression": false,
3065
+ "asc": true,
3066
+ "nullsFirst": false,
3067
+ "opclass": null
3068
+ },
3069
+ {
3070
+ "value": "session_id",
3071
+ "isExpression": false,
3072
+ "asc": true,
3073
+ "nullsFirst": false,
3074
+ "opclass": null
3075
+ }
3076
+ ],
3077
+ "isUnique": false,
3078
+ "where": null,
3079
+ "with": "",
3080
+ "method": "btree",
3081
+ "concurrently": false,
3082
+ "name": "workspace_terminal_sessions_page",
3083
+ "entityType": "indexes",
3084
+ "schema": "public",
3085
+ "table": "workspace_terminal_sessions"
3086
+ },
3087
+ {
3088
+ "nameExplicit": true,
3089
+ "columns": [
3090
+ {
3091
+ "value": "principal_id",
3092
+ "isExpression": false,
3093
+ "asc": true,
3094
+ "nullsFirst": false,
3095
+ "opclass": null
3096
+ },
3097
+ {
3098
+ "value": "external_id",
3099
+ "isExpression": false,
3100
+ "asc": true,
3101
+ "nullsFirst": false,
3102
+ "opclass": null
3103
+ }
3104
+ ],
3105
+ "isUnique": true,
3106
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3107
+ "with": "",
3108
+ "method": "btree",
3109
+ "concurrently": false,
3110
+ "name": "workspaces_principal_external_active",
3111
+ "entityType": "indexes",
3112
+ "schema": "public",
3113
+ "table": "workspaces"
3114
+ },
3115
+ {
3116
+ "nameExplicit": true,
3117
+ "columns": [
3118
+ {
3119
+ "value": "state",
3120
+ "isExpression": false,
3121
+ "asc": true,
3122
+ "nullsFirst": false,
3123
+ "opclass": null
3124
+ },
3125
+ {
3126
+ "value": "created_at",
3127
+ "isExpression": false,
3128
+ "asc": true,
3129
+ "nullsFirst": false,
3130
+ "opclass": null
3131
+ }
3132
+ ],
3133
+ "isUnique": false,
3134
+ "where": null,
3135
+ "with": "",
3136
+ "method": "btree",
3137
+ "concurrently": false,
3138
+ "name": "workspaces_state_created",
3139
+ "entityType": "indexes",
3140
+ "schema": "public",
3141
+ "table": "workspaces"
3142
+ },
3143
+ {
3144
+ "nameExplicit": true,
3145
+ "columns": [
3146
+ {
3147
+ "value": "deadline_at",
3148
+ "isExpression": false,
3149
+ "asc": true,
3150
+ "nullsFirst": false,
3151
+ "opclass": null
3152
+ }
3153
+ ],
3154
+ "isUnique": false,
3155
+ "where": "\"state\" NOT IN ('succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3156
+ "with": "",
3157
+ "method": "btree",
3158
+ "concurrently": false,
3159
+ "name": "workspaces_deadline",
3160
+ "entityType": "indexes",
3161
+ "schema": "public",
3162
+ "table": "workspaces"
3163
+ },
3164
+ {
3165
+ "nameExplicit": false,
3166
+ "columns": [
3167
+ "workspace_id"
3168
+ ],
3169
+ "schemaTo": "public",
3170
+ "tableTo": "workspaces",
3171
+ "columnsTo": [
3172
+ "id"
3173
+ ],
3174
+ "onUpdate": "NO ACTION",
3175
+ "onDelete": "NO ACTION",
3176
+ "name": "event_outbox_workspace_id_workspaces_id_fkey",
3177
+ "entityType": "fks",
3178
+ "schema": "public",
3179
+ "table": "event_outbox"
3180
+ },
3181
+ {
3182
+ "nameExplicit": false,
3183
+ "columns": [
3184
+ "principal_id"
3185
+ ],
3186
+ "schemaTo": "public",
3187
+ "tableTo": "principals",
3188
+ "columnsTo": [
3189
+ "id"
3190
+ ],
3191
+ "onUpdate": "NO ACTION",
3192
+ "onDelete": "NO ACTION",
3193
+ "name": "machine_keys_principal_id_principals_id_fkey",
3194
+ "entityType": "fks",
3195
+ "schema": "public",
3196
+ "table": "machine_keys"
3197
+ },
3198
+ {
3199
+ "nameExplicit": false,
3200
+ "columns": [
3201
+ "template_id"
3202
+ ],
3203
+ "schemaTo": "public",
3204
+ "tableTo": "templates",
3205
+ "columnsTo": [
3206
+ "id"
3207
+ ],
3208
+ "onUpdate": "NO ACTION",
3209
+ "onDelete": "NO ACTION",
3210
+ "name": "warm_pool_runtimes_template_id_templates_id_fkey",
3211
+ "entityType": "fks",
3212
+ "schema": "public",
3213
+ "table": "warm_pool_runtimes"
3214
+ },
3215
+ {
3216
+ "nameExplicit": false,
3217
+ "columns": [
3218
+ "workspace_id"
3219
+ ],
3220
+ "schemaTo": "public",
3221
+ "tableTo": "workspaces",
3222
+ "columnsTo": [
3223
+ "id"
3224
+ ],
3225
+ "onUpdate": "NO ACTION",
3226
+ "onDelete": "NO ACTION",
3227
+ "name": "warm_pool_runtimes_workspace_id_workspaces_id_fkey",
3228
+ "entityType": "fks",
3229
+ "schema": "public",
3230
+ "table": "warm_pool_runtimes"
3231
+ },
3232
+ {
3233
+ "nameExplicit": false,
3234
+ "columns": [
3235
+ "workspace_id"
3236
+ ],
3237
+ "schemaTo": "public",
3238
+ "tableTo": "workspaces",
3239
+ "columnsTo": [
3240
+ "id"
3241
+ ],
3242
+ "onUpdate": "NO ACTION",
3243
+ "onDelete": "NO ACTION",
3244
+ "name": "workspace_checkpoints_workspace_id_workspaces_id_fkey",
3245
+ "entityType": "fks",
3246
+ "schema": "public",
3247
+ "table": "workspace_checkpoints"
3248
+ },
3249
+ {
3250
+ "nameExplicit": false,
3251
+ "columns": [
3252
+ "principal_id"
3253
+ ],
3254
+ "schemaTo": "public",
3255
+ "tableTo": "principals",
3256
+ "columnsTo": [
3257
+ "id"
3258
+ ],
3259
+ "onUpdate": "NO ACTION",
3260
+ "onDelete": "NO ACTION",
3261
+ "name": "workspace_checkpoints_principal_id_principals_id_fkey",
3262
+ "entityType": "fks",
3263
+ "schema": "public",
3264
+ "table": "workspace_checkpoints"
3265
+ },
3266
+ {
3267
+ "nameExplicit": false,
3268
+ "columns": [
3269
+ "storage_id"
3270
+ ],
3271
+ "schemaTo": "public",
3272
+ "tableTo": "workspace_storage",
3273
+ "columnsTo": [
3274
+ "id"
3275
+ ],
3276
+ "onUpdate": "NO ACTION",
3277
+ "onDelete": "NO ACTION",
3278
+ "name": "workspace_checkpoints_storage_id_workspace_storage_id_fkey",
3279
+ "entityType": "fks",
3280
+ "schema": "public",
3281
+ "table": "workspace_checkpoints"
3282
+ },
3283
+ {
3284
+ "nameExplicit": false,
3285
+ "columns": [
3286
+ "workspace_id"
3287
+ ],
3288
+ "schemaTo": "public",
3289
+ "tableTo": "workspaces",
3290
+ "columnsTo": [
3291
+ "id"
3292
+ ],
3293
+ "onUpdate": "NO ACTION",
3294
+ "onDelete": "NO ACTION",
3295
+ "name": "workspace_conversation_messages_workspace_id_workspaces_id_fkey",
3296
+ "entityType": "fks",
3297
+ "schema": "public",
3298
+ "table": "workspace_conversation_messages"
3299
+ },
3300
+ {
3301
+ "nameExplicit": false,
3302
+ "columns": [
3303
+ "workspace_id"
3304
+ ],
3305
+ "schemaTo": "public",
3306
+ "tableTo": "workspaces",
3307
+ "columnsTo": [
3308
+ "id"
3309
+ ],
3310
+ "onUpdate": "NO ACTION",
3311
+ "onDelete": "NO ACTION",
3312
+ "name": "workspace_conversations_workspace_id_workspaces_id_fkey",
3313
+ "entityType": "fks",
3314
+ "schema": "public",
3315
+ "table": "workspace_conversations"
3316
+ },
3317
+ {
3318
+ "nameExplicit": false,
3319
+ "columns": [
3320
+ "workspace_id"
3321
+ ],
3322
+ "schemaTo": "public",
3323
+ "tableTo": "workspaces",
3324
+ "columnsTo": [
3325
+ "id"
3326
+ ],
3327
+ "onUpdate": "NO ACTION",
3328
+ "onDelete": "NO ACTION",
3329
+ "name": "workspace_logs_workspace_id_workspaces_id_fkey",
3330
+ "entityType": "fks",
3331
+ "schema": "public",
3332
+ "table": "workspace_logs"
3333
+ },
3334
+ {
3335
+ "nameExplicit": false,
3336
+ "columns": [
3337
+ "workspace_id"
3338
+ ],
3339
+ "schemaTo": "public",
3340
+ "tableTo": "workspaces",
3341
+ "columnsTo": [
3342
+ "id"
3343
+ ],
3344
+ "onUpdate": "NO ACTION",
3345
+ "onDelete": "CASCADE",
3346
+ "name": "workspace_network_events_workspace_id_workspaces_id_fkey",
3347
+ "entityType": "fks",
3348
+ "schema": "public",
3349
+ "table": "workspace_network_events"
3350
+ },
3351
+ {
3352
+ "nameExplicit": false,
3353
+ "columns": [
3354
+ "principal_id"
3355
+ ],
3356
+ "schemaTo": "public",
3357
+ "tableTo": "principals",
3358
+ "columnsTo": [
3359
+ "id"
3360
+ ],
3361
+ "onUpdate": "NO ACTION",
3362
+ "onDelete": "NO ACTION",
3363
+ "name": "workspace_operations_principal_id_principals_id_fkey",
3364
+ "entityType": "fks",
3365
+ "schema": "public",
3366
+ "table": "workspace_operations"
3367
+ },
3368
+ {
3369
+ "nameExplicit": false,
3370
+ "columns": [
3371
+ "workspace_id"
3372
+ ],
3373
+ "schemaTo": "public",
3374
+ "tableTo": "workspaces",
3375
+ "columnsTo": [
3376
+ "id"
3377
+ ],
3378
+ "onUpdate": "NO ACTION",
3379
+ "onDelete": "NO ACTION",
3380
+ "name": "workspace_operations_workspace_id_workspaces_id_fkey",
3381
+ "entityType": "fks",
3382
+ "schema": "public",
3383
+ "table": "workspace_operations"
3384
+ },
3385
+ {
3386
+ "nameExplicit": false,
3387
+ "columns": [
3388
+ "checkpoint_id"
3389
+ ],
3390
+ "schemaTo": "public",
3391
+ "tableTo": "workspace_checkpoints",
3392
+ "columnsTo": [
3393
+ "id"
3394
+ ],
3395
+ "onUpdate": "NO ACTION",
3396
+ "onDelete": "NO ACTION",
3397
+ "name": "workspace_operations_fBJ1lkBRI011_fkey",
3398
+ "entityType": "fks",
3399
+ "schema": "public",
3400
+ "table": "workspace_operations"
3401
+ },
3402
+ {
3403
+ "nameExplicit": false,
3404
+ "columns": [
3405
+ "result_workspace_id"
3406
+ ],
3407
+ "schemaTo": "public",
3408
+ "tableTo": "workspaces",
3409
+ "columnsTo": [
3410
+ "id"
3411
+ ],
3412
+ "onUpdate": "NO ACTION",
3413
+ "onDelete": "NO ACTION",
3414
+ "name": "workspace_operations_result_workspace_id_workspaces_id_fkey",
3415
+ "entityType": "fks",
3416
+ "schema": "public",
3417
+ "table": "workspace_operations"
3418
+ },
3419
+ {
3420
+ "nameExplicit": false,
3421
+ "columns": [
3422
+ "workspace_id"
3423
+ ],
3424
+ "schemaTo": "public",
3425
+ "tableTo": "workspaces",
3426
+ "columnsTo": [
3427
+ "id"
3428
+ ],
3429
+ "onUpdate": "NO ACTION",
3430
+ "onDelete": "NO ACTION",
3431
+ "name": "workspace_outputs_workspace_id_workspaces_id_fkey",
3432
+ "entityType": "fks",
3433
+ "schema": "public",
3434
+ "table": "workspace_outputs"
3435
+ },
3436
+ {
3437
+ "nameExplicit": false,
3438
+ "columns": [
3439
+ "workspace_id"
3440
+ ],
3441
+ "schemaTo": "public",
3442
+ "tableTo": "workspaces",
3443
+ "columnsTo": [
3444
+ "id"
3445
+ ],
3446
+ "onUpdate": "NO ACTION",
3447
+ "onDelete": "NO ACTION",
3448
+ "name": "workspace_state_history_workspace_id_workspaces_id_fkey",
3449
+ "entityType": "fks",
3450
+ "schema": "public",
3451
+ "table": "workspace_state_history"
3452
+ },
3453
+ {
3454
+ "nameExplicit": false,
3455
+ "columns": [
3456
+ "workspace_id"
3457
+ ],
3458
+ "schemaTo": "public",
3459
+ "tableTo": "workspaces",
3460
+ "columnsTo": [
3461
+ "id"
3462
+ ],
3463
+ "onUpdate": "NO ACTION",
3464
+ "onDelete": "NO ACTION",
3465
+ "name": "workspace_storage_workspace_id_workspaces_id_fkey",
3466
+ "entityType": "fks",
3467
+ "schema": "public",
3468
+ "table": "workspace_storage"
3469
+ },
3470
+ {
3471
+ "nameExplicit": false,
3472
+ "columns": [
3473
+ "principal_id"
3474
+ ],
3475
+ "schemaTo": "public",
3476
+ "tableTo": "principals",
3477
+ "columnsTo": [
3478
+ "id"
3479
+ ],
3480
+ "onUpdate": "NO ACTION",
3481
+ "onDelete": "NO ACTION",
3482
+ "name": "workspace_storage_principal_id_principals_id_fkey",
3483
+ "entityType": "fks",
3484
+ "schema": "public",
3485
+ "table": "workspace_storage"
3486
+ },
3487
+ {
3488
+ "nameExplicit": false,
3489
+ "columns": [
3490
+ "workspace_id"
3491
+ ],
3492
+ "schemaTo": "public",
3493
+ "tableTo": "workspaces",
3494
+ "columnsTo": [
3495
+ "id"
3496
+ ],
3497
+ "onUpdate": "NO ACTION",
3498
+ "onDelete": "CASCADE",
3499
+ "name": "workspace_terminal_sessions_workspace_id_workspaces_id_fkey",
3500
+ "entityType": "fks",
3501
+ "schema": "public",
3502
+ "table": "workspace_terminal_sessions"
3503
+ },
3504
+ {
3505
+ "nameExplicit": false,
3506
+ "columns": [
3507
+ "key_id"
3508
+ ],
3509
+ "schemaTo": "public",
3510
+ "tableTo": "machine_keys",
3511
+ "columnsTo": [
3512
+ "id"
3513
+ ],
3514
+ "onUpdate": "NO ACTION",
3515
+ "onDelete": "NO ACTION",
3516
+ "name": "workspace_terminal_sessions_key_id_machine_keys_id_fkey",
3517
+ "entityType": "fks",
3518
+ "schema": "public",
3519
+ "table": "workspace_terminal_sessions"
3520
+ },
3521
+ {
3522
+ "nameExplicit": false,
3523
+ "columns": [
3524
+ "principal_id"
3525
+ ],
3526
+ "schemaTo": "public",
3527
+ "tableTo": "principals",
3528
+ "columnsTo": [
3529
+ "id"
3530
+ ],
3531
+ "onUpdate": "NO ACTION",
3532
+ "onDelete": "NO ACTION",
3533
+ "name": "workspaces_principal_id_principals_id_fkey",
3534
+ "entityType": "fks",
3535
+ "schema": "public",
3536
+ "table": "workspaces"
3537
+ },
3538
+ {
3539
+ "nameExplicit": false,
3540
+ "columns": [
3541
+ "template_id"
3542
+ ],
3543
+ "schemaTo": "public",
3544
+ "tableTo": "templates",
3545
+ "columnsTo": [
3546
+ "id"
3547
+ ],
3548
+ "onUpdate": "NO ACTION",
3549
+ "onDelete": "NO ACTION",
3550
+ "name": "workspaces_template_id_templates_id_fkey",
3551
+ "entityType": "fks",
3552
+ "schema": "public",
3553
+ "table": "workspaces"
3554
+ },
3555
+ {
3556
+ "columns": [
3557
+ "workspace_id",
3558
+ "seq"
3559
+ ],
3560
+ "nameExplicit": false,
3561
+ "name": "workspace_conversation_messages_pkey",
3562
+ "entityType": "pks",
3563
+ "schema": "public",
3564
+ "table": "workspace_conversation_messages"
3565
+ },
3566
+ {
3567
+ "columns": [
3568
+ "workspace_id",
3569
+ "seq"
3570
+ ],
3571
+ "nameExplicit": false,
3572
+ "name": "workspace_logs_pkey",
3573
+ "entityType": "pks",
3574
+ "schema": "public",
3575
+ "table": "workspace_logs"
3576
+ },
3577
+ {
3578
+ "columns": [
3579
+ "workspace_id",
3580
+ "seq"
3581
+ ],
3582
+ "nameExplicit": false,
3583
+ "name": "workspace_network_events_pkey",
3584
+ "entityType": "pks",
3585
+ "schema": "public",
3586
+ "table": "workspace_network_events"
3587
+ },
3588
+ {
3589
+ "columns": [
3590
+ "workspace_id",
3591
+ "seq"
3592
+ ],
3593
+ "nameExplicit": false,
3594
+ "name": "workspace_outputs_pkey",
3595
+ "entityType": "pks",
3596
+ "schema": "public",
3597
+ "table": "workspace_outputs"
3598
+ },
3599
+ {
3600
+ "columns": [
3601
+ "id"
3602
+ ],
3603
+ "nameExplicit": false,
3604
+ "name": "event_outbox_pkey",
3605
+ "schema": "public",
3606
+ "table": "event_outbox",
3607
+ "entityType": "pks"
3608
+ },
3609
+ {
3610
+ "columns": [
3611
+ "id"
3612
+ ],
3613
+ "nameExplicit": false,
3614
+ "name": "machine_keys_pkey",
3615
+ "schema": "public",
3616
+ "table": "machine_keys",
3617
+ "entityType": "pks"
3618
+ },
3619
+ {
3620
+ "columns": [
3621
+ "id"
3622
+ ],
3623
+ "nameExplicit": false,
3624
+ "name": "principals_pkey",
3625
+ "schema": "public",
3626
+ "table": "principals",
3627
+ "entityType": "pks"
3628
+ },
3629
+ {
3630
+ "columns": [
3631
+ "id"
3632
+ ],
3633
+ "nameExplicit": false,
3634
+ "name": "templates_pkey",
3635
+ "schema": "public",
3636
+ "table": "templates",
3637
+ "entityType": "pks"
3638
+ },
3639
+ {
3640
+ "columns": [
3641
+ "id"
3642
+ ],
3643
+ "nameExplicit": false,
3644
+ "name": "warm_pool_runtimes_pkey",
3645
+ "schema": "public",
3646
+ "table": "warm_pool_runtimes",
3647
+ "entityType": "pks"
3648
+ },
3649
+ {
3650
+ "columns": [
3651
+ "id"
3652
+ ],
3653
+ "nameExplicit": false,
3654
+ "name": "workspace_checkpoints_pkey",
3655
+ "schema": "public",
3656
+ "table": "workspace_checkpoints",
3657
+ "entityType": "pks"
3658
+ },
3659
+ {
3660
+ "columns": [
3661
+ "workspace_id"
3662
+ ],
3663
+ "nameExplicit": false,
3664
+ "name": "workspace_conversations_pkey",
3665
+ "schema": "public",
3666
+ "table": "workspace_conversations",
3667
+ "entityType": "pks"
3668
+ },
3669
+ {
3670
+ "columns": [
3671
+ "id"
3672
+ ],
3673
+ "nameExplicit": false,
3674
+ "name": "workspace_operations_pkey",
3675
+ "schema": "public",
3676
+ "table": "workspace_operations",
3677
+ "entityType": "pks"
3678
+ },
3679
+ {
3680
+ "columns": [
3681
+ "id"
3682
+ ],
3683
+ "nameExplicit": false,
3684
+ "name": "workspace_state_history_pkey",
3685
+ "schema": "public",
3686
+ "table": "workspace_state_history",
3687
+ "entityType": "pks"
3688
+ },
3689
+ {
3690
+ "columns": [
3691
+ "id"
3692
+ ],
3693
+ "nameExplicit": false,
3694
+ "name": "workspace_storage_pkey",
3695
+ "schema": "public",
3696
+ "table": "workspace_storage",
3697
+ "entityType": "pks"
3698
+ },
3699
+ {
3700
+ "columns": [
3701
+ "session_id"
3702
+ ],
3703
+ "nameExplicit": false,
3704
+ "name": "workspace_terminal_sessions_pkey",
3705
+ "schema": "public",
3706
+ "table": "workspace_terminal_sessions",
3707
+ "entityType": "pks"
3708
+ },
3709
+ {
3710
+ "columns": [
3711
+ "id"
3712
+ ],
3713
+ "nameExplicit": false,
3714
+ "name": "workspaces_pkey",
3715
+ "schema": "public",
3716
+ "table": "workspaces",
3717
+ "entityType": "pks"
3718
+ },
3719
+ {
3720
+ "nameExplicit": false,
3721
+ "columns": [
3722
+ "principal_id",
3723
+ "issuance_request_id"
3724
+ ],
3725
+ "nullsNotDistinct": false,
3726
+ "name": "machine_keys_principal_id_issuance_request_id_unique",
3727
+ "entityType": "uniques",
3728
+ "schema": "public",
3729
+ "table": "machine_keys"
3730
+ },
3731
+ {
3732
+ "nameExplicit": false,
3733
+ "columns": [
3734
+ "name",
3735
+ "version"
3736
+ ],
3737
+ "nullsNotDistinct": false,
3738
+ "name": "templates_name_version_unique",
3739
+ "entityType": "uniques",
3740
+ "schema": "public",
3741
+ "table": "templates"
3742
+ },
3743
+ {
3744
+ "nameExplicit": false,
3745
+ "columns": [
3746
+ "workspace_id",
3747
+ "message_id"
3748
+ ],
3749
+ "nullsNotDistinct": false,
3750
+ "name": "workspace_conversation_messages_workspace_id_message_id_unique",
3751
+ "entityType": "uniques",
3752
+ "schema": "public",
3753
+ "table": "workspace_conversation_messages"
3754
+ },
3755
+ {
3756
+ "nameExplicit": false,
3757
+ "columns": [
3758
+ "workspace_id",
3759
+ "source_session_id",
3760
+ "source_seq"
3761
+ ],
3762
+ "nullsNotDistinct": false,
3763
+ "name": "workspace_network_events_workspace_id_source_session_id_source_seq_unique",
3764
+ "entityType": "uniques",
3765
+ "schema": "public",
3766
+ "table": "workspace_network_events"
3767
+ },
3768
+ {
3769
+ "nameExplicit": false,
3770
+ "columns": [
3771
+ "principal_id",
3772
+ "kind",
3773
+ "idempotency_key"
3774
+ ],
3775
+ "nullsNotDistinct": false,
3776
+ "name": "workspace_operations_principal_id_kind_idempotency_key_unique",
3777
+ "entityType": "uniques",
3778
+ "schema": "public",
3779
+ "table": "workspace_operations"
3780
+ },
3781
+ {
3782
+ "nameExplicit": false,
3783
+ "columns": [
3784
+ "principal_id",
3785
+ "idempotency_key"
3786
+ ],
3787
+ "nullsNotDistinct": false,
3788
+ "name": "workspaces_principal_id_idempotency_key_unique",
3789
+ "entityType": "uniques",
3790
+ "schema": "public",
3791
+ "table": "workspaces"
3792
+ },
3793
+ {
3794
+ "nameExplicit": false,
3795
+ "columns": [
3796
+ "name"
3797
+ ],
3798
+ "nullsNotDistinct": false,
3799
+ "name": "principals_name_key",
3800
+ "schema": "public",
3801
+ "table": "principals",
3802
+ "entityType": "uniques"
3803
+ },
3804
+ {
3805
+ "nameExplicit": false,
3806
+ "columns": [
3807
+ "digest"
3808
+ ],
3809
+ "nullsNotDistinct": false,
3810
+ "name": "templates_digest_key",
3811
+ "schema": "public",
3812
+ "table": "templates",
3813
+ "entityType": "uniques"
3814
+ },
3815
+ {
3816
+ "value": "\"status\" IN ('active', 'available', 'retired')",
3817
+ "name": "templates_status_check",
3818
+ "entityType": "checks",
3819
+ "schema": "public",
3820
+ "table": "templates"
3821
+ },
3822
+ {
3823
+ "value": "\"state\" IN ('provisioning', 'ready', 'leasing', 'leased', 'draining', 'failed')",
3824
+ "name": "warm_pool_runtimes_state_check",
3825
+ "entityType": "checks",
3826
+ "schema": "public",
3827
+ "table": "warm_pool_runtimes"
3828
+ },
3829
+ {
3830
+ "value": "\"state\" IN ('creating', 'ready', 'failed', 'deleting', 'deleted')",
3831
+ "name": "workspace_checkpoints_state_check",
3832
+ "entityType": "checks",
3833
+ "schema": "public",
3834
+ "table": "workspace_checkpoints"
3835
+ },
3836
+ {
3837
+ "value": "\"conversation_restore\" IN ('supported', 'filesystem_only', 'unknown')",
3838
+ "name": "workspace_checkpoints_conversation_restore_check",
3839
+ "entityType": "checks",
3840
+ "schema": "public",
3841
+ "table": "workspace_checkpoints"
3842
+ },
3843
+ {
3844
+ "value": "\"kind\" IN ('preserve', 'restore', 'verify', 'delete', 'purge')",
3845
+ "name": "workspace_operations_kind_check",
3846
+ "entityType": "checks",
3847
+ "schema": "public",
3848
+ "table": "workspace_operations"
3849
+ },
3850
+ {
3851
+ "value": "\"state\" IN ('pending', 'running', 'succeeded', 'failed')",
3852
+ "name": "workspace_operations_state_check",
3853
+ "entityType": "checks",
3854
+ "schema": "public",
3855
+ "table": "workspace_operations"
3856
+ },
3857
+ {
3858
+ "value": "\"from_state\" IS NULL OR \"from_state\" IN ('queued', 'provisioning', 'connected', 'ready', 'preserving', 'terminating', 'succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3859
+ "name": "workspace_state_history_from_check",
3860
+ "entityType": "checks",
3861
+ "schema": "public",
3862
+ "table": "workspace_state_history"
3863
+ },
3864
+ {
3865
+ "value": "\"to_state\" IN ('queued', 'provisioning', 'connected', 'ready', 'preserving', 'terminating', 'succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3866
+ "name": "workspace_state_history_to_check",
3867
+ "entityType": "checks",
3868
+ "schema": "public",
3869
+ "table": "workspace_state_history"
3870
+ },
3871
+ {
3872
+ "value": "\"reason_code\" IS NULL OR \"reason_code\" IN ('child_exit_success', 'child_exit_failure', 'setup_failed', 'bootstrap_failed', 'registration_timeout', 'health_failed', 'child_crash', 'provider_lost', 'disconnect_timeout', 'canceled_by_caller', 'deadline_expired', 'idle_expired', 'queue_timeout', 'launch_failed', 'preserve_requested', 'preserved_by_policy', 'checkpoint_created', 'checkpoint_failed', 'checkpoint_corrupt', 'checkpoint_quota_exceeded', 'checkpoint_storage_lost', 'restore_requested', 'restore_failed', 'image_unavailable', 'source_resolution_failed', 'secret_resolution_failed', 'operation_conflict', 'network_policy_failed')",
3873
+ "name": "workspace_state_history_reason_check",
3874
+ "entityType": "checks",
3875
+ "schema": "public",
3876
+ "table": "workspace_state_history"
3877
+ },
3878
+ {
3879
+ "value": "\"state\" IN ('allocating', 'ready', 'snapshotting', 'retained', 'restoring', 'deleting', 'deleted', 'lost', 'quarantined')",
3880
+ "name": "workspace_storage_state_check",
3881
+ "entityType": "checks",
3882
+ "schema": "public",
3883
+ "table": "workspace_storage"
3884
+ },
3885
+ {
3886
+ "value": "\"close_reason\" IS NULL OR \"close_reason\" IN ('exit', 'idle', 'checkpoint', 'workspace_ended', 'agent_detached', 'client_closed')",
3887
+ "name": "workspace_terminal_sessions_close_reason_check",
3888
+ "entityType": "checks",
3889
+ "schema": "public",
3890
+ "table": "workspace_terminal_sessions"
3891
+ },
3892
+ {
3893
+ "value": "\"state\" IN ('queued', 'provisioning', 'connected', 'ready', 'preserving', 'terminating', 'succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3894
+ "name": "workspaces_state_check",
3895
+ "entityType": "checks",
3896
+ "schema": "public",
3897
+ "table": "workspaces"
3898
+ },
3899
+ {
3900
+ "value": "\"reason_code\" IS NULL OR \"reason_code\" IN ('child_exit_success', 'child_exit_failure', 'setup_failed', 'bootstrap_failed', 'registration_timeout', 'health_failed', 'child_crash', 'provider_lost', 'disconnect_timeout', 'canceled_by_caller', 'deadline_expired', 'idle_expired', 'queue_timeout', 'launch_failed', 'preserve_requested', 'preserved_by_policy', 'checkpoint_created', 'checkpoint_failed', 'checkpoint_corrupt', 'checkpoint_quota_exceeded', 'checkpoint_storage_lost', 'restore_requested', 'restore_failed', 'image_unavailable', 'source_resolution_failed', 'secret_resolution_failed', 'operation_conflict', 'network_policy_failed')",
3901
+ "name": "workspaces_reason_code_check",
3902
+ "entityType": "checks",
3903
+ "schema": "public",
3904
+ "table": "workspaces"
3905
+ },
3906
+ {
3907
+ "value": "\"agent_state\" IN ('unknown', 'running', 'stable')",
3908
+ "name": "workspaces_agent_state_check",
3909
+ "entityType": "checks",
3910
+ "schema": "public",
3911
+ "table": "workspaces"
3912
+ },
3913
+ {
3914
+ "value": "\"network_state\" IN ('disabled', 'starting', 'ready', 'degraded')",
3915
+ "name": "workspaces_network_state_check",
3916
+ "entityType": "checks",
3917
+ "schema": "public",
3918
+ "table": "workspaces"
3919
+ },
3920
+ {
3921
+ "value": "\"terminal_intent\" IS NULL OR \"terminal_intent\" IN ('queued', 'provisioning', 'connected', 'ready', 'preserving', 'terminating', 'succeeded', 'failed', 'canceled', 'expired', 'preserved')",
3922
+ "name": "workspaces_terminal_intent_check",
3923
+ "entityType": "checks",
3924
+ "schema": "public",
3925
+ "table": "workspaces"
3926
+ },
3927
+ {
3928
+ "value": "\"provisioning_mode\" IS NULL OR \"provisioning_mode\" IN ('cold', 'warm')",
3929
+ "name": "workspaces_provisioning_mode_check",
3930
+ "entityType": "checks",
3931
+ "schema": "public",
3932
+ "table": "workspaces"
3933
+ },
3934
+ {
3935
+ "value": "\"launch_mode\" IN ('create', 'restore')",
3936
+ "name": "workspaces_launch_mode_check",
3937
+ "entityType": "checks",
3938
+ "schema": "public",
3939
+ "table": "workspaces"
3940
+ }
3941
+ ],
3942
+ "renames": []
3943
+ }