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