@relayfx/sdk 0.0.50 → 0.1.0

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