@relayfx/sdk 0.0.50 → 0.1.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.
Files changed (132) hide show
  1. package/README.md +5 -0
  2. package/dist/ai.js +42 -17222
  3. package/dist/index-q0z11q9m.js +18726 -0
  4. package/dist/index-sms8x6cq.js +137 -0
  5. package/dist/index-vbf5hcw8.js +2156 -0
  6. package/dist/index.js +741 -18839
  7. package/dist/migrations/20260712120000_durable_inbox/migration.sql +9 -0
  8. package/dist/migrations/20260712140000_execution_state/migration.sql +5 -0
  9. package/dist/migrations/20260712150000_durable_entities/migration.sql +15 -0
  10. package/dist/migrations/20260712160000_ephemeral_presence/migration.sql +13 -0
  11. package/dist/migrations/20260712170000_topic_subscriptions/migration.sql +3 -0
  12. package/dist/migrations/mysql/0003_durable_inbox.sql +3 -0
  13. package/dist/migrations/mysql/0004_execution_state.sql +3 -0
  14. package/dist/migrations/mysql/0005_durable_entities.sql +13 -0
  15. package/dist/migrations/mysql/0006_ephemeral_presence.sql +12 -0
  16. package/dist/migrations/mysql/0007_topic_subscriptions.sql +1 -0
  17. package/dist/migrations/pg/20260712120000_durable_inbox/migration.sql +9 -0
  18. package/dist/migrations/pg/20260712140000_execution_state/migration.sql +5 -0
  19. package/dist/migrations/pg/20260712150000_durable_entities/migration.sql +15 -0
  20. package/dist/migrations/pg/20260712160000_ephemeral_presence/migration.sql +13 -0
  21. package/dist/migrations/pg/20260712170000_topic_subscriptions/migration.sql +3 -0
  22. package/dist/migrations/sqlite/0003_durable_inbox.sql +9 -0
  23. package/dist/migrations/sqlite/0004_execution_state.sql +3 -0
  24. package/dist/migrations/sqlite/0005_durable_entities.sql +15 -0
  25. package/dist/migrations/sqlite/0006_ephemeral_presence.sql +12 -0
  26. package/dist/migrations/sqlite/0007_topic_subscriptions.sql +3 -0
  27. package/dist/sqlite.js +688 -0
  28. package/dist/types/relay/client.d.ts +197 -17
  29. package/dist/types/relay/command.d.ts +41 -0
  30. package/dist/types/relay/database.d.ts +1 -0
  31. package/dist/types/relay/index.d.ts +3 -2
  32. package/dist/types/relay/operation.d.ts +520 -2
  33. package/dist/types/relay/sqlite-migrations.d.ts +39 -0
  34. package/dist/types/relay/sqlite-runtime.d.ts +5 -0
  35. package/dist/types/relay/sqlite.d.ts +27 -0
  36. package/dist/types/runtime/address/address-book-service.d.ts +4 -4
  37. package/dist/types/runtime/address/address-resolution-service.d.ts +1 -1
  38. package/dist/types/runtime/agent/agent-loop-service.d.ts +2 -2
  39. package/dist/types/runtime/agent/agent-registry-service.d.ts +1 -1
  40. package/dist/types/runtime/agent/relay-compaction.d.ts +1 -1
  41. package/dist/types/runtime/agent/relay-permissions.d.ts +1 -1
  42. package/dist/types/runtime/agent/relay-steering.d.ts +1 -1
  43. package/dist/types/runtime/child/child-run-service.d.ts +1 -1
  44. package/dist/types/runtime/child/parent-notifier-service.d.ts +1 -1
  45. package/dist/types/runtime/cluster/execution-entity.d.ts +1 -1
  46. package/dist/types/runtime/entity/entity-instance-service.d.ts +67 -0
  47. package/dist/types/runtime/entity/entity-registry-service.d.ts +35 -0
  48. package/dist/types/runtime/envelope/envelope-service.d.ts +7 -3
  49. package/dist/types/runtime/execution/event-log-service.d.ts +1 -1
  50. package/dist/types/runtime/execution/execution-service.d.ts +1 -1
  51. package/dist/types/runtime/execution/execution-watch-service.d.ts +32 -0
  52. package/dist/types/runtime/execution/session-stream-service.d.ts +33 -0
  53. package/dist/types/runtime/inbox/inbox-service.d.ts +76 -0
  54. package/dist/types/runtime/inbox/send-message-tool.d.ts +27 -0
  55. package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +34 -0
  56. package/dist/types/runtime/index.d.ts +13 -0
  57. package/dist/types/runtime/memory/memory-service.d.ts +1 -1
  58. package/dist/types/runtime/presence/presence-service.d.ts +30 -0
  59. package/dist/types/runtime/presence/presence-tool.d.ts +20 -0
  60. package/dist/types/runtime/runner/runner-runtime-service.d.ts +18 -18
  61. package/dist/types/runtime/schedule/scheduler-service.d.ts +1 -1
  62. package/dist/types/runtime/session/session-store-service.d.ts +1 -1
  63. package/dist/types/runtime/skill/skill-registry-service.d.ts +1 -1
  64. package/dist/types/runtime/state/execution-state-service.d.ts +57 -0
  65. package/dist/types/runtime/state/state-tools.d.ts +5 -0
  66. package/dist/types/runtime/tool/tool-runtime-service.d.ts +1 -1
  67. package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +24 -0
  68. package/dist/types/runtime/topic/topic-service.d.ts +50 -0
  69. package/dist/types/runtime/wait/wait-service.d.ts +2 -1
  70. package/dist/types/runtime/wait/wait-signal.d.ts +1 -1
  71. package/dist/types/runtime/workflow/execution-workflow.d.ts +2 -2
  72. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +1 -1
  73. package/dist/types/schema/address-schema.d.ts +6 -6
  74. package/dist/types/schema/entity-schema.d.ts +40 -0
  75. package/dist/types/schema/envelope-schema.d.ts +1 -0
  76. package/dist/types/schema/execution-schema.d.ts +2 -2
  77. package/dist/types/schema/ids-schema.d.ts +8 -0
  78. package/dist/types/schema/inbox-schema.d.ts +81 -0
  79. package/dist/types/schema/index.d.ts +4 -0
  80. package/dist/types/schema/presence-schema.d.ts +28 -0
  81. package/dist/types/schema/state-schema.d.ts +35 -0
  82. package/dist/types/store-sql/address/address-book-repository.d.ts +1 -1
  83. package/dist/types/store-sql/database/database-service.d.ts +4 -18
  84. package/dist/types/store-sql/database/notification-bus.d.ts +2 -0
  85. package/dist/types/store-sql/database/sql-dialect.d.ts +13 -0
  86. package/dist/types/store-sql/entity/entity-repository.d.ts +36 -0
  87. package/dist/types/store-sql/envelope/envelope-repository.d.ts +1 -0
  88. package/dist/types/store-sql/execution/execution-event-repository.d.ts +2 -1
  89. package/dist/types/store-sql/execution/execution-repository.d.ts +12 -2
  90. package/dist/types/store-sql/inbox/inbox-repository.d.ts +56 -0
  91. package/dist/types/store-sql/index.d.ts +6 -0
  92. package/dist/types/store-sql/portable.d.ts +27 -0
  93. package/dist/types/store-sql/presence/presence-repository.d.ts +51 -0
  94. package/dist/types/store-sql/schema/relay-schema.d.ts +1352 -140
  95. package/dist/types/store-sql/state/execution-state-repository.d.ts +80 -0
  96. package/dist/types/store-sql/tenant/tenant-id.d.ts +0 -2
  97. package/dist/types/store-sql/topic/topic-repository.d.ts +44 -0
  98. package/package.json +26 -4
  99. package/dist/migrations/20260701002839_sour_cerebro/snapshot.json +0 -1971
  100. package/dist/migrations/20260701041134_acoustic_hulk/snapshot.json +0 -2372
  101. package/dist/migrations/20260701160543_condemned_stryfe/snapshot.json +0 -2442
  102. package/dist/migrations/20260701220315_heavy_gorgon/snapshot.json +0 -2495
  103. package/dist/migrations/20260701225444_polite_lord_hawal/snapshot.json +0 -2821
  104. package/dist/migrations/20260702030128_flaky_misty_knight/snapshot.json +0 -2821
  105. package/dist/migrations/20260705003847_nervous_banshee/snapshot.json +0 -2954
  106. package/dist/migrations/20260705012626_common_stryfe/snapshot.json +0 -3378
  107. package/dist/migrations/20260705015420_sweet_captain_marvel/snapshot.json +0 -3485
  108. package/dist/migrations/20260705023041_chunky_scalphunter/snapshot.json +0 -3753
  109. package/dist/migrations/20260705030344_short_patriot/snapshot.json +0 -3873
  110. package/dist/migrations/20260705045546_heavy_ben_grimm/snapshot.json +0 -4193
  111. package/dist/migrations/20260706185931_regular_shadow_king/snapshot.json +0 -4844
  112. package/dist/migrations/20260706233300_equal_cyclops/snapshot.json +0 -4883
  113. package/dist/migrations/20260709030349_agent_id_rename/snapshot.json +0 -4883
  114. package/dist/migrations/20260709214238_faithful_black_widow/snapshot.json +0 -5426
  115. package/dist/migrations/20260709220016_fearless_aaron_stack/snapshot.json +0 -5426
  116. package/dist/migrations/pg/20260701002839_sour_cerebro/snapshot.json +0 -1971
  117. package/dist/migrations/pg/20260701041134_acoustic_hulk/snapshot.json +0 -2372
  118. package/dist/migrations/pg/20260701160543_condemned_stryfe/snapshot.json +0 -2442
  119. package/dist/migrations/pg/20260701220315_heavy_gorgon/snapshot.json +0 -2495
  120. package/dist/migrations/pg/20260701225444_polite_lord_hawal/snapshot.json +0 -2821
  121. package/dist/migrations/pg/20260702030128_flaky_misty_knight/snapshot.json +0 -2821
  122. package/dist/migrations/pg/20260705003847_nervous_banshee/snapshot.json +0 -2954
  123. package/dist/migrations/pg/20260705012626_common_stryfe/snapshot.json +0 -3378
  124. package/dist/migrations/pg/20260705015420_sweet_captain_marvel/snapshot.json +0 -3485
  125. package/dist/migrations/pg/20260705023041_chunky_scalphunter/snapshot.json +0 -3753
  126. package/dist/migrations/pg/20260705030344_short_patriot/snapshot.json +0 -3873
  127. package/dist/migrations/pg/20260705045546_heavy_ben_grimm/snapshot.json +0 -4193
  128. package/dist/migrations/pg/20260706185931_regular_shadow_king/snapshot.json +0 -4844
  129. package/dist/migrations/pg/20260706233300_equal_cyclops/snapshot.json +0 -4883
  130. package/dist/migrations/pg/20260709030349_agent_id_rename/snapshot.json +0 -4883
  131. package/dist/migrations/pg/20260709214238_faithful_black_widow/snapshot.json +0 -5426
  132. package/dist/migrations/pg/20260709220016_fearless_aaron_stack/snapshot.json +0 -5426
@@ -1,4844 +0,0 @@
1
- {
2
- "version": "8",
3
- "dialect": "postgres",
4
- "id": "8d3fff6d-b16c-4a9c-b09c-a59469e4073f",
5
- "prevIds": ["d0a5ecff-68cb-4af5-b680-078d81c4f9a0"],
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_chats",
16
- "entityType": "tables",
17
- "schema": "public"
18
- },
19
- {
20
- "isRlsEnabled": false,
21
- "name": "relay_agent_compactions",
22
- "entityType": "tables",
23
- "schema": "public"
24
- },
25
- {
26
- "isRlsEnabled": false,
27
- "name": "relay_agent_definition_revisions",
28
- "entityType": "tables",
29
- "schema": "public"
30
- },
31
- {
32
- "isRlsEnabled": false,
33
- "name": "relay_agent_definitions",
34
- "entityType": "tables",
35
- "schema": "public"
36
- },
37
- {
38
- "isRlsEnabled": false,
39
- "name": "relay_child_executions",
40
- "entityType": "tables",
41
- "schema": "public"
42
- },
43
- {
44
- "isRlsEnabled": false,
45
- "name": "relay_envelope_ready",
46
- "entityType": "tables",
47
- "schema": "public"
48
- },
49
- {
50
- "isRlsEnabled": false,
51
- "name": "relay_envelopes",
52
- "entityType": "tables",
53
- "schema": "public"
54
- },
55
- {
56
- "isRlsEnabled": false,
57
- "name": "relay_execution_context_epochs",
58
- "entityType": "tables",
59
- "schema": "public"
60
- },
61
- {
62
- "isRlsEnabled": false,
63
- "name": "relay_execution_events",
64
- "entityType": "tables",
65
- "schema": "public"
66
- },
67
- {
68
- "isRlsEnabled": false,
69
- "name": "relay_execution_skill_pins",
70
- "entityType": "tables",
71
- "schema": "public"
72
- },
73
- {
74
- "isRlsEnabled": false,
75
- "name": "relay_executions",
76
- "entityType": "tables",
77
- "schema": "public"
78
- },
79
- {
80
- "isRlsEnabled": false,
81
- "name": "relay_idempotency_keys",
82
- "entityType": "tables",
83
- "schema": "public"
84
- },
85
- {
86
- "isRlsEnabled": false,
87
- "name": "relay_memory_records",
88
- "entityType": "tables",
89
- "schema": "public"
90
- },
91
- {
92
- "isRlsEnabled": false,
93
- "name": "relay_permission_rules",
94
- "entityType": "tables",
95
- "schema": "public"
96
- },
97
- {
98
- "isRlsEnabled": false,
99
- "name": "relay_route_attempts",
100
- "entityType": "tables",
101
- "schema": "public"
102
- },
103
- {
104
- "isRlsEnabled": false,
105
- "name": "relay_schedules",
106
- "entityType": "tables",
107
- "schema": "public"
108
- },
109
- {
110
- "isRlsEnabled": false,
111
- "name": "relay_session_entries",
112
- "entityType": "tables",
113
- "schema": "public"
114
- },
115
- {
116
- "isRlsEnabled": false,
117
- "name": "relay_sessions",
118
- "entityType": "tables",
119
- "schema": "public"
120
- },
121
- {
122
- "isRlsEnabled": false,
123
- "name": "relay_skill_definition_revisions",
124
- "entityType": "tables",
125
- "schema": "public"
126
- },
127
- {
128
- "isRlsEnabled": false,
129
- "name": "relay_skill_definitions",
130
- "entityType": "tables",
131
- "schema": "public"
132
- },
133
- {
134
- "isRlsEnabled": false,
135
- "name": "relay_steering_drains",
136
- "entityType": "tables",
137
- "schema": "public"
138
- },
139
- {
140
- "isRlsEnabled": false,
141
- "name": "relay_steering_messages",
142
- "entityType": "tables",
143
- "schema": "public"
144
- },
145
- {
146
- "isRlsEnabled": false,
147
- "name": "relay_tool_calls",
148
- "entityType": "tables",
149
- "schema": "public"
150
- },
151
- {
152
- "isRlsEnabled": false,
153
- "name": "relay_tool_results",
154
- "entityType": "tables",
155
- "schema": "public"
156
- },
157
- {
158
- "isRlsEnabled": false,
159
- "name": "relay_waits",
160
- "entityType": "tables",
161
- "schema": "public"
162
- },
163
- {
164
- "isRlsEnabled": false,
165
- "name": "relay_workspace_leases",
166
- "entityType": "tables",
167
- "schema": "public"
168
- },
169
- {
170
- "isRlsEnabled": false,
171
- "name": "relay_workspace_snapshots",
172
- "entityType": "tables",
173
- "schema": "public"
174
- },
175
- {
176
- "type": "text",
177
- "typeSchema": null,
178
- "notNull": true,
179
- "dimensions": 0,
180
- "default": "'system'",
181
- "generated": null,
182
- "identity": null,
183
- "name": "tenant_id",
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": "id",
197
- "entityType": "columns",
198
- "schema": "public",
199
- "table": "relay_address_book_entries"
200
- },
201
- {
202
- "type": "text",
203
- "typeSchema": null,
204
- "notNull": true,
205
- "dimensions": 0,
206
- "default": null,
207
- "generated": null,
208
- "identity": null,
209
- "name": "address_id",
210
- "entityType": "columns",
211
- "schema": "public",
212
- "table": "relay_address_book_entries"
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": "route_kind",
223
- "entityType": "columns",
224
- "schema": "public",
225
- "table": "relay_address_book_entries"
226
- },
227
- {
228
- "type": "text",
229
- "typeSchema": null,
230
- "notNull": true,
231
- "dimensions": 0,
232
- "default": null,
233
- "generated": null,
234
- "identity": null,
235
- "name": "route_key",
236
- "entityType": "columns",
237
- "schema": "public",
238
- "table": "relay_address_book_entries"
239
- },
240
- {
241
- "type": "jsonb",
242
- "typeSchema": null,
243
- "notNull": true,
244
- "dimensions": 0,
245
- "default": "'{}'",
246
- "generated": null,
247
- "identity": null,
248
- "name": "metadata_json",
249
- "entityType": "columns",
250
- "schema": "public",
251
- "table": "relay_address_book_entries"
252
- },
253
- {
254
- "type": "timestamp with time zone",
255
- "typeSchema": null,
256
- "notNull": true,
257
- "dimensions": 0,
258
- "default": "now()",
259
- "generated": null,
260
- "identity": null,
261
- "name": "created_at",
262
- "entityType": "columns",
263
- "schema": "public",
264
- "table": "relay_address_book_entries"
265
- },
266
- {
267
- "type": "timestamp with time zone",
268
- "typeSchema": null,
269
- "notNull": true,
270
- "dimensions": 0,
271
- "default": "now()",
272
- "generated": null,
273
- "identity": null,
274
- "name": "updated_at",
275
- "entityType": "columns",
276
- "schema": "public",
277
- "table": "relay_address_book_entries"
278
- },
279
- {
280
- "type": "text",
281
- "typeSchema": null,
282
- "notNull": true,
283
- "dimensions": 0,
284
- "default": "'system'",
285
- "generated": null,
286
- "identity": null,
287
- "name": "tenant_id",
288
- "entityType": "columns",
289
- "schema": "public",
290
- "table": "relay_agent_chats"
291
- },
292
- {
293
- "type": "text",
294
- "typeSchema": null,
295
- "notNull": true,
296
- "dimensions": 0,
297
- "default": null,
298
- "generated": null,
299
- "identity": null,
300
- "name": "execution_id",
301
- "entityType": "columns",
302
- "schema": "public",
303
- "table": "relay_agent_chats"
304
- },
305
- {
306
- "type": "jsonb",
307
- "typeSchema": null,
308
- "notNull": true,
309
- "dimensions": 0,
310
- "default": null,
311
- "generated": null,
312
- "identity": null,
313
- "name": "export_json",
314
- "entityType": "columns",
315
- "schema": "public",
316
- "table": "relay_agent_chats"
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_chats"
330
- },
331
- {
332
- "type": "text",
333
- "typeSchema": null,
334
- "notNull": true,
335
- "dimensions": 0,
336
- "default": "'system'",
337
- "generated": null,
338
- "identity": null,
339
- "name": "tenant_id",
340
- "entityType": "columns",
341
- "schema": "public",
342
- "table": "relay_agent_compactions"
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_agent_compactions"
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": "checkpoint_id",
366
- "entityType": "columns",
367
- "schema": "public",
368
- "table": "relay_agent_compactions"
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": "summary",
379
- "entityType": "columns",
380
- "schema": "public",
381
- "table": "relay_agent_compactions"
382
- },
383
- {
384
- "type": "text",
385
- "typeSchema": null,
386
- "notNull": true,
387
- "dimensions": 0,
388
- "default": null,
389
- "generated": null,
390
- "identity": null,
391
- "name": "first_kept_entry_id",
392
- "entityType": "columns",
393
- "schema": "public",
394
- "table": "relay_agent_compactions"
395
- },
396
- {
397
- "type": "integer",
398
- "typeSchema": null,
399
- "notNull": true,
400
- "dimensions": 0,
401
- "default": null,
402
- "generated": null,
403
- "identity": null,
404
- "name": "turn",
405
- "entityType": "columns",
406
- "schema": "public",
407
- "table": "relay_agent_compactions"
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": "created_at",
418
- "entityType": "columns",
419
- "schema": "public",
420
- "table": "relay_agent_compactions"
421
- },
422
- {
423
- "type": "text",
424
- "typeSchema": null,
425
- "notNull": true,
426
- "dimensions": 0,
427
- "default": "'system'",
428
- "generated": null,
429
- "identity": null,
430
- "name": "tenant_id",
431
- "entityType": "columns",
432
- "schema": "public",
433
- "table": "relay_agent_definition_revisions"
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": "agent_definition_id",
444
- "entityType": "columns",
445
- "schema": "public",
446
- "table": "relay_agent_definition_revisions"
447
- },
448
- {
449
- "type": "integer",
450
- "typeSchema": null,
451
- "notNull": true,
452
- "dimensions": 0,
453
- "default": null,
454
- "generated": null,
455
- "identity": null,
456
- "name": "revision",
457
- "entityType": "columns",
458
- "schema": "public",
459
- "table": "relay_agent_definition_revisions"
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": "name",
470
- "entityType": "columns",
471
- "schema": "public",
472
- "table": "relay_agent_definition_revisions"
473
- },
474
- {
475
- "type": "jsonb",
476
- "typeSchema": null,
477
- "notNull": true,
478
- "dimensions": 0,
479
- "default": null,
480
- "generated": null,
481
- "identity": null,
482
- "name": "definition_json",
483
- "entityType": "columns",
484
- "schema": "public",
485
- "table": "relay_agent_definition_revisions"
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": "created_at",
496
- "entityType": "columns",
497
- "schema": "public",
498
- "table": "relay_agent_definition_revisions"
499
- },
500
- {
501
- "type": "text",
502
- "typeSchema": null,
503
- "notNull": true,
504
- "dimensions": 0,
505
- "default": "'system'",
506
- "generated": null,
507
- "identity": null,
508
- "name": "tenant_id",
509
- "entityType": "columns",
510
- "schema": "public",
511
- "table": "relay_agent_definitions"
512
- },
513
- {
514
- "type": "text",
515
- "typeSchema": null,
516
- "notNull": true,
517
- "dimensions": 0,
518
- "default": null,
519
- "generated": null,
520
- "identity": null,
521
- "name": "id",
522
- "entityType": "columns",
523
- "schema": "public",
524
- "table": "relay_agent_definitions"
525
- },
526
- {
527
- "type": "text",
528
- "typeSchema": null,
529
- "notNull": true,
530
- "dimensions": 0,
531
- "default": null,
532
- "generated": null,
533
- "identity": null,
534
- "name": "name",
535
- "entityType": "columns",
536
- "schema": "public",
537
- "table": "relay_agent_definitions"
538
- },
539
- {
540
- "type": "integer",
541
- "typeSchema": null,
542
- "notNull": true,
543
- "dimensions": 0,
544
- "default": null,
545
- "generated": null,
546
- "identity": null,
547
- "name": "current_revision",
548
- "entityType": "columns",
549
- "schema": "public",
550
- "table": "relay_agent_definitions"
551
- },
552
- {
553
- "type": "jsonb",
554
- "typeSchema": null,
555
- "notNull": true,
556
- "dimensions": 0,
557
- "default": null,
558
- "generated": null,
559
- "identity": null,
560
- "name": "definition_json",
561
- "entityType": "columns",
562
- "schema": "public",
563
- "table": "relay_agent_definitions"
564
- },
565
- {
566
- "type": "timestamp with time zone",
567
- "typeSchema": null,
568
- "notNull": true,
569
- "dimensions": 0,
570
- "default": "now()",
571
- "generated": null,
572
- "identity": null,
573
- "name": "created_at",
574
- "entityType": "columns",
575
- "schema": "public",
576
- "table": "relay_agent_definitions"
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": "updated_at",
587
- "entityType": "columns",
588
- "schema": "public",
589
- "table": "relay_agent_definitions"
590
- },
591
- {
592
- "type": "text",
593
- "typeSchema": null,
594
- "notNull": true,
595
- "dimensions": 0,
596
- "default": "'system'",
597
- "generated": null,
598
- "identity": null,
599
- "name": "tenant_id",
600
- "entityType": "columns",
601
- "schema": "public",
602
- "table": "relay_child_executions"
603
- },
604
- {
605
- "type": "text",
606
- "typeSchema": null,
607
- "notNull": true,
608
- "dimensions": 0,
609
- "default": null,
610
- "generated": null,
611
- "identity": null,
612
- "name": "id",
613
- "entityType": "columns",
614
- "schema": "public",
615
- "table": "relay_child_executions"
616
- },
617
- {
618
- "type": "text",
619
- "typeSchema": null,
620
- "notNull": true,
621
- "dimensions": 0,
622
- "default": null,
623
- "generated": null,
624
- "identity": null,
625
- "name": "execution_id",
626
- "entityType": "columns",
627
- "schema": "public",
628
- "table": "relay_child_executions"
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": "address_id",
639
- "entityType": "columns",
640
- "schema": "public",
641
- "table": "relay_child_executions"
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": "status",
652
- "entityType": "columns",
653
- "schema": "public",
654
- "table": "relay_child_executions"
655
- },
656
- {
657
- "type": "jsonb",
658
- "typeSchema": null,
659
- "notNull": true,
660
- "dimensions": 0,
661
- "default": "'{}'",
662
- "generated": null,
663
- "identity": null,
664
- "name": "metadata_json",
665
- "entityType": "columns",
666
- "schema": "public",
667
- "table": "relay_child_executions"
668
- },
669
- {
670
- "type": "timestamp with time zone",
671
- "typeSchema": null,
672
- "notNull": true,
673
- "dimensions": 0,
674
- "default": "now()",
675
- "generated": null,
676
- "identity": null,
677
- "name": "created_at",
678
- "entityType": "columns",
679
- "schema": "public",
680
- "table": "relay_child_executions"
681
- },
682
- {
683
- "type": "timestamp with time zone",
684
- "typeSchema": null,
685
- "notNull": true,
686
- "dimensions": 0,
687
- "default": "now()",
688
- "generated": null,
689
- "identity": null,
690
- "name": "updated_at",
691
- "entityType": "columns",
692
- "schema": "public",
693
- "table": "relay_child_executions"
694
- },
695
- {
696
- "type": "text",
697
- "typeSchema": null,
698
- "notNull": true,
699
- "dimensions": 0,
700
- "default": "'system'",
701
- "generated": null,
702
- "identity": null,
703
- "name": "tenant_id",
704
- "entityType": "columns",
705
- "schema": "public",
706
- "table": "relay_envelope_ready"
707
- },
708
- {
709
- "type": "text",
710
- "typeSchema": null,
711
- "notNull": true,
712
- "dimensions": 0,
713
- "default": null,
714
- "generated": null,
715
- "identity": null,
716
- "name": "id",
717
- "entityType": "columns",
718
- "schema": "public",
719
- "table": "relay_envelope_ready"
720
- },
721
- {
722
- "type": "text",
723
- "typeSchema": null,
724
- "notNull": true,
725
- "dimensions": 0,
726
- "default": null,
727
- "generated": null,
728
- "identity": null,
729
- "name": "envelope_id",
730
- "entityType": "columns",
731
- "schema": "public",
732
- "table": "relay_envelope_ready"
733
- },
734
- {
735
- "type": "text",
736
- "typeSchema": null,
737
- "notNull": true,
738
- "dimensions": 0,
739
- "default": null,
740
- "generated": null,
741
- "identity": null,
742
- "name": "route_type",
743
- "entityType": "columns",
744
- "schema": "public",
745
- "table": "relay_envelope_ready"
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": "route_key",
756
- "entityType": "columns",
757
- "schema": "public",
758
- "table": "relay_envelope_ready"
759
- },
760
- {
761
- "type": "text",
762
- "typeSchema": null,
763
- "notNull": true,
764
- "dimensions": 0,
765
- "default": "'ready'",
766
- "generated": null,
767
- "identity": null,
768
- "name": "state",
769
- "entityType": "columns",
770
- "schema": "public",
771
- "table": "relay_envelope_ready"
772
- },
773
- {
774
- "type": "timestamp with time zone",
775
- "typeSchema": null,
776
- "notNull": true,
777
- "dimensions": 0,
778
- "default": "now()",
779
- "generated": null,
780
- "identity": null,
781
- "name": "available_at",
782
- "entityType": "columns",
783
- "schema": "public",
784
- "table": "relay_envelope_ready"
785
- },
786
- {
787
- "type": "integer",
788
- "typeSchema": null,
789
- "notNull": true,
790
- "dimensions": 0,
791
- "default": "0",
792
- "generated": null,
793
- "identity": null,
794
- "name": "attempt",
795
- "entityType": "columns",
796
- "schema": "public",
797
- "table": "relay_envelope_ready"
798
- },
799
- {
800
- "type": "text",
801
- "typeSchema": null,
802
- "notNull": false,
803
- "dimensions": 0,
804
- "default": null,
805
- "generated": null,
806
- "identity": null,
807
- "name": "claim_owner",
808
- "entityType": "columns",
809
- "schema": "public",
810
- "table": "relay_envelope_ready"
811
- },
812
- {
813
- "type": "timestamp with time zone",
814
- "typeSchema": null,
815
- "notNull": false,
816
- "dimensions": 0,
817
- "default": null,
818
- "generated": null,
819
- "identity": null,
820
- "name": "claim_expires_at",
821
- "entityType": "columns",
822
- "schema": "public",
823
- "table": "relay_envelope_ready"
824
- },
825
- {
826
- "type": "text",
827
- "typeSchema": null,
828
- "notNull": false,
829
- "dimensions": 0,
830
- "default": null,
831
- "generated": null,
832
- "identity": null,
833
- "name": "last_error",
834
- "entityType": "columns",
835
- "schema": "public",
836
- "table": "relay_envelope_ready"
837
- },
838
- {
839
- "type": "text",
840
- "typeSchema": null,
841
- "notNull": false,
842
- "dimensions": 0,
843
- "default": null,
844
- "generated": null,
845
- "identity": null,
846
- "name": "idempotency_key",
847
- "entityType": "columns",
848
- "schema": "public",
849
- "table": "relay_envelope_ready"
850
- },
851
- {
852
- "type": "jsonb",
853
- "typeSchema": null,
854
- "notNull": true,
855
- "dimensions": 0,
856
- "default": "'{}'",
857
- "generated": null,
858
- "identity": null,
859
- "name": "metadata_json",
860
- "entityType": "columns",
861
- "schema": "public",
862
- "table": "relay_envelope_ready"
863
- },
864
- {
865
- "type": "timestamp with time zone",
866
- "typeSchema": null,
867
- "notNull": true,
868
- "dimensions": 0,
869
- "default": "now()",
870
- "generated": null,
871
- "identity": null,
872
- "name": "created_at",
873
- "entityType": "columns",
874
- "schema": "public",
875
- "table": "relay_envelope_ready"
876
- },
877
- {
878
- "type": "timestamp with time zone",
879
- "typeSchema": null,
880
- "notNull": true,
881
- "dimensions": 0,
882
- "default": "now()",
883
- "generated": null,
884
- "identity": null,
885
- "name": "updated_at",
886
- "entityType": "columns",
887
- "schema": "public",
888
- "table": "relay_envelope_ready"
889
- },
890
- {
891
- "type": "timestamp with time zone",
892
- "typeSchema": null,
893
- "notNull": false,
894
- "dimensions": 0,
895
- "default": null,
896
- "generated": null,
897
- "identity": null,
898
- "name": "claimed_at",
899
- "entityType": "columns",
900
- "schema": "public",
901
- "table": "relay_envelope_ready"
902
- },
903
- {
904
- "type": "timestamp with time zone",
905
- "typeSchema": null,
906
- "notNull": false,
907
- "dimensions": 0,
908
- "default": null,
909
- "generated": null,
910
- "identity": null,
911
- "name": "acknowledged_at",
912
- "entityType": "columns",
913
- "schema": "public",
914
- "table": "relay_envelope_ready"
915
- },
916
- {
917
- "type": "text",
918
- "typeSchema": null,
919
- "notNull": true,
920
- "dimensions": 0,
921
- "default": "'system'",
922
- "generated": null,
923
- "identity": null,
924
- "name": "tenant_id",
925
- "entityType": "columns",
926
- "schema": "public",
927
- "table": "relay_envelopes"
928
- },
929
- {
930
- "type": "text",
931
- "typeSchema": null,
932
- "notNull": true,
933
- "dimensions": 0,
934
- "default": null,
935
- "generated": null,
936
- "identity": null,
937
- "name": "id",
938
- "entityType": "columns",
939
- "schema": "public",
940
- "table": "relay_envelopes"
941
- },
942
- {
943
- "type": "text",
944
- "typeSchema": null,
945
- "notNull": true,
946
- "dimensions": 0,
947
- "default": null,
948
- "generated": null,
949
- "identity": null,
950
- "name": "execution_id",
951
- "entityType": "columns",
952
- "schema": "public",
953
- "table": "relay_envelopes"
954
- },
955
- {
956
- "type": "text",
957
- "typeSchema": null,
958
- "notNull": true,
959
- "dimensions": 0,
960
- "default": null,
961
- "generated": null,
962
- "identity": null,
963
- "name": "from_address_id",
964
- "entityType": "columns",
965
- "schema": "public",
966
- "table": "relay_envelopes"
967
- },
968
- {
969
- "type": "text",
970
- "typeSchema": null,
971
- "notNull": true,
972
- "dimensions": 0,
973
- "default": null,
974
- "generated": null,
975
- "identity": null,
976
- "name": "to_address_id",
977
- "entityType": "columns",
978
- "schema": "public",
979
- "table": "relay_envelopes"
980
- },
981
- {
982
- "type": "jsonb",
983
- "typeSchema": null,
984
- "notNull": true,
985
- "dimensions": 0,
986
- "default": null,
987
- "generated": null,
988
- "identity": null,
989
- "name": "content_json",
990
- "entityType": "columns",
991
- "schema": "public",
992
- "table": "relay_envelopes"
993
- },
994
- {
995
- "type": "jsonb",
996
- "typeSchema": null,
997
- "notNull": false,
998
- "dimensions": 0,
999
- "default": null,
1000
- "generated": null,
1001
- "identity": null,
1002
- "name": "wait_json",
1003
- "entityType": "columns",
1004
- "schema": "public",
1005
- "table": "relay_envelopes"
1006
- },
1007
- {
1008
- "type": "text",
1009
- "typeSchema": null,
1010
- "notNull": false,
1011
- "dimensions": 0,
1012
- "default": null,
1013
- "generated": null,
1014
- "identity": null,
1015
- "name": "correlation_key",
1016
- "entityType": "columns",
1017
- "schema": "public",
1018
- "table": "relay_envelopes"
1019
- },
1020
- {
1021
- "type": "jsonb",
1022
- "typeSchema": null,
1023
- "notNull": true,
1024
- "dimensions": 0,
1025
- "default": "'{}'",
1026
- "generated": null,
1027
- "identity": null,
1028
- "name": "metadata_json",
1029
- "entityType": "columns",
1030
- "schema": "public",
1031
- "table": "relay_envelopes"
1032
- },
1033
- {
1034
- "type": "timestamp with time zone",
1035
- "typeSchema": null,
1036
- "notNull": true,
1037
- "dimensions": 0,
1038
- "default": "now()",
1039
- "generated": null,
1040
- "identity": null,
1041
- "name": "created_at",
1042
- "entityType": "columns",
1043
- "schema": "public",
1044
- "table": "relay_envelopes"
1045
- },
1046
- {
1047
- "type": "text",
1048
- "typeSchema": null,
1049
- "notNull": true,
1050
- "dimensions": 0,
1051
- "default": "'system'",
1052
- "generated": null,
1053
- "identity": null,
1054
- "name": "tenant_id",
1055
- "entityType": "columns",
1056
- "schema": "public",
1057
- "table": "relay_execution_context_epochs"
1058
- },
1059
- {
1060
- "type": "text",
1061
- "typeSchema": null,
1062
- "notNull": true,
1063
- "dimensions": 0,
1064
- "default": null,
1065
- "generated": null,
1066
- "identity": null,
1067
- "name": "execution_id",
1068
- "entityType": "columns",
1069
- "schema": "public",
1070
- "table": "relay_execution_context_epochs"
1071
- },
1072
- {
1073
- "type": "text",
1074
- "typeSchema": null,
1075
- "notNull": true,
1076
- "dimensions": 0,
1077
- "default": null,
1078
- "generated": null,
1079
- "identity": null,
1080
- "name": "baseline",
1081
- "entityType": "columns",
1082
- "schema": "public",
1083
- "table": "relay_execution_context_epochs"
1084
- },
1085
- {
1086
- "type": "jsonb",
1087
- "typeSchema": null,
1088
- "notNull": true,
1089
- "dimensions": 0,
1090
- "default": "'[]'",
1091
- "generated": null,
1092
- "identity": null,
1093
- "name": "dynamic_source_ids_json",
1094
- "entityType": "columns",
1095
- "schema": "public",
1096
- "table": "relay_execution_context_epochs"
1097
- },
1098
- {
1099
- "type": "timestamp with time zone",
1100
- "typeSchema": null,
1101
- "notNull": true,
1102
- "dimensions": 0,
1103
- "default": "now()",
1104
- "generated": null,
1105
- "identity": null,
1106
- "name": "opened_at",
1107
- "entityType": "columns",
1108
- "schema": "public",
1109
- "table": "relay_execution_context_epochs"
1110
- },
1111
- {
1112
- "type": "text",
1113
- "typeSchema": null,
1114
- "notNull": true,
1115
- "dimensions": 0,
1116
- "default": "'system'",
1117
- "generated": null,
1118
- "identity": null,
1119
- "name": "tenant_id",
1120
- "entityType": "columns",
1121
- "schema": "public",
1122
- "table": "relay_execution_events"
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": "id",
1133
- "entityType": "columns",
1134
- "schema": "public",
1135
- "table": "relay_execution_events"
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": "execution_id",
1146
- "entityType": "columns",
1147
- "schema": "public",
1148
- "table": "relay_execution_events"
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": "child_execution_id",
1159
- "entityType": "columns",
1160
- "schema": "public",
1161
- "table": "relay_execution_events"
1162
- },
1163
- {
1164
- "type": "text",
1165
- "typeSchema": null,
1166
- "notNull": true,
1167
- "dimensions": 0,
1168
- "default": null,
1169
- "generated": null,
1170
- "identity": null,
1171
- "name": "type",
1172
- "entityType": "columns",
1173
- "schema": "public",
1174
- "table": "relay_execution_events"
1175
- },
1176
- {
1177
- "type": "integer",
1178
- "typeSchema": null,
1179
- "notNull": true,
1180
- "dimensions": 0,
1181
- "default": null,
1182
- "generated": null,
1183
- "identity": null,
1184
- "name": "sequence",
1185
- "entityType": "columns",
1186
- "schema": "public",
1187
- "table": "relay_execution_events"
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": "cursor",
1198
- "entityType": "columns",
1199
- "schema": "public",
1200
- "table": "relay_execution_events"
1201
- },
1202
- {
1203
- "type": "jsonb",
1204
- "typeSchema": null,
1205
- "notNull": false,
1206
- "dimensions": 0,
1207
- "default": null,
1208
- "generated": null,
1209
- "identity": null,
1210
- "name": "content_json",
1211
- "entityType": "columns",
1212
- "schema": "public",
1213
- "table": "relay_execution_events"
1214
- },
1215
- {
1216
- "type": "jsonb",
1217
- "typeSchema": null,
1218
- "notNull": true,
1219
- "dimensions": 0,
1220
- "default": "'{}'",
1221
- "generated": null,
1222
- "identity": null,
1223
- "name": "data_json",
1224
- "entityType": "columns",
1225
- "schema": "public",
1226
- "table": "relay_execution_events"
1227
- },
1228
- {
1229
- "type": "timestamp with time zone",
1230
- "typeSchema": null,
1231
- "notNull": true,
1232
- "dimensions": 0,
1233
- "default": "now()",
1234
- "generated": null,
1235
- "identity": null,
1236
- "name": "created_at",
1237
- "entityType": "columns",
1238
- "schema": "public",
1239
- "table": "relay_execution_events"
1240
- },
1241
- {
1242
- "type": "text",
1243
- "typeSchema": null,
1244
- "notNull": true,
1245
- "dimensions": 0,
1246
- "default": "'system'",
1247
- "generated": null,
1248
- "identity": null,
1249
- "name": "tenant_id",
1250
- "entityType": "columns",
1251
- "schema": "public",
1252
- "table": "relay_execution_skill_pins"
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": "execution_id",
1263
- "entityType": "columns",
1264
- "schema": "public",
1265
- "table": "relay_execution_skill_pins"
1266
- },
1267
- {
1268
- "type": "text",
1269
- "typeSchema": null,
1270
- "notNull": true,
1271
- "dimensions": 0,
1272
- "default": null,
1273
- "generated": null,
1274
- "identity": null,
1275
- "name": "skill_definition_id",
1276
- "entityType": "columns",
1277
- "schema": "public",
1278
- "table": "relay_execution_skill_pins"
1279
- },
1280
- {
1281
- "type": "integer",
1282
- "typeSchema": null,
1283
- "notNull": true,
1284
- "dimensions": 0,
1285
- "default": null,
1286
- "generated": null,
1287
- "identity": null,
1288
- "name": "skill_definition_revision",
1289
- "entityType": "columns",
1290
- "schema": "public",
1291
- "table": "relay_execution_skill_pins"
1292
- },
1293
- {
1294
- "type": "jsonb",
1295
- "typeSchema": null,
1296
- "notNull": true,
1297
- "dimensions": 0,
1298
- "default": null,
1299
- "generated": null,
1300
- "identity": null,
1301
- "name": "skill_definition_snapshot_json",
1302
- "entityType": "columns",
1303
- "schema": "public",
1304
- "table": "relay_execution_skill_pins"
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_execution_skill_pins"
1318
- },
1319
- {
1320
- "type": "text",
1321
- "typeSchema": null,
1322
- "notNull": true,
1323
- "dimensions": 0,
1324
- "default": "'system'",
1325
- "generated": null,
1326
- "identity": null,
1327
- "name": "tenant_id",
1328
- "entityType": "columns",
1329
- "schema": "public",
1330
- "table": "relay_executions"
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": "id",
1341
- "entityType": "columns",
1342
- "schema": "public",
1343
- "table": "relay_executions"
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": "root_address_id",
1354
- "entityType": "columns",
1355
- "schema": "public",
1356
- "table": "relay_executions"
1357
- },
1358
- {
1359
- "type": "text",
1360
- "typeSchema": null,
1361
- "notNull": false,
1362
- "dimensions": 0,
1363
- "default": null,
1364
- "generated": null,
1365
- "identity": null,
1366
- "name": "session_id",
1367
- "entityType": "columns",
1368
- "schema": "public",
1369
- "table": "relay_executions"
1370
- },
1371
- {
1372
- "type": "text",
1373
- "typeSchema": null,
1374
- "notNull": true,
1375
- "dimensions": 0,
1376
- "default": null,
1377
- "generated": null,
1378
- "identity": null,
1379
- "name": "status",
1380
- "entityType": "columns",
1381
- "schema": "public",
1382
- "table": "relay_executions"
1383
- },
1384
- {
1385
- "type": "text",
1386
- "typeSchema": null,
1387
- "notNull": false,
1388
- "dimensions": 0,
1389
- "default": null,
1390
- "generated": null,
1391
- "identity": null,
1392
- "name": "agent_definition_id",
1393
- "entityType": "columns",
1394
- "schema": "public",
1395
- "table": "relay_executions"
1396
- },
1397
- {
1398
- "type": "integer",
1399
- "typeSchema": null,
1400
- "notNull": false,
1401
- "dimensions": 0,
1402
- "default": null,
1403
- "generated": null,
1404
- "identity": null,
1405
- "name": "agent_definition_revision",
1406
- "entityType": "columns",
1407
- "schema": "public",
1408
- "table": "relay_executions"
1409
- },
1410
- {
1411
- "type": "jsonb",
1412
- "typeSchema": null,
1413
- "notNull": false,
1414
- "dimensions": 0,
1415
- "default": null,
1416
- "generated": null,
1417
- "identity": null,
1418
- "name": "agent_definition_snapshot_json",
1419
- "entityType": "columns",
1420
- "schema": "public",
1421
- "table": "relay_executions"
1422
- },
1423
- {
1424
- "type": "jsonb",
1425
- "typeSchema": null,
1426
- "notNull": true,
1427
- "dimensions": 0,
1428
- "default": "'{}'",
1429
- "generated": null,
1430
- "identity": null,
1431
- "name": "metadata_json",
1432
- "entityType": "columns",
1433
- "schema": "public",
1434
- "table": "relay_executions"
1435
- },
1436
- {
1437
- "type": "timestamp with time zone",
1438
- "typeSchema": null,
1439
- "notNull": true,
1440
- "dimensions": 0,
1441
- "default": "now()",
1442
- "generated": null,
1443
- "identity": null,
1444
- "name": "created_at",
1445
- "entityType": "columns",
1446
- "schema": "public",
1447
- "table": "relay_executions"
1448
- },
1449
- {
1450
- "type": "timestamp with time zone",
1451
- "typeSchema": null,
1452
- "notNull": true,
1453
- "dimensions": 0,
1454
- "default": "now()",
1455
- "generated": null,
1456
- "identity": null,
1457
- "name": "updated_at",
1458
- "entityType": "columns",
1459
- "schema": "public",
1460
- "table": "relay_executions"
1461
- },
1462
- {
1463
- "type": "text",
1464
- "typeSchema": null,
1465
- "notNull": true,
1466
- "dimensions": 0,
1467
- "default": "'system'",
1468
- "generated": null,
1469
- "identity": null,
1470
- "name": "tenant_id",
1471
- "entityType": "columns",
1472
- "schema": "public",
1473
- "table": "relay_idempotency_keys"
1474
- },
1475
- {
1476
- "type": "text",
1477
- "typeSchema": null,
1478
- "notNull": true,
1479
- "dimensions": 0,
1480
- "default": null,
1481
- "generated": null,
1482
- "identity": null,
1483
- "name": "id",
1484
- "entityType": "columns",
1485
- "schema": "public",
1486
- "table": "relay_idempotency_keys"
1487
- },
1488
- {
1489
- "type": "text",
1490
- "typeSchema": null,
1491
- "notNull": true,
1492
- "dimensions": 0,
1493
- "default": null,
1494
- "generated": null,
1495
- "identity": null,
1496
- "name": "scope",
1497
- "entityType": "columns",
1498
- "schema": "public",
1499
- "table": "relay_idempotency_keys"
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": "operation",
1510
- "entityType": "columns",
1511
- "schema": "public",
1512
- "table": "relay_idempotency_keys"
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": "key",
1523
- "entityType": "columns",
1524
- "schema": "public",
1525
- "table": "relay_idempotency_keys"
1526
- },
1527
- {
1528
- "type": "jsonb",
1529
- "typeSchema": null,
1530
- "notNull": false,
1531
- "dimensions": 0,
1532
- "default": null,
1533
- "generated": null,
1534
- "identity": null,
1535
- "name": "result_json",
1536
- "entityType": "columns",
1537
- "schema": "public",
1538
- "table": "relay_idempotency_keys"
1539
- },
1540
- {
1541
- "type": "jsonb",
1542
- "typeSchema": null,
1543
- "notNull": true,
1544
- "dimensions": 0,
1545
- "default": "'{}'",
1546
- "generated": null,
1547
- "identity": null,
1548
- "name": "metadata_json",
1549
- "entityType": "columns",
1550
- "schema": "public",
1551
- "table": "relay_idempotency_keys"
1552
- },
1553
- {
1554
- "type": "timestamp with time zone",
1555
- "typeSchema": null,
1556
- "notNull": true,
1557
- "dimensions": 0,
1558
- "default": "now()",
1559
- "generated": null,
1560
- "identity": null,
1561
- "name": "created_at",
1562
- "entityType": "columns",
1563
- "schema": "public",
1564
- "table": "relay_idempotency_keys"
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": "updated_at",
1575
- "entityType": "columns",
1576
- "schema": "public",
1577
- "table": "relay_idempotency_keys"
1578
- },
1579
- {
1580
- "type": "timestamp with time zone",
1581
- "typeSchema": null,
1582
- "notNull": false,
1583
- "dimensions": 0,
1584
- "default": null,
1585
- "generated": null,
1586
- "identity": null,
1587
- "name": "expires_at",
1588
- "entityType": "columns",
1589
- "schema": "public",
1590
- "table": "relay_idempotency_keys"
1591
- },
1592
- {
1593
- "type": "text",
1594
- "typeSchema": null,
1595
- "notNull": true,
1596
- "dimensions": 0,
1597
- "default": "'system'",
1598
- "generated": null,
1599
- "identity": null,
1600
- "name": "tenant_id",
1601
- "entityType": "columns",
1602
- "schema": "public",
1603
- "table": "relay_memory_records"
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": "id",
1614
- "entityType": "columns",
1615
- "schema": "public",
1616
- "table": "relay_memory_records"
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": "agent",
1627
- "entityType": "columns",
1628
- "schema": "public",
1629
- "table": "relay_memory_records"
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": "subject",
1640
- "entityType": "columns",
1641
- "schema": "public",
1642
- "table": "relay_memory_records"
1643
- },
1644
- {
1645
- "type": "double precision",
1646
- "typeSchema": null,
1647
- "notNull": true,
1648
- "dimensions": 1,
1649
- "default": null,
1650
- "generated": null,
1651
- "identity": null,
1652
- "name": "embedding",
1653
- "entityType": "columns",
1654
- "schema": "public",
1655
- "table": "relay_memory_records"
1656
- },
1657
- {
1658
- "type": "jsonb",
1659
- "typeSchema": null,
1660
- "notNull": true,
1661
- "dimensions": 0,
1662
- "default": null,
1663
- "generated": null,
1664
- "identity": null,
1665
- "name": "parts_json",
1666
- "entityType": "columns",
1667
- "schema": "public",
1668
- "table": "relay_memory_records"
1669
- },
1670
- {
1671
- "type": "jsonb",
1672
- "typeSchema": null,
1673
- "notNull": true,
1674
- "dimensions": 0,
1675
- "default": "'{}'",
1676
- "generated": null,
1677
- "identity": null,
1678
- "name": "metadata_json",
1679
- "entityType": "columns",
1680
- "schema": "public",
1681
- "table": "relay_memory_records"
1682
- },
1683
- {
1684
- "type": "timestamp with time zone",
1685
- "typeSchema": null,
1686
- "notNull": true,
1687
- "dimensions": 0,
1688
- "default": "now()",
1689
- "generated": null,
1690
- "identity": null,
1691
- "name": "created_at",
1692
- "entityType": "columns",
1693
- "schema": "public",
1694
- "table": "relay_memory_records"
1695
- },
1696
- {
1697
- "type": "text",
1698
- "typeSchema": null,
1699
- "notNull": true,
1700
- "dimensions": 0,
1701
- "default": "'system'",
1702
- "generated": null,
1703
- "identity": null,
1704
- "name": "tenant_id",
1705
- "entityType": "columns",
1706
- "schema": "public",
1707
- "table": "relay_permission_rules"
1708
- },
1709
- {
1710
- "type": "text",
1711
- "typeSchema": null,
1712
- "notNull": true,
1713
- "dimensions": 0,
1714
- "default": null,
1715
- "generated": null,
1716
- "identity": null,
1717
- "name": "agent",
1718
- "entityType": "columns",
1719
- "schema": "public",
1720
- "table": "relay_permission_rules"
1721
- },
1722
- {
1723
- "type": "text",
1724
- "typeSchema": null,
1725
- "notNull": true,
1726
- "dimensions": 0,
1727
- "default": null,
1728
- "generated": null,
1729
- "identity": null,
1730
- "name": "scope",
1731
- "entityType": "columns",
1732
- "schema": "public",
1733
- "table": "relay_permission_rules"
1734
- },
1735
- {
1736
- "type": "text",
1737
- "typeSchema": null,
1738
- "notNull": true,
1739
- "dimensions": 0,
1740
- "default": null,
1741
- "generated": null,
1742
- "identity": null,
1743
- "name": "pattern",
1744
- "entityType": "columns",
1745
- "schema": "public",
1746
- "table": "relay_permission_rules"
1747
- },
1748
- {
1749
- "type": "jsonb",
1750
- "typeSchema": null,
1751
- "notNull": true,
1752
- "dimensions": 0,
1753
- "default": null,
1754
- "generated": null,
1755
- "identity": null,
1756
- "name": "rule_json",
1757
- "entityType": "columns",
1758
- "schema": "public",
1759
- "table": "relay_permission_rules"
1760
- },
1761
- {
1762
- "type": "timestamp with time zone",
1763
- "typeSchema": null,
1764
- "notNull": true,
1765
- "dimensions": 0,
1766
- "default": "now()",
1767
- "generated": null,
1768
- "identity": null,
1769
- "name": "created_at",
1770
- "entityType": "columns",
1771
- "schema": "public",
1772
- "table": "relay_permission_rules"
1773
- },
1774
- {
1775
- "type": "text",
1776
- "typeSchema": null,
1777
- "notNull": true,
1778
- "dimensions": 0,
1779
- "default": "'system'",
1780
- "generated": null,
1781
- "identity": null,
1782
- "name": "tenant_id",
1783
- "entityType": "columns",
1784
- "schema": "public",
1785
- "table": "relay_route_attempts"
1786
- },
1787
- {
1788
- "type": "text",
1789
- "typeSchema": null,
1790
- "notNull": true,
1791
- "dimensions": 0,
1792
- "default": null,
1793
- "generated": null,
1794
- "identity": null,
1795
- "name": "id",
1796
- "entityType": "columns",
1797
- "schema": "public",
1798
- "table": "relay_route_attempts"
1799
- },
1800
- {
1801
- "type": "text",
1802
- "typeSchema": null,
1803
- "notNull": true,
1804
- "dimensions": 0,
1805
- "default": null,
1806
- "generated": null,
1807
- "identity": null,
1808
- "name": "envelope_ready_id",
1809
- "entityType": "columns",
1810
- "schema": "public",
1811
- "table": "relay_route_attempts"
1812
- },
1813
- {
1814
- "type": "text",
1815
- "typeSchema": null,
1816
- "notNull": true,
1817
- "dimensions": 0,
1818
- "default": null,
1819
- "generated": null,
1820
- "identity": null,
1821
- "name": "route_key",
1822
- "entityType": "columns",
1823
- "schema": "public",
1824
- "table": "relay_route_attempts"
1825
- },
1826
- {
1827
- "type": "text",
1828
- "typeSchema": null,
1829
- "notNull": true,
1830
- "dimensions": 0,
1831
- "default": null,
1832
- "generated": null,
1833
- "identity": null,
1834
- "name": "state",
1835
- "entityType": "columns",
1836
- "schema": "public",
1837
- "table": "relay_route_attempts"
1838
- },
1839
- {
1840
- "type": "text",
1841
- "typeSchema": null,
1842
- "notNull": false,
1843
- "dimensions": 0,
1844
- "default": null,
1845
- "generated": null,
1846
- "identity": null,
1847
- "name": "detail",
1848
- "entityType": "columns",
1849
- "schema": "public",
1850
- "table": "relay_route_attempts"
1851
- },
1852
- {
1853
- "type": "timestamp with time zone",
1854
- "typeSchema": null,
1855
- "notNull": true,
1856
- "dimensions": 0,
1857
- "default": "now()",
1858
- "generated": null,
1859
- "identity": null,
1860
- "name": "created_at",
1861
- "entityType": "columns",
1862
- "schema": "public",
1863
- "table": "relay_route_attempts"
1864
- },
1865
- {
1866
- "type": "text",
1867
- "typeSchema": null,
1868
- "notNull": true,
1869
- "dimensions": 0,
1870
- "default": "'system'",
1871
- "generated": null,
1872
- "identity": null,
1873
- "name": "tenant_id",
1874
- "entityType": "columns",
1875
- "schema": "public",
1876
- "table": "relay_schedules"
1877
- },
1878
- {
1879
- "type": "text",
1880
- "typeSchema": null,
1881
- "notNull": true,
1882
- "dimensions": 0,
1883
- "default": null,
1884
- "generated": null,
1885
- "identity": null,
1886
- "name": "id",
1887
- "entityType": "columns",
1888
- "schema": "public",
1889
- "table": "relay_schedules"
1890
- },
1891
- {
1892
- "type": "text",
1893
- "typeSchema": null,
1894
- "notNull": true,
1895
- "dimensions": 0,
1896
- "default": null,
1897
- "generated": null,
1898
- "identity": null,
1899
- "name": "kind",
1900
- "entityType": "columns",
1901
- "schema": "public",
1902
- "table": "relay_schedules"
1903
- },
1904
- {
1905
- "type": "text",
1906
- "typeSchema": null,
1907
- "notNull": true,
1908
- "dimensions": 0,
1909
- "default": null,
1910
- "generated": null,
1911
- "identity": null,
1912
- "name": "target_kind",
1913
- "entityType": "columns",
1914
- "schema": "public",
1915
- "table": "relay_schedules"
1916
- },
1917
- {
1918
- "type": "text",
1919
- "typeSchema": null,
1920
- "notNull": false,
1921
- "dimensions": 0,
1922
- "default": null,
1923
- "generated": null,
1924
- "identity": null,
1925
- "name": "address_id",
1926
- "entityType": "columns",
1927
- "schema": "public",
1928
- "table": "relay_schedules"
1929
- },
1930
- {
1931
- "type": "text",
1932
- "typeSchema": null,
1933
- "notNull": false,
1934
- "dimensions": 0,
1935
- "default": null,
1936
- "generated": null,
1937
- "identity": null,
1938
- "name": "wait_id",
1939
- "entityType": "columns",
1940
- "schema": "public",
1941
- "table": "relay_schedules"
1942
- },
1943
- {
1944
- "type": "text",
1945
- "typeSchema": null,
1946
- "notNull": false,
1947
- "dimensions": 0,
1948
- "default": null,
1949
- "generated": null,
1950
- "identity": null,
1951
- "name": "cron_expr",
1952
- "entityType": "columns",
1953
- "schema": "public",
1954
- "table": "relay_schedules"
1955
- },
1956
- {
1957
- "type": "jsonb",
1958
- "typeSchema": null,
1959
- "notNull": false,
1960
- "dimensions": 0,
1961
- "default": null,
1962
- "generated": null,
1963
- "identity": null,
1964
- "name": "input_json",
1965
- "entityType": "columns",
1966
- "schema": "public",
1967
- "table": "relay_schedules"
1968
- },
1969
- {
1970
- "type": "text",
1971
- "typeSchema": null,
1972
- "notNull": true,
1973
- "dimensions": 0,
1974
- "default": "'active'",
1975
- "generated": null,
1976
- "identity": null,
1977
- "name": "state",
1978
- "entityType": "columns",
1979
- "schema": "public",
1980
- "table": "relay_schedules"
1981
- },
1982
- {
1983
- "type": "timestamp with time zone",
1984
- "typeSchema": null,
1985
- "notNull": true,
1986
- "dimensions": 0,
1987
- "default": null,
1988
- "generated": null,
1989
- "identity": null,
1990
- "name": "next_run_at",
1991
- "entityType": "columns",
1992
- "schema": "public",
1993
- "table": "relay_schedules"
1994
- },
1995
- {
1996
- "type": "integer",
1997
- "typeSchema": null,
1998
- "notNull": true,
1999
- "dimensions": 0,
2000
- "default": "0",
2001
- "generated": null,
2002
- "identity": null,
2003
- "name": "attempt",
2004
- "entityType": "columns",
2005
- "schema": "public",
2006
- "table": "relay_schedules"
2007
- },
2008
- {
2009
- "type": "text",
2010
- "typeSchema": null,
2011
- "notNull": false,
2012
- "dimensions": 0,
2013
- "default": null,
2014
- "generated": null,
2015
- "identity": null,
2016
- "name": "claim_owner",
2017
- "entityType": "columns",
2018
- "schema": "public",
2019
- "table": "relay_schedules"
2020
- },
2021
- {
2022
- "type": "timestamp with time zone",
2023
- "typeSchema": null,
2024
- "notNull": false,
2025
- "dimensions": 0,
2026
- "default": null,
2027
- "generated": null,
2028
- "identity": null,
2029
- "name": "claim_expires_at",
2030
- "entityType": "columns",
2031
- "schema": "public",
2032
- "table": "relay_schedules"
2033
- },
2034
- {
2035
- "type": "text",
2036
- "typeSchema": null,
2037
- "notNull": false,
2038
- "dimensions": 0,
2039
- "default": null,
2040
- "generated": null,
2041
- "identity": null,
2042
- "name": "last_error",
2043
- "entityType": "columns",
2044
- "schema": "public",
2045
- "table": "relay_schedules"
2046
- },
2047
- {
2048
- "type": "text",
2049
- "typeSchema": null,
2050
- "notNull": false,
2051
- "dimensions": 0,
2052
- "default": null,
2053
- "generated": null,
2054
- "identity": null,
2055
- "name": "idempotency_key",
2056
- "entityType": "columns",
2057
- "schema": "public",
2058
- "table": "relay_schedules"
2059
- },
2060
- {
2061
- "type": "jsonb",
2062
- "typeSchema": null,
2063
- "notNull": true,
2064
- "dimensions": 0,
2065
- "default": "'{}'",
2066
- "generated": null,
2067
- "identity": null,
2068
- "name": "metadata_json",
2069
- "entityType": "columns",
2070
- "schema": "public",
2071
- "table": "relay_schedules"
2072
- },
2073
- {
2074
- "type": "timestamp with time zone",
2075
- "typeSchema": null,
2076
- "notNull": true,
2077
- "dimensions": 0,
2078
- "default": "now()",
2079
- "generated": null,
2080
- "identity": null,
2081
- "name": "created_at",
2082
- "entityType": "columns",
2083
- "schema": "public",
2084
- "table": "relay_schedules"
2085
- },
2086
- {
2087
- "type": "timestamp with time zone",
2088
- "typeSchema": null,
2089
- "notNull": true,
2090
- "dimensions": 0,
2091
- "default": "now()",
2092
- "generated": null,
2093
- "identity": null,
2094
- "name": "updated_at",
2095
- "entityType": "columns",
2096
- "schema": "public",
2097
- "table": "relay_schedules"
2098
- },
2099
- {
2100
- "type": "text",
2101
- "typeSchema": null,
2102
- "notNull": true,
2103
- "dimensions": 0,
2104
- "default": "'system'",
2105
- "generated": null,
2106
- "identity": null,
2107
- "name": "tenant_id",
2108
- "entityType": "columns",
2109
- "schema": "public",
2110
- "table": "relay_session_entries"
2111
- },
2112
- {
2113
- "type": "text",
2114
- "typeSchema": null,
2115
- "notNull": true,
2116
- "dimensions": 0,
2117
- "default": null,
2118
- "generated": null,
2119
- "identity": null,
2120
- "name": "id",
2121
- "entityType": "columns",
2122
- "schema": "public",
2123
- "table": "relay_session_entries"
2124
- },
2125
- {
2126
- "type": "text",
2127
- "typeSchema": null,
2128
- "notNull": true,
2129
- "dimensions": 0,
2130
- "default": null,
2131
- "generated": null,
2132
- "identity": null,
2133
- "name": "session_id",
2134
- "entityType": "columns",
2135
- "schema": "public",
2136
- "table": "relay_session_entries"
2137
- },
2138
- {
2139
- "type": "text",
2140
- "typeSchema": null,
2141
- "notNull": false,
2142
- "dimensions": 0,
2143
- "default": null,
2144
- "generated": null,
2145
- "identity": null,
2146
- "name": "parent_id",
2147
- "entityType": "columns",
2148
- "schema": "public",
2149
- "table": "relay_session_entries"
2150
- },
2151
- {
2152
- "type": "text",
2153
- "typeSchema": null,
2154
- "notNull": true,
2155
- "dimensions": 0,
2156
- "default": null,
2157
- "generated": null,
2158
- "identity": null,
2159
- "name": "tag",
2160
- "entityType": "columns",
2161
- "schema": "public",
2162
- "table": "relay_session_entries"
2163
- },
2164
- {
2165
- "type": "jsonb",
2166
- "typeSchema": null,
2167
- "notNull": true,
2168
- "dimensions": 0,
2169
- "default": null,
2170
- "generated": null,
2171
- "identity": null,
2172
- "name": "payload_json",
2173
- "entityType": "columns",
2174
- "schema": "public",
2175
- "table": "relay_session_entries"
2176
- },
2177
- {
2178
- "type": "timestamp with time zone",
2179
- "typeSchema": null,
2180
- "notNull": true,
2181
- "dimensions": 0,
2182
- "default": "now()",
2183
- "generated": null,
2184
- "identity": null,
2185
- "name": "created_at",
2186
- "entityType": "columns",
2187
- "schema": "public",
2188
- "table": "relay_session_entries"
2189
- },
2190
- {
2191
- "type": "text",
2192
- "typeSchema": null,
2193
- "notNull": true,
2194
- "dimensions": 0,
2195
- "default": "'system'",
2196
- "generated": null,
2197
- "identity": null,
2198
- "name": "tenant_id",
2199
- "entityType": "columns",
2200
- "schema": "public",
2201
- "table": "relay_sessions"
2202
- },
2203
- {
2204
- "type": "text",
2205
- "typeSchema": null,
2206
- "notNull": true,
2207
- "dimensions": 0,
2208
- "default": null,
2209
- "generated": null,
2210
- "identity": null,
2211
- "name": "id",
2212
- "entityType": "columns",
2213
- "schema": "public",
2214
- "table": "relay_sessions"
2215
- },
2216
- {
2217
- "type": "text",
2218
- "typeSchema": null,
2219
- "notNull": true,
2220
- "dimensions": 0,
2221
- "default": null,
2222
- "generated": null,
2223
- "identity": null,
2224
- "name": "root_address_id",
2225
- "entityType": "columns",
2226
- "schema": "public",
2227
- "table": "relay_sessions"
2228
- },
2229
- {
2230
- "type": "text",
2231
- "typeSchema": null,
2232
- "notNull": false,
2233
- "dimensions": 0,
2234
- "default": null,
2235
- "generated": null,
2236
- "identity": null,
2237
- "name": "leaf_entry_id",
2238
- "entityType": "columns",
2239
- "schema": "public",
2240
- "table": "relay_sessions"
2241
- },
2242
- {
2243
- "type": "jsonb",
2244
- "typeSchema": null,
2245
- "notNull": true,
2246
- "dimensions": 0,
2247
- "default": "'{}'",
2248
- "generated": null,
2249
- "identity": null,
2250
- "name": "metadata_json",
2251
- "entityType": "columns",
2252
- "schema": "public",
2253
- "table": "relay_sessions"
2254
- },
2255
- {
2256
- "type": "timestamp with time zone",
2257
- "typeSchema": null,
2258
- "notNull": true,
2259
- "dimensions": 0,
2260
- "default": "now()",
2261
- "generated": null,
2262
- "identity": null,
2263
- "name": "created_at",
2264
- "entityType": "columns",
2265
- "schema": "public",
2266
- "table": "relay_sessions"
2267
- },
2268
- {
2269
- "type": "timestamp with time zone",
2270
- "typeSchema": null,
2271
- "notNull": true,
2272
- "dimensions": 0,
2273
- "default": "now()",
2274
- "generated": null,
2275
- "identity": null,
2276
- "name": "updated_at",
2277
- "entityType": "columns",
2278
- "schema": "public",
2279
- "table": "relay_sessions"
2280
- },
2281
- {
2282
- "type": "text",
2283
- "typeSchema": null,
2284
- "notNull": true,
2285
- "dimensions": 0,
2286
- "default": "'system'",
2287
- "generated": null,
2288
- "identity": null,
2289
- "name": "tenant_id",
2290
- "entityType": "columns",
2291
- "schema": "public",
2292
- "table": "relay_skill_definition_revisions"
2293
- },
2294
- {
2295
- "type": "text",
2296
- "typeSchema": null,
2297
- "notNull": true,
2298
- "dimensions": 0,
2299
- "default": null,
2300
- "generated": null,
2301
- "identity": null,
2302
- "name": "skill_definition_id",
2303
- "entityType": "columns",
2304
- "schema": "public",
2305
- "table": "relay_skill_definition_revisions"
2306
- },
2307
- {
2308
- "type": "integer",
2309
- "typeSchema": null,
2310
- "notNull": true,
2311
- "dimensions": 0,
2312
- "default": null,
2313
- "generated": null,
2314
- "identity": null,
2315
- "name": "revision",
2316
- "entityType": "columns",
2317
- "schema": "public",
2318
- "table": "relay_skill_definition_revisions"
2319
- },
2320
- {
2321
- "type": "text",
2322
- "typeSchema": null,
2323
- "notNull": true,
2324
- "dimensions": 0,
2325
- "default": null,
2326
- "generated": null,
2327
- "identity": null,
2328
- "name": "name",
2329
- "entityType": "columns",
2330
- "schema": "public",
2331
- "table": "relay_skill_definition_revisions"
2332
- },
2333
- {
2334
- "type": "jsonb",
2335
- "typeSchema": null,
2336
- "notNull": true,
2337
- "dimensions": 0,
2338
- "default": null,
2339
- "generated": null,
2340
- "identity": null,
2341
- "name": "definition_json",
2342
- "entityType": "columns",
2343
- "schema": "public",
2344
- "table": "relay_skill_definition_revisions"
2345
- },
2346
- {
2347
- "type": "timestamp with time zone",
2348
- "typeSchema": null,
2349
- "notNull": true,
2350
- "dimensions": 0,
2351
- "default": "now()",
2352
- "generated": null,
2353
- "identity": null,
2354
- "name": "created_at",
2355
- "entityType": "columns",
2356
- "schema": "public",
2357
- "table": "relay_skill_definition_revisions"
2358
- },
2359
- {
2360
- "type": "text",
2361
- "typeSchema": null,
2362
- "notNull": true,
2363
- "dimensions": 0,
2364
- "default": "'system'",
2365
- "generated": null,
2366
- "identity": null,
2367
- "name": "tenant_id",
2368
- "entityType": "columns",
2369
- "schema": "public",
2370
- "table": "relay_skill_definitions"
2371
- },
2372
- {
2373
- "type": "text",
2374
- "typeSchema": null,
2375
- "notNull": true,
2376
- "dimensions": 0,
2377
- "default": null,
2378
- "generated": null,
2379
- "identity": null,
2380
- "name": "id",
2381
- "entityType": "columns",
2382
- "schema": "public",
2383
- "table": "relay_skill_definitions"
2384
- },
2385
- {
2386
- "type": "text",
2387
- "typeSchema": null,
2388
- "notNull": true,
2389
- "dimensions": 0,
2390
- "default": null,
2391
- "generated": null,
2392
- "identity": null,
2393
- "name": "name",
2394
- "entityType": "columns",
2395
- "schema": "public",
2396
- "table": "relay_skill_definitions"
2397
- },
2398
- {
2399
- "type": "integer",
2400
- "typeSchema": null,
2401
- "notNull": true,
2402
- "dimensions": 0,
2403
- "default": null,
2404
- "generated": null,
2405
- "identity": null,
2406
- "name": "current_revision",
2407
- "entityType": "columns",
2408
- "schema": "public",
2409
- "table": "relay_skill_definitions"
2410
- },
2411
- {
2412
- "type": "jsonb",
2413
- "typeSchema": null,
2414
- "notNull": true,
2415
- "dimensions": 0,
2416
- "default": null,
2417
- "generated": null,
2418
- "identity": null,
2419
- "name": "definition_json",
2420
- "entityType": "columns",
2421
- "schema": "public",
2422
- "table": "relay_skill_definitions"
2423
- },
2424
- {
2425
- "type": "timestamp with time zone",
2426
- "typeSchema": null,
2427
- "notNull": true,
2428
- "dimensions": 0,
2429
- "default": "now()",
2430
- "generated": null,
2431
- "identity": null,
2432
- "name": "created_at",
2433
- "entityType": "columns",
2434
- "schema": "public",
2435
- "table": "relay_skill_definitions"
2436
- },
2437
- {
2438
- "type": "timestamp with time zone",
2439
- "typeSchema": null,
2440
- "notNull": true,
2441
- "dimensions": 0,
2442
- "default": "now()",
2443
- "generated": null,
2444
- "identity": null,
2445
- "name": "updated_at",
2446
- "entityType": "columns",
2447
- "schema": "public",
2448
- "table": "relay_skill_definitions"
2449
- },
2450
- {
2451
- "type": "text",
2452
- "typeSchema": null,
2453
- "notNull": true,
2454
- "dimensions": 0,
2455
- "default": "'system'",
2456
- "generated": null,
2457
- "identity": null,
2458
- "name": "tenant_id",
2459
- "entityType": "columns",
2460
- "schema": "public",
2461
- "table": "relay_steering_drains"
2462
- },
2463
- {
2464
- "type": "text",
2465
- "typeSchema": null,
2466
- "notNull": true,
2467
- "dimensions": 0,
2468
- "default": null,
2469
- "generated": null,
2470
- "identity": null,
2471
- "name": "execution_id",
2472
- "entityType": "columns",
2473
- "schema": "public",
2474
- "table": "relay_steering_drains"
2475
- },
2476
- {
2477
- "type": "text",
2478
- "typeSchema": null,
2479
- "notNull": true,
2480
- "dimensions": 0,
2481
- "default": null,
2482
- "generated": null,
2483
- "identity": null,
2484
- "name": "kind",
2485
- "entityType": "columns",
2486
- "schema": "public",
2487
- "table": "relay_steering_drains"
2488
- },
2489
- {
2490
- "type": "text",
2491
- "typeSchema": null,
2492
- "notNull": true,
2493
- "dimensions": 0,
2494
- "default": null,
2495
- "generated": null,
2496
- "identity": null,
2497
- "name": "drain_id",
2498
- "entityType": "columns",
2499
- "schema": "public",
2500
- "table": "relay_steering_drains"
2501
- },
2502
- {
2503
- "type": "jsonb",
2504
- "typeSchema": null,
2505
- "notNull": true,
2506
- "dimensions": 0,
2507
- "default": "'[]'",
2508
- "generated": null,
2509
- "identity": null,
2510
- "name": "message_sequences_json",
2511
- "entityType": "columns",
2512
- "schema": "public",
2513
- "table": "relay_steering_drains"
2514
- },
2515
- {
2516
- "type": "timestamp with time zone",
2517
- "typeSchema": null,
2518
- "notNull": true,
2519
- "dimensions": 0,
2520
- "default": "now()",
2521
- "generated": null,
2522
- "identity": null,
2523
- "name": "created_at",
2524
- "entityType": "columns",
2525
- "schema": "public",
2526
- "table": "relay_steering_drains"
2527
- },
2528
- {
2529
- "type": "text",
2530
- "typeSchema": null,
2531
- "notNull": true,
2532
- "dimensions": 0,
2533
- "default": "'system'",
2534
- "generated": null,
2535
- "identity": null,
2536
- "name": "tenant_id",
2537
- "entityType": "columns",
2538
- "schema": "public",
2539
- "table": "relay_steering_messages"
2540
- },
2541
- {
2542
- "type": "text",
2543
- "typeSchema": null,
2544
- "notNull": true,
2545
- "dimensions": 0,
2546
- "default": null,
2547
- "generated": null,
2548
- "identity": null,
2549
- "name": "execution_id",
2550
- "entityType": "columns",
2551
- "schema": "public",
2552
- "table": "relay_steering_messages"
2553
- },
2554
- {
2555
- "type": "text",
2556
- "typeSchema": null,
2557
- "notNull": true,
2558
- "dimensions": 0,
2559
- "default": null,
2560
- "generated": null,
2561
- "identity": null,
2562
- "name": "kind",
2563
- "entityType": "columns",
2564
- "schema": "public",
2565
- "table": "relay_steering_messages"
2566
- },
2567
- {
2568
- "type": "integer",
2569
- "typeSchema": null,
2570
- "notNull": true,
2571
- "dimensions": 0,
2572
- "default": null,
2573
- "generated": null,
2574
- "identity": null,
2575
- "name": "sequence",
2576
- "entityType": "columns",
2577
- "schema": "public",
2578
- "table": "relay_steering_messages"
2579
- },
2580
- {
2581
- "type": "jsonb",
2582
- "typeSchema": null,
2583
- "notNull": true,
2584
- "dimensions": 0,
2585
- "default": null,
2586
- "generated": null,
2587
- "identity": null,
2588
- "name": "content_json",
2589
- "entityType": "columns",
2590
- "schema": "public",
2591
- "table": "relay_steering_messages"
2592
- },
2593
- {
2594
- "type": "text",
2595
- "typeSchema": null,
2596
- "notNull": false,
2597
- "dimensions": 0,
2598
- "default": null,
2599
- "generated": null,
2600
- "identity": null,
2601
- "name": "drain_id",
2602
- "entityType": "columns",
2603
- "schema": "public",
2604
- "table": "relay_steering_messages"
2605
- },
2606
- {
2607
- "type": "timestamp with time zone",
2608
- "typeSchema": null,
2609
- "notNull": false,
2610
- "dimensions": 0,
2611
- "default": null,
2612
- "generated": null,
2613
- "identity": null,
2614
- "name": "consumed_at",
2615
- "entityType": "columns",
2616
- "schema": "public",
2617
- "table": "relay_steering_messages"
2618
- },
2619
- {
2620
- "type": "timestamp with time zone",
2621
- "typeSchema": null,
2622
- "notNull": true,
2623
- "dimensions": 0,
2624
- "default": "now()",
2625
- "generated": null,
2626
- "identity": null,
2627
- "name": "created_at",
2628
- "entityType": "columns",
2629
- "schema": "public",
2630
- "table": "relay_steering_messages"
2631
- },
2632
- {
2633
- "type": "text",
2634
- "typeSchema": null,
2635
- "notNull": true,
2636
- "dimensions": 0,
2637
- "default": "'system'",
2638
- "generated": null,
2639
- "identity": null,
2640
- "name": "tenant_id",
2641
- "entityType": "columns",
2642
- "schema": "public",
2643
- "table": "relay_tool_calls"
2644
- },
2645
- {
2646
- "type": "text",
2647
- "typeSchema": null,
2648
- "notNull": true,
2649
- "dimensions": 0,
2650
- "default": null,
2651
- "generated": null,
2652
- "identity": null,
2653
- "name": "id",
2654
- "entityType": "columns",
2655
- "schema": "public",
2656
- "table": "relay_tool_calls"
2657
- },
2658
- {
2659
- "type": "text",
2660
- "typeSchema": null,
2661
- "notNull": true,
2662
- "dimensions": 0,
2663
- "default": null,
2664
- "generated": null,
2665
- "identity": null,
2666
- "name": "execution_id",
2667
- "entityType": "columns",
2668
- "schema": "public",
2669
- "table": "relay_tool_calls"
2670
- },
2671
- {
2672
- "type": "text",
2673
- "typeSchema": null,
2674
- "notNull": true,
2675
- "dimensions": 0,
2676
- "default": null,
2677
- "generated": null,
2678
- "identity": null,
2679
- "name": "name",
2680
- "entityType": "columns",
2681
- "schema": "public",
2682
- "table": "relay_tool_calls"
2683
- },
2684
- {
2685
- "type": "jsonb",
2686
- "typeSchema": null,
2687
- "notNull": true,
2688
- "dimensions": 0,
2689
- "default": null,
2690
- "generated": null,
2691
- "identity": null,
2692
- "name": "input_json",
2693
- "entityType": "columns",
2694
- "schema": "public",
2695
- "table": "relay_tool_calls"
2696
- },
2697
- {
2698
- "type": "jsonb",
2699
- "typeSchema": null,
2700
- "notNull": true,
2701
- "dimensions": 0,
2702
- "default": "'{}'",
2703
- "generated": null,
2704
- "identity": null,
2705
- "name": "metadata_json",
2706
- "entityType": "columns",
2707
- "schema": "public",
2708
- "table": "relay_tool_calls"
2709
- },
2710
- {
2711
- "type": "timestamp with time zone",
2712
- "typeSchema": null,
2713
- "notNull": true,
2714
- "dimensions": 0,
2715
- "default": "now()",
2716
- "generated": null,
2717
- "identity": null,
2718
- "name": "created_at",
2719
- "entityType": "columns",
2720
- "schema": "public",
2721
- "table": "relay_tool_calls"
2722
- },
2723
- {
2724
- "type": "text",
2725
- "typeSchema": null,
2726
- "notNull": true,
2727
- "dimensions": 0,
2728
- "default": "'system'",
2729
- "generated": null,
2730
- "identity": null,
2731
- "name": "tenant_id",
2732
- "entityType": "columns",
2733
- "schema": "public",
2734
- "table": "relay_tool_results"
2735
- },
2736
- {
2737
- "type": "text",
2738
- "typeSchema": null,
2739
- "notNull": true,
2740
- "dimensions": 0,
2741
- "default": null,
2742
- "generated": null,
2743
- "identity": null,
2744
- "name": "tool_call_id",
2745
- "entityType": "columns",
2746
- "schema": "public",
2747
- "table": "relay_tool_results"
2748
- },
2749
- {
2750
- "type": "jsonb",
2751
- "typeSchema": null,
2752
- "notNull": true,
2753
- "dimensions": 0,
2754
- "default": null,
2755
- "generated": null,
2756
- "identity": null,
2757
- "name": "output_json",
2758
- "entityType": "columns",
2759
- "schema": "public",
2760
- "table": "relay_tool_results"
2761
- },
2762
- {
2763
- "type": "text",
2764
- "typeSchema": null,
2765
- "notNull": false,
2766
- "dimensions": 0,
2767
- "default": null,
2768
- "generated": null,
2769
- "identity": null,
2770
- "name": "error",
2771
- "entityType": "columns",
2772
- "schema": "public",
2773
- "table": "relay_tool_results"
2774
- },
2775
- {
2776
- "type": "jsonb",
2777
- "typeSchema": null,
2778
- "notNull": true,
2779
- "dimensions": 0,
2780
- "default": "'{}'",
2781
- "generated": null,
2782
- "identity": null,
2783
- "name": "metadata_json",
2784
- "entityType": "columns",
2785
- "schema": "public",
2786
- "table": "relay_tool_results"
2787
- },
2788
- {
2789
- "type": "timestamp with time zone",
2790
- "typeSchema": null,
2791
- "notNull": true,
2792
- "dimensions": 0,
2793
- "default": "now()",
2794
- "generated": null,
2795
- "identity": null,
2796
- "name": "created_at",
2797
- "entityType": "columns",
2798
- "schema": "public",
2799
- "table": "relay_tool_results"
2800
- },
2801
- {
2802
- "type": "text",
2803
- "typeSchema": null,
2804
- "notNull": true,
2805
- "dimensions": 0,
2806
- "default": "'system'",
2807
- "generated": null,
2808
- "identity": null,
2809
- "name": "tenant_id",
2810
- "entityType": "columns",
2811
- "schema": "public",
2812
- "table": "relay_waits"
2813
- },
2814
- {
2815
- "type": "text",
2816
- "typeSchema": null,
2817
- "notNull": true,
2818
- "dimensions": 0,
2819
- "default": null,
2820
- "generated": null,
2821
- "identity": null,
2822
- "name": "id",
2823
- "entityType": "columns",
2824
- "schema": "public",
2825
- "table": "relay_waits"
2826
- },
2827
- {
2828
- "type": "text",
2829
- "typeSchema": null,
2830
- "notNull": true,
2831
- "dimensions": 0,
2832
- "default": null,
2833
- "generated": null,
2834
- "identity": null,
2835
- "name": "execution_id",
2836
- "entityType": "columns",
2837
- "schema": "public",
2838
- "table": "relay_waits"
2839
- },
2840
- {
2841
- "type": "text",
2842
- "typeSchema": null,
2843
- "notNull": false,
2844
- "dimensions": 0,
2845
- "default": null,
2846
- "generated": null,
2847
- "identity": null,
2848
- "name": "envelope_id",
2849
- "entityType": "columns",
2850
- "schema": "public",
2851
- "table": "relay_waits"
2852
- },
2853
- {
2854
- "type": "text",
2855
- "typeSchema": null,
2856
- "notNull": true,
2857
- "dimensions": 0,
2858
- "default": null,
2859
- "generated": null,
2860
- "identity": null,
2861
- "name": "mode",
2862
- "entityType": "columns",
2863
- "schema": "public",
2864
- "table": "relay_waits"
2865
- },
2866
- {
2867
- "type": "text",
2868
- "typeSchema": null,
2869
- "notNull": false,
2870
- "dimensions": 0,
2871
- "default": null,
2872
- "generated": null,
2873
- "identity": null,
2874
- "name": "correlation_key",
2875
- "entityType": "columns",
2876
- "schema": "public",
2877
- "table": "relay_waits"
2878
- },
2879
- {
2880
- "type": "text",
2881
- "typeSchema": null,
2882
- "notNull": true,
2883
- "dimensions": 0,
2884
- "default": "'open'",
2885
- "generated": null,
2886
- "identity": null,
2887
- "name": "state",
2888
- "entityType": "columns",
2889
- "schema": "public",
2890
- "table": "relay_waits"
2891
- },
2892
- {
2893
- "type": "jsonb",
2894
- "typeSchema": null,
2895
- "notNull": true,
2896
- "dimensions": 0,
2897
- "default": "'{}'",
2898
- "generated": null,
2899
- "identity": null,
2900
- "name": "metadata_json",
2901
- "entityType": "columns",
2902
- "schema": "public",
2903
- "table": "relay_waits"
2904
- },
2905
- {
2906
- "type": "timestamp with time zone",
2907
- "typeSchema": null,
2908
- "notNull": true,
2909
- "dimensions": 0,
2910
- "default": "now()",
2911
- "generated": null,
2912
- "identity": null,
2913
- "name": "created_at",
2914
- "entityType": "columns",
2915
- "schema": "public",
2916
- "table": "relay_waits"
2917
- },
2918
- {
2919
- "type": "timestamp with time zone",
2920
- "typeSchema": null,
2921
- "notNull": false,
2922
- "dimensions": 0,
2923
- "default": null,
2924
- "generated": null,
2925
- "identity": null,
2926
- "name": "resolved_at",
2927
- "entityType": "columns",
2928
- "schema": "public",
2929
- "table": "relay_waits"
2930
- },
2931
- {
2932
- "type": "text",
2933
- "typeSchema": null,
2934
- "notNull": true,
2935
- "dimensions": 0,
2936
- "default": "'system'",
2937
- "generated": null,
2938
- "identity": null,
2939
- "name": "tenant_id",
2940
- "entityType": "columns",
2941
- "schema": "public",
2942
- "table": "relay_workspace_leases"
2943
- },
2944
- {
2945
- "type": "text",
2946
- "typeSchema": null,
2947
- "notNull": true,
2948
- "dimensions": 0,
2949
- "default": null,
2950
- "generated": null,
2951
- "identity": null,
2952
- "name": "id",
2953
- "entityType": "columns",
2954
- "schema": "public",
2955
- "table": "relay_workspace_leases"
2956
- },
2957
- {
2958
- "type": "text",
2959
- "typeSchema": null,
2960
- "notNull": true,
2961
- "dimensions": 0,
2962
- "default": null,
2963
- "generated": null,
2964
- "identity": null,
2965
- "name": "execution_id",
2966
- "entityType": "columns",
2967
- "schema": "public",
2968
- "table": "relay_workspace_leases"
2969
- },
2970
- {
2971
- "type": "text",
2972
- "typeSchema": null,
2973
- "notNull": true,
2974
- "dimensions": 0,
2975
- "default": null,
2976
- "generated": null,
2977
- "identity": null,
2978
- "name": "provider_key",
2979
- "entityType": "columns",
2980
- "schema": "public",
2981
- "table": "relay_workspace_leases"
2982
- },
2983
- {
2984
- "type": "text",
2985
- "typeSchema": null,
2986
- "notNull": false,
2987
- "dimensions": 0,
2988
- "default": null,
2989
- "generated": null,
2990
- "identity": null,
2991
- "name": "sandbox_ref",
2992
- "entityType": "columns",
2993
- "schema": "public",
2994
- "table": "relay_workspace_leases"
2995
- },
2996
- {
2997
- "type": "text",
2998
- "typeSchema": null,
2999
- "notNull": false,
3000
- "dimensions": 0,
3001
- "default": null,
3002
- "generated": null,
3003
- "identity": null,
3004
- "name": "latest_snapshot_ref",
3005
- "entityType": "columns",
3006
- "schema": "public",
3007
- "table": "relay_workspace_leases"
3008
- },
3009
- {
3010
- "type": "text",
3011
- "typeSchema": null,
3012
- "notNull": true,
3013
- "dimensions": 0,
3014
- "default": null,
3015
- "generated": null,
3016
- "identity": null,
3017
- "name": "status",
3018
- "entityType": "columns",
3019
- "schema": "public",
3020
- "table": "relay_workspace_leases"
3021
- },
3022
- {
3023
- "type": "text",
3024
- "typeSchema": null,
3025
- "notNull": true,
3026
- "dimensions": 0,
3027
- "default": null,
3028
- "generated": null,
3029
- "identity": null,
3030
- "name": "resume_strategy",
3031
- "entityType": "columns",
3032
- "schema": "public",
3033
- "table": "relay_workspace_leases"
3034
- },
3035
- {
3036
- "type": "text",
3037
- "typeSchema": null,
3038
- "notNull": false,
3039
- "dimensions": 0,
3040
- "default": null,
3041
- "generated": null,
3042
- "identity": null,
3043
- "name": "region",
3044
- "entityType": "columns",
3045
- "schema": "public",
3046
- "table": "relay_workspace_leases"
3047
- },
3048
- {
3049
- "type": "jsonb",
3050
- "typeSchema": null,
3051
- "notNull": false,
3052
- "dimensions": 0,
3053
- "default": null,
3054
- "generated": null,
3055
- "identity": null,
3056
- "name": "request_json",
3057
- "entityType": "columns",
3058
- "schema": "public",
3059
- "table": "relay_workspace_leases"
3060
- },
3061
- {
3062
- "type": "jsonb",
3063
- "typeSchema": null,
3064
- "notNull": true,
3065
- "dimensions": 0,
3066
- "default": "'{}'",
3067
- "generated": null,
3068
- "identity": null,
3069
- "name": "metadata_json",
3070
- "entityType": "columns",
3071
- "schema": "public",
3072
- "table": "relay_workspace_leases"
3073
- },
3074
- {
3075
- "type": "timestamp with time zone",
3076
- "typeSchema": null,
3077
- "notNull": true,
3078
- "dimensions": 0,
3079
- "default": "now()",
3080
- "generated": null,
3081
- "identity": null,
3082
- "name": "created_at",
3083
- "entityType": "columns",
3084
- "schema": "public",
3085
- "table": "relay_workspace_leases"
3086
- },
3087
- {
3088
- "type": "timestamp with time zone",
3089
- "typeSchema": null,
3090
- "notNull": true,
3091
- "dimensions": 0,
3092
- "default": "now()",
3093
- "generated": null,
3094
- "identity": null,
3095
- "name": "updated_at",
3096
- "entityType": "columns",
3097
- "schema": "public",
3098
- "table": "relay_workspace_leases"
3099
- },
3100
- {
3101
- "type": "text",
3102
- "typeSchema": null,
3103
- "notNull": true,
3104
- "dimensions": 0,
3105
- "default": "'system'",
3106
- "generated": null,
3107
- "identity": null,
3108
- "name": "tenant_id",
3109
- "entityType": "columns",
3110
- "schema": "public",
3111
- "table": "relay_workspace_snapshots"
3112
- },
3113
- {
3114
- "type": "text",
3115
- "typeSchema": null,
3116
- "notNull": true,
3117
- "dimensions": 0,
3118
- "default": null,
3119
- "generated": null,
3120
- "identity": null,
3121
- "name": "id",
3122
- "entityType": "columns",
3123
- "schema": "public",
3124
- "table": "relay_workspace_snapshots"
3125
- },
3126
- {
3127
- "type": "text",
3128
- "typeSchema": null,
3129
- "notNull": true,
3130
- "dimensions": 0,
3131
- "default": null,
3132
- "generated": null,
3133
- "identity": null,
3134
- "name": "lease_id",
3135
- "entityType": "columns",
3136
- "schema": "public",
3137
- "table": "relay_workspace_snapshots"
3138
- },
3139
- {
3140
- "type": "text",
3141
- "typeSchema": null,
3142
- "notNull": true,
3143
- "dimensions": 0,
3144
- "default": null,
3145
- "generated": null,
3146
- "identity": null,
3147
- "name": "execution_id",
3148
- "entityType": "columns",
3149
- "schema": "public",
3150
- "table": "relay_workspace_snapshots"
3151
- },
3152
- {
3153
- "type": "text",
3154
- "typeSchema": null,
3155
- "notNull": true,
3156
- "dimensions": 0,
3157
- "default": null,
3158
- "generated": null,
3159
- "identity": null,
3160
- "name": "reason",
3161
- "entityType": "columns",
3162
- "schema": "public",
3163
- "table": "relay_workspace_snapshots"
3164
- },
3165
- {
3166
- "type": "text",
3167
- "typeSchema": null,
3168
- "notNull": true,
3169
- "dimensions": 0,
3170
- "default": null,
3171
- "generated": null,
3172
- "identity": null,
3173
- "name": "snapshot_ref",
3174
- "entityType": "columns",
3175
- "schema": "public",
3176
- "table": "relay_workspace_snapshots"
3177
- },
3178
- {
3179
- "type": "jsonb",
3180
- "typeSchema": null,
3181
- "notNull": true,
3182
- "dimensions": 0,
3183
- "default": "'{}'",
3184
- "generated": null,
3185
- "identity": null,
3186
- "name": "metadata_json",
3187
- "entityType": "columns",
3188
- "schema": "public",
3189
- "table": "relay_workspace_snapshots"
3190
- },
3191
- {
3192
- "type": "timestamp with time zone",
3193
- "typeSchema": null,
3194
- "notNull": true,
3195
- "dimensions": 0,
3196
- "default": "now()",
3197
- "generated": null,
3198
- "identity": null,
3199
- "name": "created_at",
3200
- "entityType": "columns",
3201
- "schema": "public",
3202
- "table": "relay_workspace_snapshots"
3203
- },
3204
- {
3205
- "nameExplicit": true,
3206
- "columns": [
3207
- {
3208
- "value": "tenant_id",
3209
- "isExpression": false,
3210
- "asc": true,
3211
- "nullsFirst": false,
3212
- "opclass": null
3213
- },
3214
- {
3215
- "value": "address_id",
3216
- "isExpression": false,
3217
- "asc": true,
3218
- "nullsFirst": false,
3219
- "opclass": null
3220
- }
3221
- ],
3222
- "isUnique": true,
3223
- "where": null,
3224
- "with": "",
3225
- "method": "btree",
3226
- "concurrently": false,
3227
- "name": "uq_relay_address_book_address",
3228
- "entityType": "indexes",
3229
- "schema": "public",
3230
- "table": "relay_address_book_entries"
3231
- },
3232
- {
3233
- "nameExplicit": true,
3234
- "columns": [
3235
- {
3236
- "value": "tenant_id",
3237
- "isExpression": false,
3238
- "asc": true,
3239
- "nullsFirst": false,
3240
- "opclass": null
3241
- },
3242
- {
3243
- "value": "execution_id",
3244
- "isExpression": false,
3245
- "asc": true,
3246
- "nullsFirst": false,
3247
- "opclass": null
3248
- },
3249
- {
3250
- "value": "turn",
3251
- "isExpression": false,
3252
- "asc": true,
3253
- "nullsFirst": false,
3254
- "opclass": null
3255
- }
3256
- ],
3257
- "isUnique": false,
3258
- "where": null,
3259
- "with": "",
3260
- "method": "btree",
3261
- "concurrently": false,
3262
- "name": "idx_relay_agent_compactions_execution_turn",
3263
- "entityType": "indexes",
3264
- "schema": "public",
3265
- "table": "relay_agent_compactions"
3266
- },
3267
- {
3268
- "nameExplicit": true,
3269
- "columns": [
3270
- {
3271
- "value": "tenant_id",
3272
- "isExpression": false,
3273
- "asc": true,
3274
- "nullsFirst": false,
3275
- "opclass": null
3276
- },
3277
- {
3278
- "value": "agent_definition_id",
3279
- "isExpression": false,
3280
- "asc": true,
3281
- "nullsFirst": false,
3282
- "opclass": null
3283
- },
3284
- {
3285
- "value": "revision",
3286
- "isExpression": false,
3287
- "asc": true,
3288
- "nullsFirst": false,
3289
- "opclass": null
3290
- }
3291
- ],
3292
- "isUnique": false,
3293
- "where": null,
3294
- "with": "",
3295
- "method": "btree",
3296
- "concurrently": false,
3297
- "name": "idx_relay_agent_definition_revisions_definition",
3298
- "entityType": "indexes",
3299
- "schema": "public",
3300
- "table": "relay_agent_definition_revisions"
3301
- },
3302
- {
3303
- "nameExplicit": true,
3304
- "columns": [
3305
- {
3306
- "value": "tenant_id",
3307
- "isExpression": false,
3308
- "asc": true,
3309
- "nullsFirst": false,
3310
- "opclass": null
3311
- },
3312
- {
3313
- "value": "name",
3314
- "isExpression": false,
3315
- "asc": true,
3316
- "nullsFirst": false,
3317
- "opclass": null
3318
- }
3319
- ],
3320
- "isUnique": false,
3321
- "where": null,
3322
- "with": "",
3323
- "method": "btree",
3324
- "concurrently": false,
3325
- "name": "idx_relay_agent_definitions_name",
3326
- "entityType": "indexes",
3327
- "schema": "public",
3328
- "table": "relay_agent_definitions"
3329
- },
3330
- {
3331
- "nameExplicit": true,
3332
- "columns": [
3333
- {
3334
- "value": "tenant_id",
3335
- "isExpression": false,
3336
- "asc": true,
3337
- "nullsFirst": false,
3338
- "opclass": null
3339
- },
3340
- {
3341
- "value": "execution_id",
3342
- "isExpression": false,
3343
- "asc": true,
3344
- "nullsFirst": false,
3345
- "opclass": null
3346
- }
3347
- ],
3348
- "isUnique": false,
3349
- "where": null,
3350
- "with": "",
3351
- "method": "btree",
3352
- "concurrently": false,
3353
- "name": "idx_relay_child_executions_parent",
3354
- "entityType": "indexes",
3355
- "schema": "public",
3356
- "table": "relay_child_executions"
3357
- },
3358
- {
3359
- "nameExplicit": true,
3360
- "columns": [
3361
- {
3362
- "value": "tenant_id",
3363
- "isExpression": false,
3364
- "asc": true,
3365
- "nullsFirst": false,
3366
- "opclass": null
3367
- },
3368
- {
3369
- "value": "state",
3370
- "isExpression": false,
3371
- "asc": true,
3372
- "nullsFirst": false,
3373
- "opclass": null
3374
- },
3375
- {
3376
- "value": "available_at",
3377
- "isExpression": false,
3378
- "asc": true,
3379
- "nullsFirst": false,
3380
- "opclass": null
3381
- }
3382
- ],
3383
- "isUnique": false,
3384
- "where": null,
3385
- "with": "",
3386
- "method": "btree",
3387
- "concurrently": false,
3388
- "name": "idx_relay_envelope_ready_state_available",
3389
- "entityType": "indexes",
3390
- "schema": "public",
3391
- "table": "relay_envelope_ready"
3392
- },
3393
- {
3394
- "nameExplicit": true,
3395
- "columns": [
3396
- {
3397
- "value": "tenant_id",
3398
- "isExpression": false,
3399
- "asc": true,
3400
- "nullsFirst": false,
3401
- "opclass": null
3402
- },
3403
- {
3404
- "value": "claim_expires_at",
3405
- "isExpression": false,
3406
- "asc": true,
3407
- "nullsFirst": false,
3408
- "opclass": null
3409
- }
3410
- ],
3411
- "isUnique": false,
3412
- "where": null,
3413
- "with": "",
3414
- "method": "btree",
3415
- "concurrently": false,
3416
- "name": "idx_relay_envelope_ready_claim_expires",
3417
- "entityType": "indexes",
3418
- "schema": "public",
3419
- "table": "relay_envelope_ready"
3420
- },
3421
- {
3422
- "nameExplicit": true,
3423
- "columns": [
3424
- {
3425
- "value": "tenant_id",
3426
- "isExpression": false,
3427
- "asc": true,
3428
- "nullsFirst": false,
3429
- "opclass": null
3430
- },
3431
- {
3432
- "value": "idempotency_key",
3433
- "isExpression": false,
3434
- "asc": true,
3435
- "nullsFirst": false,
3436
- "opclass": null
3437
- }
3438
- ],
3439
- "isUnique": true,
3440
- "where": null,
3441
- "with": "",
3442
- "method": "btree",
3443
- "concurrently": false,
3444
- "name": "uq_relay_envelope_ready_idempotency",
3445
- "entityType": "indexes",
3446
- "schema": "public",
3447
- "table": "relay_envelope_ready"
3448
- },
3449
- {
3450
- "nameExplicit": true,
3451
- "columns": [
3452
- {
3453
- "value": "tenant_id",
3454
- "isExpression": false,
3455
- "asc": true,
3456
- "nullsFirst": false,
3457
- "opclass": null
3458
- },
3459
- {
3460
- "value": "execution_id",
3461
- "isExpression": false,
3462
- "asc": true,
3463
- "nullsFirst": false,
3464
- "opclass": null
3465
- },
3466
- {
3467
- "value": "created_at",
3468
- "isExpression": false,
3469
- "asc": true,
3470
- "nullsFirst": false,
3471
- "opclass": null
3472
- }
3473
- ],
3474
- "isUnique": false,
3475
- "where": null,
3476
- "with": "",
3477
- "method": "btree",
3478
- "concurrently": false,
3479
- "name": "idx_relay_envelopes_execution",
3480
- "entityType": "indexes",
3481
- "schema": "public",
3482
- "table": "relay_envelopes"
3483
- },
3484
- {
3485
- "nameExplicit": true,
3486
- "columns": [
3487
- {
3488
- "value": "tenant_id",
3489
- "isExpression": false,
3490
- "asc": true,
3491
- "nullsFirst": false,
3492
- "opclass": null
3493
- },
3494
- {
3495
- "value": "to_address_id",
3496
- "isExpression": false,
3497
- "asc": true,
3498
- "nullsFirst": false,
3499
- "opclass": null
3500
- },
3501
- {
3502
- "value": "created_at",
3503
- "isExpression": false,
3504
- "asc": true,
3505
- "nullsFirst": false,
3506
- "opclass": null
3507
- }
3508
- ],
3509
- "isUnique": false,
3510
- "where": null,
3511
- "with": "",
3512
- "method": "btree",
3513
- "concurrently": false,
3514
- "name": "idx_relay_envelopes_to_address",
3515
- "entityType": "indexes",
3516
- "schema": "public",
3517
- "table": "relay_envelopes"
3518
- },
3519
- {
3520
- "nameExplicit": true,
3521
- "columns": [
3522
- {
3523
- "value": "tenant_id",
3524
- "isExpression": false,
3525
- "asc": true,
3526
- "nullsFirst": false,
3527
- "opclass": null
3528
- },
3529
- {
3530
- "value": "execution_id",
3531
- "isExpression": false,
3532
- "asc": true,
3533
- "nullsFirst": false,
3534
- "opclass": null
3535
- },
3536
- {
3537
- "value": "created_at",
3538
- "isExpression": false,
3539
- "asc": true,
3540
- "nullsFirst": false,
3541
- "opclass": null
3542
- }
3543
- ],
3544
- "isUnique": false,
3545
- "where": null,
3546
- "with": "",
3547
- "method": "btree",
3548
- "concurrently": false,
3549
- "name": "idx_relay_execution_events_execution",
3550
- "entityType": "indexes",
3551
- "schema": "public",
3552
- "table": "relay_execution_events"
3553
- },
3554
- {
3555
- "nameExplicit": true,
3556
- "columns": [
3557
- {
3558
- "value": "tenant_id",
3559
- "isExpression": false,
3560
- "asc": true,
3561
- "nullsFirst": false,
3562
- "opclass": null
3563
- },
3564
- {
3565
- "value": "execution_id",
3566
- "isExpression": false,
3567
- "asc": true,
3568
- "nullsFirst": false,
3569
- "opclass": null
3570
- },
3571
- {
3572
- "value": "sequence",
3573
- "isExpression": false,
3574
- "asc": true,
3575
- "nullsFirst": false,
3576
- "opclass": null
3577
- }
3578
- ],
3579
- "isUnique": true,
3580
- "where": null,
3581
- "with": "",
3582
- "method": "btree",
3583
- "concurrently": false,
3584
- "name": "uq_relay_execution_events_sequence",
3585
- "entityType": "indexes",
3586
- "schema": "public",
3587
- "table": "relay_execution_events"
3588
- },
3589
- {
3590
- "nameExplicit": true,
3591
- "columns": [
3592
- {
3593
- "value": "tenant_id",
3594
- "isExpression": false,
3595
- "asc": true,
3596
- "nullsFirst": false,
3597
- "opclass": null
3598
- },
3599
- {
3600
- "value": "cursor",
3601
- "isExpression": false,
3602
- "asc": true,
3603
- "nullsFirst": false,
3604
- "opclass": null
3605
- }
3606
- ],
3607
- "isUnique": true,
3608
- "where": null,
3609
- "with": "",
3610
- "method": "btree",
3611
- "concurrently": false,
3612
- "name": "uq_relay_execution_events_cursor",
3613
- "entityType": "indexes",
3614
- "schema": "public",
3615
- "table": "relay_execution_events"
3616
- },
3617
- {
3618
- "nameExplicit": true,
3619
- "columns": [
3620
- {
3621
- "value": "tenant_id",
3622
- "isExpression": false,
3623
- "asc": true,
3624
- "nullsFirst": false,
3625
- "opclass": null
3626
- },
3627
- {
3628
- "value": "execution_id",
3629
- "isExpression": false,
3630
- "asc": true,
3631
- "nullsFirst": false,
3632
- "opclass": null
3633
- }
3634
- ],
3635
- "isUnique": false,
3636
- "where": null,
3637
- "with": "",
3638
- "method": "btree",
3639
- "concurrently": false,
3640
- "name": "idx_relay_execution_skill_pins_execution",
3641
- "entityType": "indexes",
3642
- "schema": "public",
3643
- "table": "relay_execution_skill_pins"
3644
- },
3645
- {
3646
- "nameExplicit": true,
3647
- "columns": [
3648
- {
3649
- "value": "tenant_id",
3650
- "isExpression": false,
3651
- "asc": true,
3652
- "nullsFirst": false,
3653
- "opclass": null
3654
- },
3655
- {
3656
- "value": "root_address_id",
3657
- "isExpression": false,
3658
- "asc": true,
3659
- "nullsFirst": false,
3660
- "opclass": null
3661
- },
3662
- {
3663
- "value": "status",
3664
- "isExpression": false,
3665
- "asc": true,
3666
- "nullsFirst": false,
3667
- "opclass": null
3668
- }
3669
- ],
3670
- "isUnique": false,
3671
- "where": null,
3672
- "with": "",
3673
- "method": "btree",
3674
- "concurrently": false,
3675
- "name": "idx_relay_executions_root_status",
3676
- "entityType": "indexes",
3677
- "schema": "public",
3678
- "table": "relay_executions"
3679
- },
3680
- {
3681
- "nameExplicit": true,
3682
- "columns": [
3683
- {
3684
- "value": "tenant_id",
3685
- "isExpression": false,
3686
- "asc": true,
3687
- "nullsFirst": false,
3688
- "opclass": null
3689
- },
3690
- {
3691
- "value": "session_id",
3692
- "isExpression": false,
3693
- "asc": true,
3694
- "nullsFirst": false,
3695
- "opclass": null
3696
- },
3697
- {
3698
- "value": "updated_at",
3699
- "isExpression": false,
3700
- "asc": true,
3701
- "nullsFirst": false,
3702
- "opclass": null
3703
- },
3704
- {
3705
- "value": "id",
3706
- "isExpression": false,
3707
- "asc": true,
3708
- "nullsFirst": false,
3709
- "opclass": null
3710
- }
3711
- ],
3712
- "isUnique": false,
3713
- "where": null,
3714
- "with": "",
3715
- "method": "btree",
3716
- "concurrently": false,
3717
- "name": "idx_relay_executions_session_updated_id",
3718
- "entityType": "indexes",
3719
- "schema": "public",
3720
- "table": "relay_executions"
3721
- },
3722
- {
3723
- "nameExplicit": true,
3724
- "columns": [
3725
- {
3726
- "value": "tenant_id",
3727
- "isExpression": false,
3728
- "asc": true,
3729
- "nullsFirst": false,
3730
- "opclass": null
3731
- },
3732
- {
3733
- "value": "updated_at",
3734
- "isExpression": false,
3735
- "asc": true,
3736
- "nullsFirst": false,
3737
- "opclass": null
3738
- },
3739
- {
3740
- "value": "id",
3741
- "isExpression": false,
3742
- "asc": true,
3743
- "nullsFirst": false,
3744
- "opclass": null
3745
- }
3746
- ],
3747
- "isUnique": false,
3748
- "where": null,
3749
- "with": "",
3750
- "method": "btree",
3751
- "concurrently": false,
3752
- "name": "idx_relay_executions_updated_id",
3753
- "entityType": "indexes",
3754
- "schema": "public",
3755
- "table": "relay_executions"
3756
- },
3757
- {
3758
- "nameExplicit": true,
3759
- "columns": [
3760
- {
3761
- "value": "tenant_id",
3762
- "isExpression": false,
3763
- "asc": true,
3764
- "nullsFirst": false,
3765
- "opclass": null
3766
- },
3767
- {
3768
- "value": "root_address_id",
3769
- "isExpression": false,
3770
- "asc": true,
3771
- "nullsFirst": false,
3772
- "opclass": null
3773
- },
3774
- {
3775
- "value": "status",
3776
- "isExpression": false,
3777
- "asc": true,
3778
- "nullsFirst": false,
3779
- "opclass": null
3780
- },
3781
- {
3782
- "value": "updated_at",
3783
- "isExpression": false,
3784
- "asc": true,
3785
- "nullsFirst": false,
3786
- "opclass": null
3787
- },
3788
- {
3789
- "value": "id",
3790
- "isExpression": false,
3791
- "asc": true,
3792
- "nullsFirst": false,
3793
- "opclass": null
3794
- }
3795
- ],
3796
- "isUnique": false,
3797
- "where": null,
3798
- "with": "",
3799
- "method": "btree",
3800
- "concurrently": false,
3801
- "name": "idx_relay_executions_root_status_updated_id",
3802
- "entityType": "indexes",
3803
- "schema": "public",
3804
- "table": "relay_executions"
3805
- },
3806
- {
3807
- "nameExplicit": true,
3808
- "columns": [
3809
- {
3810
- "value": "tenant_id",
3811
- "isExpression": false,
3812
- "asc": true,
3813
- "nullsFirst": false,
3814
- "opclass": null
3815
- },
3816
- {
3817
- "value": "scope",
3818
- "isExpression": false,
3819
- "asc": true,
3820
- "nullsFirst": false,
3821
- "opclass": null
3822
- },
3823
- {
3824
- "value": "operation",
3825
- "isExpression": false,
3826
- "asc": true,
3827
- "nullsFirst": false,
3828
- "opclass": null
3829
- },
3830
- {
3831
- "value": "key",
3832
- "isExpression": false,
3833
- "asc": true,
3834
- "nullsFirst": false,
3835
- "opclass": null
3836
- }
3837
- ],
3838
- "isUnique": true,
3839
- "where": null,
3840
- "with": "",
3841
- "method": "btree",
3842
- "concurrently": false,
3843
- "name": "uq_relay_idempotency_scope_operation_key",
3844
- "entityType": "indexes",
3845
- "schema": "public",
3846
- "table": "relay_idempotency_keys"
3847
- },
3848
- {
3849
- "nameExplicit": true,
3850
- "columns": [
3851
- {
3852
- "value": "tenant_id",
3853
- "isExpression": false,
3854
- "asc": true,
3855
- "nullsFirst": false,
3856
- "opclass": null
3857
- },
3858
- {
3859
- "value": "agent",
3860
- "isExpression": false,
3861
- "asc": true,
3862
- "nullsFirst": false,
3863
- "opclass": null
3864
- },
3865
- {
3866
- "value": "subject",
3867
- "isExpression": false,
3868
- "asc": true,
3869
- "nullsFirst": false,
3870
- "opclass": null
3871
- }
3872
- ],
3873
- "isUnique": false,
3874
- "where": null,
3875
- "with": "",
3876
- "method": "btree",
3877
- "concurrently": false,
3878
- "name": "idx_relay_memory_records_agent_subject",
3879
- "entityType": "indexes",
3880
- "schema": "public",
3881
- "table": "relay_memory_records"
3882
- },
3883
- {
3884
- "nameExplicit": true,
3885
- "columns": [
3886
- {
3887
- "value": "tenant_id",
3888
- "isExpression": false,
3889
- "asc": true,
3890
- "nullsFirst": false,
3891
- "opclass": null
3892
- },
3893
- {
3894
- "value": "agent",
3895
- "isExpression": false,
3896
- "asc": true,
3897
- "nullsFirst": false,
3898
- "opclass": null
3899
- },
3900
- {
3901
- "value": "scope",
3902
- "isExpression": false,
3903
- "asc": true,
3904
- "nullsFirst": false,
3905
- "opclass": null
3906
- }
3907
- ],
3908
- "isUnique": false,
3909
- "where": null,
3910
- "with": "",
3911
- "method": "btree",
3912
- "concurrently": false,
3913
- "name": "idx_relay_permission_rules_agent_scope",
3914
- "entityType": "indexes",
3915
- "schema": "public",
3916
- "table": "relay_permission_rules"
3917
- },
3918
- {
3919
- "nameExplicit": true,
3920
- "columns": [
3921
- {
3922
- "value": "tenant_id",
3923
- "isExpression": false,
3924
- "asc": true,
3925
- "nullsFirst": false,
3926
- "opclass": null
3927
- },
3928
- {
3929
- "value": "envelope_ready_id",
3930
- "isExpression": false,
3931
- "asc": true,
3932
- "nullsFirst": false,
3933
- "opclass": null
3934
- },
3935
- {
3936
- "value": "created_at",
3937
- "isExpression": false,
3938
- "asc": true,
3939
- "nullsFirst": false,
3940
- "opclass": null
3941
- }
3942
- ],
3943
- "isUnique": false,
3944
- "where": null,
3945
- "with": "",
3946
- "method": "btree",
3947
- "concurrently": false,
3948
- "name": "idx_relay_route_attempts_ready",
3949
- "entityType": "indexes",
3950
- "schema": "public",
3951
- "table": "relay_route_attempts"
3952
- },
3953
- {
3954
- "nameExplicit": true,
3955
- "columns": [
3956
- {
3957
- "value": "tenant_id",
3958
- "isExpression": false,
3959
- "asc": true,
3960
- "nullsFirst": false,
3961
- "opclass": null
3962
- },
3963
- {
3964
- "value": "state",
3965
- "isExpression": false,
3966
- "asc": true,
3967
- "nullsFirst": false,
3968
- "opclass": null
3969
- },
3970
- {
3971
- "value": "next_run_at",
3972
- "isExpression": false,
3973
- "asc": true,
3974
- "nullsFirst": false,
3975
- "opclass": null
3976
- }
3977
- ],
3978
- "isUnique": false,
3979
- "where": null,
3980
- "with": "",
3981
- "method": "btree",
3982
- "concurrently": false,
3983
- "name": "idx_relay_schedules_state_next_run",
3984
- "entityType": "indexes",
3985
- "schema": "public",
3986
- "table": "relay_schedules"
3987
- },
3988
- {
3989
- "nameExplicit": true,
3990
- "columns": [
3991
- {
3992
- "value": "tenant_id",
3993
- "isExpression": false,
3994
- "asc": true,
3995
- "nullsFirst": false,
3996
- "opclass": null
3997
- },
3998
- {
3999
- "value": "claim_expires_at",
4000
- "isExpression": false,
4001
- "asc": true,
4002
- "nullsFirst": false,
4003
- "opclass": null
4004
- }
4005
- ],
4006
- "isUnique": false,
4007
- "where": null,
4008
- "with": "",
4009
- "method": "btree",
4010
- "concurrently": false,
4011
- "name": "idx_relay_schedules_claim_expires",
4012
- "entityType": "indexes",
4013
- "schema": "public",
4014
- "table": "relay_schedules"
4015
- },
4016
- {
4017
- "nameExplicit": true,
4018
- "columns": [
4019
- {
4020
- "value": "tenant_id",
4021
- "isExpression": false,
4022
- "asc": true,
4023
- "nullsFirst": false,
4024
- "opclass": null
4025
- },
4026
- {
4027
- "value": "wait_id",
4028
- "isExpression": false,
4029
- "asc": true,
4030
- "nullsFirst": false,
4031
- "opclass": null
4032
- }
4033
- ],
4034
- "isUnique": false,
4035
- "where": null,
4036
- "with": "",
4037
- "method": "btree",
4038
- "concurrently": false,
4039
- "name": "idx_relay_schedules_wait",
4040
- "entityType": "indexes",
4041
- "schema": "public",
4042
- "table": "relay_schedules"
4043
- },
4044
- {
4045
- "nameExplicit": true,
4046
- "columns": [
4047
- {
4048
- "value": "tenant_id",
4049
- "isExpression": false,
4050
- "asc": true,
4051
- "nullsFirst": false,
4052
- "opclass": null
4053
- },
4054
- {
4055
- "value": "idempotency_key",
4056
- "isExpression": false,
4057
- "asc": true,
4058
- "nullsFirst": false,
4059
- "opclass": null
4060
- }
4061
- ],
4062
- "isUnique": true,
4063
- "where": null,
4064
- "with": "",
4065
- "method": "btree",
4066
- "concurrently": false,
4067
- "name": "uq_relay_schedules_idempotency",
4068
- "entityType": "indexes",
4069
- "schema": "public",
4070
- "table": "relay_schedules"
4071
- },
4072
- {
4073
- "nameExplicit": true,
4074
- "columns": [
4075
- {
4076
- "value": "tenant_id",
4077
- "isExpression": false,
4078
- "asc": true,
4079
- "nullsFirst": false,
4080
- "opclass": null
4081
- },
4082
- {
4083
- "value": "session_id",
4084
- "isExpression": false,
4085
- "asc": true,
4086
- "nullsFirst": false,
4087
- "opclass": null
4088
- },
4089
- {
4090
- "value": "created_at",
4091
- "isExpression": false,
4092
- "asc": true,
4093
- "nullsFirst": false,
4094
- "opclass": null
4095
- },
4096
- {
4097
- "value": "id",
4098
- "isExpression": false,
4099
- "asc": true,
4100
- "nullsFirst": false,
4101
- "opclass": null
4102
- }
4103
- ],
4104
- "isUnique": false,
4105
- "where": null,
4106
- "with": "",
4107
- "method": "btree",
4108
- "concurrently": false,
4109
- "name": "idx_relay_session_entries_session_created",
4110
- "entityType": "indexes",
4111
- "schema": "public",
4112
- "table": "relay_session_entries"
4113
- },
4114
- {
4115
- "nameExplicit": true,
4116
- "columns": [
4117
- {
4118
- "value": "tenant_id",
4119
- "isExpression": false,
4120
- "asc": true,
4121
- "nullsFirst": false,
4122
- "opclass": null
4123
- },
4124
- {
4125
- "value": "session_id",
4126
- "isExpression": false,
4127
- "asc": true,
4128
- "nullsFirst": false,
4129
- "opclass": null
4130
- },
4131
- {
4132
- "value": "parent_id",
4133
- "isExpression": false,
4134
- "asc": true,
4135
- "nullsFirst": false,
4136
- "opclass": null
4137
- }
4138
- ],
4139
- "isUnique": false,
4140
- "where": null,
4141
- "with": "",
4142
- "method": "btree",
4143
- "concurrently": false,
4144
- "name": "idx_relay_session_entries_session_parent",
4145
- "entityType": "indexes",
4146
- "schema": "public",
4147
- "table": "relay_session_entries"
4148
- },
4149
- {
4150
- "nameExplicit": true,
4151
- "columns": [
4152
- {
4153
- "value": "tenant_id",
4154
- "isExpression": false,
4155
- "asc": true,
4156
- "nullsFirst": false,
4157
- "opclass": null
4158
- },
4159
- {
4160
- "value": "updated_at",
4161
- "isExpression": false,
4162
- "asc": true,
4163
- "nullsFirst": false,
4164
- "opclass": null
4165
- },
4166
- {
4167
- "value": "id",
4168
- "isExpression": false,
4169
- "asc": true,
4170
- "nullsFirst": false,
4171
- "opclass": null
4172
- }
4173
- ],
4174
- "isUnique": false,
4175
- "where": null,
4176
- "with": "",
4177
- "method": "btree",
4178
- "concurrently": false,
4179
- "name": "idx_relay_sessions_updated_id",
4180
- "entityType": "indexes",
4181
- "schema": "public",
4182
- "table": "relay_sessions"
4183
- },
4184
- {
4185
- "nameExplicit": true,
4186
- "columns": [
4187
- {
4188
- "value": "tenant_id",
4189
- "isExpression": false,
4190
- "asc": true,
4191
- "nullsFirst": false,
4192
- "opclass": null
4193
- },
4194
- {
4195
- "value": "root_address_id",
4196
- "isExpression": false,
4197
- "asc": true,
4198
- "nullsFirst": false,
4199
- "opclass": null
4200
- },
4201
- {
4202
- "value": "updated_at",
4203
- "isExpression": false,
4204
- "asc": true,
4205
- "nullsFirst": false,
4206
- "opclass": null
4207
- },
4208
- {
4209
- "value": "id",
4210
- "isExpression": false,
4211
- "asc": true,
4212
- "nullsFirst": false,
4213
- "opclass": null
4214
- }
4215
- ],
4216
- "isUnique": false,
4217
- "where": null,
4218
- "with": "",
4219
- "method": "btree",
4220
- "concurrently": false,
4221
- "name": "idx_relay_sessions_root_updated_id",
4222
- "entityType": "indexes",
4223
- "schema": "public",
4224
- "table": "relay_sessions"
4225
- },
4226
- {
4227
- "nameExplicit": true,
4228
- "columns": [
4229
- {
4230
- "value": "tenant_id",
4231
- "isExpression": false,
4232
- "asc": true,
4233
- "nullsFirst": false,
4234
- "opclass": null
4235
- },
4236
- {
4237
- "value": "skill_definition_id",
4238
- "isExpression": false,
4239
- "asc": true,
4240
- "nullsFirst": false,
4241
- "opclass": null
4242
- },
4243
- {
4244
- "value": "revision",
4245
- "isExpression": false,
4246
- "asc": true,
4247
- "nullsFirst": false,
4248
- "opclass": null
4249
- }
4250
- ],
4251
- "isUnique": false,
4252
- "where": null,
4253
- "with": "",
4254
- "method": "btree",
4255
- "concurrently": false,
4256
- "name": "idx_relay_skill_definition_revisions_definition",
4257
- "entityType": "indexes",
4258
- "schema": "public",
4259
- "table": "relay_skill_definition_revisions"
4260
- },
4261
- {
4262
- "nameExplicit": true,
4263
- "columns": [
4264
- {
4265
- "value": "tenant_id",
4266
- "isExpression": false,
4267
- "asc": true,
4268
- "nullsFirst": false,
4269
- "opclass": null
4270
- },
4271
- {
4272
- "value": "name",
4273
- "isExpression": false,
4274
- "asc": true,
4275
- "nullsFirst": false,
4276
- "opclass": null
4277
- }
4278
- ],
4279
- "isUnique": false,
4280
- "where": null,
4281
- "with": "",
4282
- "method": "btree",
4283
- "concurrently": false,
4284
- "name": "idx_relay_skill_definitions_name",
4285
- "entityType": "indexes",
4286
- "schema": "public",
4287
- "table": "relay_skill_definitions"
4288
- },
4289
- {
4290
- "nameExplicit": true,
4291
- "columns": [
4292
- {
4293
- "value": "tenant_id",
4294
- "isExpression": false,
4295
- "asc": true,
4296
- "nullsFirst": false,
4297
- "opclass": null
4298
- },
4299
- {
4300
- "value": "execution_id",
4301
- "isExpression": false,
4302
- "asc": true,
4303
- "nullsFirst": false,
4304
- "opclass": null
4305
- },
4306
- {
4307
- "value": "kind",
4308
- "isExpression": false,
4309
- "asc": true,
4310
- "nullsFirst": false,
4311
- "opclass": null
4312
- },
4313
- {
4314
- "value": "consumed_at",
4315
- "isExpression": false,
4316
- "asc": true,
4317
- "nullsFirst": false,
4318
- "opclass": null
4319
- },
4320
- {
4321
- "value": "sequence",
4322
- "isExpression": false,
4323
- "asc": true,
4324
- "nullsFirst": false,
4325
- "opclass": null
4326
- }
4327
- ],
4328
- "isUnique": false,
4329
- "where": null,
4330
- "with": "",
4331
- "method": "btree",
4332
- "concurrently": false,
4333
- "name": "idx_relay_steering_messages_unconsumed",
4334
- "entityType": "indexes",
4335
- "schema": "public",
4336
- "table": "relay_steering_messages"
4337
- },
4338
- {
4339
- "nameExplicit": true,
4340
- "columns": [
4341
- {
4342
- "value": "tenant_id",
4343
- "isExpression": false,
4344
- "asc": true,
4345
- "nullsFirst": false,
4346
- "opclass": null
4347
- },
4348
- {
4349
- "value": "execution_id",
4350
- "isExpression": false,
4351
- "asc": true,
4352
- "nullsFirst": false,
4353
- "opclass": null
4354
- },
4355
- {
4356
- "value": "kind",
4357
- "isExpression": false,
4358
- "asc": true,
4359
- "nullsFirst": false,
4360
- "opclass": null
4361
- },
4362
- {
4363
- "value": "drain_id",
4364
- "isExpression": false,
4365
- "asc": true,
4366
- "nullsFirst": false,
4367
- "opclass": null
4368
- },
4369
- {
4370
- "value": "sequence",
4371
- "isExpression": false,
4372
- "asc": true,
4373
- "nullsFirst": false,
4374
- "opclass": null
4375
- }
4376
- ],
4377
- "isUnique": false,
4378
- "where": null,
4379
- "with": "",
4380
- "method": "btree",
4381
- "concurrently": false,
4382
- "name": "idx_relay_steering_messages_drain",
4383
- "entityType": "indexes",
4384
- "schema": "public",
4385
- "table": "relay_steering_messages"
4386
- },
4387
- {
4388
- "nameExplicit": true,
4389
- "columns": [
4390
- {
4391
- "value": "tenant_id",
4392
- "isExpression": false,
4393
- "asc": true,
4394
- "nullsFirst": false,
4395
- "opclass": null
4396
- },
4397
- {
4398
- "value": "execution_id",
4399
- "isExpression": false,
4400
- "asc": true,
4401
- "nullsFirst": false,
4402
- "opclass": null
4403
- },
4404
- {
4405
- "value": "created_at",
4406
- "isExpression": false,
4407
- "asc": true,
4408
- "nullsFirst": false,
4409
- "opclass": null
4410
- }
4411
- ],
4412
- "isUnique": false,
4413
- "where": null,
4414
- "with": "",
4415
- "method": "btree",
4416
- "concurrently": false,
4417
- "name": "idx_relay_tool_calls_execution",
4418
- "entityType": "indexes",
4419
- "schema": "public",
4420
- "table": "relay_tool_calls"
4421
- },
4422
- {
4423
- "nameExplicit": true,
4424
- "columns": [
4425
- {
4426
- "value": "tenant_id",
4427
- "isExpression": false,
4428
- "asc": true,
4429
- "nullsFirst": false,
4430
- "opclass": null
4431
- },
4432
- {
4433
- "value": "execution_id",
4434
- "isExpression": false,
4435
- "asc": true,
4436
- "nullsFirst": false,
4437
- "opclass": null
4438
- },
4439
- {
4440
- "value": "state",
4441
- "isExpression": false,
4442
- "asc": true,
4443
- "nullsFirst": false,
4444
- "opclass": null
4445
- }
4446
- ],
4447
- "isUnique": false,
4448
- "where": null,
4449
- "with": "",
4450
- "method": "btree",
4451
- "concurrently": false,
4452
- "name": "idx_relay_waits_execution_state",
4453
- "entityType": "indexes",
4454
- "schema": "public",
4455
- "table": "relay_waits"
4456
- },
4457
- {
4458
- "nameExplicit": true,
4459
- "columns": [
4460
- {
4461
- "value": "tenant_id",
4462
- "isExpression": false,
4463
- "asc": true,
4464
- "nullsFirst": false,
4465
- "opclass": null
4466
- },
4467
- {
4468
- "value": "execution_id",
4469
- "isExpression": false,
4470
- "asc": true,
4471
- "nullsFirst": false,
4472
- "opclass": null
4473
- }
4474
- ],
4475
- "isUnique": true,
4476
- "where": "\"status\" not in ('released', 'failed')",
4477
- "with": "",
4478
- "method": "btree",
4479
- "concurrently": false,
4480
- "name": "uq_relay_workspace_leases_active_execution",
4481
- "entityType": "indexes",
4482
- "schema": "public",
4483
- "table": "relay_workspace_leases"
4484
- },
4485
- {
4486
- "nameExplicit": true,
4487
- "columns": [
4488
- {
4489
- "value": "tenant_id",
4490
- "isExpression": false,
4491
- "asc": true,
4492
- "nullsFirst": false,
4493
- "opclass": null
4494
- },
4495
- {
4496
- "value": "execution_id",
4497
- "isExpression": false,
4498
- "asc": true,
4499
- "nullsFirst": false,
4500
- "opclass": null
4501
- }
4502
- ],
4503
- "isUnique": false,
4504
- "where": null,
4505
- "with": "",
4506
- "method": "btree",
4507
- "concurrently": false,
4508
- "name": "idx_relay_workspace_leases_execution",
4509
- "entityType": "indexes",
4510
- "schema": "public",
4511
- "table": "relay_workspace_leases"
4512
- },
4513
- {
4514
- "nameExplicit": true,
4515
- "columns": [
4516
- {
4517
- "value": "tenant_id",
4518
- "isExpression": false,
4519
- "asc": true,
4520
- "nullsFirst": false,
4521
- "opclass": null
4522
- },
4523
- {
4524
- "value": "status",
4525
- "isExpression": false,
4526
- "asc": true,
4527
- "nullsFirst": false,
4528
- "opclass": null
4529
- },
4530
- {
4531
- "value": "updated_at",
4532
- "isExpression": false,
4533
- "asc": true,
4534
- "nullsFirst": false,
4535
- "opclass": null
4536
- }
4537
- ],
4538
- "isUnique": false,
4539
- "where": null,
4540
- "with": "",
4541
- "method": "btree",
4542
- "concurrently": false,
4543
- "name": "idx_relay_workspace_leases_status_updated",
4544
- "entityType": "indexes",
4545
- "schema": "public",
4546
- "table": "relay_workspace_leases"
4547
- },
4548
- {
4549
- "nameExplicit": true,
4550
- "columns": [
4551
- {
4552
- "value": "tenant_id",
4553
- "isExpression": false,
4554
- "asc": true,
4555
- "nullsFirst": false,
4556
- "opclass": null
4557
- },
4558
- {
4559
- "value": "lease_id",
4560
- "isExpression": false,
4561
- "asc": true,
4562
- "nullsFirst": false,
4563
- "opclass": null
4564
- },
4565
- {
4566
- "value": "created_at",
4567
- "isExpression": false,
4568
- "asc": true,
4569
- "nullsFirst": false,
4570
- "opclass": null
4571
- }
4572
- ],
4573
- "isUnique": false,
4574
- "where": null,
4575
- "with": "",
4576
- "method": "btree",
4577
- "concurrently": false,
4578
- "name": "idx_relay_workspace_snapshots_lease",
4579
- "entityType": "indexes",
4580
- "schema": "public",
4581
- "table": "relay_workspace_snapshots"
4582
- },
4583
- {
4584
- "nameExplicit": true,
4585
- "columns": [
4586
- {
4587
- "value": "tenant_id",
4588
- "isExpression": false,
4589
- "asc": true,
4590
- "nullsFirst": false,
4591
- "opclass": null
4592
- },
4593
- {
4594
- "value": "execution_id",
4595
- "isExpression": false,
4596
- "asc": true,
4597
- "nullsFirst": false,
4598
- "opclass": null
4599
- },
4600
- {
4601
- "value": "created_at",
4602
- "isExpression": false,
4603
- "asc": true,
4604
- "nullsFirst": false,
4605
- "opclass": null
4606
- }
4607
- ],
4608
- "isUnique": false,
4609
- "where": null,
4610
- "with": "",
4611
- "method": "btree",
4612
- "concurrently": false,
4613
- "name": "idx_relay_workspace_snapshots_execution",
4614
- "entityType": "indexes",
4615
- "schema": "public",
4616
- "table": "relay_workspace_snapshots"
4617
- },
4618
- {
4619
- "columns": ["tenant_id", "id"],
4620
- "nameExplicit": true,
4621
- "name": "pk_relay_address_book_entries",
4622
- "entityType": "pks",
4623
- "schema": "public",
4624
- "table": "relay_address_book_entries"
4625
- },
4626
- {
4627
- "columns": ["tenant_id", "execution_id"],
4628
- "nameExplicit": true,
4629
- "name": "pk_relay_agent_chats",
4630
- "entityType": "pks",
4631
- "schema": "public",
4632
- "table": "relay_agent_chats"
4633
- },
4634
- {
4635
- "columns": ["tenant_id", "execution_id", "checkpoint_id"],
4636
- "nameExplicit": true,
4637
- "name": "pk_relay_agent_compactions",
4638
- "entityType": "pks",
4639
- "schema": "public",
4640
- "table": "relay_agent_compactions"
4641
- },
4642
- {
4643
- "columns": ["tenant_id", "agent_definition_id", "revision"],
4644
- "nameExplicit": true,
4645
- "name": "pk_relay_agent_definition_revisions",
4646
- "entityType": "pks",
4647
- "schema": "public",
4648
- "table": "relay_agent_definition_revisions"
4649
- },
4650
- {
4651
- "columns": ["tenant_id", "id"],
4652
- "nameExplicit": true,
4653
- "name": "pk_relay_agent_definitions",
4654
- "entityType": "pks",
4655
- "schema": "public",
4656
- "table": "relay_agent_definitions"
4657
- },
4658
- {
4659
- "columns": ["tenant_id", "id"],
4660
- "nameExplicit": true,
4661
- "name": "pk_relay_child_executions",
4662
- "entityType": "pks",
4663
- "schema": "public",
4664
- "table": "relay_child_executions"
4665
- },
4666
- {
4667
- "columns": ["tenant_id", "id"],
4668
- "nameExplicit": true,
4669
- "name": "pk_relay_envelope_ready",
4670
- "entityType": "pks",
4671
- "schema": "public",
4672
- "table": "relay_envelope_ready"
4673
- },
4674
- {
4675
- "columns": ["tenant_id", "id"],
4676
- "nameExplicit": true,
4677
- "name": "pk_relay_envelopes",
4678
- "entityType": "pks",
4679
- "schema": "public",
4680
- "table": "relay_envelopes"
4681
- },
4682
- {
4683
- "columns": ["tenant_id", "execution_id"],
4684
- "nameExplicit": true,
4685
- "name": "pk_relay_execution_context_epochs",
4686
- "entityType": "pks",
4687
- "schema": "public",
4688
- "table": "relay_execution_context_epochs"
4689
- },
4690
- {
4691
- "columns": ["tenant_id", "id"],
4692
- "nameExplicit": true,
4693
- "name": "pk_relay_execution_events",
4694
- "entityType": "pks",
4695
- "schema": "public",
4696
- "table": "relay_execution_events"
4697
- },
4698
- {
4699
- "columns": ["tenant_id", "execution_id", "skill_definition_id"],
4700
- "nameExplicit": true,
4701
- "name": "pk_relay_execution_skill_pins",
4702
- "entityType": "pks",
4703
- "schema": "public",
4704
- "table": "relay_execution_skill_pins"
4705
- },
4706
- {
4707
- "columns": ["tenant_id", "id"],
4708
- "nameExplicit": true,
4709
- "name": "pk_relay_executions",
4710
- "entityType": "pks",
4711
- "schema": "public",
4712
- "table": "relay_executions"
4713
- },
4714
- {
4715
- "columns": ["tenant_id", "id"],
4716
- "nameExplicit": true,
4717
- "name": "pk_relay_idempotency_keys",
4718
- "entityType": "pks",
4719
- "schema": "public",
4720
- "table": "relay_idempotency_keys"
4721
- },
4722
- {
4723
- "columns": ["tenant_id", "id"],
4724
- "nameExplicit": true,
4725
- "name": "pk_relay_memory_records",
4726
- "entityType": "pks",
4727
- "schema": "public",
4728
- "table": "relay_memory_records"
4729
- },
4730
- {
4731
- "columns": ["tenant_id", "agent", "scope", "pattern"],
4732
- "nameExplicit": true,
4733
- "name": "pk_relay_permission_rules",
4734
- "entityType": "pks",
4735
- "schema": "public",
4736
- "table": "relay_permission_rules"
4737
- },
4738
- {
4739
- "columns": ["tenant_id", "id"],
4740
- "nameExplicit": true,
4741
- "name": "pk_relay_route_attempts",
4742
- "entityType": "pks",
4743
- "schema": "public",
4744
- "table": "relay_route_attempts"
4745
- },
4746
- {
4747
- "columns": ["tenant_id", "id"],
4748
- "nameExplicit": true,
4749
- "name": "pk_relay_schedules",
4750
- "entityType": "pks",
4751
- "schema": "public",
4752
- "table": "relay_schedules"
4753
- },
4754
- {
4755
- "columns": ["tenant_id", "id"],
4756
- "nameExplicit": true,
4757
- "name": "pk_relay_session_entries",
4758
- "entityType": "pks",
4759
- "schema": "public",
4760
- "table": "relay_session_entries"
4761
- },
4762
- {
4763
- "columns": ["tenant_id", "id"],
4764
- "nameExplicit": true,
4765
- "name": "pk_relay_sessions",
4766
- "entityType": "pks",
4767
- "schema": "public",
4768
- "table": "relay_sessions"
4769
- },
4770
- {
4771
- "columns": ["tenant_id", "skill_definition_id", "revision"],
4772
- "nameExplicit": true,
4773
- "name": "pk_relay_skill_definition_revisions",
4774
- "entityType": "pks",
4775
- "schema": "public",
4776
- "table": "relay_skill_definition_revisions"
4777
- },
4778
- {
4779
- "columns": ["tenant_id", "id"],
4780
- "nameExplicit": true,
4781
- "name": "pk_relay_skill_definitions",
4782
- "entityType": "pks",
4783
- "schema": "public",
4784
- "table": "relay_skill_definitions"
4785
- },
4786
- {
4787
- "columns": ["tenant_id", "execution_id", "kind", "drain_id"],
4788
- "nameExplicit": true,
4789
- "name": "pk_relay_steering_drains",
4790
- "entityType": "pks",
4791
- "schema": "public",
4792
- "table": "relay_steering_drains"
4793
- },
4794
- {
4795
- "columns": ["tenant_id", "execution_id", "kind", "sequence"],
4796
- "nameExplicit": true,
4797
- "name": "pk_relay_steering_messages",
4798
- "entityType": "pks",
4799
- "schema": "public",
4800
- "table": "relay_steering_messages"
4801
- },
4802
- {
4803
- "columns": ["tenant_id", "id"],
4804
- "nameExplicit": true,
4805
- "name": "pk_relay_tool_calls",
4806
- "entityType": "pks",
4807
- "schema": "public",
4808
- "table": "relay_tool_calls"
4809
- },
4810
- {
4811
- "columns": ["tenant_id", "tool_call_id"],
4812
- "nameExplicit": true,
4813
- "name": "pk_relay_tool_results",
4814
- "entityType": "pks",
4815
- "schema": "public",
4816
- "table": "relay_tool_results"
4817
- },
4818
- {
4819
- "columns": ["tenant_id", "id"],
4820
- "nameExplicit": true,
4821
- "name": "pk_relay_waits",
4822
- "entityType": "pks",
4823
- "schema": "public",
4824
- "table": "relay_waits"
4825
- },
4826
- {
4827
- "columns": ["tenant_id", "id"],
4828
- "nameExplicit": true,
4829
- "name": "pk_relay_workspace_leases",
4830
- "entityType": "pks",
4831
- "schema": "public",
4832
- "table": "relay_workspace_leases"
4833
- },
4834
- {
4835
- "columns": ["tenant_id", "id"],
4836
- "nameExplicit": true,
4837
- "name": "pk_relay_workspace_snapshots",
4838
- "entityType": "pks",
4839
- "schema": "public",
4840
- "table": "relay_workspace_snapshots"
4841
- }
4842
- ],
4843
- "renames": []
4844
- }