@relayfx/sdk 0.0.49 → 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 -17218
  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 -18835
  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,4193 +0,0 @@
1
- {
2
- "version": "8",
3
- "dialect": "postgres",
4
- "id": "d0a5ecff-68cb-4af5-b680-078d81c4f9a0",
5
- "prevIds": ["c377a83c-9075-409b-ac6b-98f83687f331"],
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": null,
181
- "generated": null,
182
- "identity": null,
183
- "name": "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": "address_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": "route_kind",
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_key",
223
- "entityType": "columns",
224
- "schema": "public",
225
- "table": "relay_address_book_entries"
226
- },
227
- {
228
- "type": "jsonb",
229
- "typeSchema": null,
230
- "notNull": true,
231
- "dimensions": 0,
232
- "default": "'{}'",
233
- "generated": null,
234
- "identity": null,
235
- "name": "metadata_json",
236
- "entityType": "columns",
237
- "schema": "public",
238
- "table": "relay_address_book_entries"
239
- },
240
- {
241
- "type": "timestamp with time zone",
242
- "typeSchema": null,
243
- "notNull": true,
244
- "dimensions": 0,
245
- "default": "now()",
246
- "generated": null,
247
- "identity": null,
248
- "name": "created_at",
249
- "entityType": "columns",
250
- "schema": "public",
251
- "table": "relay_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": "updated_at",
262
- "entityType": "columns",
263
- "schema": "public",
264
- "table": "relay_address_book_entries"
265
- },
266
- {
267
- "type": "text",
268
- "typeSchema": null,
269
- "notNull": true,
270
- "dimensions": 0,
271
- "default": null,
272
- "generated": null,
273
- "identity": null,
274
- "name": "execution_id",
275
- "entityType": "columns",
276
- "schema": "public",
277
- "table": "relay_agent_chats"
278
- },
279
- {
280
- "type": "jsonb",
281
- "typeSchema": null,
282
- "notNull": true,
283
- "dimensions": 0,
284
- "default": null,
285
- "generated": null,
286
- "identity": null,
287
- "name": "export_json",
288
- "entityType": "columns",
289
- "schema": "public",
290
- "table": "relay_agent_chats"
291
- },
292
- {
293
- "type": "timestamp with time zone",
294
- "typeSchema": null,
295
- "notNull": true,
296
- "dimensions": 0,
297
- "default": "now()",
298
- "generated": null,
299
- "identity": null,
300
- "name": "updated_at",
301
- "entityType": "columns",
302
- "schema": "public",
303
- "table": "relay_agent_chats"
304
- },
305
- {
306
- "type": "text",
307
- "typeSchema": null,
308
- "notNull": true,
309
- "dimensions": 0,
310
- "default": null,
311
- "generated": null,
312
- "identity": null,
313
- "name": "execution_id",
314
- "entityType": "columns",
315
- "schema": "public",
316
- "table": "relay_agent_compactions"
317
- },
318
- {
319
- "type": "text",
320
- "typeSchema": null,
321
- "notNull": true,
322
- "dimensions": 0,
323
- "default": null,
324
- "generated": null,
325
- "identity": null,
326
- "name": "checkpoint_id",
327
- "entityType": "columns",
328
- "schema": "public",
329
- "table": "relay_agent_compactions"
330
- },
331
- {
332
- "type": "text",
333
- "typeSchema": null,
334
- "notNull": true,
335
- "dimensions": 0,
336
- "default": null,
337
- "generated": null,
338
- "identity": null,
339
- "name": "summary",
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": "first_kept_entry_id",
353
- "entityType": "columns",
354
- "schema": "public",
355
- "table": "relay_agent_compactions"
356
- },
357
- {
358
- "type": "integer",
359
- "typeSchema": null,
360
- "notNull": true,
361
- "dimensions": 0,
362
- "default": null,
363
- "generated": null,
364
- "identity": null,
365
- "name": "turn",
366
- "entityType": "columns",
367
- "schema": "public",
368
- "table": "relay_agent_compactions"
369
- },
370
- {
371
- "type": "timestamp with time zone",
372
- "typeSchema": null,
373
- "notNull": true,
374
- "dimensions": 0,
375
- "default": "now()",
376
- "generated": null,
377
- "identity": null,
378
- "name": "created_at",
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": "agent_definition_id",
392
- "entityType": "columns",
393
- "schema": "public",
394
- "table": "relay_agent_definition_revisions"
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": "revision",
405
- "entityType": "columns",
406
- "schema": "public",
407
- "table": "relay_agent_definition_revisions"
408
- },
409
- {
410
- "type": "text",
411
- "typeSchema": null,
412
- "notNull": true,
413
- "dimensions": 0,
414
- "default": null,
415
- "generated": null,
416
- "identity": null,
417
- "name": "name",
418
- "entityType": "columns",
419
- "schema": "public",
420
- "table": "relay_agent_definition_revisions"
421
- },
422
- {
423
- "type": "jsonb",
424
- "typeSchema": null,
425
- "notNull": true,
426
- "dimensions": 0,
427
- "default": null,
428
- "generated": null,
429
- "identity": null,
430
- "name": "definition_json",
431
- "entityType": "columns",
432
- "schema": "public",
433
- "table": "relay_agent_definition_revisions"
434
- },
435
- {
436
- "type": "timestamp with time zone",
437
- "typeSchema": null,
438
- "notNull": true,
439
- "dimensions": 0,
440
- "default": "now()",
441
- "generated": null,
442
- "identity": null,
443
- "name": "created_at",
444
- "entityType": "columns",
445
- "schema": "public",
446
- "table": "relay_agent_definition_revisions"
447
- },
448
- {
449
- "type": "text",
450
- "typeSchema": null,
451
- "notNull": true,
452
- "dimensions": 0,
453
- "default": null,
454
- "generated": null,
455
- "identity": null,
456
- "name": "id",
457
- "entityType": "columns",
458
- "schema": "public",
459
- "table": "relay_agent_definitions"
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_definitions"
473
- },
474
- {
475
- "type": "integer",
476
- "typeSchema": null,
477
- "notNull": true,
478
- "dimensions": 0,
479
- "default": null,
480
- "generated": null,
481
- "identity": null,
482
- "name": "current_revision",
483
- "entityType": "columns",
484
- "schema": "public",
485
- "table": "relay_agent_definitions"
486
- },
487
- {
488
- "type": "jsonb",
489
- "typeSchema": null,
490
- "notNull": true,
491
- "dimensions": 0,
492
- "default": null,
493
- "generated": null,
494
- "identity": null,
495
- "name": "definition_json",
496
- "entityType": "columns",
497
- "schema": "public",
498
- "table": "relay_agent_definitions"
499
- },
500
- {
501
- "type": "timestamp with time zone",
502
- "typeSchema": null,
503
- "notNull": true,
504
- "dimensions": 0,
505
- "default": "now()",
506
- "generated": null,
507
- "identity": null,
508
- "name": "created_at",
509
- "entityType": "columns",
510
- "schema": "public",
511
- "table": "relay_agent_definitions"
512
- },
513
- {
514
- "type": "timestamp with time zone",
515
- "typeSchema": null,
516
- "notNull": true,
517
- "dimensions": 0,
518
- "default": "now()",
519
- "generated": null,
520
- "identity": null,
521
- "name": "updated_at",
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": "id",
535
- "entityType": "columns",
536
- "schema": "public",
537
- "table": "relay_child_executions"
538
- },
539
- {
540
- "type": "text",
541
- "typeSchema": null,
542
- "notNull": true,
543
- "dimensions": 0,
544
- "default": null,
545
- "generated": null,
546
- "identity": null,
547
- "name": "execution_id",
548
- "entityType": "columns",
549
- "schema": "public",
550
- "table": "relay_child_executions"
551
- },
552
- {
553
- "type": "text",
554
- "typeSchema": null,
555
- "notNull": true,
556
- "dimensions": 0,
557
- "default": null,
558
- "generated": null,
559
- "identity": null,
560
- "name": "address_id",
561
- "entityType": "columns",
562
- "schema": "public",
563
- "table": "relay_child_executions"
564
- },
565
- {
566
- "type": "text",
567
- "typeSchema": null,
568
- "notNull": true,
569
- "dimensions": 0,
570
- "default": null,
571
- "generated": null,
572
- "identity": null,
573
- "name": "status",
574
- "entityType": "columns",
575
- "schema": "public",
576
- "table": "relay_child_executions"
577
- },
578
- {
579
- "type": "jsonb",
580
- "typeSchema": null,
581
- "notNull": true,
582
- "dimensions": 0,
583
- "default": "'{}'",
584
- "generated": null,
585
- "identity": null,
586
- "name": "metadata_json",
587
- "entityType": "columns",
588
- "schema": "public",
589
- "table": "relay_child_executions"
590
- },
591
- {
592
- "type": "timestamp with time zone",
593
- "typeSchema": null,
594
- "notNull": true,
595
- "dimensions": 0,
596
- "default": "now()",
597
- "generated": null,
598
- "identity": null,
599
- "name": "created_at",
600
- "entityType": "columns",
601
- "schema": "public",
602
- "table": "relay_child_executions"
603
- },
604
- {
605
- "type": "timestamp with time zone",
606
- "typeSchema": null,
607
- "notNull": true,
608
- "dimensions": 0,
609
- "default": "now()",
610
- "generated": null,
611
- "identity": null,
612
- "name": "updated_at",
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": "id",
626
- "entityType": "columns",
627
- "schema": "public",
628
- "table": "relay_envelope_ready"
629
- },
630
- {
631
- "type": "text",
632
- "typeSchema": null,
633
- "notNull": true,
634
- "dimensions": 0,
635
- "default": null,
636
- "generated": null,
637
- "identity": null,
638
- "name": "envelope_id",
639
- "entityType": "columns",
640
- "schema": "public",
641
- "table": "relay_envelope_ready"
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": "route_type",
652
- "entityType": "columns",
653
- "schema": "public",
654
- "table": "relay_envelope_ready"
655
- },
656
- {
657
- "type": "text",
658
- "typeSchema": null,
659
- "notNull": true,
660
- "dimensions": 0,
661
- "default": null,
662
- "generated": null,
663
- "identity": null,
664
- "name": "route_key",
665
- "entityType": "columns",
666
- "schema": "public",
667
- "table": "relay_envelope_ready"
668
- },
669
- {
670
- "type": "text",
671
- "typeSchema": null,
672
- "notNull": true,
673
- "dimensions": 0,
674
- "default": "'ready'",
675
- "generated": null,
676
- "identity": null,
677
- "name": "state",
678
- "entityType": "columns",
679
- "schema": "public",
680
- "table": "relay_envelope_ready"
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": "available_at",
691
- "entityType": "columns",
692
- "schema": "public",
693
- "table": "relay_envelope_ready"
694
- },
695
- {
696
- "type": "integer",
697
- "typeSchema": null,
698
- "notNull": true,
699
- "dimensions": 0,
700
- "default": "0",
701
- "generated": null,
702
- "identity": null,
703
- "name": "attempt",
704
- "entityType": "columns",
705
- "schema": "public",
706
- "table": "relay_envelope_ready"
707
- },
708
- {
709
- "type": "text",
710
- "typeSchema": null,
711
- "notNull": false,
712
- "dimensions": 0,
713
- "default": null,
714
- "generated": null,
715
- "identity": null,
716
- "name": "claim_owner",
717
- "entityType": "columns",
718
- "schema": "public",
719
- "table": "relay_envelope_ready"
720
- },
721
- {
722
- "type": "timestamp with time zone",
723
- "typeSchema": null,
724
- "notNull": false,
725
- "dimensions": 0,
726
- "default": null,
727
- "generated": null,
728
- "identity": null,
729
- "name": "claim_expires_at",
730
- "entityType": "columns",
731
- "schema": "public",
732
- "table": "relay_envelope_ready"
733
- },
734
- {
735
- "type": "text",
736
- "typeSchema": null,
737
- "notNull": false,
738
- "dimensions": 0,
739
- "default": null,
740
- "generated": null,
741
- "identity": null,
742
- "name": "last_error",
743
- "entityType": "columns",
744
- "schema": "public",
745
- "table": "relay_envelope_ready"
746
- },
747
- {
748
- "type": "text",
749
- "typeSchema": null,
750
- "notNull": false,
751
- "dimensions": 0,
752
- "default": null,
753
- "generated": null,
754
- "identity": null,
755
- "name": "idempotency_key",
756
- "entityType": "columns",
757
- "schema": "public",
758
- "table": "relay_envelope_ready"
759
- },
760
- {
761
- "type": "jsonb",
762
- "typeSchema": null,
763
- "notNull": true,
764
- "dimensions": 0,
765
- "default": "'{}'",
766
- "generated": null,
767
- "identity": null,
768
- "name": "metadata_json",
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": "created_at",
782
- "entityType": "columns",
783
- "schema": "public",
784
- "table": "relay_envelope_ready"
785
- },
786
- {
787
- "type": "timestamp with time zone",
788
- "typeSchema": null,
789
- "notNull": true,
790
- "dimensions": 0,
791
- "default": "now()",
792
- "generated": null,
793
- "identity": null,
794
- "name": "updated_at",
795
- "entityType": "columns",
796
- "schema": "public",
797
- "table": "relay_envelope_ready"
798
- },
799
- {
800
- "type": "timestamp with time zone",
801
- "typeSchema": null,
802
- "notNull": false,
803
- "dimensions": 0,
804
- "default": null,
805
- "generated": null,
806
- "identity": null,
807
- "name": "claimed_at",
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": "acknowledged_at",
821
- "entityType": "columns",
822
- "schema": "public",
823
- "table": "relay_envelope_ready"
824
- },
825
- {
826
- "type": "text",
827
- "typeSchema": null,
828
- "notNull": true,
829
- "dimensions": 0,
830
- "default": null,
831
- "generated": null,
832
- "identity": null,
833
- "name": "id",
834
- "entityType": "columns",
835
- "schema": "public",
836
- "table": "relay_envelopes"
837
- },
838
- {
839
- "type": "text",
840
- "typeSchema": null,
841
- "notNull": true,
842
- "dimensions": 0,
843
- "default": null,
844
- "generated": null,
845
- "identity": null,
846
- "name": "execution_id",
847
- "entityType": "columns",
848
- "schema": "public",
849
- "table": "relay_envelopes"
850
- },
851
- {
852
- "type": "text",
853
- "typeSchema": null,
854
- "notNull": true,
855
- "dimensions": 0,
856
- "default": null,
857
- "generated": null,
858
- "identity": null,
859
- "name": "from_address_id",
860
- "entityType": "columns",
861
- "schema": "public",
862
- "table": "relay_envelopes"
863
- },
864
- {
865
- "type": "text",
866
- "typeSchema": null,
867
- "notNull": true,
868
- "dimensions": 0,
869
- "default": null,
870
- "generated": null,
871
- "identity": null,
872
- "name": "to_address_id",
873
- "entityType": "columns",
874
- "schema": "public",
875
- "table": "relay_envelopes"
876
- },
877
- {
878
- "type": "jsonb",
879
- "typeSchema": null,
880
- "notNull": true,
881
- "dimensions": 0,
882
- "default": null,
883
- "generated": null,
884
- "identity": null,
885
- "name": "content_json",
886
- "entityType": "columns",
887
- "schema": "public",
888
- "table": "relay_envelopes"
889
- },
890
- {
891
- "type": "jsonb",
892
- "typeSchema": null,
893
- "notNull": false,
894
- "dimensions": 0,
895
- "default": null,
896
- "generated": null,
897
- "identity": null,
898
- "name": "wait_json",
899
- "entityType": "columns",
900
- "schema": "public",
901
- "table": "relay_envelopes"
902
- },
903
- {
904
- "type": "text",
905
- "typeSchema": null,
906
- "notNull": false,
907
- "dimensions": 0,
908
- "default": null,
909
- "generated": null,
910
- "identity": null,
911
- "name": "correlation_key",
912
- "entityType": "columns",
913
- "schema": "public",
914
- "table": "relay_envelopes"
915
- },
916
- {
917
- "type": "jsonb",
918
- "typeSchema": null,
919
- "notNull": true,
920
- "dimensions": 0,
921
- "default": "'{}'",
922
- "generated": null,
923
- "identity": null,
924
- "name": "metadata_json",
925
- "entityType": "columns",
926
- "schema": "public",
927
- "table": "relay_envelopes"
928
- },
929
- {
930
- "type": "timestamp with time zone",
931
- "typeSchema": null,
932
- "notNull": true,
933
- "dimensions": 0,
934
- "default": "now()",
935
- "generated": null,
936
- "identity": null,
937
- "name": "created_at",
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_execution_context_epochs"
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": "baseline",
964
- "entityType": "columns",
965
- "schema": "public",
966
- "table": "relay_execution_context_epochs"
967
- },
968
- {
969
- "type": "jsonb",
970
- "typeSchema": null,
971
- "notNull": true,
972
- "dimensions": 0,
973
- "default": "'[]'",
974
- "generated": null,
975
- "identity": null,
976
- "name": "dynamic_source_ids_json",
977
- "entityType": "columns",
978
- "schema": "public",
979
- "table": "relay_execution_context_epochs"
980
- },
981
- {
982
- "type": "timestamp with time zone",
983
- "typeSchema": null,
984
- "notNull": true,
985
- "dimensions": 0,
986
- "default": "now()",
987
- "generated": null,
988
- "identity": null,
989
- "name": "opened_at",
990
- "entityType": "columns",
991
- "schema": "public",
992
- "table": "relay_execution_context_epochs"
993
- },
994
- {
995
- "type": "text",
996
- "typeSchema": null,
997
- "notNull": true,
998
- "dimensions": 0,
999
- "default": null,
1000
- "generated": null,
1001
- "identity": null,
1002
- "name": "id",
1003
- "entityType": "columns",
1004
- "schema": "public",
1005
- "table": "relay_execution_events"
1006
- },
1007
- {
1008
- "type": "text",
1009
- "typeSchema": null,
1010
- "notNull": true,
1011
- "dimensions": 0,
1012
- "default": null,
1013
- "generated": null,
1014
- "identity": null,
1015
- "name": "execution_id",
1016
- "entityType": "columns",
1017
- "schema": "public",
1018
- "table": "relay_execution_events"
1019
- },
1020
- {
1021
- "type": "text",
1022
- "typeSchema": null,
1023
- "notNull": false,
1024
- "dimensions": 0,
1025
- "default": null,
1026
- "generated": null,
1027
- "identity": null,
1028
- "name": "child_execution_id",
1029
- "entityType": "columns",
1030
- "schema": "public",
1031
- "table": "relay_execution_events"
1032
- },
1033
- {
1034
- "type": "text",
1035
- "typeSchema": null,
1036
- "notNull": true,
1037
- "dimensions": 0,
1038
- "default": null,
1039
- "generated": null,
1040
- "identity": null,
1041
- "name": "type",
1042
- "entityType": "columns",
1043
- "schema": "public",
1044
- "table": "relay_execution_events"
1045
- },
1046
- {
1047
- "type": "integer",
1048
- "typeSchema": null,
1049
- "notNull": true,
1050
- "dimensions": 0,
1051
- "default": null,
1052
- "generated": null,
1053
- "identity": null,
1054
- "name": "sequence",
1055
- "entityType": "columns",
1056
- "schema": "public",
1057
- "table": "relay_execution_events"
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": "cursor",
1068
- "entityType": "columns",
1069
- "schema": "public",
1070
- "table": "relay_execution_events"
1071
- },
1072
- {
1073
- "type": "jsonb",
1074
- "typeSchema": null,
1075
- "notNull": false,
1076
- "dimensions": 0,
1077
- "default": null,
1078
- "generated": null,
1079
- "identity": null,
1080
- "name": "content_json",
1081
- "entityType": "columns",
1082
- "schema": "public",
1083
- "table": "relay_execution_events"
1084
- },
1085
- {
1086
- "type": "jsonb",
1087
- "typeSchema": null,
1088
- "notNull": true,
1089
- "dimensions": 0,
1090
- "default": "'{}'",
1091
- "generated": null,
1092
- "identity": null,
1093
- "name": "data_json",
1094
- "entityType": "columns",
1095
- "schema": "public",
1096
- "table": "relay_execution_events"
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": "created_at",
1107
- "entityType": "columns",
1108
- "schema": "public",
1109
- "table": "relay_execution_events"
1110
- },
1111
- {
1112
- "type": "text",
1113
- "typeSchema": null,
1114
- "notNull": true,
1115
- "dimensions": 0,
1116
- "default": null,
1117
- "generated": null,
1118
- "identity": null,
1119
- "name": "execution_id",
1120
- "entityType": "columns",
1121
- "schema": "public",
1122
- "table": "relay_execution_skill_pins"
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": "skill_definition_id",
1133
- "entityType": "columns",
1134
- "schema": "public",
1135
- "table": "relay_execution_skill_pins"
1136
- },
1137
- {
1138
- "type": "integer",
1139
- "typeSchema": null,
1140
- "notNull": true,
1141
- "dimensions": 0,
1142
- "default": null,
1143
- "generated": null,
1144
- "identity": null,
1145
- "name": "skill_definition_revision",
1146
- "entityType": "columns",
1147
- "schema": "public",
1148
- "table": "relay_execution_skill_pins"
1149
- },
1150
- {
1151
- "type": "jsonb",
1152
- "typeSchema": null,
1153
- "notNull": true,
1154
- "dimensions": 0,
1155
- "default": null,
1156
- "generated": null,
1157
- "identity": null,
1158
- "name": "skill_definition_snapshot_json",
1159
- "entityType": "columns",
1160
- "schema": "public",
1161
- "table": "relay_execution_skill_pins"
1162
- },
1163
- {
1164
- "type": "timestamp with time zone",
1165
- "typeSchema": null,
1166
- "notNull": true,
1167
- "dimensions": 0,
1168
- "default": "now()",
1169
- "generated": null,
1170
- "identity": null,
1171
- "name": "created_at",
1172
- "entityType": "columns",
1173
- "schema": "public",
1174
- "table": "relay_execution_skill_pins"
1175
- },
1176
- {
1177
- "type": "text",
1178
- "typeSchema": null,
1179
- "notNull": true,
1180
- "dimensions": 0,
1181
- "default": null,
1182
- "generated": null,
1183
- "identity": null,
1184
- "name": "id",
1185
- "entityType": "columns",
1186
- "schema": "public",
1187
- "table": "relay_executions"
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": "root_address_id",
1198
- "entityType": "columns",
1199
- "schema": "public",
1200
- "table": "relay_executions"
1201
- },
1202
- {
1203
- "type": "text",
1204
- "typeSchema": null,
1205
- "notNull": false,
1206
- "dimensions": 0,
1207
- "default": null,
1208
- "generated": null,
1209
- "identity": null,
1210
- "name": "session_id",
1211
- "entityType": "columns",
1212
- "schema": "public",
1213
- "table": "relay_executions"
1214
- },
1215
- {
1216
- "type": "text",
1217
- "typeSchema": null,
1218
- "notNull": true,
1219
- "dimensions": 0,
1220
- "default": null,
1221
- "generated": null,
1222
- "identity": null,
1223
- "name": "status",
1224
- "entityType": "columns",
1225
- "schema": "public",
1226
- "table": "relay_executions"
1227
- },
1228
- {
1229
- "type": "text",
1230
- "typeSchema": null,
1231
- "notNull": false,
1232
- "dimensions": 0,
1233
- "default": null,
1234
- "generated": null,
1235
- "identity": null,
1236
- "name": "agent_definition_id",
1237
- "entityType": "columns",
1238
- "schema": "public",
1239
- "table": "relay_executions"
1240
- },
1241
- {
1242
- "type": "integer",
1243
- "typeSchema": null,
1244
- "notNull": false,
1245
- "dimensions": 0,
1246
- "default": null,
1247
- "generated": null,
1248
- "identity": null,
1249
- "name": "agent_definition_revision",
1250
- "entityType": "columns",
1251
- "schema": "public",
1252
- "table": "relay_executions"
1253
- },
1254
- {
1255
- "type": "jsonb",
1256
- "typeSchema": null,
1257
- "notNull": false,
1258
- "dimensions": 0,
1259
- "default": null,
1260
- "generated": null,
1261
- "identity": null,
1262
- "name": "agent_definition_snapshot_json",
1263
- "entityType": "columns",
1264
- "schema": "public",
1265
- "table": "relay_executions"
1266
- },
1267
- {
1268
- "type": "jsonb",
1269
- "typeSchema": null,
1270
- "notNull": true,
1271
- "dimensions": 0,
1272
- "default": "'{}'",
1273
- "generated": null,
1274
- "identity": null,
1275
- "name": "metadata_json",
1276
- "entityType": "columns",
1277
- "schema": "public",
1278
- "table": "relay_executions"
1279
- },
1280
- {
1281
- "type": "timestamp with time zone",
1282
- "typeSchema": null,
1283
- "notNull": true,
1284
- "dimensions": 0,
1285
- "default": "now()",
1286
- "generated": null,
1287
- "identity": null,
1288
- "name": "created_at",
1289
- "entityType": "columns",
1290
- "schema": "public",
1291
- "table": "relay_executions"
1292
- },
1293
- {
1294
- "type": "timestamp with time zone",
1295
- "typeSchema": null,
1296
- "notNull": true,
1297
- "dimensions": 0,
1298
- "default": "now()",
1299
- "generated": null,
1300
- "identity": null,
1301
- "name": "updated_at",
1302
- "entityType": "columns",
1303
- "schema": "public",
1304
- "table": "relay_executions"
1305
- },
1306
- {
1307
- "type": "text",
1308
- "typeSchema": null,
1309
- "notNull": true,
1310
- "dimensions": 0,
1311
- "default": null,
1312
- "generated": null,
1313
- "identity": null,
1314
- "name": "id",
1315
- "entityType": "columns",
1316
- "schema": "public",
1317
- "table": "relay_idempotency_keys"
1318
- },
1319
- {
1320
- "type": "text",
1321
- "typeSchema": null,
1322
- "notNull": true,
1323
- "dimensions": 0,
1324
- "default": null,
1325
- "generated": null,
1326
- "identity": null,
1327
- "name": "scope",
1328
- "entityType": "columns",
1329
- "schema": "public",
1330
- "table": "relay_idempotency_keys"
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": "operation",
1341
- "entityType": "columns",
1342
- "schema": "public",
1343
- "table": "relay_idempotency_keys"
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": "key",
1354
- "entityType": "columns",
1355
- "schema": "public",
1356
- "table": "relay_idempotency_keys"
1357
- },
1358
- {
1359
- "type": "jsonb",
1360
- "typeSchema": null,
1361
- "notNull": false,
1362
- "dimensions": 0,
1363
- "default": null,
1364
- "generated": null,
1365
- "identity": null,
1366
- "name": "result_json",
1367
- "entityType": "columns",
1368
- "schema": "public",
1369
- "table": "relay_idempotency_keys"
1370
- },
1371
- {
1372
- "type": "jsonb",
1373
- "typeSchema": null,
1374
- "notNull": true,
1375
- "dimensions": 0,
1376
- "default": "'{}'",
1377
- "generated": null,
1378
- "identity": null,
1379
- "name": "metadata_json",
1380
- "entityType": "columns",
1381
- "schema": "public",
1382
- "table": "relay_idempotency_keys"
1383
- },
1384
- {
1385
- "type": "timestamp with time zone",
1386
- "typeSchema": null,
1387
- "notNull": true,
1388
- "dimensions": 0,
1389
- "default": "now()",
1390
- "generated": null,
1391
- "identity": null,
1392
- "name": "created_at",
1393
- "entityType": "columns",
1394
- "schema": "public",
1395
- "table": "relay_idempotency_keys"
1396
- },
1397
- {
1398
- "type": "timestamp with time zone",
1399
- "typeSchema": null,
1400
- "notNull": true,
1401
- "dimensions": 0,
1402
- "default": "now()",
1403
- "generated": null,
1404
- "identity": null,
1405
- "name": "updated_at",
1406
- "entityType": "columns",
1407
- "schema": "public",
1408
- "table": "relay_idempotency_keys"
1409
- },
1410
- {
1411
- "type": "timestamp with time zone",
1412
- "typeSchema": null,
1413
- "notNull": false,
1414
- "dimensions": 0,
1415
- "default": null,
1416
- "generated": null,
1417
- "identity": null,
1418
- "name": "expires_at",
1419
- "entityType": "columns",
1420
- "schema": "public",
1421
- "table": "relay_idempotency_keys"
1422
- },
1423
- {
1424
- "type": "text",
1425
- "typeSchema": null,
1426
- "notNull": true,
1427
- "dimensions": 0,
1428
- "default": null,
1429
- "generated": null,
1430
- "identity": null,
1431
- "name": "id",
1432
- "entityType": "columns",
1433
- "schema": "public",
1434
- "table": "relay_memory_records"
1435
- },
1436
- {
1437
- "type": "text",
1438
- "typeSchema": null,
1439
- "notNull": true,
1440
- "dimensions": 0,
1441
- "default": null,
1442
- "generated": null,
1443
- "identity": null,
1444
- "name": "agent",
1445
- "entityType": "columns",
1446
- "schema": "public",
1447
- "table": "relay_memory_records"
1448
- },
1449
- {
1450
- "type": "text",
1451
- "typeSchema": null,
1452
- "notNull": true,
1453
- "dimensions": 0,
1454
- "default": null,
1455
- "generated": null,
1456
- "identity": null,
1457
- "name": "subject",
1458
- "entityType": "columns",
1459
- "schema": "public",
1460
- "table": "relay_memory_records"
1461
- },
1462
- {
1463
- "type": "double precision",
1464
- "typeSchema": null,
1465
- "notNull": true,
1466
- "dimensions": 1,
1467
- "default": null,
1468
- "generated": null,
1469
- "identity": null,
1470
- "name": "embedding",
1471
- "entityType": "columns",
1472
- "schema": "public",
1473
- "table": "relay_memory_records"
1474
- },
1475
- {
1476
- "type": "jsonb",
1477
- "typeSchema": null,
1478
- "notNull": true,
1479
- "dimensions": 0,
1480
- "default": null,
1481
- "generated": null,
1482
- "identity": null,
1483
- "name": "parts_json",
1484
- "entityType": "columns",
1485
- "schema": "public",
1486
- "table": "relay_memory_records"
1487
- },
1488
- {
1489
- "type": "jsonb",
1490
- "typeSchema": null,
1491
- "notNull": true,
1492
- "dimensions": 0,
1493
- "default": "'{}'",
1494
- "generated": null,
1495
- "identity": null,
1496
- "name": "metadata_json",
1497
- "entityType": "columns",
1498
- "schema": "public",
1499
- "table": "relay_memory_records"
1500
- },
1501
- {
1502
- "type": "timestamp with time zone",
1503
- "typeSchema": null,
1504
- "notNull": true,
1505
- "dimensions": 0,
1506
- "default": "now()",
1507
- "generated": null,
1508
- "identity": null,
1509
- "name": "created_at",
1510
- "entityType": "columns",
1511
- "schema": "public",
1512
- "table": "relay_memory_records"
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": "agent",
1523
- "entityType": "columns",
1524
- "schema": "public",
1525
- "table": "relay_permission_rules"
1526
- },
1527
- {
1528
- "type": "text",
1529
- "typeSchema": null,
1530
- "notNull": true,
1531
- "dimensions": 0,
1532
- "default": null,
1533
- "generated": null,
1534
- "identity": null,
1535
- "name": "scope",
1536
- "entityType": "columns",
1537
- "schema": "public",
1538
- "table": "relay_permission_rules"
1539
- },
1540
- {
1541
- "type": "text",
1542
- "typeSchema": null,
1543
- "notNull": true,
1544
- "dimensions": 0,
1545
- "default": null,
1546
- "generated": null,
1547
- "identity": null,
1548
- "name": "pattern",
1549
- "entityType": "columns",
1550
- "schema": "public",
1551
- "table": "relay_permission_rules"
1552
- },
1553
- {
1554
- "type": "jsonb",
1555
- "typeSchema": null,
1556
- "notNull": true,
1557
- "dimensions": 0,
1558
- "default": null,
1559
- "generated": null,
1560
- "identity": null,
1561
- "name": "rule_json",
1562
- "entityType": "columns",
1563
- "schema": "public",
1564
- "table": "relay_permission_rules"
1565
- },
1566
- {
1567
- "type": "timestamp with time zone",
1568
- "typeSchema": null,
1569
- "notNull": true,
1570
- "dimensions": 0,
1571
- "default": "now()",
1572
- "generated": null,
1573
- "identity": null,
1574
- "name": "created_at",
1575
- "entityType": "columns",
1576
- "schema": "public",
1577
- "table": "relay_permission_rules"
1578
- },
1579
- {
1580
- "type": "text",
1581
- "typeSchema": null,
1582
- "notNull": true,
1583
- "dimensions": 0,
1584
- "default": null,
1585
- "generated": null,
1586
- "identity": null,
1587
- "name": "id",
1588
- "entityType": "columns",
1589
- "schema": "public",
1590
- "table": "relay_route_attempts"
1591
- },
1592
- {
1593
- "type": "text",
1594
- "typeSchema": null,
1595
- "notNull": true,
1596
- "dimensions": 0,
1597
- "default": null,
1598
- "generated": null,
1599
- "identity": null,
1600
- "name": "envelope_ready_id",
1601
- "entityType": "columns",
1602
- "schema": "public",
1603
- "table": "relay_route_attempts"
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": "route_key",
1614
- "entityType": "columns",
1615
- "schema": "public",
1616
- "table": "relay_route_attempts"
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": "state",
1627
- "entityType": "columns",
1628
- "schema": "public",
1629
- "table": "relay_route_attempts"
1630
- },
1631
- {
1632
- "type": "text",
1633
- "typeSchema": null,
1634
- "notNull": false,
1635
- "dimensions": 0,
1636
- "default": null,
1637
- "generated": null,
1638
- "identity": null,
1639
- "name": "detail",
1640
- "entityType": "columns",
1641
- "schema": "public",
1642
- "table": "relay_route_attempts"
1643
- },
1644
- {
1645
- "type": "timestamp with time zone",
1646
- "typeSchema": null,
1647
- "notNull": true,
1648
- "dimensions": 0,
1649
- "default": "now()",
1650
- "generated": null,
1651
- "identity": null,
1652
- "name": "created_at",
1653
- "entityType": "columns",
1654
- "schema": "public",
1655
- "table": "relay_route_attempts"
1656
- },
1657
- {
1658
- "type": "text",
1659
- "typeSchema": null,
1660
- "notNull": true,
1661
- "dimensions": 0,
1662
- "default": null,
1663
- "generated": null,
1664
- "identity": null,
1665
- "name": "id",
1666
- "entityType": "columns",
1667
- "schema": "public",
1668
- "table": "relay_schedules"
1669
- },
1670
- {
1671
- "type": "text",
1672
- "typeSchema": null,
1673
- "notNull": true,
1674
- "dimensions": 0,
1675
- "default": null,
1676
- "generated": null,
1677
- "identity": null,
1678
- "name": "kind",
1679
- "entityType": "columns",
1680
- "schema": "public",
1681
- "table": "relay_schedules"
1682
- },
1683
- {
1684
- "type": "text",
1685
- "typeSchema": null,
1686
- "notNull": true,
1687
- "dimensions": 0,
1688
- "default": null,
1689
- "generated": null,
1690
- "identity": null,
1691
- "name": "target_kind",
1692
- "entityType": "columns",
1693
- "schema": "public",
1694
- "table": "relay_schedules"
1695
- },
1696
- {
1697
- "type": "text",
1698
- "typeSchema": null,
1699
- "notNull": false,
1700
- "dimensions": 0,
1701
- "default": null,
1702
- "generated": null,
1703
- "identity": null,
1704
- "name": "address_id",
1705
- "entityType": "columns",
1706
- "schema": "public",
1707
- "table": "relay_schedules"
1708
- },
1709
- {
1710
- "type": "text",
1711
- "typeSchema": null,
1712
- "notNull": false,
1713
- "dimensions": 0,
1714
- "default": null,
1715
- "generated": null,
1716
- "identity": null,
1717
- "name": "wait_id",
1718
- "entityType": "columns",
1719
- "schema": "public",
1720
- "table": "relay_schedules"
1721
- },
1722
- {
1723
- "type": "text",
1724
- "typeSchema": null,
1725
- "notNull": false,
1726
- "dimensions": 0,
1727
- "default": null,
1728
- "generated": null,
1729
- "identity": null,
1730
- "name": "cron_expr",
1731
- "entityType": "columns",
1732
- "schema": "public",
1733
- "table": "relay_schedules"
1734
- },
1735
- {
1736
- "type": "jsonb",
1737
- "typeSchema": null,
1738
- "notNull": false,
1739
- "dimensions": 0,
1740
- "default": null,
1741
- "generated": null,
1742
- "identity": null,
1743
- "name": "input_json",
1744
- "entityType": "columns",
1745
- "schema": "public",
1746
- "table": "relay_schedules"
1747
- },
1748
- {
1749
- "type": "text",
1750
- "typeSchema": null,
1751
- "notNull": true,
1752
- "dimensions": 0,
1753
- "default": "'active'",
1754
- "generated": null,
1755
- "identity": null,
1756
- "name": "state",
1757
- "entityType": "columns",
1758
- "schema": "public",
1759
- "table": "relay_schedules"
1760
- },
1761
- {
1762
- "type": "timestamp with time zone",
1763
- "typeSchema": null,
1764
- "notNull": true,
1765
- "dimensions": 0,
1766
- "default": null,
1767
- "generated": null,
1768
- "identity": null,
1769
- "name": "next_run_at",
1770
- "entityType": "columns",
1771
- "schema": "public",
1772
- "table": "relay_schedules"
1773
- },
1774
- {
1775
- "type": "integer",
1776
- "typeSchema": null,
1777
- "notNull": true,
1778
- "dimensions": 0,
1779
- "default": "0",
1780
- "generated": null,
1781
- "identity": null,
1782
- "name": "attempt",
1783
- "entityType": "columns",
1784
- "schema": "public",
1785
- "table": "relay_schedules"
1786
- },
1787
- {
1788
- "type": "text",
1789
- "typeSchema": null,
1790
- "notNull": false,
1791
- "dimensions": 0,
1792
- "default": null,
1793
- "generated": null,
1794
- "identity": null,
1795
- "name": "claim_owner",
1796
- "entityType": "columns",
1797
- "schema": "public",
1798
- "table": "relay_schedules"
1799
- },
1800
- {
1801
- "type": "timestamp with time zone",
1802
- "typeSchema": null,
1803
- "notNull": false,
1804
- "dimensions": 0,
1805
- "default": null,
1806
- "generated": null,
1807
- "identity": null,
1808
- "name": "claim_expires_at",
1809
- "entityType": "columns",
1810
- "schema": "public",
1811
- "table": "relay_schedules"
1812
- },
1813
- {
1814
- "type": "text",
1815
- "typeSchema": null,
1816
- "notNull": false,
1817
- "dimensions": 0,
1818
- "default": null,
1819
- "generated": null,
1820
- "identity": null,
1821
- "name": "last_error",
1822
- "entityType": "columns",
1823
- "schema": "public",
1824
- "table": "relay_schedules"
1825
- },
1826
- {
1827
- "type": "text",
1828
- "typeSchema": null,
1829
- "notNull": false,
1830
- "dimensions": 0,
1831
- "default": null,
1832
- "generated": null,
1833
- "identity": null,
1834
- "name": "idempotency_key",
1835
- "entityType": "columns",
1836
- "schema": "public",
1837
- "table": "relay_schedules"
1838
- },
1839
- {
1840
- "type": "jsonb",
1841
- "typeSchema": null,
1842
- "notNull": true,
1843
- "dimensions": 0,
1844
- "default": "'{}'",
1845
- "generated": null,
1846
- "identity": null,
1847
- "name": "metadata_json",
1848
- "entityType": "columns",
1849
- "schema": "public",
1850
- "table": "relay_schedules"
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_schedules"
1864
- },
1865
- {
1866
- "type": "timestamp with time zone",
1867
- "typeSchema": null,
1868
- "notNull": true,
1869
- "dimensions": 0,
1870
- "default": "now()",
1871
- "generated": null,
1872
- "identity": null,
1873
- "name": "updated_at",
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_session_entries"
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": "session_id",
1900
- "entityType": "columns",
1901
- "schema": "public",
1902
- "table": "relay_session_entries"
1903
- },
1904
- {
1905
- "type": "text",
1906
- "typeSchema": null,
1907
- "notNull": false,
1908
- "dimensions": 0,
1909
- "default": null,
1910
- "generated": null,
1911
- "identity": null,
1912
- "name": "parent_id",
1913
- "entityType": "columns",
1914
- "schema": "public",
1915
- "table": "relay_session_entries"
1916
- },
1917
- {
1918
- "type": "text",
1919
- "typeSchema": null,
1920
- "notNull": true,
1921
- "dimensions": 0,
1922
- "default": null,
1923
- "generated": null,
1924
- "identity": null,
1925
- "name": "tag",
1926
- "entityType": "columns",
1927
- "schema": "public",
1928
- "table": "relay_session_entries"
1929
- },
1930
- {
1931
- "type": "jsonb",
1932
- "typeSchema": null,
1933
- "notNull": true,
1934
- "dimensions": 0,
1935
- "default": null,
1936
- "generated": null,
1937
- "identity": null,
1938
- "name": "payload_json",
1939
- "entityType": "columns",
1940
- "schema": "public",
1941
- "table": "relay_session_entries"
1942
- },
1943
- {
1944
- "type": "timestamp with time zone",
1945
- "typeSchema": null,
1946
- "notNull": true,
1947
- "dimensions": 0,
1948
- "default": "now()",
1949
- "generated": null,
1950
- "identity": null,
1951
- "name": "created_at",
1952
- "entityType": "columns",
1953
- "schema": "public",
1954
- "table": "relay_session_entries"
1955
- },
1956
- {
1957
- "type": "text",
1958
- "typeSchema": null,
1959
- "notNull": true,
1960
- "dimensions": 0,
1961
- "default": null,
1962
- "generated": null,
1963
- "identity": null,
1964
- "name": "id",
1965
- "entityType": "columns",
1966
- "schema": "public",
1967
- "table": "relay_sessions"
1968
- },
1969
- {
1970
- "type": "text",
1971
- "typeSchema": null,
1972
- "notNull": true,
1973
- "dimensions": 0,
1974
- "default": null,
1975
- "generated": null,
1976
- "identity": null,
1977
- "name": "root_address_id",
1978
- "entityType": "columns",
1979
- "schema": "public",
1980
- "table": "relay_sessions"
1981
- },
1982
- {
1983
- "type": "text",
1984
- "typeSchema": null,
1985
- "notNull": false,
1986
- "dimensions": 0,
1987
- "default": null,
1988
- "generated": null,
1989
- "identity": null,
1990
- "name": "leaf_entry_id",
1991
- "entityType": "columns",
1992
- "schema": "public",
1993
- "table": "relay_sessions"
1994
- },
1995
- {
1996
- "type": "jsonb",
1997
- "typeSchema": null,
1998
- "notNull": true,
1999
- "dimensions": 0,
2000
- "default": "'{}'",
2001
- "generated": null,
2002
- "identity": null,
2003
- "name": "metadata_json",
2004
- "entityType": "columns",
2005
- "schema": "public",
2006
- "table": "relay_sessions"
2007
- },
2008
- {
2009
- "type": "timestamp with time zone",
2010
- "typeSchema": null,
2011
- "notNull": true,
2012
- "dimensions": 0,
2013
- "default": "now()",
2014
- "generated": null,
2015
- "identity": null,
2016
- "name": "created_at",
2017
- "entityType": "columns",
2018
- "schema": "public",
2019
- "table": "relay_sessions"
2020
- },
2021
- {
2022
- "type": "timestamp with time zone",
2023
- "typeSchema": null,
2024
- "notNull": true,
2025
- "dimensions": 0,
2026
- "default": "now()",
2027
- "generated": null,
2028
- "identity": null,
2029
- "name": "updated_at",
2030
- "entityType": "columns",
2031
- "schema": "public",
2032
- "table": "relay_sessions"
2033
- },
2034
- {
2035
- "type": "text",
2036
- "typeSchema": null,
2037
- "notNull": true,
2038
- "dimensions": 0,
2039
- "default": null,
2040
- "generated": null,
2041
- "identity": null,
2042
- "name": "skill_definition_id",
2043
- "entityType": "columns",
2044
- "schema": "public",
2045
- "table": "relay_skill_definition_revisions"
2046
- },
2047
- {
2048
- "type": "integer",
2049
- "typeSchema": null,
2050
- "notNull": true,
2051
- "dimensions": 0,
2052
- "default": null,
2053
- "generated": null,
2054
- "identity": null,
2055
- "name": "revision",
2056
- "entityType": "columns",
2057
- "schema": "public",
2058
- "table": "relay_skill_definition_revisions"
2059
- },
2060
- {
2061
- "type": "text",
2062
- "typeSchema": null,
2063
- "notNull": true,
2064
- "dimensions": 0,
2065
- "default": null,
2066
- "generated": null,
2067
- "identity": null,
2068
- "name": "name",
2069
- "entityType": "columns",
2070
- "schema": "public",
2071
- "table": "relay_skill_definition_revisions"
2072
- },
2073
- {
2074
- "type": "jsonb",
2075
- "typeSchema": null,
2076
- "notNull": true,
2077
- "dimensions": 0,
2078
- "default": null,
2079
- "generated": null,
2080
- "identity": null,
2081
- "name": "definition_json",
2082
- "entityType": "columns",
2083
- "schema": "public",
2084
- "table": "relay_skill_definition_revisions"
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": "created_at",
2095
- "entityType": "columns",
2096
- "schema": "public",
2097
- "table": "relay_skill_definition_revisions"
2098
- },
2099
- {
2100
- "type": "text",
2101
- "typeSchema": null,
2102
- "notNull": true,
2103
- "dimensions": 0,
2104
- "default": null,
2105
- "generated": null,
2106
- "identity": null,
2107
- "name": "id",
2108
- "entityType": "columns",
2109
- "schema": "public",
2110
- "table": "relay_skill_definitions"
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": "name",
2121
- "entityType": "columns",
2122
- "schema": "public",
2123
- "table": "relay_skill_definitions"
2124
- },
2125
- {
2126
- "type": "integer",
2127
- "typeSchema": null,
2128
- "notNull": true,
2129
- "dimensions": 0,
2130
- "default": null,
2131
- "generated": null,
2132
- "identity": null,
2133
- "name": "current_revision",
2134
- "entityType": "columns",
2135
- "schema": "public",
2136
- "table": "relay_skill_definitions"
2137
- },
2138
- {
2139
- "type": "jsonb",
2140
- "typeSchema": null,
2141
- "notNull": true,
2142
- "dimensions": 0,
2143
- "default": null,
2144
- "generated": null,
2145
- "identity": null,
2146
- "name": "definition_json",
2147
- "entityType": "columns",
2148
- "schema": "public",
2149
- "table": "relay_skill_definitions"
2150
- },
2151
- {
2152
- "type": "timestamp with time zone",
2153
- "typeSchema": null,
2154
- "notNull": true,
2155
- "dimensions": 0,
2156
- "default": "now()",
2157
- "generated": null,
2158
- "identity": null,
2159
- "name": "created_at",
2160
- "entityType": "columns",
2161
- "schema": "public",
2162
- "table": "relay_skill_definitions"
2163
- },
2164
- {
2165
- "type": "timestamp with time zone",
2166
- "typeSchema": null,
2167
- "notNull": true,
2168
- "dimensions": 0,
2169
- "default": "now()",
2170
- "generated": null,
2171
- "identity": null,
2172
- "name": "updated_at",
2173
- "entityType": "columns",
2174
- "schema": "public",
2175
- "table": "relay_skill_definitions"
2176
- },
2177
- {
2178
- "type": "text",
2179
- "typeSchema": null,
2180
- "notNull": true,
2181
- "dimensions": 0,
2182
- "default": null,
2183
- "generated": null,
2184
- "identity": null,
2185
- "name": "execution_id",
2186
- "entityType": "columns",
2187
- "schema": "public",
2188
- "table": "relay_steering_drains"
2189
- },
2190
- {
2191
- "type": "text",
2192
- "typeSchema": null,
2193
- "notNull": true,
2194
- "dimensions": 0,
2195
- "default": null,
2196
- "generated": null,
2197
- "identity": null,
2198
- "name": "kind",
2199
- "entityType": "columns",
2200
- "schema": "public",
2201
- "table": "relay_steering_drains"
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": "drain_id",
2212
- "entityType": "columns",
2213
- "schema": "public",
2214
- "table": "relay_steering_drains"
2215
- },
2216
- {
2217
- "type": "jsonb",
2218
- "typeSchema": null,
2219
- "notNull": true,
2220
- "dimensions": 0,
2221
- "default": "'[]'",
2222
- "generated": null,
2223
- "identity": null,
2224
- "name": "message_sequences_json",
2225
- "entityType": "columns",
2226
- "schema": "public",
2227
- "table": "relay_steering_drains"
2228
- },
2229
- {
2230
- "type": "timestamp with time zone",
2231
- "typeSchema": null,
2232
- "notNull": true,
2233
- "dimensions": 0,
2234
- "default": "now()",
2235
- "generated": null,
2236
- "identity": null,
2237
- "name": "created_at",
2238
- "entityType": "columns",
2239
- "schema": "public",
2240
- "table": "relay_steering_drains"
2241
- },
2242
- {
2243
- "type": "text",
2244
- "typeSchema": null,
2245
- "notNull": true,
2246
- "dimensions": 0,
2247
- "default": null,
2248
- "generated": null,
2249
- "identity": null,
2250
- "name": "execution_id",
2251
- "entityType": "columns",
2252
- "schema": "public",
2253
- "table": "relay_steering_messages"
2254
- },
2255
- {
2256
- "type": "text",
2257
- "typeSchema": null,
2258
- "notNull": true,
2259
- "dimensions": 0,
2260
- "default": null,
2261
- "generated": null,
2262
- "identity": null,
2263
- "name": "kind",
2264
- "entityType": "columns",
2265
- "schema": "public",
2266
- "table": "relay_steering_messages"
2267
- },
2268
- {
2269
- "type": "integer",
2270
- "typeSchema": null,
2271
- "notNull": true,
2272
- "dimensions": 0,
2273
- "default": null,
2274
- "generated": null,
2275
- "identity": null,
2276
- "name": "sequence",
2277
- "entityType": "columns",
2278
- "schema": "public",
2279
- "table": "relay_steering_messages"
2280
- },
2281
- {
2282
- "type": "jsonb",
2283
- "typeSchema": null,
2284
- "notNull": true,
2285
- "dimensions": 0,
2286
- "default": null,
2287
- "generated": null,
2288
- "identity": null,
2289
- "name": "content_json",
2290
- "entityType": "columns",
2291
- "schema": "public",
2292
- "table": "relay_steering_messages"
2293
- },
2294
- {
2295
- "type": "text",
2296
- "typeSchema": null,
2297
- "notNull": false,
2298
- "dimensions": 0,
2299
- "default": null,
2300
- "generated": null,
2301
- "identity": null,
2302
- "name": "drain_id",
2303
- "entityType": "columns",
2304
- "schema": "public",
2305
- "table": "relay_steering_messages"
2306
- },
2307
- {
2308
- "type": "timestamp with time zone",
2309
- "typeSchema": null,
2310
- "notNull": false,
2311
- "dimensions": 0,
2312
- "default": null,
2313
- "generated": null,
2314
- "identity": null,
2315
- "name": "consumed_at",
2316
- "entityType": "columns",
2317
- "schema": "public",
2318
- "table": "relay_steering_messages"
2319
- },
2320
- {
2321
- "type": "timestamp with time zone",
2322
- "typeSchema": null,
2323
- "notNull": true,
2324
- "dimensions": 0,
2325
- "default": "now()",
2326
- "generated": null,
2327
- "identity": null,
2328
- "name": "created_at",
2329
- "entityType": "columns",
2330
- "schema": "public",
2331
- "table": "relay_steering_messages"
2332
- },
2333
- {
2334
- "type": "text",
2335
- "typeSchema": null,
2336
- "notNull": true,
2337
- "dimensions": 0,
2338
- "default": null,
2339
- "generated": null,
2340
- "identity": null,
2341
- "name": "id",
2342
- "entityType": "columns",
2343
- "schema": "public",
2344
- "table": "relay_tool_calls"
2345
- },
2346
- {
2347
- "type": "text",
2348
- "typeSchema": null,
2349
- "notNull": true,
2350
- "dimensions": 0,
2351
- "default": null,
2352
- "generated": null,
2353
- "identity": null,
2354
- "name": "execution_id",
2355
- "entityType": "columns",
2356
- "schema": "public",
2357
- "table": "relay_tool_calls"
2358
- },
2359
- {
2360
- "type": "text",
2361
- "typeSchema": null,
2362
- "notNull": true,
2363
- "dimensions": 0,
2364
- "default": null,
2365
- "generated": null,
2366
- "identity": null,
2367
- "name": "name",
2368
- "entityType": "columns",
2369
- "schema": "public",
2370
- "table": "relay_tool_calls"
2371
- },
2372
- {
2373
- "type": "jsonb",
2374
- "typeSchema": null,
2375
- "notNull": true,
2376
- "dimensions": 0,
2377
- "default": null,
2378
- "generated": null,
2379
- "identity": null,
2380
- "name": "input_json",
2381
- "entityType": "columns",
2382
- "schema": "public",
2383
- "table": "relay_tool_calls"
2384
- },
2385
- {
2386
- "type": "jsonb",
2387
- "typeSchema": null,
2388
- "notNull": true,
2389
- "dimensions": 0,
2390
- "default": "'{}'",
2391
- "generated": null,
2392
- "identity": null,
2393
- "name": "metadata_json",
2394
- "entityType": "columns",
2395
- "schema": "public",
2396
- "table": "relay_tool_calls"
2397
- },
2398
- {
2399
- "type": "timestamp with time zone",
2400
- "typeSchema": null,
2401
- "notNull": true,
2402
- "dimensions": 0,
2403
- "default": "now()",
2404
- "generated": null,
2405
- "identity": null,
2406
- "name": "created_at",
2407
- "entityType": "columns",
2408
- "schema": "public",
2409
- "table": "relay_tool_calls"
2410
- },
2411
- {
2412
- "type": "text",
2413
- "typeSchema": null,
2414
- "notNull": true,
2415
- "dimensions": 0,
2416
- "default": null,
2417
- "generated": null,
2418
- "identity": null,
2419
- "name": "tool_call_id",
2420
- "entityType": "columns",
2421
- "schema": "public",
2422
- "table": "relay_tool_results"
2423
- },
2424
- {
2425
- "type": "jsonb",
2426
- "typeSchema": null,
2427
- "notNull": true,
2428
- "dimensions": 0,
2429
- "default": null,
2430
- "generated": null,
2431
- "identity": null,
2432
- "name": "output_json",
2433
- "entityType": "columns",
2434
- "schema": "public",
2435
- "table": "relay_tool_results"
2436
- },
2437
- {
2438
- "type": "text",
2439
- "typeSchema": null,
2440
- "notNull": false,
2441
- "dimensions": 0,
2442
- "default": null,
2443
- "generated": null,
2444
- "identity": null,
2445
- "name": "error",
2446
- "entityType": "columns",
2447
- "schema": "public",
2448
- "table": "relay_tool_results"
2449
- },
2450
- {
2451
- "type": "jsonb",
2452
- "typeSchema": null,
2453
- "notNull": true,
2454
- "dimensions": 0,
2455
- "default": "'{}'",
2456
- "generated": null,
2457
- "identity": null,
2458
- "name": "metadata_json",
2459
- "entityType": "columns",
2460
- "schema": "public",
2461
- "table": "relay_tool_results"
2462
- },
2463
- {
2464
- "type": "timestamp with time zone",
2465
- "typeSchema": null,
2466
- "notNull": true,
2467
- "dimensions": 0,
2468
- "default": "now()",
2469
- "generated": null,
2470
- "identity": null,
2471
- "name": "created_at",
2472
- "entityType": "columns",
2473
- "schema": "public",
2474
- "table": "relay_tool_results"
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": "id",
2485
- "entityType": "columns",
2486
- "schema": "public",
2487
- "table": "relay_waits"
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": "execution_id",
2498
- "entityType": "columns",
2499
- "schema": "public",
2500
- "table": "relay_waits"
2501
- },
2502
- {
2503
- "type": "text",
2504
- "typeSchema": null,
2505
- "notNull": false,
2506
- "dimensions": 0,
2507
- "default": null,
2508
- "generated": null,
2509
- "identity": null,
2510
- "name": "envelope_id",
2511
- "entityType": "columns",
2512
- "schema": "public",
2513
- "table": "relay_waits"
2514
- },
2515
- {
2516
- "type": "text",
2517
- "typeSchema": null,
2518
- "notNull": true,
2519
- "dimensions": 0,
2520
- "default": null,
2521
- "generated": null,
2522
- "identity": null,
2523
- "name": "mode",
2524
- "entityType": "columns",
2525
- "schema": "public",
2526
- "table": "relay_waits"
2527
- },
2528
- {
2529
- "type": "text",
2530
- "typeSchema": null,
2531
- "notNull": false,
2532
- "dimensions": 0,
2533
- "default": null,
2534
- "generated": null,
2535
- "identity": null,
2536
- "name": "correlation_key",
2537
- "entityType": "columns",
2538
- "schema": "public",
2539
- "table": "relay_waits"
2540
- },
2541
- {
2542
- "type": "text",
2543
- "typeSchema": null,
2544
- "notNull": true,
2545
- "dimensions": 0,
2546
- "default": "'open'",
2547
- "generated": null,
2548
- "identity": null,
2549
- "name": "state",
2550
- "entityType": "columns",
2551
- "schema": "public",
2552
- "table": "relay_waits"
2553
- },
2554
- {
2555
- "type": "jsonb",
2556
- "typeSchema": null,
2557
- "notNull": true,
2558
- "dimensions": 0,
2559
- "default": "'{}'",
2560
- "generated": null,
2561
- "identity": null,
2562
- "name": "metadata_json",
2563
- "entityType": "columns",
2564
- "schema": "public",
2565
- "table": "relay_waits"
2566
- },
2567
- {
2568
- "type": "timestamp with time zone",
2569
- "typeSchema": null,
2570
- "notNull": true,
2571
- "dimensions": 0,
2572
- "default": "now()",
2573
- "generated": null,
2574
- "identity": null,
2575
- "name": "created_at",
2576
- "entityType": "columns",
2577
- "schema": "public",
2578
- "table": "relay_waits"
2579
- },
2580
- {
2581
- "type": "timestamp with time zone",
2582
- "typeSchema": null,
2583
- "notNull": false,
2584
- "dimensions": 0,
2585
- "default": null,
2586
- "generated": null,
2587
- "identity": null,
2588
- "name": "resolved_at",
2589
- "entityType": "columns",
2590
- "schema": "public",
2591
- "table": "relay_waits"
2592
- },
2593
- {
2594
- "type": "text",
2595
- "typeSchema": null,
2596
- "notNull": true,
2597
- "dimensions": 0,
2598
- "default": null,
2599
- "generated": null,
2600
- "identity": null,
2601
- "name": "id",
2602
- "entityType": "columns",
2603
- "schema": "public",
2604
- "table": "relay_workspace_leases"
2605
- },
2606
- {
2607
- "type": "text",
2608
- "typeSchema": null,
2609
- "notNull": true,
2610
- "dimensions": 0,
2611
- "default": null,
2612
- "generated": null,
2613
- "identity": null,
2614
- "name": "execution_id",
2615
- "entityType": "columns",
2616
- "schema": "public",
2617
- "table": "relay_workspace_leases"
2618
- },
2619
- {
2620
- "type": "text",
2621
- "typeSchema": null,
2622
- "notNull": true,
2623
- "dimensions": 0,
2624
- "default": null,
2625
- "generated": null,
2626
- "identity": null,
2627
- "name": "provider_key",
2628
- "entityType": "columns",
2629
- "schema": "public",
2630
- "table": "relay_workspace_leases"
2631
- },
2632
- {
2633
- "type": "text",
2634
- "typeSchema": null,
2635
- "notNull": false,
2636
- "dimensions": 0,
2637
- "default": null,
2638
- "generated": null,
2639
- "identity": null,
2640
- "name": "sandbox_ref",
2641
- "entityType": "columns",
2642
- "schema": "public",
2643
- "table": "relay_workspace_leases"
2644
- },
2645
- {
2646
- "type": "text",
2647
- "typeSchema": null,
2648
- "notNull": false,
2649
- "dimensions": 0,
2650
- "default": null,
2651
- "generated": null,
2652
- "identity": null,
2653
- "name": "latest_snapshot_ref",
2654
- "entityType": "columns",
2655
- "schema": "public",
2656
- "table": "relay_workspace_leases"
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": "status",
2667
- "entityType": "columns",
2668
- "schema": "public",
2669
- "table": "relay_workspace_leases"
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": "resume_strategy",
2680
- "entityType": "columns",
2681
- "schema": "public",
2682
- "table": "relay_workspace_leases"
2683
- },
2684
- {
2685
- "type": "text",
2686
- "typeSchema": null,
2687
- "notNull": false,
2688
- "dimensions": 0,
2689
- "default": null,
2690
- "generated": null,
2691
- "identity": null,
2692
- "name": "region",
2693
- "entityType": "columns",
2694
- "schema": "public",
2695
- "table": "relay_workspace_leases"
2696
- },
2697
- {
2698
- "type": "jsonb",
2699
- "typeSchema": null,
2700
- "notNull": false,
2701
- "dimensions": 0,
2702
- "default": null,
2703
- "generated": null,
2704
- "identity": null,
2705
- "name": "request_json",
2706
- "entityType": "columns",
2707
- "schema": "public",
2708
- "table": "relay_workspace_leases"
2709
- },
2710
- {
2711
- "type": "jsonb",
2712
- "typeSchema": null,
2713
- "notNull": true,
2714
- "dimensions": 0,
2715
- "default": "'{}'",
2716
- "generated": null,
2717
- "identity": null,
2718
- "name": "metadata_json",
2719
- "entityType": "columns",
2720
- "schema": "public",
2721
- "table": "relay_workspace_leases"
2722
- },
2723
- {
2724
- "type": "timestamp with time zone",
2725
- "typeSchema": null,
2726
- "notNull": true,
2727
- "dimensions": 0,
2728
- "default": "now()",
2729
- "generated": null,
2730
- "identity": null,
2731
- "name": "created_at",
2732
- "entityType": "columns",
2733
- "schema": "public",
2734
- "table": "relay_workspace_leases"
2735
- },
2736
- {
2737
- "type": "timestamp with time zone",
2738
- "typeSchema": null,
2739
- "notNull": true,
2740
- "dimensions": 0,
2741
- "default": "now()",
2742
- "generated": null,
2743
- "identity": null,
2744
- "name": "updated_at",
2745
- "entityType": "columns",
2746
- "schema": "public",
2747
- "table": "relay_workspace_leases"
2748
- },
2749
- {
2750
- "type": "text",
2751
- "typeSchema": null,
2752
- "notNull": true,
2753
- "dimensions": 0,
2754
- "default": null,
2755
- "generated": null,
2756
- "identity": null,
2757
- "name": "id",
2758
- "entityType": "columns",
2759
- "schema": "public",
2760
- "table": "relay_workspace_snapshots"
2761
- },
2762
- {
2763
- "type": "text",
2764
- "typeSchema": null,
2765
- "notNull": true,
2766
- "dimensions": 0,
2767
- "default": null,
2768
- "generated": null,
2769
- "identity": null,
2770
- "name": "lease_id",
2771
- "entityType": "columns",
2772
- "schema": "public",
2773
- "table": "relay_workspace_snapshots"
2774
- },
2775
- {
2776
- "type": "text",
2777
- "typeSchema": null,
2778
- "notNull": true,
2779
- "dimensions": 0,
2780
- "default": null,
2781
- "generated": null,
2782
- "identity": null,
2783
- "name": "execution_id",
2784
- "entityType": "columns",
2785
- "schema": "public",
2786
- "table": "relay_workspace_snapshots"
2787
- },
2788
- {
2789
- "type": "text",
2790
- "typeSchema": null,
2791
- "notNull": true,
2792
- "dimensions": 0,
2793
- "default": null,
2794
- "generated": null,
2795
- "identity": null,
2796
- "name": "reason",
2797
- "entityType": "columns",
2798
- "schema": "public",
2799
- "table": "relay_workspace_snapshots"
2800
- },
2801
- {
2802
- "type": "text",
2803
- "typeSchema": null,
2804
- "notNull": true,
2805
- "dimensions": 0,
2806
- "default": null,
2807
- "generated": null,
2808
- "identity": null,
2809
- "name": "snapshot_ref",
2810
- "entityType": "columns",
2811
- "schema": "public",
2812
- "table": "relay_workspace_snapshots"
2813
- },
2814
- {
2815
- "type": "jsonb",
2816
- "typeSchema": null,
2817
- "notNull": true,
2818
- "dimensions": 0,
2819
- "default": "'{}'",
2820
- "generated": null,
2821
- "identity": null,
2822
- "name": "metadata_json",
2823
- "entityType": "columns",
2824
- "schema": "public",
2825
- "table": "relay_workspace_snapshots"
2826
- },
2827
- {
2828
- "type": "timestamp with time zone",
2829
- "typeSchema": null,
2830
- "notNull": true,
2831
- "dimensions": 0,
2832
- "default": "now()",
2833
- "generated": null,
2834
- "identity": null,
2835
- "name": "created_at",
2836
- "entityType": "columns",
2837
- "schema": "public",
2838
- "table": "relay_workspace_snapshots"
2839
- },
2840
- {
2841
- "nameExplicit": true,
2842
- "columns": [
2843
- {
2844
- "value": "address_id",
2845
- "isExpression": false,
2846
- "asc": true,
2847
- "nullsFirst": false,
2848
- "opclass": null
2849
- }
2850
- ],
2851
- "isUnique": true,
2852
- "where": null,
2853
- "with": "",
2854
- "method": "btree",
2855
- "concurrently": false,
2856
- "name": "uq_relay_address_book_address",
2857
- "entityType": "indexes",
2858
- "schema": "public",
2859
- "table": "relay_address_book_entries"
2860
- },
2861
- {
2862
- "nameExplicit": true,
2863
- "columns": [
2864
- {
2865
- "value": "execution_id",
2866
- "isExpression": false,
2867
- "asc": true,
2868
- "nullsFirst": false,
2869
- "opclass": null
2870
- },
2871
- {
2872
- "value": "turn",
2873
- "isExpression": false,
2874
- "asc": true,
2875
- "nullsFirst": false,
2876
- "opclass": null
2877
- }
2878
- ],
2879
- "isUnique": false,
2880
- "where": null,
2881
- "with": "",
2882
- "method": "btree",
2883
- "concurrently": false,
2884
- "name": "idx_relay_agent_compactions_execution_turn",
2885
- "entityType": "indexes",
2886
- "schema": "public",
2887
- "table": "relay_agent_compactions"
2888
- },
2889
- {
2890
- "nameExplicit": true,
2891
- "columns": [
2892
- {
2893
- "value": "agent_definition_id",
2894
- "isExpression": false,
2895
- "asc": true,
2896
- "nullsFirst": false,
2897
- "opclass": null
2898
- },
2899
- {
2900
- "value": "revision",
2901
- "isExpression": false,
2902
- "asc": true,
2903
- "nullsFirst": false,
2904
- "opclass": null
2905
- }
2906
- ],
2907
- "isUnique": false,
2908
- "where": null,
2909
- "with": "",
2910
- "method": "btree",
2911
- "concurrently": false,
2912
- "name": "idx_relay_agent_definition_revisions_definition",
2913
- "entityType": "indexes",
2914
- "schema": "public",
2915
- "table": "relay_agent_definition_revisions"
2916
- },
2917
- {
2918
- "nameExplicit": true,
2919
- "columns": [
2920
- {
2921
- "value": "name",
2922
- "isExpression": false,
2923
- "asc": true,
2924
- "nullsFirst": false,
2925
- "opclass": null
2926
- }
2927
- ],
2928
- "isUnique": false,
2929
- "where": null,
2930
- "with": "",
2931
- "method": "btree",
2932
- "concurrently": false,
2933
- "name": "idx_relay_agent_definitions_name",
2934
- "entityType": "indexes",
2935
- "schema": "public",
2936
- "table": "relay_agent_definitions"
2937
- },
2938
- {
2939
- "nameExplicit": true,
2940
- "columns": [
2941
- {
2942
- "value": "execution_id",
2943
- "isExpression": false,
2944
- "asc": true,
2945
- "nullsFirst": false,
2946
- "opclass": null
2947
- }
2948
- ],
2949
- "isUnique": false,
2950
- "where": null,
2951
- "with": "",
2952
- "method": "btree",
2953
- "concurrently": false,
2954
- "name": "idx_relay_child_executions_parent",
2955
- "entityType": "indexes",
2956
- "schema": "public",
2957
- "table": "relay_child_executions"
2958
- },
2959
- {
2960
- "nameExplicit": true,
2961
- "columns": [
2962
- {
2963
- "value": "state",
2964
- "isExpression": false,
2965
- "asc": true,
2966
- "nullsFirst": false,
2967
- "opclass": null
2968
- },
2969
- {
2970
- "value": "available_at",
2971
- "isExpression": false,
2972
- "asc": true,
2973
- "nullsFirst": false,
2974
- "opclass": null
2975
- }
2976
- ],
2977
- "isUnique": false,
2978
- "where": null,
2979
- "with": "",
2980
- "method": "btree",
2981
- "concurrently": false,
2982
- "name": "idx_relay_envelope_ready_state_available",
2983
- "entityType": "indexes",
2984
- "schema": "public",
2985
- "table": "relay_envelope_ready"
2986
- },
2987
- {
2988
- "nameExplicit": true,
2989
- "columns": [
2990
- {
2991
- "value": "claim_expires_at",
2992
- "isExpression": false,
2993
- "asc": true,
2994
- "nullsFirst": false,
2995
- "opclass": null
2996
- }
2997
- ],
2998
- "isUnique": false,
2999
- "where": null,
3000
- "with": "",
3001
- "method": "btree",
3002
- "concurrently": false,
3003
- "name": "idx_relay_envelope_ready_claim_expires",
3004
- "entityType": "indexes",
3005
- "schema": "public",
3006
- "table": "relay_envelope_ready"
3007
- },
3008
- {
3009
- "nameExplicit": true,
3010
- "columns": [
3011
- {
3012
- "value": "idempotency_key",
3013
- "isExpression": false,
3014
- "asc": true,
3015
- "nullsFirst": false,
3016
- "opclass": null
3017
- }
3018
- ],
3019
- "isUnique": true,
3020
- "where": null,
3021
- "with": "",
3022
- "method": "btree",
3023
- "concurrently": false,
3024
- "name": "uq_relay_envelope_ready_idempotency",
3025
- "entityType": "indexes",
3026
- "schema": "public",
3027
- "table": "relay_envelope_ready"
3028
- },
3029
- {
3030
- "nameExplicit": true,
3031
- "columns": [
3032
- {
3033
- "value": "execution_id",
3034
- "isExpression": false,
3035
- "asc": true,
3036
- "nullsFirst": false,
3037
- "opclass": null
3038
- },
3039
- {
3040
- "value": "created_at",
3041
- "isExpression": false,
3042
- "asc": true,
3043
- "nullsFirst": false,
3044
- "opclass": null
3045
- }
3046
- ],
3047
- "isUnique": false,
3048
- "where": null,
3049
- "with": "",
3050
- "method": "btree",
3051
- "concurrently": false,
3052
- "name": "idx_relay_envelopes_execution",
3053
- "entityType": "indexes",
3054
- "schema": "public",
3055
- "table": "relay_envelopes"
3056
- },
3057
- {
3058
- "nameExplicit": true,
3059
- "columns": [
3060
- {
3061
- "value": "to_address_id",
3062
- "isExpression": false,
3063
- "asc": true,
3064
- "nullsFirst": false,
3065
- "opclass": null
3066
- },
3067
- {
3068
- "value": "created_at",
3069
- "isExpression": false,
3070
- "asc": true,
3071
- "nullsFirst": false,
3072
- "opclass": null
3073
- }
3074
- ],
3075
- "isUnique": false,
3076
- "where": null,
3077
- "with": "",
3078
- "method": "btree",
3079
- "concurrently": false,
3080
- "name": "idx_relay_envelopes_to_address",
3081
- "entityType": "indexes",
3082
- "schema": "public",
3083
- "table": "relay_envelopes"
3084
- },
3085
- {
3086
- "nameExplicit": true,
3087
- "columns": [
3088
- {
3089
- "value": "execution_id",
3090
- "isExpression": false,
3091
- "asc": true,
3092
- "nullsFirst": false,
3093
- "opclass": null
3094
- },
3095
- {
3096
- "value": "created_at",
3097
- "isExpression": false,
3098
- "asc": true,
3099
- "nullsFirst": false,
3100
- "opclass": null
3101
- }
3102
- ],
3103
- "isUnique": false,
3104
- "where": null,
3105
- "with": "",
3106
- "method": "btree",
3107
- "concurrently": false,
3108
- "name": "idx_relay_execution_events_execution",
3109
- "entityType": "indexes",
3110
- "schema": "public",
3111
- "table": "relay_execution_events"
3112
- },
3113
- {
3114
- "nameExplicit": true,
3115
- "columns": [
3116
- {
3117
- "value": "execution_id",
3118
- "isExpression": false,
3119
- "asc": true,
3120
- "nullsFirst": false,
3121
- "opclass": null
3122
- },
3123
- {
3124
- "value": "sequence",
3125
- "isExpression": false,
3126
- "asc": true,
3127
- "nullsFirst": false,
3128
- "opclass": null
3129
- }
3130
- ],
3131
- "isUnique": true,
3132
- "where": null,
3133
- "with": "",
3134
- "method": "btree",
3135
- "concurrently": false,
3136
- "name": "uq_relay_execution_events_sequence",
3137
- "entityType": "indexes",
3138
- "schema": "public",
3139
- "table": "relay_execution_events"
3140
- },
3141
- {
3142
- "nameExplicit": true,
3143
- "columns": [
3144
- {
3145
- "value": "cursor",
3146
- "isExpression": false,
3147
- "asc": true,
3148
- "nullsFirst": false,
3149
- "opclass": null
3150
- }
3151
- ],
3152
- "isUnique": true,
3153
- "where": null,
3154
- "with": "",
3155
- "method": "btree",
3156
- "concurrently": false,
3157
- "name": "uq_relay_execution_events_cursor",
3158
- "entityType": "indexes",
3159
- "schema": "public",
3160
- "table": "relay_execution_events"
3161
- },
3162
- {
3163
- "nameExplicit": true,
3164
- "columns": [
3165
- {
3166
- "value": "execution_id",
3167
- "isExpression": false,
3168
- "asc": true,
3169
- "nullsFirst": false,
3170
- "opclass": null
3171
- }
3172
- ],
3173
- "isUnique": false,
3174
- "where": null,
3175
- "with": "",
3176
- "method": "btree",
3177
- "concurrently": false,
3178
- "name": "idx_relay_execution_skill_pins_execution",
3179
- "entityType": "indexes",
3180
- "schema": "public",
3181
- "table": "relay_execution_skill_pins"
3182
- },
3183
- {
3184
- "nameExplicit": true,
3185
- "columns": [
3186
- {
3187
- "value": "root_address_id",
3188
- "isExpression": false,
3189
- "asc": true,
3190
- "nullsFirst": false,
3191
- "opclass": null
3192
- },
3193
- {
3194
- "value": "status",
3195
- "isExpression": false,
3196
- "asc": true,
3197
- "nullsFirst": false,
3198
- "opclass": null
3199
- }
3200
- ],
3201
- "isUnique": false,
3202
- "where": null,
3203
- "with": "",
3204
- "method": "btree",
3205
- "concurrently": false,
3206
- "name": "idx_relay_executions_root_status",
3207
- "entityType": "indexes",
3208
- "schema": "public",
3209
- "table": "relay_executions"
3210
- },
3211
- {
3212
- "nameExplicit": true,
3213
- "columns": [
3214
- {
3215
- "value": "session_id",
3216
- "isExpression": false,
3217
- "asc": true,
3218
- "nullsFirst": false,
3219
- "opclass": null
3220
- },
3221
- {
3222
- "value": "updated_at",
3223
- "isExpression": false,
3224
- "asc": true,
3225
- "nullsFirst": false,
3226
- "opclass": null
3227
- },
3228
- {
3229
- "value": "id",
3230
- "isExpression": false,
3231
- "asc": true,
3232
- "nullsFirst": false,
3233
- "opclass": null
3234
- }
3235
- ],
3236
- "isUnique": false,
3237
- "where": null,
3238
- "with": "",
3239
- "method": "btree",
3240
- "concurrently": false,
3241
- "name": "idx_relay_executions_session_updated_id",
3242
- "entityType": "indexes",
3243
- "schema": "public",
3244
- "table": "relay_executions"
3245
- },
3246
- {
3247
- "nameExplicit": true,
3248
- "columns": [
3249
- {
3250
- "value": "updated_at",
3251
- "isExpression": false,
3252
- "asc": true,
3253
- "nullsFirst": false,
3254
- "opclass": null
3255
- },
3256
- {
3257
- "value": "id",
3258
- "isExpression": false,
3259
- "asc": true,
3260
- "nullsFirst": false,
3261
- "opclass": null
3262
- }
3263
- ],
3264
- "isUnique": false,
3265
- "where": null,
3266
- "with": "",
3267
- "method": "btree",
3268
- "concurrently": false,
3269
- "name": "idx_relay_executions_updated_id",
3270
- "entityType": "indexes",
3271
- "schema": "public",
3272
- "table": "relay_executions"
3273
- },
3274
- {
3275
- "nameExplicit": true,
3276
- "columns": [
3277
- {
3278
- "value": "root_address_id",
3279
- "isExpression": false,
3280
- "asc": true,
3281
- "nullsFirst": false,
3282
- "opclass": null
3283
- },
3284
- {
3285
- "value": "status",
3286
- "isExpression": false,
3287
- "asc": true,
3288
- "nullsFirst": false,
3289
- "opclass": null
3290
- },
3291
- {
3292
- "value": "updated_at",
3293
- "isExpression": false,
3294
- "asc": true,
3295
- "nullsFirst": false,
3296
- "opclass": null
3297
- },
3298
- {
3299
- "value": "id",
3300
- "isExpression": false,
3301
- "asc": true,
3302
- "nullsFirst": false,
3303
- "opclass": null
3304
- }
3305
- ],
3306
- "isUnique": false,
3307
- "where": null,
3308
- "with": "",
3309
- "method": "btree",
3310
- "concurrently": false,
3311
- "name": "idx_relay_executions_root_status_updated_id",
3312
- "entityType": "indexes",
3313
- "schema": "public",
3314
- "table": "relay_executions"
3315
- },
3316
- {
3317
- "nameExplicit": true,
3318
- "columns": [
3319
- {
3320
- "value": "scope",
3321
- "isExpression": false,
3322
- "asc": true,
3323
- "nullsFirst": false,
3324
- "opclass": null
3325
- },
3326
- {
3327
- "value": "operation",
3328
- "isExpression": false,
3329
- "asc": true,
3330
- "nullsFirst": false,
3331
- "opclass": null
3332
- },
3333
- {
3334
- "value": "key",
3335
- "isExpression": false,
3336
- "asc": true,
3337
- "nullsFirst": false,
3338
- "opclass": null
3339
- }
3340
- ],
3341
- "isUnique": true,
3342
- "where": null,
3343
- "with": "",
3344
- "method": "btree",
3345
- "concurrently": false,
3346
- "name": "uq_relay_idempotency_scope_operation_key",
3347
- "entityType": "indexes",
3348
- "schema": "public",
3349
- "table": "relay_idempotency_keys"
3350
- },
3351
- {
3352
- "nameExplicit": true,
3353
- "columns": [
3354
- {
3355
- "value": "agent",
3356
- "isExpression": false,
3357
- "asc": true,
3358
- "nullsFirst": false,
3359
- "opclass": null
3360
- },
3361
- {
3362
- "value": "subject",
3363
- "isExpression": false,
3364
- "asc": true,
3365
- "nullsFirst": false,
3366
- "opclass": null
3367
- }
3368
- ],
3369
- "isUnique": false,
3370
- "where": null,
3371
- "with": "",
3372
- "method": "btree",
3373
- "concurrently": false,
3374
- "name": "idx_relay_memory_records_agent_subject",
3375
- "entityType": "indexes",
3376
- "schema": "public",
3377
- "table": "relay_memory_records"
3378
- },
3379
- {
3380
- "nameExplicit": true,
3381
- "columns": [
3382
- {
3383
- "value": "agent",
3384
- "isExpression": false,
3385
- "asc": true,
3386
- "nullsFirst": false,
3387
- "opclass": null
3388
- },
3389
- {
3390
- "value": "scope",
3391
- "isExpression": false,
3392
- "asc": true,
3393
- "nullsFirst": false,
3394
- "opclass": null
3395
- }
3396
- ],
3397
- "isUnique": false,
3398
- "where": null,
3399
- "with": "",
3400
- "method": "btree",
3401
- "concurrently": false,
3402
- "name": "idx_relay_permission_rules_agent_scope",
3403
- "entityType": "indexes",
3404
- "schema": "public",
3405
- "table": "relay_permission_rules"
3406
- },
3407
- {
3408
- "nameExplicit": true,
3409
- "columns": [
3410
- {
3411
- "value": "envelope_ready_id",
3412
- "isExpression": false,
3413
- "asc": true,
3414
- "nullsFirst": false,
3415
- "opclass": null
3416
- },
3417
- {
3418
- "value": "created_at",
3419
- "isExpression": false,
3420
- "asc": true,
3421
- "nullsFirst": false,
3422
- "opclass": null
3423
- }
3424
- ],
3425
- "isUnique": false,
3426
- "where": null,
3427
- "with": "",
3428
- "method": "btree",
3429
- "concurrently": false,
3430
- "name": "idx_relay_route_attempts_ready",
3431
- "entityType": "indexes",
3432
- "schema": "public",
3433
- "table": "relay_route_attempts"
3434
- },
3435
- {
3436
- "nameExplicit": true,
3437
- "columns": [
3438
- {
3439
- "value": "state",
3440
- "isExpression": false,
3441
- "asc": true,
3442
- "nullsFirst": false,
3443
- "opclass": null
3444
- },
3445
- {
3446
- "value": "next_run_at",
3447
- "isExpression": false,
3448
- "asc": true,
3449
- "nullsFirst": false,
3450
- "opclass": null
3451
- }
3452
- ],
3453
- "isUnique": false,
3454
- "where": null,
3455
- "with": "",
3456
- "method": "btree",
3457
- "concurrently": false,
3458
- "name": "idx_relay_schedules_state_next_run",
3459
- "entityType": "indexes",
3460
- "schema": "public",
3461
- "table": "relay_schedules"
3462
- },
3463
- {
3464
- "nameExplicit": true,
3465
- "columns": [
3466
- {
3467
- "value": "claim_expires_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_schedules_claim_expires",
3480
- "entityType": "indexes",
3481
- "schema": "public",
3482
- "table": "relay_schedules"
3483
- },
3484
- {
3485
- "nameExplicit": true,
3486
- "columns": [
3487
- {
3488
- "value": "wait_id",
3489
- "isExpression": false,
3490
- "asc": true,
3491
- "nullsFirst": false,
3492
- "opclass": null
3493
- }
3494
- ],
3495
- "isUnique": false,
3496
- "where": null,
3497
- "with": "",
3498
- "method": "btree",
3499
- "concurrently": false,
3500
- "name": "idx_relay_schedules_wait",
3501
- "entityType": "indexes",
3502
- "schema": "public",
3503
- "table": "relay_schedules"
3504
- },
3505
- {
3506
- "nameExplicit": true,
3507
- "columns": [
3508
- {
3509
- "value": "idempotency_key",
3510
- "isExpression": false,
3511
- "asc": true,
3512
- "nullsFirst": false,
3513
- "opclass": null
3514
- }
3515
- ],
3516
- "isUnique": true,
3517
- "where": null,
3518
- "with": "",
3519
- "method": "btree",
3520
- "concurrently": false,
3521
- "name": "uq_relay_schedules_idempotency",
3522
- "entityType": "indexes",
3523
- "schema": "public",
3524
- "table": "relay_schedules"
3525
- },
3526
- {
3527
- "nameExplicit": true,
3528
- "columns": [
3529
- {
3530
- "value": "session_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
- "value": "id",
3545
- "isExpression": false,
3546
- "asc": true,
3547
- "nullsFirst": false,
3548
- "opclass": null
3549
- }
3550
- ],
3551
- "isUnique": false,
3552
- "where": null,
3553
- "with": "",
3554
- "method": "btree",
3555
- "concurrently": false,
3556
- "name": "idx_relay_session_entries_session_created",
3557
- "entityType": "indexes",
3558
- "schema": "public",
3559
- "table": "relay_session_entries"
3560
- },
3561
- {
3562
- "nameExplicit": true,
3563
- "columns": [
3564
- {
3565
- "value": "session_id",
3566
- "isExpression": false,
3567
- "asc": true,
3568
- "nullsFirst": false,
3569
- "opclass": null
3570
- },
3571
- {
3572
- "value": "parent_id",
3573
- "isExpression": false,
3574
- "asc": true,
3575
- "nullsFirst": false,
3576
- "opclass": null
3577
- }
3578
- ],
3579
- "isUnique": false,
3580
- "where": null,
3581
- "with": "",
3582
- "method": "btree",
3583
- "concurrently": false,
3584
- "name": "idx_relay_session_entries_session_parent",
3585
- "entityType": "indexes",
3586
- "schema": "public",
3587
- "table": "relay_session_entries"
3588
- },
3589
- {
3590
- "nameExplicit": true,
3591
- "columns": [
3592
- {
3593
- "value": "updated_at",
3594
- "isExpression": false,
3595
- "asc": true,
3596
- "nullsFirst": false,
3597
- "opclass": null
3598
- },
3599
- {
3600
- "value": "id",
3601
- "isExpression": false,
3602
- "asc": true,
3603
- "nullsFirst": false,
3604
- "opclass": null
3605
- }
3606
- ],
3607
- "isUnique": false,
3608
- "where": null,
3609
- "with": "",
3610
- "method": "btree",
3611
- "concurrently": false,
3612
- "name": "idx_relay_sessions_updated_id",
3613
- "entityType": "indexes",
3614
- "schema": "public",
3615
- "table": "relay_sessions"
3616
- },
3617
- {
3618
- "nameExplicit": true,
3619
- "columns": [
3620
- {
3621
- "value": "root_address_id",
3622
- "isExpression": false,
3623
- "asc": true,
3624
- "nullsFirst": false,
3625
- "opclass": null
3626
- },
3627
- {
3628
- "value": "updated_at",
3629
- "isExpression": false,
3630
- "asc": true,
3631
- "nullsFirst": false,
3632
- "opclass": null
3633
- },
3634
- {
3635
- "value": "id",
3636
- "isExpression": false,
3637
- "asc": true,
3638
- "nullsFirst": false,
3639
- "opclass": null
3640
- }
3641
- ],
3642
- "isUnique": false,
3643
- "where": null,
3644
- "with": "",
3645
- "method": "btree",
3646
- "concurrently": false,
3647
- "name": "idx_relay_sessions_root_updated_id",
3648
- "entityType": "indexes",
3649
- "schema": "public",
3650
- "table": "relay_sessions"
3651
- },
3652
- {
3653
- "nameExplicit": true,
3654
- "columns": [
3655
- {
3656
- "value": "skill_definition_id",
3657
- "isExpression": false,
3658
- "asc": true,
3659
- "nullsFirst": false,
3660
- "opclass": null
3661
- },
3662
- {
3663
- "value": "revision",
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_skill_definition_revisions_definition",
3676
- "entityType": "indexes",
3677
- "schema": "public",
3678
- "table": "relay_skill_definition_revisions"
3679
- },
3680
- {
3681
- "nameExplicit": true,
3682
- "columns": [
3683
- {
3684
- "value": "name",
3685
- "isExpression": false,
3686
- "asc": true,
3687
- "nullsFirst": false,
3688
- "opclass": null
3689
- }
3690
- ],
3691
- "isUnique": false,
3692
- "where": null,
3693
- "with": "",
3694
- "method": "btree",
3695
- "concurrently": false,
3696
- "name": "idx_relay_skill_definitions_name",
3697
- "entityType": "indexes",
3698
- "schema": "public",
3699
- "table": "relay_skill_definitions"
3700
- },
3701
- {
3702
- "nameExplicit": true,
3703
- "columns": [
3704
- {
3705
- "value": "execution_id",
3706
- "isExpression": false,
3707
- "asc": true,
3708
- "nullsFirst": false,
3709
- "opclass": null
3710
- },
3711
- {
3712
- "value": "kind",
3713
- "isExpression": false,
3714
- "asc": true,
3715
- "nullsFirst": false,
3716
- "opclass": null
3717
- },
3718
- {
3719
- "value": "consumed_at",
3720
- "isExpression": false,
3721
- "asc": true,
3722
- "nullsFirst": false,
3723
- "opclass": null
3724
- },
3725
- {
3726
- "value": "sequence",
3727
- "isExpression": false,
3728
- "asc": true,
3729
- "nullsFirst": false,
3730
- "opclass": null
3731
- }
3732
- ],
3733
- "isUnique": false,
3734
- "where": null,
3735
- "with": "",
3736
- "method": "btree",
3737
- "concurrently": false,
3738
- "name": "idx_relay_steering_messages_unconsumed",
3739
- "entityType": "indexes",
3740
- "schema": "public",
3741
- "table": "relay_steering_messages"
3742
- },
3743
- {
3744
- "nameExplicit": true,
3745
- "columns": [
3746
- {
3747
- "value": "execution_id",
3748
- "isExpression": false,
3749
- "asc": true,
3750
- "nullsFirst": false,
3751
- "opclass": null
3752
- },
3753
- {
3754
- "value": "kind",
3755
- "isExpression": false,
3756
- "asc": true,
3757
- "nullsFirst": false,
3758
- "opclass": null
3759
- },
3760
- {
3761
- "value": "drain_id",
3762
- "isExpression": false,
3763
- "asc": true,
3764
- "nullsFirst": false,
3765
- "opclass": null
3766
- },
3767
- {
3768
- "value": "sequence",
3769
- "isExpression": false,
3770
- "asc": true,
3771
- "nullsFirst": false,
3772
- "opclass": null
3773
- }
3774
- ],
3775
- "isUnique": false,
3776
- "where": null,
3777
- "with": "",
3778
- "method": "btree",
3779
- "concurrently": false,
3780
- "name": "idx_relay_steering_messages_drain",
3781
- "entityType": "indexes",
3782
- "schema": "public",
3783
- "table": "relay_steering_messages"
3784
- },
3785
- {
3786
- "nameExplicit": true,
3787
- "columns": [
3788
- {
3789
- "value": "execution_id",
3790
- "isExpression": false,
3791
- "asc": true,
3792
- "nullsFirst": false,
3793
- "opclass": null
3794
- },
3795
- {
3796
- "value": "created_at",
3797
- "isExpression": false,
3798
- "asc": true,
3799
- "nullsFirst": false,
3800
- "opclass": null
3801
- }
3802
- ],
3803
- "isUnique": false,
3804
- "where": null,
3805
- "with": "",
3806
- "method": "btree",
3807
- "concurrently": false,
3808
- "name": "idx_relay_tool_calls_execution",
3809
- "entityType": "indexes",
3810
- "schema": "public",
3811
- "table": "relay_tool_calls"
3812
- },
3813
- {
3814
- "nameExplicit": true,
3815
- "columns": [
3816
- {
3817
- "value": "execution_id",
3818
- "isExpression": false,
3819
- "asc": true,
3820
- "nullsFirst": false,
3821
- "opclass": null
3822
- },
3823
- {
3824
- "value": "state",
3825
- "isExpression": false,
3826
- "asc": true,
3827
- "nullsFirst": false,
3828
- "opclass": null
3829
- }
3830
- ],
3831
- "isUnique": false,
3832
- "where": null,
3833
- "with": "",
3834
- "method": "btree",
3835
- "concurrently": false,
3836
- "name": "idx_relay_waits_execution_state",
3837
- "entityType": "indexes",
3838
- "schema": "public",
3839
- "table": "relay_waits"
3840
- },
3841
- {
3842
- "nameExplicit": true,
3843
- "columns": [
3844
- {
3845
- "value": "execution_id",
3846
- "isExpression": false,
3847
- "asc": true,
3848
- "nullsFirst": false,
3849
- "opclass": null
3850
- }
3851
- ],
3852
- "isUnique": true,
3853
- "where": "\"status\" not in ('released', 'failed')",
3854
- "with": "",
3855
- "method": "btree",
3856
- "concurrently": false,
3857
- "name": "uq_relay_workspace_leases_active_execution",
3858
- "entityType": "indexes",
3859
- "schema": "public",
3860
- "table": "relay_workspace_leases"
3861
- },
3862
- {
3863
- "nameExplicit": true,
3864
- "columns": [
3865
- {
3866
- "value": "execution_id",
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_workspace_leases_execution",
3879
- "entityType": "indexes",
3880
- "schema": "public",
3881
- "table": "relay_workspace_leases"
3882
- },
3883
- {
3884
- "nameExplicit": true,
3885
- "columns": [
3886
- {
3887
- "value": "status",
3888
- "isExpression": false,
3889
- "asc": true,
3890
- "nullsFirst": false,
3891
- "opclass": null
3892
- },
3893
- {
3894
- "value": "updated_at",
3895
- "isExpression": false,
3896
- "asc": true,
3897
- "nullsFirst": false,
3898
- "opclass": null
3899
- }
3900
- ],
3901
- "isUnique": false,
3902
- "where": null,
3903
- "with": "",
3904
- "method": "btree",
3905
- "concurrently": false,
3906
- "name": "idx_relay_workspace_leases_status_updated",
3907
- "entityType": "indexes",
3908
- "schema": "public",
3909
- "table": "relay_workspace_leases"
3910
- },
3911
- {
3912
- "nameExplicit": true,
3913
- "columns": [
3914
- {
3915
- "value": "lease_id",
3916
- "isExpression": false,
3917
- "asc": true,
3918
- "nullsFirst": false,
3919
- "opclass": null
3920
- },
3921
- {
3922
- "value": "created_at",
3923
- "isExpression": false,
3924
- "asc": true,
3925
- "nullsFirst": false,
3926
- "opclass": null
3927
- }
3928
- ],
3929
- "isUnique": false,
3930
- "where": null,
3931
- "with": "",
3932
- "method": "btree",
3933
- "concurrently": false,
3934
- "name": "idx_relay_workspace_snapshots_lease",
3935
- "entityType": "indexes",
3936
- "schema": "public",
3937
- "table": "relay_workspace_snapshots"
3938
- },
3939
- {
3940
- "nameExplicit": true,
3941
- "columns": [
3942
- {
3943
- "value": "execution_id",
3944
- "isExpression": false,
3945
- "asc": true,
3946
- "nullsFirst": false,
3947
- "opclass": null
3948
- },
3949
- {
3950
- "value": "created_at",
3951
- "isExpression": false,
3952
- "asc": true,
3953
- "nullsFirst": false,
3954
- "opclass": null
3955
- }
3956
- ],
3957
- "isUnique": false,
3958
- "where": null,
3959
- "with": "",
3960
- "method": "btree",
3961
- "concurrently": false,
3962
- "name": "idx_relay_workspace_snapshots_execution",
3963
- "entityType": "indexes",
3964
- "schema": "public",
3965
- "table": "relay_workspace_snapshots"
3966
- },
3967
- {
3968
- "columns": ["execution_id", "checkpoint_id"],
3969
- "nameExplicit": true,
3970
- "name": "pk_relay_agent_compactions",
3971
- "entityType": "pks",
3972
- "schema": "public",
3973
- "table": "relay_agent_compactions"
3974
- },
3975
- {
3976
- "columns": ["agent_definition_id", "revision"],
3977
- "nameExplicit": true,
3978
- "name": "pk_relay_agent_definition_revisions",
3979
- "entityType": "pks",
3980
- "schema": "public",
3981
- "table": "relay_agent_definition_revisions"
3982
- },
3983
- {
3984
- "columns": ["execution_id", "skill_definition_id"],
3985
- "nameExplicit": true,
3986
- "name": "pk_relay_execution_skill_pins",
3987
- "entityType": "pks",
3988
- "schema": "public",
3989
- "table": "relay_execution_skill_pins"
3990
- },
3991
- {
3992
- "columns": ["agent", "scope", "pattern"],
3993
- "nameExplicit": true,
3994
- "name": "pk_relay_permission_rules",
3995
- "entityType": "pks",
3996
- "schema": "public",
3997
- "table": "relay_permission_rules"
3998
- },
3999
- {
4000
- "columns": ["skill_definition_id", "revision"],
4001
- "nameExplicit": true,
4002
- "name": "pk_relay_skill_definition_revisions",
4003
- "entityType": "pks",
4004
- "schema": "public",
4005
- "table": "relay_skill_definition_revisions"
4006
- },
4007
- {
4008
- "columns": ["execution_id", "kind", "drain_id"],
4009
- "nameExplicit": true,
4010
- "name": "pk_relay_steering_drains",
4011
- "entityType": "pks",
4012
- "schema": "public",
4013
- "table": "relay_steering_drains"
4014
- },
4015
- {
4016
- "columns": ["execution_id", "kind", "sequence"],
4017
- "nameExplicit": true,
4018
- "name": "pk_relay_steering_messages",
4019
- "entityType": "pks",
4020
- "schema": "public",
4021
- "table": "relay_steering_messages"
4022
- },
4023
- {
4024
- "columns": ["id"],
4025
- "nameExplicit": false,
4026
- "name": "relay_address_book_entries_pkey",
4027
- "schema": "public",
4028
- "table": "relay_address_book_entries",
4029
- "entityType": "pks"
4030
- },
4031
- {
4032
- "columns": ["execution_id"],
4033
- "nameExplicit": false,
4034
- "name": "relay_agent_chats_pkey",
4035
- "schema": "public",
4036
- "table": "relay_agent_chats",
4037
- "entityType": "pks"
4038
- },
4039
- {
4040
- "columns": ["id"],
4041
- "nameExplicit": false,
4042
- "name": "relay_agent_definitions_pkey",
4043
- "schema": "public",
4044
- "table": "relay_agent_definitions",
4045
- "entityType": "pks"
4046
- },
4047
- {
4048
- "columns": ["id"],
4049
- "nameExplicit": false,
4050
- "name": "relay_child_executions_pkey",
4051
- "schema": "public",
4052
- "table": "relay_child_executions",
4053
- "entityType": "pks"
4054
- },
4055
- {
4056
- "columns": ["id"],
4057
- "nameExplicit": false,
4058
- "name": "relay_envelope_ready_pkey",
4059
- "schema": "public",
4060
- "table": "relay_envelope_ready",
4061
- "entityType": "pks"
4062
- },
4063
- {
4064
- "columns": ["id"],
4065
- "nameExplicit": false,
4066
- "name": "relay_envelopes_pkey",
4067
- "schema": "public",
4068
- "table": "relay_envelopes",
4069
- "entityType": "pks"
4070
- },
4071
- {
4072
- "columns": ["execution_id"],
4073
- "nameExplicit": false,
4074
- "name": "relay_execution_context_epochs_pkey",
4075
- "schema": "public",
4076
- "table": "relay_execution_context_epochs",
4077
- "entityType": "pks"
4078
- },
4079
- {
4080
- "columns": ["id"],
4081
- "nameExplicit": false,
4082
- "name": "relay_execution_events_pkey",
4083
- "schema": "public",
4084
- "table": "relay_execution_events",
4085
- "entityType": "pks"
4086
- },
4087
- {
4088
- "columns": ["id"],
4089
- "nameExplicit": false,
4090
- "name": "relay_executions_pkey",
4091
- "schema": "public",
4092
- "table": "relay_executions",
4093
- "entityType": "pks"
4094
- },
4095
- {
4096
- "columns": ["id"],
4097
- "nameExplicit": false,
4098
- "name": "relay_idempotency_keys_pkey",
4099
- "schema": "public",
4100
- "table": "relay_idempotency_keys",
4101
- "entityType": "pks"
4102
- },
4103
- {
4104
- "columns": ["id"],
4105
- "nameExplicit": false,
4106
- "name": "relay_memory_records_pkey",
4107
- "schema": "public",
4108
- "table": "relay_memory_records",
4109
- "entityType": "pks"
4110
- },
4111
- {
4112
- "columns": ["id"],
4113
- "nameExplicit": false,
4114
- "name": "relay_route_attempts_pkey",
4115
- "schema": "public",
4116
- "table": "relay_route_attempts",
4117
- "entityType": "pks"
4118
- },
4119
- {
4120
- "columns": ["id"],
4121
- "nameExplicit": false,
4122
- "name": "relay_schedules_pkey",
4123
- "schema": "public",
4124
- "table": "relay_schedules",
4125
- "entityType": "pks"
4126
- },
4127
- {
4128
- "columns": ["id"],
4129
- "nameExplicit": false,
4130
- "name": "relay_session_entries_pkey",
4131
- "schema": "public",
4132
- "table": "relay_session_entries",
4133
- "entityType": "pks"
4134
- },
4135
- {
4136
- "columns": ["id"],
4137
- "nameExplicit": false,
4138
- "name": "relay_sessions_pkey",
4139
- "schema": "public",
4140
- "table": "relay_sessions",
4141
- "entityType": "pks"
4142
- },
4143
- {
4144
- "columns": ["id"],
4145
- "nameExplicit": false,
4146
- "name": "relay_skill_definitions_pkey",
4147
- "schema": "public",
4148
- "table": "relay_skill_definitions",
4149
- "entityType": "pks"
4150
- },
4151
- {
4152
- "columns": ["id"],
4153
- "nameExplicit": false,
4154
- "name": "relay_tool_calls_pkey",
4155
- "schema": "public",
4156
- "table": "relay_tool_calls",
4157
- "entityType": "pks"
4158
- },
4159
- {
4160
- "columns": ["tool_call_id"],
4161
- "nameExplicit": false,
4162
- "name": "relay_tool_results_pkey",
4163
- "schema": "public",
4164
- "table": "relay_tool_results",
4165
- "entityType": "pks"
4166
- },
4167
- {
4168
- "columns": ["id"],
4169
- "nameExplicit": false,
4170
- "name": "relay_waits_pkey",
4171
- "schema": "public",
4172
- "table": "relay_waits",
4173
- "entityType": "pks"
4174
- },
4175
- {
4176
- "columns": ["id"],
4177
- "nameExplicit": false,
4178
- "name": "relay_workspace_leases_pkey",
4179
- "schema": "public",
4180
- "table": "relay_workspace_leases",
4181
- "entityType": "pks"
4182
- },
4183
- {
4184
- "columns": ["id"],
4185
- "nameExplicit": false,
4186
- "name": "relay_workspace_snapshots_pkey",
4187
- "schema": "public",
4188
- "table": "relay_workspace_snapshots",
4189
- "entityType": "pks"
4190
- }
4191
- ],
4192
- "renames": []
4193
- }