@relayfx/sdk 0.0.29 → 0.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/dist/index.js +23 -5
  2. package/dist/migrations/20260701002839_sour_cerebro/migration.sql +160 -0
  3. package/dist/migrations/20260701002839_sour_cerebro/snapshot.json +1971 -0
  4. package/dist/migrations/20260701041134_acoustic_hulk/migration.sql +30 -0
  5. package/dist/migrations/20260701041134_acoustic_hulk/snapshot.json +2372 -0
  6. package/dist/migrations/20260701160543_condemned_stryfe/migration.sql +2 -0
  7. package/dist/migrations/20260701160543_condemned_stryfe/snapshot.json +2442 -0
  8. package/dist/migrations/20260701220315_heavy_gorgon/migration.sql +5 -0
  9. package/dist/migrations/20260701220315_heavy_gorgon/snapshot.json +2495 -0
  10. package/dist/migrations/20260701225444_polite_lord_hawal/migration.sql +24 -0
  11. package/dist/migrations/20260701225444_polite_lord_hawal/snapshot.json +2821 -0
  12. package/dist/migrations/20260702030128_flaky_misty_knight/migration.sql +1 -0
  13. package/dist/migrations/20260702030128_flaky_misty_knight/snapshot.json +2821 -0
  14. package/dist/migrations/20260705003847_nervous_banshee/migration.sql +11 -0
  15. package/dist/migrations/20260705003847_nervous_banshee/snapshot.json +2954 -0
  16. package/dist/migrations/20260705012626_common_stryfe/migration.sql +31 -0
  17. package/dist/migrations/20260705012626_common_stryfe/snapshot.json +3378 -0
  18. package/dist/migrations/20260705015420_sweet_captain_marvel/migration.sql +10 -0
  19. package/dist/migrations/20260705015420_sweet_captain_marvel/snapshot.json +3485 -0
  20. package/dist/migrations/20260705023041_chunky_scalphunter/migration.sql +22 -0
  21. package/dist/migrations/20260705023041_chunky_scalphunter/snapshot.json +3753 -0
  22. package/dist/migrations/20260705030344_short_patriot/migration.sql +11 -0
  23. package/dist/migrations/20260705030344_short_patriot/snapshot.json +3873 -0
  24. package/dist/migrations/20260705045546_heavy_ben_grimm/migration.sql +30 -0
  25. package/dist/migrations/20260705045546_heavy_ben_grimm/snapshot.json +4193 -0
  26. package/dist/migrations/20260706185931_regular_shadow_king/migration.sql +166 -0
  27. package/dist/migrations/20260706185931_regular_shadow_king/snapshot.json +4844 -0
  28. package/dist/migrations/20260706233300_equal_cyclops/migration.sql +3 -0
  29. package/dist/migrations/20260706233300_equal_cyclops/snapshot.json +4883 -0
  30. package/dist/types/runtime/runner/runner-runtime-service.d.ts +10 -9
  31. package/package.json +1 -1
@@ -0,0 +1,2442 @@
1
+ {
2
+ "version": "8",
3
+ "dialect": "postgres",
4
+ "id": "a7004697-05b0-4ead-847f-830f4a4c1367",
5
+ "prevIds": ["52c91c1b-9cf4-4ead-913b-6292cc83e5dd"],
6
+ "ddl": [
7
+ {
8
+ "isRlsEnabled": false,
9
+ "name": "relay_address_book_entries",
10
+ "entityType": "tables",
11
+ "schema": "public"
12
+ },
13
+ {
14
+ "isRlsEnabled": false,
15
+ "name": "relay_agent_definition_revisions",
16
+ "entityType": "tables",
17
+ "schema": "public"
18
+ },
19
+ {
20
+ "isRlsEnabled": false,
21
+ "name": "relay_agent_definitions",
22
+ "entityType": "tables",
23
+ "schema": "public"
24
+ },
25
+ {
26
+ "isRlsEnabled": false,
27
+ "name": "relay_child_executions",
28
+ "entityType": "tables",
29
+ "schema": "public"
30
+ },
31
+ {
32
+ "isRlsEnabled": false,
33
+ "name": "relay_envelope_ready",
34
+ "entityType": "tables",
35
+ "schema": "public"
36
+ },
37
+ {
38
+ "isRlsEnabled": false,
39
+ "name": "relay_envelopes",
40
+ "entityType": "tables",
41
+ "schema": "public"
42
+ },
43
+ {
44
+ "isRlsEnabled": false,
45
+ "name": "relay_execution_events",
46
+ "entityType": "tables",
47
+ "schema": "public"
48
+ },
49
+ {
50
+ "isRlsEnabled": false,
51
+ "name": "relay_executions",
52
+ "entityType": "tables",
53
+ "schema": "public"
54
+ },
55
+ {
56
+ "isRlsEnabled": false,
57
+ "name": "relay_idempotency_keys",
58
+ "entityType": "tables",
59
+ "schema": "public"
60
+ },
61
+ {
62
+ "isRlsEnabled": false,
63
+ "name": "relay_route_attempts",
64
+ "entityType": "tables",
65
+ "schema": "public"
66
+ },
67
+ {
68
+ "isRlsEnabled": false,
69
+ "name": "relay_tool_calls",
70
+ "entityType": "tables",
71
+ "schema": "public"
72
+ },
73
+ {
74
+ "isRlsEnabled": false,
75
+ "name": "relay_tool_results",
76
+ "entityType": "tables",
77
+ "schema": "public"
78
+ },
79
+ {
80
+ "isRlsEnabled": false,
81
+ "name": "relay_waits",
82
+ "entityType": "tables",
83
+ "schema": "public"
84
+ },
85
+ {
86
+ "isRlsEnabled": false,
87
+ "name": "relay_workspace_leases",
88
+ "entityType": "tables",
89
+ "schema": "public"
90
+ },
91
+ {
92
+ "isRlsEnabled": false,
93
+ "name": "relay_workspace_snapshots",
94
+ "entityType": "tables",
95
+ "schema": "public"
96
+ },
97
+ {
98
+ "type": "text",
99
+ "typeSchema": null,
100
+ "notNull": true,
101
+ "dimensions": 0,
102
+ "default": null,
103
+ "generated": null,
104
+ "identity": null,
105
+ "name": "id",
106
+ "entityType": "columns",
107
+ "schema": "public",
108
+ "table": "relay_address_book_entries"
109
+ },
110
+ {
111
+ "type": "text",
112
+ "typeSchema": null,
113
+ "notNull": true,
114
+ "dimensions": 0,
115
+ "default": null,
116
+ "generated": null,
117
+ "identity": null,
118
+ "name": "address_id",
119
+ "entityType": "columns",
120
+ "schema": "public",
121
+ "table": "relay_address_book_entries"
122
+ },
123
+ {
124
+ "type": "text",
125
+ "typeSchema": null,
126
+ "notNull": true,
127
+ "dimensions": 0,
128
+ "default": null,
129
+ "generated": null,
130
+ "identity": null,
131
+ "name": "route_kind",
132
+ "entityType": "columns",
133
+ "schema": "public",
134
+ "table": "relay_address_book_entries"
135
+ },
136
+ {
137
+ "type": "text",
138
+ "typeSchema": null,
139
+ "notNull": true,
140
+ "dimensions": 0,
141
+ "default": null,
142
+ "generated": null,
143
+ "identity": null,
144
+ "name": "route_key",
145
+ "entityType": "columns",
146
+ "schema": "public",
147
+ "table": "relay_address_book_entries"
148
+ },
149
+ {
150
+ "type": "jsonb",
151
+ "typeSchema": null,
152
+ "notNull": true,
153
+ "dimensions": 0,
154
+ "default": "'{}'",
155
+ "generated": null,
156
+ "identity": null,
157
+ "name": "metadata_json",
158
+ "entityType": "columns",
159
+ "schema": "public",
160
+ "table": "relay_address_book_entries"
161
+ },
162
+ {
163
+ "type": "timestamp with time zone",
164
+ "typeSchema": null,
165
+ "notNull": true,
166
+ "dimensions": 0,
167
+ "default": "now()",
168
+ "generated": null,
169
+ "identity": null,
170
+ "name": "created_at",
171
+ "entityType": "columns",
172
+ "schema": "public",
173
+ "table": "relay_address_book_entries"
174
+ },
175
+ {
176
+ "type": "timestamp with time zone",
177
+ "typeSchema": null,
178
+ "notNull": true,
179
+ "dimensions": 0,
180
+ "default": "now()",
181
+ "generated": null,
182
+ "identity": null,
183
+ "name": "updated_at",
184
+ "entityType": "columns",
185
+ "schema": "public",
186
+ "table": "relay_address_book_entries"
187
+ },
188
+ {
189
+ "type": "text",
190
+ "typeSchema": null,
191
+ "notNull": true,
192
+ "dimensions": 0,
193
+ "default": null,
194
+ "generated": null,
195
+ "identity": null,
196
+ "name": "agent_definition_id",
197
+ "entityType": "columns",
198
+ "schema": "public",
199
+ "table": "relay_agent_definition_revisions"
200
+ },
201
+ {
202
+ "type": "integer",
203
+ "typeSchema": null,
204
+ "notNull": true,
205
+ "dimensions": 0,
206
+ "default": null,
207
+ "generated": null,
208
+ "identity": null,
209
+ "name": "revision",
210
+ "entityType": "columns",
211
+ "schema": "public",
212
+ "table": "relay_agent_definition_revisions"
213
+ },
214
+ {
215
+ "type": "text",
216
+ "typeSchema": null,
217
+ "notNull": true,
218
+ "dimensions": 0,
219
+ "default": null,
220
+ "generated": null,
221
+ "identity": null,
222
+ "name": "name",
223
+ "entityType": "columns",
224
+ "schema": "public",
225
+ "table": "relay_agent_definition_revisions"
226
+ },
227
+ {
228
+ "type": "jsonb",
229
+ "typeSchema": null,
230
+ "notNull": true,
231
+ "dimensions": 0,
232
+ "default": null,
233
+ "generated": null,
234
+ "identity": null,
235
+ "name": "definition_json",
236
+ "entityType": "columns",
237
+ "schema": "public",
238
+ "table": "relay_agent_definition_revisions"
239
+ },
240
+ {
241
+ "type": "timestamp with time zone",
242
+ "typeSchema": null,
243
+ "notNull": true,
244
+ "dimensions": 0,
245
+ "default": "now()",
246
+ "generated": null,
247
+ "identity": null,
248
+ "name": "created_at",
249
+ "entityType": "columns",
250
+ "schema": "public",
251
+ "table": "relay_agent_definition_revisions"
252
+ },
253
+ {
254
+ "type": "text",
255
+ "typeSchema": null,
256
+ "notNull": true,
257
+ "dimensions": 0,
258
+ "default": null,
259
+ "generated": null,
260
+ "identity": null,
261
+ "name": "id",
262
+ "entityType": "columns",
263
+ "schema": "public",
264
+ "table": "relay_agent_definitions"
265
+ },
266
+ {
267
+ "type": "text",
268
+ "typeSchema": null,
269
+ "notNull": true,
270
+ "dimensions": 0,
271
+ "default": null,
272
+ "generated": null,
273
+ "identity": null,
274
+ "name": "name",
275
+ "entityType": "columns",
276
+ "schema": "public",
277
+ "table": "relay_agent_definitions"
278
+ },
279
+ {
280
+ "type": "integer",
281
+ "typeSchema": null,
282
+ "notNull": true,
283
+ "dimensions": 0,
284
+ "default": null,
285
+ "generated": null,
286
+ "identity": null,
287
+ "name": "current_revision",
288
+ "entityType": "columns",
289
+ "schema": "public",
290
+ "table": "relay_agent_definitions"
291
+ },
292
+ {
293
+ "type": "jsonb",
294
+ "typeSchema": null,
295
+ "notNull": true,
296
+ "dimensions": 0,
297
+ "default": null,
298
+ "generated": null,
299
+ "identity": null,
300
+ "name": "definition_json",
301
+ "entityType": "columns",
302
+ "schema": "public",
303
+ "table": "relay_agent_definitions"
304
+ },
305
+ {
306
+ "type": "timestamp with time zone",
307
+ "typeSchema": null,
308
+ "notNull": true,
309
+ "dimensions": 0,
310
+ "default": "now()",
311
+ "generated": null,
312
+ "identity": null,
313
+ "name": "created_at",
314
+ "entityType": "columns",
315
+ "schema": "public",
316
+ "table": "relay_agent_definitions"
317
+ },
318
+ {
319
+ "type": "timestamp with time zone",
320
+ "typeSchema": null,
321
+ "notNull": true,
322
+ "dimensions": 0,
323
+ "default": "now()",
324
+ "generated": null,
325
+ "identity": null,
326
+ "name": "updated_at",
327
+ "entityType": "columns",
328
+ "schema": "public",
329
+ "table": "relay_agent_definitions"
330
+ },
331
+ {
332
+ "type": "text",
333
+ "typeSchema": null,
334
+ "notNull": true,
335
+ "dimensions": 0,
336
+ "default": null,
337
+ "generated": null,
338
+ "identity": null,
339
+ "name": "id",
340
+ "entityType": "columns",
341
+ "schema": "public",
342
+ "table": "relay_child_executions"
343
+ },
344
+ {
345
+ "type": "text",
346
+ "typeSchema": null,
347
+ "notNull": true,
348
+ "dimensions": 0,
349
+ "default": null,
350
+ "generated": null,
351
+ "identity": null,
352
+ "name": "execution_id",
353
+ "entityType": "columns",
354
+ "schema": "public",
355
+ "table": "relay_child_executions"
356
+ },
357
+ {
358
+ "type": "text",
359
+ "typeSchema": null,
360
+ "notNull": true,
361
+ "dimensions": 0,
362
+ "default": null,
363
+ "generated": null,
364
+ "identity": null,
365
+ "name": "address_id",
366
+ "entityType": "columns",
367
+ "schema": "public",
368
+ "table": "relay_child_executions"
369
+ },
370
+ {
371
+ "type": "text",
372
+ "typeSchema": null,
373
+ "notNull": true,
374
+ "dimensions": 0,
375
+ "default": null,
376
+ "generated": null,
377
+ "identity": null,
378
+ "name": "status",
379
+ "entityType": "columns",
380
+ "schema": "public",
381
+ "table": "relay_child_executions"
382
+ },
383
+ {
384
+ "type": "jsonb",
385
+ "typeSchema": null,
386
+ "notNull": true,
387
+ "dimensions": 0,
388
+ "default": "'{}'",
389
+ "generated": null,
390
+ "identity": null,
391
+ "name": "metadata_json",
392
+ "entityType": "columns",
393
+ "schema": "public",
394
+ "table": "relay_child_executions"
395
+ },
396
+ {
397
+ "type": "timestamp with time zone",
398
+ "typeSchema": null,
399
+ "notNull": true,
400
+ "dimensions": 0,
401
+ "default": "now()",
402
+ "generated": null,
403
+ "identity": null,
404
+ "name": "created_at",
405
+ "entityType": "columns",
406
+ "schema": "public",
407
+ "table": "relay_child_executions"
408
+ },
409
+ {
410
+ "type": "timestamp with time zone",
411
+ "typeSchema": null,
412
+ "notNull": true,
413
+ "dimensions": 0,
414
+ "default": "now()",
415
+ "generated": null,
416
+ "identity": null,
417
+ "name": "updated_at",
418
+ "entityType": "columns",
419
+ "schema": "public",
420
+ "table": "relay_child_executions"
421
+ },
422
+ {
423
+ "type": "text",
424
+ "typeSchema": null,
425
+ "notNull": true,
426
+ "dimensions": 0,
427
+ "default": null,
428
+ "generated": null,
429
+ "identity": null,
430
+ "name": "id",
431
+ "entityType": "columns",
432
+ "schema": "public",
433
+ "table": "relay_envelope_ready"
434
+ },
435
+ {
436
+ "type": "text",
437
+ "typeSchema": null,
438
+ "notNull": true,
439
+ "dimensions": 0,
440
+ "default": null,
441
+ "generated": null,
442
+ "identity": null,
443
+ "name": "envelope_id",
444
+ "entityType": "columns",
445
+ "schema": "public",
446
+ "table": "relay_envelope_ready"
447
+ },
448
+ {
449
+ "type": "text",
450
+ "typeSchema": null,
451
+ "notNull": true,
452
+ "dimensions": 0,
453
+ "default": null,
454
+ "generated": null,
455
+ "identity": null,
456
+ "name": "route_type",
457
+ "entityType": "columns",
458
+ "schema": "public",
459
+ "table": "relay_envelope_ready"
460
+ },
461
+ {
462
+ "type": "text",
463
+ "typeSchema": null,
464
+ "notNull": true,
465
+ "dimensions": 0,
466
+ "default": null,
467
+ "generated": null,
468
+ "identity": null,
469
+ "name": "route_key",
470
+ "entityType": "columns",
471
+ "schema": "public",
472
+ "table": "relay_envelope_ready"
473
+ },
474
+ {
475
+ "type": "text",
476
+ "typeSchema": null,
477
+ "notNull": true,
478
+ "dimensions": 0,
479
+ "default": "'ready'",
480
+ "generated": null,
481
+ "identity": null,
482
+ "name": "state",
483
+ "entityType": "columns",
484
+ "schema": "public",
485
+ "table": "relay_envelope_ready"
486
+ },
487
+ {
488
+ "type": "timestamp with time zone",
489
+ "typeSchema": null,
490
+ "notNull": true,
491
+ "dimensions": 0,
492
+ "default": "now()",
493
+ "generated": null,
494
+ "identity": null,
495
+ "name": "available_at",
496
+ "entityType": "columns",
497
+ "schema": "public",
498
+ "table": "relay_envelope_ready"
499
+ },
500
+ {
501
+ "type": "integer",
502
+ "typeSchema": null,
503
+ "notNull": true,
504
+ "dimensions": 0,
505
+ "default": "0",
506
+ "generated": null,
507
+ "identity": null,
508
+ "name": "attempt",
509
+ "entityType": "columns",
510
+ "schema": "public",
511
+ "table": "relay_envelope_ready"
512
+ },
513
+ {
514
+ "type": "text",
515
+ "typeSchema": null,
516
+ "notNull": false,
517
+ "dimensions": 0,
518
+ "default": null,
519
+ "generated": null,
520
+ "identity": null,
521
+ "name": "claim_owner",
522
+ "entityType": "columns",
523
+ "schema": "public",
524
+ "table": "relay_envelope_ready"
525
+ },
526
+ {
527
+ "type": "timestamp with time zone",
528
+ "typeSchema": null,
529
+ "notNull": false,
530
+ "dimensions": 0,
531
+ "default": null,
532
+ "generated": null,
533
+ "identity": null,
534
+ "name": "claim_expires_at",
535
+ "entityType": "columns",
536
+ "schema": "public",
537
+ "table": "relay_envelope_ready"
538
+ },
539
+ {
540
+ "type": "text",
541
+ "typeSchema": null,
542
+ "notNull": false,
543
+ "dimensions": 0,
544
+ "default": null,
545
+ "generated": null,
546
+ "identity": null,
547
+ "name": "last_error",
548
+ "entityType": "columns",
549
+ "schema": "public",
550
+ "table": "relay_envelope_ready"
551
+ },
552
+ {
553
+ "type": "text",
554
+ "typeSchema": null,
555
+ "notNull": false,
556
+ "dimensions": 0,
557
+ "default": null,
558
+ "generated": null,
559
+ "identity": null,
560
+ "name": "idempotency_key",
561
+ "entityType": "columns",
562
+ "schema": "public",
563
+ "table": "relay_envelope_ready"
564
+ },
565
+ {
566
+ "type": "jsonb",
567
+ "typeSchema": null,
568
+ "notNull": true,
569
+ "dimensions": 0,
570
+ "default": "'{}'",
571
+ "generated": null,
572
+ "identity": null,
573
+ "name": "metadata_json",
574
+ "entityType": "columns",
575
+ "schema": "public",
576
+ "table": "relay_envelope_ready"
577
+ },
578
+ {
579
+ "type": "timestamp with time zone",
580
+ "typeSchema": null,
581
+ "notNull": true,
582
+ "dimensions": 0,
583
+ "default": "now()",
584
+ "generated": null,
585
+ "identity": null,
586
+ "name": "created_at",
587
+ "entityType": "columns",
588
+ "schema": "public",
589
+ "table": "relay_envelope_ready"
590
+ },
591
+ {
592
+ "type": "timestamp with time zone",
593
+ "typeSchema": null,
594
+ "notNull": true,
595
+ "dimensions": 0,
596
+ "default": "now()",
597
+ "generated": null,
598
+ "identity": null,
599
+ "name": "updated_at",
600
+ "entityType": "columns",
601
+ "schema": "public",
602
+ "table": "relay_envelope_ready"
603
+ },
604
+ {
605
+ "type": "timestamp with time zone",
606
+ "typeSchema": null,
607
+ "notNull": false,
608
+ "dimensions": 0,
609
+ "default": null,
610
+ "generated": null,
611
+ "identity": null,
612
+ "name": "claimed_at",
613
+ "entityType": "columns",
614
+ "schema": "public",
615
+ "table": "relay_envelope_ready"
616
+ },
617
+ {
618
+ "type": "timestamp with time zone",
619
+ "typeSchema": null,
620
+ "notNull": false,
621
+ "dimensions": 0,
622
+ "default": null,
623
+ "generated": null,
624
+ "identity": null,
625
+ "name": "acknowledged_at",
626
+ "entityType": "columns",
627
+ "schema": "public",
628
+ "table": "relay_envelope_ready"
629
+ },
630
+ {
631
+ "type": "text",
632
+ "typeSchema": null,
633
+ "notNull": true,
634
+ "dimensions": 0,
635
+ "default": null,
636
+ "generated": null,
637
+ "identity": null,
638
+ "name": "id",
639
+ "entityType": "columns",
640
+ "schema": "public",
641
+ "table": "relay_envelopes"
642
+ },
643
+ {
644
+ "type": "text",
645
+ "typeSchema": null,
646
+ "notNull": true,
647
+ "dimensions": 0,
648
+ "default": null,
649
+ "generated": null,
650
+ "identity": null,
651
+ "name": "execution_id",
652
+ "entityType": "columns",
653
+ "schema": "public",
654
+ "table": "relay_envelopes"
655
+ },
656
+ {
657
+ "type": "text",
658
+ "typeSchema": null,
659
+ "notNull": true,
660
+ "dimensions": 0,
661
+ "default": null,
662
+ "generated": null,
663
+ "identity": null,
664
+ "name": "from_address_id",
665
+ "entityType": "columns",
666
+ "schema": "public",
667
+ "table": "relay_envelopes"
668
+ },
669
+ {
670
+ "type": "text",
671
+ "typeSchema": null,
672
+ "notNull": true,
673
+ "dimensions": 0,
674
+ "default": null,
675
+ "generated": null,
676
+ "identity": null,
677
+ "name": "to_address_id",
678
+ "entityType": "columns",
679
+ "schema": "public",
680
+ "table": "relay_envelopes"
681
+ },
682
+ {
683
+ "type": "jsonb",
684
+ "typeSchema": null,
685
+ "notNull": true,
686
+ "dimensions": 0,
687
+ "default": null,
688
+ "generated": null,
689
+ "identity": null,
690
+ "name": "content_json",
691
+ "entityType": "columns",
692
+ "schema": "public",
693
+ "table": "relay_envelopes"
694
+ },
695
+ {
696
+ "type": "jsonb",
697
+ "typeSchema": null,
698
+ "notNull": false,
699
+ "dimensions": 0,
700
+ "default": null,
701
+ "generated": null,
702
+ "identity": null,
703
+ "name": "wait_json",
704
+ "entityType": "columns",
705
+ "schema": "public",
706
+ "table": "relay_envelopes"
707
+ },
708
+ {
709
+ "type": "text",
710
+ "typeSchema": null,
711
+ "notNull": false,
712
+ "dimensions": 0,
713
+ "default": null,
714
+ "generated": null,
715
+ "identity": null,
716
+ "name": "correlation_key",
717
+ "entityType": "columns",
718
+ "schema": "public",
719
+ "table": "relay_envelopes"
720
+ },
721
+ {
722
+ "type": "jsonb",
723
+ "typeSchema": null,
724
+ "notNull": true,
725
+ "dimensions": 0,
726
+ "default": "'{}'",
727
+ "generated": null,
728
+ "identity": null,
729
+ "name": "metadata_json",
730
+ "entityType": "columns",
731
+ "schema": "public",
732
+ "table": "relay_envelopes"
733
+ },
734
+ {
735
+ "type": "timestamp with time zone",
736
+ "typeSchema": null,
737
+ "notNull": true,
738
+ "dimensions": 0,
739
+ "default": "now()",
740
+ "generated": null,
741
+ "identity": null,
742
+ "name": "created_at",
743
+ "entityType": "columns",
744
+ "schema": "public",
745
+ "table": "relay_envelopes"
746
+ },
747
+ {
748
+ "type": "text",
749
+ "typeSchema": null,
750
+ "notNull": true,
751
+ "dimensions": 0,
752
+ "default": null,
753
+ "generated": null,
754
+ "identity": null,
755
+ "name": "id",
756
+ "entityType": "columns",
757
+ "schema": "public",
758
+ "table": "relay_execution_events"
759
+ },
760
+ {
761
+ "type": "text",
762
+ "typeSchema": null,
763
+ "notNull": true,
764
+ "dimensions": 0,
765
+ "default": null,
766
+ "generated": null,
767
+ "identity": null,
768
+ "name": "execution_id",
769
+ "entityType": "columns",
770
+ "schema": "public",
771
+ "table": "relay_execution_events"
772
+ },
773
+ {
774
+ "type": "text",
775
+ "typeSchema": null,
776
+ "notNull": false,
777
+ "dimensions": 0,
778
+ "default": null,
779
+ "generated": null,
780
+ "identity": null,
781
+ "name": "child_execution_id",
782
+ "entityType": "columns",
783
+ "schema": "public",
784
+ "table": "relay_execution_events"
785
+ },
786
+ {
787
+ "type": "text",
788
+ "typeSchema": null,
789
+ "notNull": true,
790
+ "dimensions": 0,
791
+ "default": null,
792
+ "generated": null,
793
+ "identity": null,
794
+ "name": "type",
795
+ "entityType": "columns",
796
+ "schema": "public",
797
+ "table": "relay_execution_events"
798
+ },
799
+ {
800
+ "type": "integer",
801
+ "typeSchema": null,
802
+ "notNull": true,
803
+ "dimensions": 0,
804
+ "default": null,
805
+ "generated": null,
806
+ "identity": null,
807
+ "name": "sequence",
808
+ "entityType": "columns",
809
+ "schema": "public",
810
+ "table": "relay_execution_events"
811
+ },
812
+ {
813
+ "type": "text",
814
+ "typeSchema": null,
815
+ "notNull": true,
816
+ "dimensions": 0,
817
+ "default": null,
818
+ "generated": null,
819
+ "identity": null,
820
+ "name": "cursor",
821
+ "entityType": "columns",
822
+ "schema": "public",
823
+ "table": "relay_execution_events"
824
+ },
825
+ {
826
+ "type": "jsonb",
827
+ "typeSchema": null,
828
+ "notNull": false,
829
+ "dimensions": 0,
830
+ "default": null,
831
+ "generated": null,
832
+ "identity": null,
833
+ "name": "content_json",
834
+ "entityType": "columns",
835
+ "schema": "public",
836
+ "table": "relay_execution_events"
837
+ },
838
+ {
839
+ "type": "jsonb",
840
+ "typeSchema": null,
841
+ "notNull": true,
842
+ "dimensions": 0,
843
+ "default": "'{}'",
844
+ "generated": null,
845
+ "identity": null,
846
+ "name": "data_json",
847
+ "entityType": "columns",
848
+ "schema": "public",
849
+ "table": "relay_execution_events"
850
+ },
851
+ {
852
+ "type": "timestamp with time zone",
853
+ "typeSchema": null,
854
+ "notNull": true,
855
+ "dimensions": 0,
856
+ "default": "now()",
857
+ "generated": null,
858
+ "identity": null,
859
+ "name": "created_at",
860
+ "entityType": "columns",
861
+ "schema": "public",
862
+ "table": "relay_execution_events"
863
+ },
864
+ {
865
+ "type": "text",
866
+ "typeSchema": null,
867
+ "notNull": true,
868
+ "dimensions": 0,
869
+ "default": null,
870
+ "generated": null,
871
+ "identity": null,
872
+ "name": "id",
873
+ "entityType": "columns",
874
+ "schema": "public",
875
+ "table": "relay_executions"
876
+ },
877
+ {
878
+ "type": "text",
879
+ "typeSchema": null,
880
+ "notNull": true,
881
+ "dimensions": 0,
882
+ "default": null,
883
+ "generated": null,
884
+ "identity": null,
885
+ "name": "root_address_id",
886
+ "entityType": "columns",
887
+ "schema": "public",
888
+ "table": "relay_executions"
889
+ },
890
+ {
891
+ "type": "text",
892
+ "typeSchema": null,
893
+ "notNull": true,
894
+ "dimensions": 0,
895
+ "default": null,
896
+ "generated": null,
897
+ "identity": null,
898
+ "name": "status",
899
+ "entityType": "columns",
900
+ "schema": "public",
901
+ "table": "relay_executions"
902
+ },
903
+ {
904
+ "type": "text",
905
+ "typeSchema": null,
906
+ "notNull": false,
907
+ "dimensions": 0,
908
+ "default": null,
909
+ "generated": null,
910
+ "identity": null,
911
+ "name": "agent_definition_id",
912
+ "entityType": "columns",
913
+ "schema": "public",
914
+ "table": "relay_executions"
915
+ },
916
+ {
917
+ "type": "integer",
918
+ "typeSchema": null,
919
+ "notNull": false,
920
+ "dimensions": 0,
921
+ "default": null,
922
+ "generated": null,
923
+ "identity": null,
924
+ "name": "agent_definition_revision",
925
+ "entityType": "columns",
926
+ "schema": "public",
927
+ "table": "relay_executions"
928
+ },
929
+ {
930
+ "type": "jsonb",
931
+ "typeSchema": null,
932
+ "notNull": false,
933
+ "dimensions": 0,
934
+ "default": null,
935
+ "generated": null,
936
+ "identity": null,
937
+ "name": "agent_definition_snapshot_json",
938
+ "entityType": "columns",
939
+ "schema": "public",
940
+ "table": "relay_executions"
941
+ },
942
+ {
943
+ "type": "jsonb",
944
+ "typeSchema": null,
945
+ "notNull": true,
946
+ "dimensions": 0,
947
+ "default": "'{}'",
948
+ "generated": null,
949
+ "identity": null,
950
+ "name": "metadata_json",
951
+ "entityType": "columns",
952
+ "schema": "public",
953
+ "table": "relay_executions"
954
+ },
955
+ {
956
+ "type": "timestamp with time zone",
957
+ "typeSchema": null,
958
+ "notNull": true,
959
+ "dimensions": 0,
960
+ "default": "now()",
961
+ "generated": null,
962
+ "identity": null,
963
+ "name": "created_at",
964
+ "entityType": "columns",
965
+ "schema": "public",
966
+ "table": "relay_executions"
967
+ },
968
+ {
969
+ "type": "timestamp with time zone",
970
+ "typeSchema": null,
971
+ "notNull": true,
972
+ "dimensions": 0,
973
+ "default": "now()",
974
+ "generated": null,
975
+ "identity": null,
976
+ "name": "updated_at",
977
+ "entityType": "columns",
978
+ "schema": "public",
979
+ "table": "relay_executions"
980
+ },
981
+ {
982
+ "type": "text",
983
+ "typeSchema": null,
984
+ "notNull": true,
985
+ "dimensions": 0,
986
+ "default": null,
987
+ "generated": null,
988
+ "identity": null,
989
+ "name": "id",
990
+ "entityType": "columns",
991
+ "schema": "public",
992
+ "table": "relay_idempotency_keys"
993
+ },
994
+ {
995
+ "type": "text",
996
+ "typeSchema": null,
997
+ "notNull": true,
998
+ "dimensions": 0,
999
+ "default": null,
1000
+ "generated": null,
1001
+ "identity": null,
1002
+ "name": "scope",
1003
+ "entityType": "columns",
1004
+ "schema": "public",
1005
+ "table": "relay_idempotency_keys"
1006
+ },
1007
+ {
1008
+ "type": "text",
1009
+ "typeSchema": null,
1010
+ "notNull": true,
1011
+ "dimensions": 0,
1012
+ "default": null,
1013
+ "generated": null,
1014
+ "identity": null,
1015
+ "name": "operation",
1016
+ "entityType": "columns",
1017
+ "schema": "public",
1018
+ "table": "relay_idempotency_keys"
1019
+ },
1020
+ {
1021
+ "type": "text",
1022
+ "typeSchema": null,
1023
+ "notNull": true,
1024
+ "dimensions": 0,
1025
+ "default": null,
1026
+ "generated": null,
1027
+ "identity": null,
1028
+ "name": "key",
1029
+ "entityType": "columns",
1030
+ "schema": "public",
1031
+ "table": "relay_idempotency_keys"
1032
+ },
1033
+ {
1034
+ "type": "jsonb",
1035
+ "typeSchema": null,
1036
+ "notNull": false,
1037
+ "dimensions": 0,
1038
+ "default": null,
1039
+ "generated": null,
1040
+ "identity": null,
1041
+ "name": "result_json",
1042
+ "entityType": "columns",
1043
+ "schema": "public",
1044
+ "table": "relay_idempotency_keys"
1045
+ },
1046
+ {
1047
+ "type": "jsonb",
1048
+ "typeSchema": null,
1049
+ "notNull": true,
1050
+ "dimensions": 0,
1051
+ "default": "'{}'",
1052
+ "generated": null,
1053
+ "identity": null,
1054
+ "name": "metadata_json",
1055
+ "entityType": "columns",
1056
+ "schema": "public",
1057
+ "table": "relay_idempotency_keys"
1058
+ },
1059
+ {
1060
+ "type": "timestamp with time zone",
1061
+ "typeSchema": null,
1062
+ "notNull": true,
1063
+ "dimensions": 0,
1064
+ "default": "now()",
1065
+ "generated": null,
1066
+ "identity": null,
1067
+ "name": "created_at",
1068
+ "entityType": "columns",
1069
+ "schema": "public",
1070
+ "table": "relay_idempotency_keys"
1071
+ },
1072
+ {
1073
+ "type": "timestamp with time zone",
1074
+ "typeSchema": null,
1075
+ "notNull": true,
1076
+ "dimensions": 0,
1077
+ "default": "now()",
1078
+ "generated": null,
1079
+ "identity": null,
1080
+ "name": "updated_at",
1081
+ "entityType": "columns",
1082
+ "schema": "public",
1083
+ "table": "relay_idempotency_keys"
1084
+ },
1085
+ {
1086
+ "type": "timestamp with time zone",
1087
+ "typeSchema": null,
1088
+ "notNull": false,
1089
+ "dimensions": 0,
1090
+ "default": null,
1091
+ "generated": null,
1092
+ "identity": null,
1093
+ "name": "expires_at",
1094
+ "entityType": "columns",
1095
+ "schema": "public",
1096
+ "table": "relay_idempotency_keys"
1097
+ },
1098
+ {
1099
+ "type": "text",
1100
+ "typeSchema": null,
1101
+ "notNull": true,
1102
+ "dimensions": 0,
1103
+ "default": null,
1104
+ "generated": null,
1105
+ "identity": null,
1106
+ "name": "id",
1107
+ "entityType": "columns",
1108
+ "schema": "public",
1109
+ "table": "relay_route_attempts"
1110
+ },
1111
+ {
1112
+ "type": "text",
1113
+ "typeSchema": null,
1114
+ "notNull": true,
1115
+ "dimensions": 0,
1116
+ "default": null,
1117
+ "generated": null,
1118
+ "identity": null,
1119
+ "name": "envelope_ready_id",
1120
+ "entityType": "columns",
1121
+ "schema": "public",
1122
+ "table": "relay_route_attempts"
1123
+ },
1124
+ {
1125
+ "type": "text",
1126
+ "typeSchema": null,
1127
+ "notNull": true,
1128
+ "dimensions": 0,
1129
+ "default": null,
1130
+ "generated": null,
1131
+ "identity": null,
1132
+ "name": "route_key",
1133
+ "entityType": "columns",
1134
+ "schema": "public",
1135
+ "table": "relay_route_attempts"
1136
+ },
1137
+ {
1138
+ "type": "text",
1139
+ "typeSchema": null,
1140
+ "notNull": true,
1141
+ "dimensions": 0,
1142
+ "default": null,
1143
+ "generated": null,
1144
+ "identity": null,
1145
+ "name": "state",
1146
+ "entityType": "columns",
1147
+ "schema": "public",
1148
+ "table": "relay_route_attempts"
1149
+ },
1150
+ {
1151
+ "type": "text",
1152
+ "typeSchema": null,
1153
+ "notNull": false,
1154
+ "dimensions": 0,
1155
+ "default": null,
1156
+ "generated": null,
1157
+ "identity": null,
1158
+ "name": "detail",
1159
+ "entityType": "columns",
1160
+ "schema": "public",
1161
+ "table": "relay_route_attempts"
1162
+ },
1163
+ {
1164
+ "type": "timestamp with time zone",
1165
+ "typeSchema": null,
1166
+ "notNull": true,
1167
+ "dimensions": 0,
1168
+ "default": "now()",
1169
+ "generated": null,
1170
+ "identity": null,
1171
+ "name": "created_at",
1172
+ "entityType": "columns",
1173
+ "schema": "public",
1174
+ "table": "relay_route_attempts"
1175
+ },
1176
+ {
1177
+ "type": "text",
1178
+ "typeSchema": null,
1179
+ "notNull": true,
1180
+ "dimensions": 0,
1181
+ "default": null,
1182
+ "generated": null,
1183
+ "identity": null,
1184
+ "name": "id",
1185
+ "entityType": "columns",
1186
+ "schema": "public",
1187
+ "table": "relay_tool_calls"
1188
+ },
1189
+ {
1190
+ "type": "text",
1191
+ "typeSchema": null,
1192
+ "notNull": true,
1193
+ "dimensions": 0,
1194
+ "default": null,
1195
+ "generated": null,
1196
+ "identity": null,
1197
+ "name": "execution_id",
1198
+ "entityType": "columns",
1199
+ "schema": "public",
1200
+ "table": "relay_tool_calls"
1201
+ },
1202
+ {
1203
+ "type": "text",
1204
+ "typeSchema": null,
1205
+ "notNull": true,
1206
+ "dimensions": 0,
1207
+ "default": null,
1208
+ "generated": null,
1209
+ "identity": null,
1210
+ "name": "name",
1211
+ "entityType": "columns",
1212
+ "schema": "public",
1213
+ "table": "relay_tool_calls"
1214
+ },
1215
+ {
1216
+ "type": "jsonb",
1217
+ "typeSchema": null,
1218
+ "notNull": true,
1219
+ "dimensions": 0,
1220
+ "default": null,
1221
+ "generated": null,
1222
+ "identity": null,
1223
+ "name": "input_json",
1224
+ "entityType": "columns",
1225
+ "schema": "public",
1226
+ "table": "relay_tool_calls"
1227
+ },
1228
+ {
1229
+ "type": "jsonb",
1230
+ "typeSchema": null,
1231
+ "notNull": true,
1232
+ "dimensions": 0,
1233
+ "default": "'{}'",
1234
+ "generated": null,
1235
+ "identity": null,
1236
+ "name": "metadata_json",
1237
+ "entityType": "columns",
1238
+ "schema": "public",
1239
+ "table": "relay_tool_calls"
1240
+ },
1241
+ {
1242
+ "type": "timestamp with time zone",
1243
+ "typeSchema": null,
1244
+ "notNull": true,
1245
+ "dimensions": 0,
1246
+ "default": "now()",
1247
+ "generated": null,
1248
+ "identity": null,
1249
+ "name": "created_at",
1250
+ "entityType": "columns",
1251
+ "schema": "public",
1252
+ "table": "relay_tool_calls"
1253
+ },
1254
+ {
1255
+ "type": "text",
1256
+ "typeSchema": null,
1257
+ "notNull": true,
1258
+ "dimensions": 0,
1259
+ "default": null,
1260
+ "generated": null,
1261
+ "identity": null,
1262
+ "name": "tool_call_id",
1263
+ "entityType": "columns",
1264
+ "schema": "public",
1265
+ "table": "relay_tool_results"
1266
+ },
1267
+ {
1268
+ "type": "jsonb",
1269
+ "typeSchema": null,
1270
+ "notNull": true,
1271
+ "dimensions": 0,
1272
+ "default": null,
1273
+ "generated": null,
1274
+ "identity": null,
1275
+ "name": "output_json",
1276
+ "entityType": "columns",
1277
+ "schema": "public",
1278
+ "table": "relay_tool_results"
1279
+ },
1280
+ {
1281
+ "type": "text",
1282
+ "typeSchema": null,
1283
+ "notNull": false,
1284
+ "dimensions": 0,
1285
+ "default": null,
1286
+ "generated": null,
1287
+ "identity": null,
1288
+ "name": "error",
1289
+ "entityType": "columns",
1290
+ "schema": "public",
1291
+ "table": "relay_tool_results"
1292
+ },
1293
+ {
1294
+ "type": "jsonb",
1295
+ "typeSchema": null,
1296
+ "notNull": true,
1297
+ "dimensions": 0,
1298
+ "default": "'{}'",
1299
+ "generated": null,
1300
+ "identity": null,
1301
+ "name": "metadata_json",
1302
+ "entityType": "columns",
1303
+ "schema": "public",
1304
+ "table": "relay_tool_results"
1305
+ },
1306
+ {
1307
+ "type": "timestamp with time zone",
1308
+ "typeSchema": null,
1309
+ "notNull": true,
1310
+ "dimensions": 0,
1311
+ "default": "now()",
1312
+ "generated": null,
1313
+ "identity": null,
1314
+ "name": "created_at",
1315
+ "entityType": "columns",
1316
+ "schema": "public",
1317
+ "table": "relay_tool_results"
1318
+ },
1319
+ {
1320
+ "type": "text",
1321
+ "typeSchema": null,
1322
+ "notNull": true,
1323
+ "dimensions": 0,
1324
+ "default": null,
1325
+ "generated": null,
1326
+ "identity": null,
1327
+ "name": "id",
1328
+ "entityType": "columns",
1329
+ "schema": "public",
1330
+ "table": "relay_waits"
1331
+ },
1332
+ {
1333
+ "type": "text",
1334
+ "typeSchema": null,
1335
+ "notNull": true,
1336
+ "dimensions": 0,
1337
+ "default": null,
1338
+ "generated": null,
1339
+ "identity": null,
1340
+ "name": "execution_id",
1341
+ "entityType": "columns",
1342
+ "schema": "public",
1343
+ "table": "relay_waits"
1344
+ },
1345
+ {
1346
+ "type": "text",
1347
+ "typeSchema": null,
1348
+ "notNull": true,
1349
+ "dimensions": 0,
1350
+ "default": null,
1351
+ "generated": null,
1352
+ "identity": null,
1353
+ "name": "envelope_id",
1354
+ "entityType": "columns",
1355
+ "schema": "public",
1356
+ "table": "relay_waits"
1357
+ },
1358
+ {
1359
+ "type": "text",
1360
+ "typeSchema": null,
1361
+ "notNull": true,
1362
+ "dimensions": 0,
1363
+ "default": null,
1364
+ "generated": null,
1365
+ "identity": null,
1366
+ "name": "mode",
1367
+ "entityType": "columns",
1368
+ "schema": "public",
1369
+ "table": "relay_waits"
1370
+ },
1371
+ {
1372
+ "type": "text",
1373
+ "typeSchema": null,
1374
+ "notNull": false,
1375
+ "dimensions": 0,
1376
+ "default": null,
1377
+ "generated": null,
1378
+ "identity": null,
1379
+ "name": "correlation_key",
1380
+ "entityType": "columns",
1381
+ "schema": "public",
1382
+ "table": "relay_waits"
1383
+ },
1384
+ {
1385
+ "type": "text",
1386
+ "typeSchema": null,
1387
+ "notNull": true,
1388
+ "dimensions": 0,
1389
+ "default": "'open'",
1390
+ "generated": null,
1391
+ "identity": null,
1392
+ "name": "state",
1393
+ "entityType": "columns",
1394
+ "schema": "public",
1395
+ "table": "relay_waits"
1396
+ },
1397
+ {
1398
+ "type": "jsonb",
1399
+ "typeSchema": null,
1400
+ "notNull": true,
1401
+ "dimensions": 0,
1402
+ "default": "'{}'",
1403
+ "generated": null,
1404
+ "identity": null,
1405
+ "name": "metadata_json",
1406
+ "entityType": "columns",
1407
+ "schema": "public",
1408
+ "table": "relay_waits"
1409
+ },
1410
+ {
1411
+ "type": "timestamp with time zone",
1412
+ "typeSchema": null,
1413
+ "notNull": true,
1414
+ "dimensions": 0,
1415
+ "default": "now()",
1416
+ "generated": null,
1417
+ "identity": null,
1418
+ "name": "created_at",
1419
+ "entityType": "columns",
1420
+ "schema": "public",
1421
+ "table": "relay_waits"
1422
+ },
1423
+ {
1424
+ "type": "timestamp with time zone",
1425
+ "typeSchema": null,
1426
+ "notNull": false,
1427
+ "dimensions": 0,
1428
+ "default": null,
1429
+ "generated": null,
1430
+ "identity": null,
1431
+ "name": "resolved_at",
1432
+ "entityType": "columns",
1433
+ "schema": "public",
1434
+ "table": "relay_waits"
1435
+ },
1436
+ {
1437
+ "type": "text",
1438
+ "typeSchema": null,
1439
+ "notNull": true,
1440
+ "dimensions": 0,
1441
+ "default": null,
1442
+ "generated": null,
1443
+ "identity": null,
1444
+ "name": "id",
1445
+ "entityType": "columns",
1446
+ "schema": "public",
1447
+ "table": "relay_workspace_leases"
1448
+ },
1449
+ {
1450
+ "type": "text",
1451
+ "typeSchema": null,
1452
+ "notNull": true,
1453
+ "dimensions": 0,
1454
+ "default": null,
1455
+ "generated": null,
1456
+ "identity": null,
1457
+ "name": "execution_id",
1458
+ "entityType": "columns",
1459
+ "schema": "public",
1460
+ "table": "relay_workspace_leases"
1461
+ },
1462
+ {
1463
+ "type": "text",
1464
+ "typeSchema": null,
1465
+ "notNull": true,
1466
+ "dimensions": 0,
1467
+ "default": null,
1468
+ "generated": null,
1469
+ "identity": null,
1470
+ "name": "provider_key",
1471
+ "entityType": "columns",
1472
+ "schema": "public",
1473
+ "table": "relay_workspace_leases"
1474
+ },
1475
+ {
1476
+ "type": "text",
1477
+ "typeSchema": null,
1478
+ "notNull": false,
1479
+ "dimensions": 0,
1480
+ "default": null,
1481
+ "generated": null,
1482
+ "identity": null,
1483
+ "name": "sandbox_ref",
1484
+ "entityType": "columns",
1485
+ "schema": "public",
1486
+ "table": "relay_workspace_leases"
1487
+ },
1488
+ {
1489
+ "type": "text",
1490
+ "typeSchema": null,
1491
+ "notNull": false,
1492
+ "dimensions": 0,
1493
+ "default": null,
1494
+ "generated": null,
1495
+ "identity": null,
1496
+ "name": "latest_snapshot_ref",
1497
+ "entityType": "columns",
1498
+ "schema": "public",
1499
+ "table": "relay_workspace_leases"
1500
+ },
1501
+ {
1502
+ "type": "text",
1503
+ "typeSchema": null,
1504
+ "notNull": true,
1505
+ "dimensions": 0,
1506
+ "default": null,
1507
+ "generated": null,
1508
+ "identity": null,
1509
+ "name": "status",
1510
+ "entityType": "columns",
1511
+ "schema": "public",
1512
+ "table": "relay_workspace_leases"
1513
+ },
1514
+ {
1515
+ "type": "text",
1516
+ "typeSchema": null,
1517
+ "notNull": true,
1518
+ "dimensions": 0,
1519
+ "default": null,
1520
+ "generated": null,
1521
+ "identity": null,
1522
+ "name": "resume_strategy",
1523
+ "entityType": "columns",
1524
+ "schema": "public",
1525
+ "table": "relay_workspace_leases"
1526
+ },
1527
+ {
1528
+ "type": "text",
1529
+ "typeSchema": null,
1530
+ "notNull": false,
1531
+ "dimensions": 0,
1532
+ "default": null,
1533
+ "generated": null,
1534
+ "identity": null,
1535
+ "name": "region",
1536
+ "entityType": "columns",
1537
+ "schema": "public",
1538
+ "table": "relay_workspace_leases"
1539
+ },
1540
+ {
1541
+ "type": "jsonb",
1542
+ "typeSchema": null,
1543
+ "notNull": false,
1544
+ "dimensions": 0,
1545
+ "default": null,
1546
+ "generated": null,
1547
+ "identity": null,
1548
+ "name": "request_json",
1549
+ "entityType": "columns",
1550
+ "schema": "public",
1551
+ "table": "relay_workspace_leases"
1552
+ },
1553
+ {
1554
+ "type": "jsonb",
1555
+ "typeSchema": null,
1556
+ "notNull": true,
1557
+ "dimensions": 0,
1558
+ "default": "'{}'",
1559
+ "generated": null,
1560
+ "identity": null,
1561
+ "name": "metadata_json",
1562
+ "entityType": "columns",
1563
+ "schema": "public",
1564
+ "table": "relay_workspace_leases"
1565
+ },
1566
+ {
1567
+ "type": "timestamp with time zone",
1568
+ "typeSchema": null,
1569
+ "notNull": true,
1570
+ "dimensions": 0,
1571
+ "default": "now()",
1572
+ "generated": null,
1573
+ "identity": null,
1574
+ "name": "created_at",
1575
+ "entityType": "columns",
1576
+ "schema": "public",
1577
+ "table": "relay_workspace_leases"
1578
+ },
1579
+ {
1580
+ "type": "timestamp with time zone",
1581
+ "typeSchema": null,
1582
+ "notNull": true,
1583
+ "dimensions": 0,
1584
+ "default": "now()",
1585
+ "generated": null,
1586
+ "identity": null,
1587
+ "name": "updated_at",
1588
+ "entityType": "columns",
1589
+ "schema": "public",
1590
+ "table": "relay_workspace_leases"
1591
+ },
1592
+ {
1593
+ "type": "text",
1594
+ "typeSchema": null,
1595
+ "notNull": true,
1596
+ "dimensions": 0,
1597
+ "default": null,
1598
+ "generated": null,
1599
+ "identity": null,
1600
+ "name": "id",
1601
+ "entityType": "columns",
1602
+ "schema": "public",
1603
+ "table": "relay_workspace_snapshots"
1604
+ },
1605
+ {
1606
+ "type": "text",
1607
+ "typeSchema": null,
1608
+ "notNull": true,
1609
+ "dimensions": 0,
1610
+ "default": null,
1611
+ "generated": null,
1612
+ "identity": null,
1613
+ "name": "lease_id",
1614
+ "entityType": "columns",
1615
+ "schema": "public",
1616
+ "table": "relay_workspace_snapshots"
1617
+ },
1618
+ {
1619
+ "type": "text",
1620
+ "typeSchema": null,
1621
+ "notNull": true,
1622
+ "dimensions": 0,
1623
+ "default": null,
1624
+ "generated": null,
1625
+ "identity": null,
1626
+ "name": "execution_id",
1627
+ "entityType": "columns",
1628
+ "schema": "public",
1629
+ "table": "relay_workspace_snapshots"
1630
+ },
1631
+ {
1632
+ "type": "text",
1633
+ "typeSchema": null,
1634
+ "notNull": true,
1635
+ "dimensions": 0,
1636
+ "default": null,
1637
+ "generated": null,
1638
+ "identity": null,
1639
+ "name": "reason",
1640
+ "entityType": "columns",
1641
+ "schema": "public",
1642
+ "table": "relay_workspace_snapshots"
1643
+ },
1644
+ {
1645
+ "type": "text",
1646
+ "typeSchema": null,
1647
+ "notNull": true,
1648
+ "dimensions": 0,
1649
+ "default": null,
1650
+ "generated": null,
1651
+ "identity": null,
1652
+ "name": "snapshot_ref",
1653
+ "entityType": "columns",
1654
+ "schema": "public",
1655
+ "table": "relay_workspace_snapshots"
1656
+ },
1657
+ {
1658
+ "type": "jsonb",
1659
+ "typeSchema": null,
1660
+ "notNull": true,
1661
+ "dimensions": 0,
1662
+ "default": "'{}'",
1663
+ "generated": null,
1664
+ "identity": null,
1665
+ "name": "metadata_json",
1666
+ "entityType": "columns",
1667
+ "schema": "public",
1668
+ "table": "relay_workspace_snapshots"
1669
+ },
1670
+ {
1671
+ "type": "timestamp with time zone",
1672
+ "typeSchema": null,
1673
+ "notNull": true,
1674
+ "dimensions": 0,
1675
+ "default": "now()",
1676
+ "generated": null,
1677
+ "identity": null,
1678
+ "name": "created_at",
1679
+ "entityType": "columns",
1680
+ "schema": "public",
1681
+ "table": "relay_workspace_snapshots"
1682
+ },
1683
+ {
1684
+ "nameExplicit": true,
1685
+ "columns": [
1686
+ {
1687
+ "value": "address_id",
1688
+ "isExpression": false,
1689
+ "asc": true,
1690
+ "nullsFirst": false,
1691
+ "opclass": null
1692
+ }
1693
+ ],
1694
+ "isUnique": true,
1695
+ "where": null,
1696
+ "with": "",
1697
+ "method": "btree",
1698
+ "concurrently": false,
1699
+ "name": "uq_relay_address_book_address",
1700
+ "entityType": "indexes",
1701
+ "schema": "public",
1702
+ "table": "relay_address_book_entries"
1703
+ },
1704
+ {
1705
+ "nameExplicit": true,
1706
+ "columns": [
1707
+ {
1708
+ "value": "agent_definition_id",
1709
+ "isExpression": false,
1710
+ "asc": true,
1711
+ "nullsFirst": false,
1712
+ "opclass": null
1713
+ },
1714
+ {
1715
+ "value": "revision",
1716
+ "isExpression": false,
1717
+ "asc": true,
1718
+ "nullsFirst": false,
1719
+ "opclass": null
1720
+ }
1721
+ ],
1722
+ "isUnique": false,
1723
+ "where": null,
1724
+ "with": "",
1725
+ "method": "btree",
1726
+ "concurrently": false,
1727
+ "name": "idx_relay_agent_definition_revisions_definition",
1728
+ "entityType": "indexes",
1729
+ "schema": "public",
1730
+ "table": "relay_agent_definition_revisions"
1731
+ },
1732
+ {
1733
+ "nameExplicit": true,
1734
+ "columns": [
1735
+ {
1736
+ "value": "name",
1737
+ "isExpression": false,
1738
+ "asc": true,
1739
+ "nullsFirst": false,
1740
+ "opclass": null
1741
+ }
1742
+ ],
1743
+ "isUnique": false,
1744
+ "where": null,
1745
+ "with": "",
1746
+ "method": "btree",
1747
+ "concurrently": false,
1748
+ "name": "idx_relay_agent_definitions_name",
1749
+ "entityType": "indexes",
1750
+ "schema": "public",
1751
+ "table": "relay_agent_definitions"
1752
+ },
1753
+ {
1754
+ "nameExplicit": true,
1755
+ "columns": [
1756
+ {
1757
+ "value": "execution_id",
1758
+ "isExpression": false,
1759
+ "asc": true,
1760
+ "nullsFirst": false,
1761
+ "opclass": null
1762
+ }
1763
+ ],
1764
+ "isUnique": false,
1765
+ "where": null,
1766
+ "with": "",
1767
+ "method": "btree",
1768
+ "concurrently": false,
1769
+ "name": "idx_relay_child_executions_parent",
1770
+ "entityType": "indexes",
1771
+ "schema": "public",
1772
+ "table": "relay_child_executions"
1773
+ },
1774
+ {
1775
+ "nameExplicit": true,
1776
+ "columns": [
1777
+ {
1778
+ "value": "state",
1779
+ "isExpression": false,
1780
+ "asc": true,
1781
+ "nullsFirst": false,
1782
+ "opclass": null
1783
+ },
1784
+ {
1785
+ "value": "available_at",
1786
+ "isExpression": false,
1787
+ "asc": true,
1788
+ "nullsFirst": false,
1789
+ "opclass": null
1790
+ }
1791
+ ],
1792
+ "isUnique": false,
1793
+ "where": null,
1794
+ "with": "",
1795
+ "method": "btree",
1796
+ "concurrently": false,
1797
+ "name": "idx_relay_envelope_ready_state_available",
1798
+ "entityType": "indexes",
1799
+ "schema": "public",
1800
+ "table": "relay_envelope_ready"
1801
+ },
1802
+ {
1803
+ "nameExplicit": true,
1804
+ "columns": [
1805
+ {
1806
+ "value": "claim_expires_at",
1807
+ "isExpression": false,
1808
+ "asc": true,
1809
+ "nullsFirst": false,
1810
+ "opclass": null
1811
+ }
1812
+ ],
1813
+ "isUnique": false,
1814
+ "where": null,
1815
+ "with": "",
1816
+ "method": "btree",
1817
+ "concurrently": false,
1818
+ "name": "idx_relay_envelope_ready_claim_expires",
1819
+ "entityType": "indexes",
1820
+ "schema": "public",
1821
+ "table": "relay_envelope_ready"
1822
+ },
1823
+ {
1824
+ "nameExplicit": true,
1825
+ "columns": [
1826
+ {
1827
+ "value": "idempotency_key",
1828
+ "isExpression": false,
1829
+ "asc": true,
1830
+ "nullsFirst": false,
1831
+ "opclass": null
1832
+ }
1833
+ ],
1834
+ "isUnique": true,
1835
+ "where": null,
1836
+ "with": "",
1837
+ "method": "btree",
1838
+ "concurrently": false,
1839
+ "name": "uq_relay_envelope_ready_idempotency",
1840
+ "entityType": "indexes",
1841
+ "schema": "public",
1842
+ "table": "relay_envelope_ready"
1843
+ },
1844
+ {
1845
+ "nameExplicit": true,
1846
+ "columns": [
1847
+ {
1848
+ "value": "execution_id",
1849
+ "isExpression": false,
1850
+ "asc": true,
1851
+ "nullsFirst": false,
1852
+ "opclass": null
1853
+ },
1854
+ {
1855
+ "value": "created_at",
1856
+ "isExpression": false,
1857
+ "asc": true,
1858
+ "nullsFirst": false,
1859
+ "opclass": null
1860
+ }
1861
+ ],
1862
+ "isUnique": false,
1863
+ "where": null,
1864
+ "with": "",
1865
+ "method": "btree",
1866
+ "concurrently": false,
1867
+ "name": "idx_relay_envelopes_execution",
1868
+ "entityType": "indexes",
1869
+ "schema": "public",
1870
+ "table": "relay_envelopes"
1871
+ },
1872
+ {
1873
+ "nameExplicit": true,
1874
+ "columns": [
1875
+ {
1876
+ "value": "to_address_id",
1877
+ "isExpression": false,
1878
+ "asc": true,
1879
+ "nullsFirst": false,
1880
+ "opclass": null
1881
+ },
1882
+ {
1883
+ "value": "created_at",
1884
+ "isExpression": false,
1885
+ "asc": true,
1886
+ "nullsFirst": false,
1887
+ "opclass": null
1888
+ }
1889
+ ],
1890
+ "isUnique": false,
1891
+ "where": null,
1892
+ "with": "",
1893
+ "method": "btree",
1894
+ "concurrently": false,
1895
+ "name": "idx_relay_envelopes_to_address",
1896
+ "entityType": "indexes",
1897
+ "schema": "public",
1898
+ "table": "relay_envelopes"
1899
+ },
1900
+ {
1901
+ "nameExplicit": true,
1902
+ "columns": [
1903
+ {
1904
+ "value": "execution_id",
1905
+ "isExpression": false,
1906
+ "asc": true,
1907
+ "nullsFirst": false,
1908
+ "opclass": null
1909
+ },
1910
+ {
1911
+ "value": "created_at",
1912
+ "isExpression": false,
1913
+ "asc": true,
1914
+ "nullsFirst": false,
1915
+ "opclass": null
1916
+ }
1917
+ ],
1918
+ "isUnique": false,
1919
+ "where": null,
1920
+ "with": "",
1921
+ "method": "btree",
1922
+ "concurrently": false,
1923
+ "name": "idx_relay_execution_events_execution",
1924
+ "entityType": "indexes",
1925
+ "schema": "public",
1926
+ "table": "relay_execution_events"
1927
+ },
1928
+ {
1929
+ "nameExplicit": true,
1930
+ "columns": [
1931
+ {
1932
+ "value": "execution_id",
1933
+ "isExpression": false,
1934
+ "asc": true,
1935
+ "nullsFirst": false,
1936
+ "opclass": null
1937
+ },
1938
+ {
1939
+ "value": "sequence",
1940
+ "isExpression": false,
1941
+ "asc": true,
1942
+ "nullsFirst": false,
1943
+ "opclass": null
1944
+ }
1945
+ ],
1946
+ "isUnique": true,
1947
+ "where": null,
1948
+ "with": "",
1949
+ "method": "btree",
1950
+ "concurrently": false,
1951
+ "name": "uq_relay_execution_events_sequence",
1952
+ "entityType": "indexes",
1953
+ "schema": "public",
1954
+ "table": "relay_execution_events"
1955
+ },
1956
+ {
1957
+ "nameExplicit": true,
1958
+ "columns": [
1959
+ {
1960
+ "value": "cursor",
1961
+ "isExpression": false,
1962
+ "asc": true,
1963
+ "nullsFirst": false,
1964
+ "opclass": null
1965
+ }
1966
+ ],
1967
+ "isUnique": true,
1968
+ "where": null,
1969
+ "with": "",
1970
+ "method": "btree",
1971
+ "concurrently": false,
1972
+ "name": "uq_relay_execution_events_cursor",
1973
+ "entityType": "indexes",
1974
+ "schema": "public",
1975
+ "table": "relay_execution_events"
1976
+ },
1977
+ {
1978
+ "nameExplicit": true,
1979
+ "columns": [
1980
+ {
1981
+ "value": "root_address_id",
1982
+ "isExpression": false,
1983
+ "asc": true,
1984
+ "nullsFirst": false,
1985
+ "opclass": null
1986
+ },
1987
+ {
1988
+ "value": "status",
1989
+ "isExpression": false,
1990
+ "asc": true,
1991
+ "nullsFirst": false,
1992
+ "opclass": null
1993
+ }
1994
+ ],
1995
+ "isUnique": false,
1996
+ "where": null,
1997
+ "with": "",
1998
+ "method": "btree",
1999
+ "concurrently": false,
2000
+ "name": "idx_relay_executions_root_status",
2001
+ "entityType": "indexes",
2002
+ "schema": "public",
2003
+ "table": "relay_executions"
2004
+ },
2005
+ {
2006
+ "nameExplicit": true,
2007
+ "columns": [
2008
+ {
2009
+ "value": "updated_at",
2010
+ "isExpression": false,
2011
+ "asc": true,
2012
+ "nullsFirst": false,
2013
+ "opclass": null
2014
+ },
2015
+ {
2016
+ "value": "id",
2017
+ "isExpression": false,
2018
+ "asc": true,
2019
+ "nullsFirst": false,
2020
+ "opclass": null
2021
+ }
2022
+ ],
2023
+ "isUnique": false,
2024
+ "where": null,
2025
+ "with": "",
2026
+ "method": "btree",
2027
+ "concurrently": false,
2028
+ "name": "idx_relay_executions_updated_id",
2029
+ "entityType": "indexes",
2030
+ "schema": "public",
2031
+ "table": "relay_executions"
2032
+ },
2033
+ {
2034
+ "nameExplicit": true,
2035
+ "columns": [
2036
+ {
2037
+ "value": "root_address_id",
2038
+ "isExpression": false,
2039
+ "asc": true,
2040
+ "nullsFirst": false,
2041
+ "opclass": null
2042
+ },
2043
+ {
2044
+ "value": "status",
2045
+ "isExpression": false,
2046
+ "asc": true,
2047
+ "nullsFirst": false,
2048
+ "opclass": null
2049
+ },
2050
+ {
2051
+ "value": "updated_at",
2052
+ "isExpression": false,
2053
+ "asc": true,
2054
+ "nullsFirst": false,
2055
+ "opclass": null
2056
+ },
2057
+ {
2058
+ "value": "id",
2059
+ "isExpression": false,
2060
+ "asc": true,
2061
+ "nullsFirst": false,
2062
+ "opclass": null
2063
+ }
2064
+ ],
2065
+ "isUnique": false,
2066
+ "where": null,
2067
+ "with": "",
2068
+ "method": "btree",
2069
+ "concurrently": false,
2070
+ "name": "idx_relay_executions_root_status_updated_id",
2071
+ "entityType": "indexes",
2072
+ "schema": "public",
2073
+ "table": "relay_executions"
2074
+ },
2075
+ {
2076
+ "nameExplicit": true,
2077
+ "columns": [
2078
+ {
2079
+ "value": "scope",
2080
+ "isExpression": false,
2081
+ "asc": true,
2082
+ "nullsFirst": false,
2083
+ "opclass": null
2084
+ },
2085
+ {
2086
+ "value": "operation",
2087
+ "isExpression": false,
2088
+ "asc": true,
2089
+ "nullsFirst": false,
2090
+ "opclass": null
2091
+ },
2092
+ {
2093
+ "value": "key",
2094
+ "isExpression": false,
2095
+ "asc": true,
2096
+ "nullsFirst": false,
2097
+ "opclass": null
2098
+ }
2099
+ ],
2100
+ "isUnique": true,
2101
+ "where": null,
2102
+ "with": "",
2103
+ "method": "btree",
2104
+ "concurrently": false,
2105
+ "name": "uq_relay_idempotency_scope_operation_key",
2106
+ "entityType": "indexes",
2107
+ "schema": "public",
2108
+ "table": "relay_idempotency_keys"
2109
+ },
2110
+ {
2111
+ "nameExplicit": true,
2112
+ "columns": [
2113
+ {
2114
+ "value": "envelope_ready_id",
2115
+ "isExpression": false,
2116
+ "asc": true,
2117
+ "nullsFirst": false,
2118
+ "opclass": null
2119
+ },
2120
+ {
2121
+ "value": "created_at",
2122
+ "isExpression": false,
2123
+ "asc": true,
2124
+ "nullsFirst": false,
2125
+ "opclass": null
2126
+ }
2127
+ ],
2128
+ "isUnique": false,
2129
+ "where": null,
2130
+ "with": "",
2131
+ "method": "btree",
2132
+ "concurrently": false,
2133
+ "name": "idx_relay_route_attempts_ready",
2134
+ "entityType": "indexes",
2135
+ "schema": "public",
2136
+ "table": "relay_route_attempts"
2137
+ },
2138
+ {
2139
+ "nameExplicit": true,
2140
+ "columns": [
2141
+ {
2142
+ "value": "execution_id",
2143
+ "isExpression": false,
2144
+ "asc": true,
2145
+ "nullsFirst": false,
2146
+ "opclass": null
2147
+ },
2148
+ {
2149
+ "value": "created_at",
2150
+ "isExpression": false,
2151
+ "asc": true,
2152
+ "nullsFirst": false,
2153
+ "opclass": null
2154
+ }
2155
+ ],
2156
+ "isUnique": false,
2157
+ "where": null,
2158
+ "with": "",
2159
+ "method": "btree",
2160
+ "concurrently": false,
2161
+ "name": "idx_relay_tool_calls_execution",
2162
+ "entityType": "indexes",
2163
+ "schema": "public",
2164
+ "table": "relay_tool_calls"
2165
+ },
2166
+ {
2167
+ "nameExplicit": true,
2168
+ "columns": [
2169
+ {
2170
+ "value": "execution_id",
2171
+ "isExpression": false,
2172
+ "asc": true,
2173
+ "nullsFirst": false,
2174
+ "opclass": null
2175
+ },
2176
+ {
2177
+ "value": "state",
2178
+ "isExpression": false,
2179
+ "asc": true,
2180
+ "nullsFirst": false,
2181
+ "opclass": null
2182
+ }
2183
+ ],
2184
+ "isUnique": false,
2185
+ "where": null,
2186
+ "with": "",
2187
+ "method": "btree",
2188
+ "concurrently": false,
2189
+ "name": "idx_relay_waits_execution_state",
2190
+ "entityType": "indexes",
2191
+ "schema": "public",
2192
+ "table": "relay_waits"
2193
+ },
2194
+ {
2195
+ "nameExplicit": true,
2196
+ "columns": [
2197
+ {
2198
+ "value": "execution_id",
2199
+ "isExpression": false,
2200
+ "asc": true,
2201
+ "nullsFirst": false,
2202
+ "opclass": null
2203
+ }
2204
+ ],
2205
+ "isUnique": true,
2206
+ "where": "\"status\" not in ('released', 'failed')",
2207
+ "with": "",
2208
+ "method": "btree",
2209
+ "concurrently": false,
2210
+ "name": "uq_relay_workspace_leases_active_execution",
2211
+ "entityType": "indexes",
2212
+ "schema": "public",
2213
+ "table": "relay_workspace_leases"
2214
+ },
2215
+ {
2216
+ "nameExplicit": true,
2217
+ "columns": [
2218
+ {
2219
+ "value": "execution_id",
2220
+ "isExpression": false,
2221
+ "asc": true,
2222
+ "nullsFirst": false,
2223
+ "opclass": null
2224
+ }
2225
+ ],
2226
+ "isUnique": false,
2227
+ "where": null,
2228
+ "with": "",
2229
+ "method": "btree",
2230
+ "concurrently": false,
2231
+ "name": "idx_relay_workspace_leases_execution",
2232
+ "entityType": "indexes",
2233
+ "schema": "public",
2234
+ "table": "relay_workspace_leases"
2235
+ },
2236
+ {
2237
+ "nameExplicit": true,
2238
+ "columns": [
2239
+ {
2240
+ "value": "status",
2241
+ "isExpression": false,
2242
+ "asc": true,
2243
+ "nullsFirst": false,
2244
+ "opclass": null
2245
+ },
2246
+ {
2247
+ "value": "updated_at",
2248
+ "isExpression": false,
2249
+ "asc": true,
2250
+ "nullsFirst": false,
2251
+ "opclass": null
2252
+ }
2253
+ ],
2254
+ "isUnique": false,
2255
+ "where": null,
2256
+ "with": "",
2257
+ "method": "btree",
2258
+ "concurrently": false,
2259
+ "name": "idx_relay_workspace_leases_status_updated",
2260
+ "entityType": "indexes",
2261
+ "schema": "public",
2262
+ "table": "relay_workspace_leases"
2263
+ },
2264
+ {
2265
+ "nameExplicit": true,
2266
+ "columns": [
2267
+ {
2268
+ "value": "lease_id",
2269
+ "isExpression": false,
2270
+ "asc": true,
2271
+ "nullsFirst": false,
2272
+ "opclass": null
2273
+ },
2274
+ {
2275
+ "value": "created_at",
2276
+ "isExpression": false,
2277
+ "asc": true,
2278
+ "nullsFirst": false,
2279
+ "opclass": null
2280
+ }
2281
+ ],
2282
+ "isUnique": false,
2283
+ "where": null,
2284
+ "with": "",
2285
+ "method": "btree",
2286
+ "concurrently": false,
2287
+ "name": "idx_relay_workspace_snapshots_lease",
2288
+ "entityType": "indexes",
2289
+ "schema": "public",
2290
+ "table": "relay_workspace_snapshots"
2291
+ },
2292
+ {
2293
+ "nameExplicit": true,
2294
+ "columns": [
2295
+ {
2296
+ "value": "execution_id",
2297
+ "isExpression": false,
2298
+ "asc": true,
2299
+ "nullsFirst": false,
2300
+ "opclass": null
2301
+ },
2302
+ {
2303
+ "value": "created_at",
2304
+ "isExpression": false,
2305
+ "asc": true,
2306
+ "nullsFirst": false,
2307
+ "opclass": null
2308
+ }
2309
+ ],
2310
+ "isUnique": false,
2311
+ "where": null,
2312
+ "with": "",
2313
+ "method": "btree",
2314
+ "concurrently": false,
2315
+ "name": "idx_relay_workspace_snapshots_execution",
2316
+ "entityType": "indexes",
2317
+ "schema": "public",
2318
+ "table": "relay_workspace_snapshots"
2319
+ },
2320
+ {
2321
+ "columns": ["agent_definition_id", "revision"],
2322
+ "nameExplicit": true,
2323
+ "name": "pk_relay_agent_definition_revisions",
2324
+ "entityType": "pks",
2325
+ "schema": "public",
2326
+ "table": "relay_agent_definition_revisions"
2327
+ },
2328
+ {
2329
+ "columns": ["id"],
2330
+ "nameExplicit": false,
2331
+ "name": "relay_address_book_entries_pkey",
2332
+ "schema": "public",
2333
+ "table": "relay_address_book_entries",
2334
+ "entityType": "pks"
2335
+ },
2336
+ {
2337
+ "columns": ["id"],
2338
+ "nameExplicit": false,
2339
+ "name": "relay_agent_definitions_pkey",
2340
+ "schema": "public",
2341
+ "table": "relay_agent_definitions",
2342
+ "entityType": "pks"
2343
+ },
2344
+ {
2345
+ "columns": ["id"],
2346
+ "nameExplicit": false,
2347
+ "name": "relay_child_executions_pkey",
2348
+ "schema": "public",
2349
+ "table": "relay_child_executions",
2350
+ "entityType": "pks"
2351
+ },
2352
+ {
2353
+ "columns": ["id"],
2354
+ "nameExplicit": false,
2355
+ "name": "relay_envelope_ready_pkey",
2356
+ "schema": "public",
2357
+ "table": "relay_envelope_ready",
2358
+ "entityType": "pks"
2359
+ },
2360
+ {
2361
+ "columns": ["id"],
2362
+ "nameExplicit": false,
2363
+ "name": "relay_envelopes_pkey",
2364
+ "schema": "public",
2365
+ "table": "relay_envelopes",
2366
+ "entityType": "pks"
2367
+ },
2368
+ {
2369
+ "columns": ["id"],
2370
+ "nameExplicit": false,
2371
+ "name": "relay_execution_events_pkey",
2372
+ "schema": "public",
2373
+ "table": "relay_execution_events",
2374
+ "entityType": "pks"
2375
+ },
2376
+ {
2377
+ "columns": ["id"],
2378
+ "nameExplicit": false,
2379
+ "name": "relay_executions_pkey",
2380
+ "schema": "public",
2381
+ "table": "relay_executions",
2382
+ "entityType": "pks"
2383
+ },
2384
+ {
2385
+ "columns": ["id"],
2386
+ "nameExplicit": false,
2387
+ "name": "relay_idempotency_keys_pkey",
2388
+ "schema": "public",
2389
+ "table": "relay_idempotency_keys",
2390
+ "entityType": "pks"
2391
+ },
2392
+ {
2393
+ "columns": ["id"],
2394
+ "nameExplicit": false,
2395
+ "name": "relay_route_attempts_pkey",
2396
+ "schema": "public",
2397
+ "table": "relay_route_attempts",
2398
+ "entityType": "pks"
2399
+ },
2400
+ {
2401
+ "columns": ["id"],
2402
+ "nameExplicit": false,
2403
+ "name": "relay_tool_calls_pkey",
2404
+ "schema": "public",
2405
+ "table": "relay_tool_calls",
2406
+ "entityType": "pks"
2407
+ },
2408
+ {
2409
+ "columns": ["tool_call_id"],
2410
+ "nameExplicit": false,
2411
+ "name": "relay_tool_results_pkey",
2412
+ "schema": "public",
2413
+ "table": "relay_tool_results",
2414
+ "entityType": "pks"
2415
+ },
2416
+ {
2417
+ "columns": ["id"],
2418
+ "nameExplicit": false,
2419
+ "name": "relay_waits_pkey",
2420
+ "schema": "public",
2421
+ "table": "relay_waits",
2422
+ "entityType": "pks"
2423
+ },
2424
+ {
2425
+ "columns": ["id"],
2426
+ "nameExplicit": false,
2427
+ "name": "relay_workspace_leases_pkey",
2428
+ "schema": "public",
2429
+ "table": "relay_workspace_leases",
2430
+ "entityType": "pks"
2431
+ },
2432
+ {
2433
+ "columns": ["id"],
2434
+ "nameExplicit": false,
2435
+ "name": "relay_workspace_snapshots_pkey",
2436
+ "schema": "public",
2437
+ "table": "relay_workspace_snapshots",
2438
+ "entityType": "pks"
2439
+ }
2440
+ ],
2441
+ "renames": []
2442
+ }