@relayfx/sdk 0.2.14 → 0.2.16

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 (110) hide show
  1. package/dist/ai.js +2 -2
  2. package/dist/{index-9q3yh32k.js → index-5x686v8w.js} +1815 -1543
  3. package/dist/{index-15f2ewt8.js → index-6dv1dqq1.js} +8 -8
  4. package/dist/{index-gb7d1wfm.js → index-a6vwwhcp.js} +116 -105
  5. package/dist/{index-qg0hy7s1.js → index-per7tyzq.js} +12 -8
  6. package/dist/index.js +5 -5
  7. package/dist/mysql.js +24 -9
  8. package/dist/postgres.js +18 -13
  9. package/dist/sqlite.js +26 -29
  10. package/dist/types/ai/embedding-model/embedding-model-registration.d.ts +2 -2
  11. package/dist/types/relay/adapter-outbox.d.ts +1 -1
  12. package/dist/types/relay/client.d.ts +28 -28
  13. package/dist/types/relay/command.d.ts +10 -4
  14. package/dist/types/relay/database.d.ts +4 -4
  15. package/dist/types/relay/migration-errors.d.ts +8 -2
  16. package/dist/types/relay/mysql.d.ts +2 -2
  17. package/dist/types/relay/operation.d.ts +173 -123
  18. package/dist/types/relay/postgres.d.ts +2 -2
  19. package/dist/types/relay/runtime-capability-policy.d.ts +11 -5
  20. package/dist/types/relay/runtime-database.d.ts +1 -1
  21. package/dist/types/relay/runtime.d.ts +4 -4
  22. package/dist/types/relay/sqlite-migrations.d.ts +1 -1
  23. package/dist/types/relay/sqlite-runtime.d.ts +10 -5
  24. package/dist/types/relay/tool-worker.d.ts +6 -5
  25. package/dist/types/runtime/address/address-book-service.d.ts +3 -3
  26. package/dist/types/runtime/address/address-resolution-service.d.ts +60 -38
  27. package/dist/types/runtime/agent/agent-loop-service.d.ts +14 -5
  28. package/dist/types/runtime/agent/agent-registry-service.d.ts +2 -2
  29. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +1 -1
  30. package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
  31. package/dist/types/runtime/agent/relay-tool-output.d.ts +4 -1
  32. package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +1 -1
  33. package/dist/types/runtime/child/child-fan-out-runtime.d.ts +12 -8
  34. package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +1 -1
  35. package/dist/types/runtime/child/child-run-service.d.ts +7 -4
  36. package/dist/types/runtime/child/parent-notifier-service.d.ts +4 -2
  37. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +12 -4
  38. package/dist/types/runtime/cluster/execution-entity.d.ts +2 -2
  39. package/dist/types/runtime/content/artifact-store-service.d.ts +2 -2
  40. package/dist/types/runtime/content/blob-store-service.d.ts +1 -1
  41. package/dist/types/runtime/entity/entity-instance-service.d.ts +14 -5
  42. package/dist/types/runtime/entity/entity-registry-service.d.ts +2 -2
  43. package/dist/types/runtime/envelope/envelope-service.d.ts +2 -2
  44. package/dist/types/runtime/execution/active-execution-registry.d.ts +1 -1
  45. package/dist/types/runtime/execution/event-log-service.d.ts +5 -2
  46. package/dist/types/runtime/execution/execution-service.d.ts +1 -1
  47. package/dist/types/runtime/execution/execution-watch-service.d.ts +1 -1
  48. package/dist/types/runtime/execution/session-stream-service.d.ts +1 -1
  49. package/dist/types/runtime/inbox/inbox-service.d.ts +1 -1
  50. package/dist/types/runtime/memory/memory-service.d.ts +1 -1
  51. package/dist/types/runtime/model/embedding-model-service.d.ts +23 -10
  52. package/dist/types/runtime/model/language-model-service.d.ts +20 -6
  53. package/dist/types/runtime/model/model-call-policy.d.ts +1 -1
  54. package/dist/types/runtime/observability/runtime-metrics.d.ts +12 -3
  55. package/dist/types/runtime/presence/presence-service.d.ts +1 -1
  56. package/dist/types/runtime/presence/presence-tool.d.ts +1 -1
  57. package/dist/types/runtime/runner/runner-runtime-service.d.ts +19 -19
  58. package/dist/types/runtime/schedule/scheduler-service.d.ts +3 -3
  59. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +2 -2
  60. package/dist/types/runtime/session/session-store-service.d.ts +13 -4
  61. package/dist/types/runtime/skill/skill-registry-service.d.ts +2 -2
  62. package/dist/types/runtime/state/execution-state-service.d.ts +5 -2
  63. package/dist/types/runtime/tool/tool-runtime-service.d.ts +42 -19
  64. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +2 -2
  65. package/dist/types/runtime/topic/topic-service.d.ts +1 -1
  66. package/dist/types/runtime/wait/wait-service.d.ts +1 -1
  67. package/dist/types/runtime/wait/wait-signal.d.ts +12 -3
  68. package/dist/types/runtime/workflow/activity-version-registry.d.ts +7 -3
  69. package/dist/types/runtime/workflow/definition-runtime.d.ts +37 -22
  70. package/dist/types/runtime/workflow/execution-workflow.d.ts +143 -104
  71. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +6 -6
  72. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +11 -7
  73. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +1 -1
  74. package/dist/types/schema/agent-schema.d.ts +388 -228
  75. package/dist/types/schema/child-orchestration-schema.d.ts +78 -57
  76. package/dist/types/schema/execution-schema.d.ts +118 -54
  77. package/dist/types/schema/workflow-schema.d.ts +243 -243
  78. package/dist/types/schema/workspace-schema.d.ts +1 -1
  79. package/dist/types/store-sql/address/address-book-repository.d.ts +5 -5
  80. package/dist/types/store-sql/agent/agent-definition-repository.d.ts +7 -7
  81. package/dist/types/store-sql/chat/agent-chat-repository.d.ts +2 -2
  82. package/dist/types/store-sql/child/child-execution-repository.d.ts +4 -4
  83. package/dist/types/store-sql/child/child-fan-out-repository.d.ts +2 -2
  84. package/dist/types/store-sql/cluster/cluster-registry-repository.d.ts +5 -5
  85. package/dist/types/store-sql/compaction/compaction-repository.d.ts +3 -3
  86. package/dist/types/store-sql/database/database-service.d.ts +3 -3
  87. package/dist/types/store-sql/database/notification-bus.d.ts +1 -1
  88. package/dist/types/store-sql/database/sql-dialect.d.ts +4 -1
  89. package/dist/types/store-sql/entity/entity-repository.d.ts +2 -2
  90. package/dist/types/store-sql/envelope/envelope-repository.d.ts +13 -13
  91. package/dist/types/store-sql/execution/execution-event-repository.d.ts +4 -4
  92. package/dist/types/store-sql/execution/execution-repository.d.ts +8 -8
  93. package/dist/types/store-sql/idempotency/idempotency-repository.d.ts +5 -5
  94. package/dist/types/store-sql/inbox/inbox-repository.d.ts +1 -1
  95. package/dist/types/store-sql/memory/memory-repository.d.ts +3 -3
  96. package/dist/types/store-sql/permission/permission-rule-repository.d.ts +2 -2
  97. package/dist/types/store-sql/presence/presence-repository.d.ts +2 -2
  98. package/dist/types/store-sql/schedule/schedule-repository.d.ts +9 -9
  99. package/dist/types/store-sql/schema/relay-schema.d.ts +257 -257
  100. package/dist/types/store-sql/session/context-epoch-repository.d.ts +2 -2
  101. package/dist/types/store-sql/session/session-repository.d.ts +5 -5
  102. package/dist/types/store-sql/skill/skill-definition-repository.d.ts +9 -9
  103. package/dist/types/store-sql/state/execution-state-repository.d.ts +2 -2
  104. package/dist/types/store-sql/steering/steering-repository.d.ts +5 -5
  105. package/dist/types/store-sql/tenant/tenant-id.d.ts +2 -2
  106. package/dist/types/store-sql/tool/tool-call-repository.d.ts +19 -16
  107. package/dist/types/store-sql/topic/topic-repository.d.ts +1 -1
  108. package/dist/types/store-sql/workflow/workflow-definition-repository.d.ts +16 -14
  109. package/dist/types/store-sql/workspace/workspace-lease-repository.d.ts +11 -11
  110. package/package.json +3 -3
@@ -65,39 +65,33 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
65
65
  generated: undefined;
66
66
  }>;
67
67
  definitionJson: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_definition_revisions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, {
68
- readonly name: string;
69
68
  readonly version: 1;
69
+ readonly name: string;
70
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
70
71
  readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
72
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
73
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
74
+ };
71
75
  readonly kind: import("effect/Schema").Literal<"sequence">;
72
76
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
73
77
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
74
78
  }>;
79
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
75
80
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
76
81
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
77
82
  };
78
- }, "Type"> | {
79
- readonly kind: "child";
80
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
81
- readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
82
- readonly input?: import("effect/Schema").Json;
83
- } | {
84
- readonly kind: "tool";
85
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
86
- readonly tool_name: string;
87
- readonly input?: import("effect/Schema").Json;
88
- } | import("effect/Schema").Struct.ReadonlySide<{
89
83
  readonly kind: import("effect/Schema").Literal<"approval">;
90
84
  readonly prompt: import("effect/Schema").String;
85
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
91
86
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
92
87
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
93
88
  };
94
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
95
89
  readonly kind: import("effect/Schema").Literal<"timer">;
96
90
  readonly duration_ms: import("effect/Schema").Int;
91
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
97
92
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
98
93
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
99
94
  };
100
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
101
95
  readonly kind: import("effect/Schema").Literal<"branch">;
102
96
  readonly condition: import("effect/Schema").String;
103
97
  readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
@@ -106,50 +100,45 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
106
100
  readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
107
101
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
108
102
  };
103
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
109
104
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
110
105
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
111
106
  };
112
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
113
107
  readonly kind: import("effect/Schema").Literal<"parallel">;
114
108
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
115
109
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
116
110
  }>;
111
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
117
112
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
118
113
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
119
114
  };
120
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
121
115
  readonly kind: import("effect/Schema").Literal<"join">;
122
116
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
123
117
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
124
118
  }>;
119
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
125
120
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
126
121
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
127
122
  };
128
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
129
123
  readonly kind: import("effect/Schema").Literal<"retry">;
130
124
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
131
125
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
132
126
  };
133
127
  readonly max_attempts: import("effect/Schema").Int;
128
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
134
129
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
135
130
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
136
131
  };
137
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
138
132
  readonly kind: import("effect/Schema").Literal<"budget">;
139
133
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
140
134
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
141
135
  };
142
136
  readonly limit: import("effect/Schema").Int;
143
137
  readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
138
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
144
139
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
145
140
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
146
141
  };
147
- }, "Type"> | {
148
- readonly kind: "cancellation";
149
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
150
- readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
151
- readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
152
- } | import("effect/Schema").Struct.ReadonlySide<{
153
142
  readonly kind: import("effect/Schema").Literal<"compensation">;
154
143
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
155
144
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
@@ -157,52 +146,62 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
157
146
  readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
158
147
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
159
148
  };
149
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
160
150
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
161
151
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
162
152
  };
163
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
164
153
  readonly kind: import("effect/Schema").Literal<"structured-completion">;
165
154
  readonly schema_ref: import("effect/Schema").String;
166
155
  readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
167
156
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
168
157
  };
169
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
170
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
171
- };
172
- }, "Type">)[];
173
- readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
158
+ }, "Type"> | {
159
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
160
+ readonly kind: "child";
161
+ readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
162
+ readonly input?: import("effect/Schema").Json;
163
+ } | {
164
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
165
+ readonly kind: "tool";
166
+ readonly tool_name: string;
167
+ readonly input?: import("effect/Schema").Json;
168
+ } | {
169
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
170
+ readonly kind: "cancellation";
171
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
172
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
173
+ })[];
174
174
  readonly metadata?: {
175
175
  readonly [x: string]: import("effect/Schema").Json;
176
176
  };
177
177
  } | {
178
- readonly name: string;
179
178
  readonly version: 2;
179
+ readonly name: string;
180
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
180
181
  readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
182
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
183
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
184
+ };
181
185
  readonly kind: import("effect/Schema").Literal<"sequence">;
182
186
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
183
187
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
184
188
  }>;
189
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
185
190
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
186
191
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
187
192
  };
188
- }, "Type"> | {
189
- readonly kind: "tool";
190
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
191
- readonly tool_name: string;
192
- readonly input?: import("effect/Schema").Json;
193
- } | import("effect/Schema").Struct.ReadonlySide<{
194
193
  readonly kind: import("effect/Schema").Literal<"approval">;
195
194
  readonly prompt: import("effect/Schema").String;
195
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
196
196
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
197
197
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
198
198
  };
199
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
200
199
  readonly kind: import("effect/Schema").Literal<"timer">;
201
200
  readonly duration_ms: import("effect/Schema").Int;
201
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
202
202
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
203
203
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
204
204
  };
205
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
206
205
  readonly kind: import("effect/Schema").Literal<"branch">;
207
206
  readonly condition: import("effect/Schema").String;
208
207
  readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
@@ -211,34 +210,53 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
211
210
  readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
212
211
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
213
212
  };
213
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
214
214
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
215
215
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
216
216
  };
217
+ readonly kind: import("effect/Schema").Literal<"parallel">;
218
+ readonly fan_out_key: import("effect/Schema").String;
219
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
220
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
221
+ }>;
222
+ readonly max_concurrency: import("effect/Schema").Int;
223
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
224
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
225
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
226
+ };
227
+ readonly kind: import("effect/Schema").Literal<"join">;
228
+ readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
229
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
230
+ };
231
+ readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
232
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
233
+ }>;
234
+ readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
235
+ readonly count: import("effect/Schema").Int;
236
+ }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
217
237
  }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
238
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
239
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
240
+ };
218
241
  readonly kind: import("effect/Schema").Literal<"retry">;
219
242
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
220
243
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
221
244
  };
222
245
  readonly max_attempts: import("effect/Schema").Int;
246
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
223
247
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
224
248
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
225
249
  };
226
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
227
250
  readonly kind: import("effect/Schema").Literal<"budget">;
228
251
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
229
252
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
230
253
  };
231
254
  readonly limit: import("effect/Schema").Int;
232
255
  readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
256
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
233
257
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
234
258
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
235
259
  };
236
- }, "Type"> | {
237
- readonly kind: "cancellation";
238
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
239
- readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
240
- readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
241
- } | import("effect/Schema").Struct.ReadonlySide<{
242
260
  readonly kind: import("effect/Schema").Literal<"compensation">;
243
261
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
244
262
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
@@ -246,50 +264,32 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
246
264
  readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
247
265
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
248
266
  };
267
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
249
268
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
250
269
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
251
270
  };
252
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
253
271
  readonly kind: import("effect/Schema").Literal<"structured-completion">;
254
272
  readonly schema_ref: import("effect/Schema").String;
255
273
  readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
256
274
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
257
275
  };
258
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
259
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
260
- };
261
276
  }, "Type"> | {
262
- readonly kind: "child";
263
277
  readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
264
- readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
278
+ readonly kind: "tool";
279
+ readonly tool_name: string;
265
280
  readonly input?: import("effect/Schema").Json;
281
+ } | {
282
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
283
+ readonly kind: "cancellation";
284
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
285
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
286
+ } | {
287
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
288
+ readonly kind: "child";
289
+ readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
266
290
  readonly preset_name?: string;
267
- } | import("effect/Schema").Struct.ReadonlySide<{
268
- readonly kind: import("effect/Schema").Literal<"parallel">;
269
- readonly fan_out_key: import("effect/Schema").String;
270
- readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
271
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
272
- }>;
273
- readonly max_concurrency: import("effect/Schema").Int;
274
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
275
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
276
- };
277
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
278
- readonly kind: import("effect/Schema").Literal<"join">;
279
- readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
280
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
281
- };
282
- readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
283
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
284
- }>;
285
- readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
286
- readonly count: import("effect/Schema").Int;
287
- }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
288
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
289
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
290
- };
291
- }, "Type">)[];
292
- readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
291
+ readonly input?: import("effect/Schema").Json;
292
+ })[];
293
293
  readonly metadata?: {
294
294
  readonly [x: string]: import("effect/Schema").Json;
295
295
  };
@@ -298,39 +298,33 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
298
298
  tableName: "relay_workflow_definition_revisions";
299
299
  dataType: "object json";
300
300
  data: {
301
- readonly name: string;
302
301
  readonly version: 1;
302
+ readonly name: string;
303
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
303
304
  readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
305
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
306
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
307
+ };
304
308
  readonly kind: import("effect/Schema").Literal<"sequence">;
305
309
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
306
310
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
307
311
  }>;
312
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
308
313
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
309
314
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
310
315
  };
311
- }, "Type"> | {
312
- readonly kind: "child";
313
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
314
- readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
315
- readonly input?: import("effect/Schema").Json;
316
- } | {
317
- readonly kind: "tool";
318
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
319
- readonly tool_name: string;
320
- readonly input?: import("effect/Schema").Json;
321
- } | import("effect/Schema").Struct.ReadonlySide<{
322
316
  readonly kind: import("effect/Schema").Literal<"approval">;
323
317
  readonly prompt: import("effect/Schema").String;
318
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
324
319
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
325
320
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
326
321
  };
327
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
328
322
  readonly kind: import("effect/Schema").Literal<"timer">;
329
323
  readonly duration_ms: import("effect/Schema").Int;
324
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
330
325
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
331
326
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
332
327
  };
333
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
334
328
  readonly kind: import("effect/Schema").Literal<"branch">;
335
329
  readonly condition: import("effect/Schema").String;
336
330
  readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
@@ -339,50 +333,45 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
339
333
  readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
340
334
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
341
335
  };
336
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
342
337
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
343
338
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
344
339
  };
345
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
346
340
  readonly kind: import("effect/Schema").Literal<"parallel">;
347
341
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
348
342
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
349
343
  }>;
344
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
350
345
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
351
346
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
352
347
  };
353
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
354
348
  readonly kind: import("effect/Schema").Literal<"join">;
355
349
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
356
350
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
357
351
  }>;
352
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
358
353
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
359
354
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
360
355
  };
361
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
362
356
  readonly kind: import("effect/Schema").Literal<"retry">;
363
357
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
364
358
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
365
359
  };
366
360
  readonly max_attempts: import("effect/Schema").Int;
361
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
367
362
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
368
363
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
369
364
  };
370
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
371
365
  readonly kind: import("effect/Schema").Literal<"budget">;
372
366
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
373
367
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
374
368
  };
375
369
  readonly limit: import("effect/Schema").Int;
376
370
  readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
371
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
377
372
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
378
373
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
379
374
  };
380
- }, "Type"> | {
381
- readonly kind: "cancellation";
382
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
383
- readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
384
- readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
385
- } | import("effect/Schema").Struct.ReadonlySide<{
386
375
  readonly kind: import("effect/Schema").Literal<"compensation">;
387
376
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
388
377
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
@@ -390,52 +379,62 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
390
379
  readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
391
380
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
392
381
  };
382
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
393
383
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
394
384
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
395
385
  };
396
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
397
386
  readonly kind: import("effect/Schema").Literal<"structured-completion">;
398
387
  readonly schema_ref: import("effect/Schema").String;
399
388
  readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
400
389
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
401
390
  };
402
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
403
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
404
- };
405
- }, "Type">)[];
406
- readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
391
+ }, "Type"> | {
392
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
393
+ readonly kind: "child";
394
+ readonly workflow_id: string & import("effect/Brand").Brand<"Relay.WorkflowDefinitionId">;
395
+ readonly input?: import("effect/Schema").Json;
396
+ } | {
397
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
398
+ readonly kind: "tool";
399
+ readonly tool_name: string;
400
+ readonly input?: import("effect/Schema").Json;
401
+ } | {
402
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
403
+ readonly kind: "cancellation";
404
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
405
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
406
+ })[];
407
407
  readonly metadata?: {
408
408
  readonly [x: string]: import("effect/Schema").Json;
409
409
  };
410
410
  } | {
411
- readonly name: string;
412
411
  readonly version: 2;
412
+ readonly name: string;
413
+ readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
413
414
  readonly operations: readonly (import("effect/Schema").Struct.ReadonlySide<{
415
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
416
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
417
+ };
414
418
  readonly kind: import("effect/Schema").Literal<"sequence">;
415
419
  readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
416
420
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
417
421
  }>;
422
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
418
423
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
419
424
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
420
425
  };
421
- }, "Type"> | {
422
- readonly kind: "tool";
423
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
424
- readonly tool_name: string;
425
- readonly input?: import("effect/Schema").Json;
426
- } | import("effect/Schema").Struct.ReadonlySide<{
427
426
  readonly kind: import("effect/Schema").Literal<"approval">;
428
427
  readonly prompt: import("effect/Schema").String;
428
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
429
429
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
430
430
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
431
431
  };
432
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
433
432
  readonly kind: import("effect/Schema").Literal<"timer">;
434
433
  readonly duration_ms: import("effect/Schema").Int;
434
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
435
435
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
436
436
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
437
437
  };
438
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
439
438
  readonly kind: import("effect/Schema").Literal<"branch">;
440
439
  readonly condition: import("effect/Schema").String;
441
440
  readonly when_true: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
@@ -444,34 +443,53 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
444
443
  readonly when_false: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
445
444
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
446
445
  };
446
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
447
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
448
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
449
+ };
450
+ readonly kind: import("effect/Schema").Literal<"parallel">;
451
+ readonly fan_out_key: import("effect/Schema").String;
452
+ readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
453
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
454
+ }>;
455
+ readonly max_concurrency: import("effect/Schema").Int;
456
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
447
457
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
448
458
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
449
459
  };
460
+ readonly kind: import("effect/Schema").Literal<"join">;
461
+ readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
462
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
463
+ };
464
+ readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
465
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
466
+ }>;
467
+ readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
468
+ readonly count: import("effect/Schema").Int;
469
+ }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
450
470
  }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
471
+ readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
472
+ make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
473
+ };
451
474
  readonly kind: import("effect/Schema").Literal<"retry">;
452
475
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
453
476
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
454
477
  };
455
478
  readonly max_attempts: import("effect/Schema").Int;
479
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
456
480
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
457
481
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
458
482
  };
459
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
460
483
  readonly kind: import("effect/Schema").Literal<"budget">;
461
484
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
462
485
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
463
486
  };
464
487
  readonly limit: import("effect/Schema").Int;
465
488
  readonly unit: import("effect/Schema").Literals<readonly ["tokens", "milliseconds", "operations"]>;
489
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
466
490
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
467
491
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
468
492
  };
469
- }, "Type"> | {
470
- readonly kind: "cancellation";
471
- readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
472
- readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
473
- readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
474
- } | import("effect/Schema").Struct.ReadonlySide<{
475
493
  readonly kind: import("effect/Schema").Literal<"compensation">;
476
494
  readonly operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
477
495
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
@@ -479,50 +497,32 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
479
497
  readonly compensate_with: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
480
498
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
481
499
  };
500
+ }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
482
501
  readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
483
502
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
484
503
  };
485
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
486
504
  readonly kind: import("effect/Schema").Literal<"structured-completion">;
487
505
  readonly schema_ref: import("effect/Schema").String;
488
506
  readonly value_from: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
489
507
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
490
508
  };
491
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
492
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
493
- };
494
509
  }, "Type"> | {
495
- readonly kind: "child";
496
510
  readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
497
- readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
511
+ readonly kind: "tool";
512
+ readonly tool_name: string;
498
513
  readonly input?: import("effect/Schema").Json;
514
+ } | {
515
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
516
+ readonly kind: "cancellation";
517
+ readonly operation: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
518
+ readonly on_cancel?: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
519
+ } | {
520
+ readonly id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
521
+ readonly kind: "child";
522
+ readonly address_id: string & import("effect/Brand").Brand<"Relay.AddressId">;
499
523
  readonly preset_name?: string;
500
- } | import("effect/Schema").Struct.ReadonlySide<{
501
- readonly kind: import("effect/Schema").Literal<"parallel">;
502
- readonly fan_out_key: import("effect/Schema").String;
503
- readonly operations: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
504
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
505
- }>;
506
- readonly max_concurrency: import("effect/Schema").Int;
507
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
508
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
509
- };
510
- }, "Type"> | import("effect/Schema").Struct.ReadonlySide<{
511
- readonly kind: import("effect/Schema").Literal<"join">;
512
- readonly parallel_operation: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
513
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
514
- };
515
- readonly members: import("effect/Schema").$Array<import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
516
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
517
- }>;
518
- readonly policy: import("effect/Schema").Union<readonly [import("effect/Schema").TaggedStruct<"all", {}>, import("effect/Schema").TaggedStruct<"first-success", {}>, import("effect/Schema").TaggedStruct<"quorum", {
519
- readonly count: import("effect/Schema").Int;
520
- }>, import("effect/Schema").TaggedStruct<"best-effort", {}>]>;
521
- readonly id: import("effect/Schema").brand<import("effect/Schema").String, "Relay.WorkflowOperationId"> & {
522
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
523
- };
524
- }, "Type">)[];
525
- readonly entry_operation_id: string & import("effect/Brand").Brand<"Relay.WorkflowOperationId">;
524
+ readonly input?: import("effect/Schema").Json;
525
+ })[];
526
526
  readonly metadata?: {
527
527
  readonly [x: string]: import("effect/Schema").Json;
528
528
  };
@@ -553,7 +553,7 @@ export declare const relayWorkflowDefinitionRevisions: import("drizzle-orm/pg-co
553
553
  generated: undefined;
554
554
  }>;
555
555
  };
556
- dialect: "pg";
556
+ dialect: 'pg';
557
557
  }>;
558
558
  export declare const relayWorkflowRuns: import("drizzle-orm/pg-core").PgTableWithColumns<{
559
559
  name: "relay_workflow_runs";
@@ -634,11 +634,11 @@ export declare const relayWorkflowRuns: import("drizzle-orm/pg-core").PgTableWit
634
634
  identity: undefined;
635
635
  generated: undefined;
636
636
  }>;
637
- status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "running" | "completed" | "failed" | "cancelled">>, {
637
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workflow_runs", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "completed" | "failed" | "running">>, {
638
638
  name: string;
639
639
  tableName: "relay_workflow_runs";
640
640
  dataType: "string";
641
- data: "running" | "completed" | "failed" | "cancelled";
641
+ data: "cancelled" | "completed" | "failed" | "running";
642
642
  driverParam: string;
643
643
  notNull: true;
644
644
  hasDefault: false;
@@ -680,7 +680,7 @@ export declare const relayWorkflowRuns: import("drizzle-orm/pg-core").PgTableWit
680
680
  generated: undefined;
681
681
  }>;
682
682
  };
683
- dialect: "pg";
683
+ dialect: 'pg';
684
684
  }>;
685
685
  export declare const relayWorkflowOperationStates: import("drizzle-orm/pg-core").PgTableWithColumns<{
686
686
  name: "relay_workflow_operation_states";
@@ -882,7 +882,7 @@ export declare const relayWorkflowOperationStates: import("drizzle-orm/pg-core")
882
882
  generated: undefined;
883
883
  }>;
884
884
  };
885
- dialect: "pg";
885
+ dialect: 'pg';
886
886
  }>;
887
887
  export declare const relayWorkflowLifecycleEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
888
888
  name: "relay_workflow_lifecycle_events";
@@ -994,7 +994,7 @@ export declare const relayWorkflowLifecycleEvents: import("drizzle-orm/pg-core")
994
994
  generated: undefined;
995
995
  }>;
996
996
  };
997
- dialect: "pg";
997
+ dialect: 'pg';
998
998
  }>;
999
999
  export declare const relayEntityKinds: import("drizzle-orm/pg-core").PgTableWithColumns<{
1000
1000
  name: "relay_entity_kinds";
@@ -1146,7 +1146,7 @@ export declare const relayEntityKinds: import("drizzle-orm/pg-core").PgTableWith
1146
1146
  generated: undefined;
1147
1147
  }>;
1148
1148
  };
1149
- dialect: "pg";
1149
+ dialect: 'pg';
1150
1150
  }>;
1151
1151
  export declare const relayEntityInstances: import("drizzle-orm/pg-core").PgTableWithColumns<{
1152
1152
  name: "relay_entity_instances";
@@ -1288,7 +1288,7 @@ export declare const relayEntityInstances: import("drizzle-orm/pg-core").PgTable
1288
1288
  generated: undefined;
1289
1289
  }>;
1290
1290
  };
1291
- dialect: "pg";
1291
+ dialect: 'pg';
1292
1292
  }>;
1293
1293
  export declare const relayAddressBookEntries: import("drizzle-orm/pg-core").PgTableWithColumns<{
1294
1294
  name: "relay_address_book_entries";
@@ -1419,7 +1419,7 @@ export declare const relayAddressBookEntries: import("drizzle-orm/pg-core").PgTa
1419
1419
  generated: undefined;
1420
1420
  }>;
1421
1421
  };
1422
- dialect: "pg";
1422
+ dialect: 'pg';
1423
1423
  }>;
1424
1424
  export declare const relayAgentDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
1425
1425
  name: "relay_agent_definitions";
@@ -1546,7 +1546,7 @@ export declare const relayAgentDefinitions: import("drizzle-orm/pg-core").PgTabl
1546
1546
  generated: undefined;
1547
1547
  }>;
1548
1548
  };
1549
- dialect: "pg";
1549
+ dialect: 'pg';
1550
1550
  }>;
1551
1551
  export declare const relayAgentDefinitionRevisions: import("drizzle-orm/pg-core").PgTableWithColumns<{
1552
1552
  name: "relay_agent_revisions";
@@ -1658,7 +1658,7 @@ export declare const relayAgentDefinitionRevisions: import("drizzle-orm/pg-core"
1658
1658
  generated: undefined;
1659
1659
  }>;
1660
1660
  };
1661
- dialect: "pg";
1661
+ dialect: 'pg';
1662
1662
  }>;
1663
1663
  export declare const relaySkillDefinitions: import("drizzle-orm/pg-core").PgTableWithColumns<{
1664
1664
  name: "relay_skill_definitions";
@@ -1770,7 +1770,7 @@ export declare const relaySkillDefinitions: import("drizzle-orm/pg-core").PgTabl
1770
1770
  generated: undefined;
1771
1771
  }>;
1772
1772
  };
1773
- dialect: "pg";
1773
+ dialect: 'pg';
1774
1774
  }>;
1775
1775
  export declare const relaySkillDefinitionRevisions: import("drizzle-orm/pg-core").PgTableWithColumns<{
1776
1776
  name: "relay_skill_definition_revisions";
@@ -1867,7 +1867,7 @@ export declare const relaySkillDefinitionRevisions: import("drizzle-orm/pg-core"
1867
1867
  generated: undefined;
1868
1868
  }>;
1869
1869
  };
1870
- dialect: "pg";
1870
+ dialect: 'pg';
1871
1871
  }>;
1872
1872
  export declare const relayExecutionSkillPins: import("drizzle-orm/pg-core").PgTableWithColumns<{
1873
1873
  name: "relay_execution_skill_pins";
@@ -1964,7 +1964,7 @@ export declare const relayExecutionSkillPins: import("drizzle-orm/pg-core").PgTa
1964
1964
  generated: undefined;
1965
1965
  }>;
1966
1966
  };
1967
- dialect: "pg";
1967
+ dialect: 'pg';
1968
1968
  }>;
1969
1969
  export declare const relayAgentChats: import("drizzle-orm/pg-core").PgTableWithColumns<{
1970
1970
  name: "relay_agent_chats";
@@ -2031,7 +2031,7 @@ export declare const relayAgentChats: import("drizzle-orm/pg-core").PgTableWithC
2031
2031
  generated: undefined;
2032
2032
  }>;
2033
2033
  };
2034
- dialect: "pg";
2034
+ dialect: 'pg';
2035
2035
  }>;
2036
2036
  export declare const relayExecutionState: import("drizzle-orm/pg-core").PgTableWithColumns<{
2037
2037
  name: "relay_execution_state";
@@ -2143,7 +2143,7 @@ export declare const relayExecutionState: import("drizzle-orm/pg-core").PgTableW
2143
2143
  generated: undefined;
2144
2144
  }>;
2145
2145
  };
2146
- dialect: "pg";
2146
+ dialect: 'pg';
2147
2147
  }>;
2148
2148
  export declare const relayExecutionStateOps: import("drizzle-orm/pg-core").PgTableWithColumns<{
2149
2149
  name: "relay_execution_state_ops";
@@ -2315,7 +2315,7 @@ export declare const relayExecutionStateOps: import("drizzle-orm/pg-core").PgTab
2315
2315
  generated: undefined;
2316
2316
  }>;
2317
2317
  };
2318
- dialect: "pg";
2318
+ dialect: 'pg';
2319
2319
  }>;
2320
2320
  export declare const relayAgentCompactions: import("drizzle-orm/pg-core").PgTableWithColumns<{
2321
2321
  name: "relay_agent_compactions";
@@ -2427,7 +2427,7 @@ export declare const relayAgentCompactions: import("drizzle-orm/pg-core").PgTabl
2427
2427
  generated: undefined;
2428
2428
  }>;
2429
2429
  };
2430
- dialect: "pg";
2430
+ dialect: 'pg';
2431
2431
  }>;
2432
2432
  export declare const relayMemoryRecords: import("drizzle-orm/pg-core").PgTableWithColumns<{
2433
2433
  name: "relay_memory_records";
@@ -2558,7 +2558,7 @@ export declare const relayMemoryRecords: import("drizzle-orm/pg-core").PgTableWi
2558
2558
  generated: undefined;
2559
2559
  }>;
2560
2560
  };
2561
- dialect: "pg";
2561
+ dialect: 'pg';
2562
2562
  }>;
2563
2563
  export declare const relayPermissionRules: import("drizzle-orm/pg-core").PgTableWithColumns<{
2564
2564
  name: "relay_permission_rules";
@@ -2655,7 +2655,7 @@ export declare const relayPermissionRules: import("drizzle-orm/pg-core").PgTable
2655
2655
  generated: undefined;
2656
2656
  }>;
2657
2657
  };
2658
- dialect: "pg";
2658
+ dialect: 'pg';
2659
2659
  }>;
2660
2660
  export declare const relaySteeringMessages: import("drizzle-orm/pg-core").PgTableWithColumns<{
2661
2661
  name: "relay_steering_messages";
@@ -2782,7 +2782,7 @@ export declare const relaySteeringMessages: import("drizzle-orm/pg-core").PgTabl
2782
2782
  generated: undefined;
2783
2783
  }>;
2784
2784
  };
2785
- dialect: "pg";
2785
+ dialect: 'pg';
2786
2786
  }>;
2787
2787
  export declare const relaySteeringDrains: import("drizzle-orm/pg-core").PgTableWithColumns<{
2788
2788
  name: "relay_steering_drains";
@@ -2879,7 +2879,7 @@ export declare const relaySteeringDrains: import("drizzle-orm/pg-core").PgTableW
2879
2879
  generated: undefined;
2880
2880
  }>;
2881
2881
  };
2882
- dialect: "pg";
2882
+ dialect: 'pg';
2883
2883
  }>;
2884
2884
  export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWithColumns<{
2885
2885
  name: "relay_inbox_messages";
@@ -2963,43 +2963,43 @@ export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWi
2963
2963
  contentJson: import("drizzle-orm/pg-core").PgBuildColumn<"relay_inbox_messages", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgJsonbBuilder, readonly ({
2964
2964
  readonly type: "text";
2965
2965
  readonly text: string;
2966
- readonly metadata?: {
2966
+ readonly provider_options?: {
2967
2967
  readonly [x: string]: import("effect/Schema").Json;
2968
2968
  };
2969
- readonly provider_options?: {
2969
+ readonly metadata?: {
2970
2970
  readonly [x: string]: import("effect/Schema").Json;
2971
2971
  };
2972
2972
  } | {
2973
- readonly value: import("effect/Schema").Json;
2974
2973
  readonly type: "structured";
2975
- readonly metadata?: {
2974
+ readonly value: import("effect/Schema").Json;
2975
+ readonly schema_ref?: string;
2976
+ readonly provider_options?: {
2976
2977
  readonly [x: string]: import("effect/Schema").Json;
2977
2978
  };
2978
- readonly provider_options?: {
2979
+ readonly metadata?: {
2979
2980
  readonly [x: string]: import("effect/Schema").Json;
2980
2981
  };
2981
- readonly schema_ref?: string;
2982
2982
  } | {
2983
2983
  readonly type: "blob-reference";
2984
2984
  readonly uri: string;
2985
2985
  readonly media_type: string;
2986
- readonly metadata?: {
2986
+ readonly filename?: string;
2987
+ readonly provider_options?: {
2987
2988
  readonly [x: string]: import("effect/Schema").Json;
2988
2989
  };
2989
- readonly provider_options?: {
2990
+ readonly metadata?: {
2990
2991
  readonly [x: string]: import("effect/Schema").Json;
2991
2992
  };
2992
- readonly filename?: string;
2993
2993
  } | {
2994
2994
  readonly type: "artifact-reference";
2995
2995
  readonly artifact_id: string;
2996
- readonly metadata?: {
2996
+ readonly media_type?: string;
2997
+ readonly provider_options?: {
2997
2998
  readonly [x: string]: import("effect/Schema").Json;
2998
2999
  };
2999
- readonly provider_options?: {
3000
+ readonly metadata?: {
3000
3001
  readonly [x: string]: import("effect/Schema").Json;
3001
3002
  };
3002
- readonly media_type?: string;
3003
3003
  } | {
3004
3004
  readonly type: "tool-call";
3005
3005
  readonly call: {
@@ -3010,26 +3010,26 @@ export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWi
3010
3010
  readonly [x: string]: import("effect/Schema").Json;
3011
3011
  };
3012
3012
  };
3013
- readonly metadata?: {
3013
+ readonly provider_options?: {
3014
3014
  readonly [x: string]: import("effect/Schema").Json;
3015
3015
  };
3016
- readonly provider_options?: {
3016
+ readonly metadata?: {
3017
3017
  readonly [x: string]: import("effect/Schema").Json;
3018
3018
  };
3019
3019
  } | {
3020
3020
  readonly type: "tool-result";
3021
3021
  readonly result: {
3022
- readonly output: import("effect/Schema").Json;
3023
3022
  readonly call_id: string & import("effect/Brand").Brand<"Relay.ToolCallId">;
3023
+ readonly output: import("effect/Schema").Json;
3024
+ readonly error?: string;
3024
3025
  readonly metadata?: {
3025
3026
  readonly [x: string]: import("effect/Schema").Json;
3026
3027
  };
3027
- readonly error?: string;
3028
3028
  };
3029
- readonly metadata?: {
3029
+ readonly provider_options?: {
3030
3030
  readonly [x: string]: import("effect/Schema").Json;
3031
3031
  };
3032
- readonly provider_options?: {
3032
+ readonly metadata?: {
3033
3033
  readonly [x: string]: import("effect/Schema").Json;
3034
3034
  };
3035
3035
  })[]>>, {
@@ -3039,43 +3039,43 @@ export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWi
3039
3039
  data: readonly ({
3040
3040
  readonly type: "text";
3041
3041
  readonly text: string;
3042
- readonly metadata?: {
3042
+ readonly provider_options?: {
3043
3043
  readonly [x: string]: import("effect/Schema").Json;
3044
3044
  };
3045
- readonly provider_options?: {
3045
+ readonly metadata?: {
3046
3046
  readonly [x: string]: import("effect/Schema").Json;
3047
3047
  };
3048
3048
  } | {
3049
- readonly value: import("effect/Schema").Json;
3050
3049
  readonly type: "structured";
3051
- readonly metadata?: {
3050
+ readonly value: import("effect/Schema").Json;
3051
+ readonly schema_ref?: string;
3052
+ readonly provider_options?: {
3052
3053
  readonly [x: string]: import("effect/Schema").Json;
3053
3054
  };
3054
- readonly provider_options?: {
3055
+ readonly metadata?: {
3055
3056
  readonly [x: string]: import("effect/Schema").Json;
3056
3057
  };
3057
- readonly schema_ref?: string;
3058
3058
  } | {
3059
3059
  readonly type: "blob-reference";
3060
3060
  readonly uri: string;
3061
3061
  readonly media_type: string;
3062
- readonly metadata?: {
3062
+ readonly filename?: string;
3063
+ readonly provider_options?: {
3063
3064
  readonly [x: string]: import("effect/Schema").Json;
3064
3065
  };
3065
- readonly provider_options?: {
3066
+ readonly metadata?: {
3066
3067
  readonly [x: string]: import("effect/Schema").Json;
3067
3068
  };
3068
- readonly filename?: string;
3069
3069
  } | {
3070
3070
  readonly type: "artifact-reference";
3071
3071
  readonly artifact_id: string;
3072
- readonly metadata?: {
3072
+ readonly media_type?: string;
3073
+ readonly provider_options?: {
3073
3074
  readonly [x: string]: import("effect/Schema").Json;
3074
3075
  };
3075
- readonly provider_options?: {
3076
+ readonly metadata?: {
3076
3077
  readonly [x: string]: import("effect/Schema").Json;
3077
3078
  };
3078
- readonly media_type?: string;
3079
3079
  } | {
3080
3080
  readonly type: "tool-call";
3081
3081
  readonly call: {
@@ -3086,26 +3086,26 @@ export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWi
3086
3086
  readonly [x: string]: import("effect/Schema").Json;
3087
3087
  };
3088
3088
  };
3089
- readonly metadata?: {
3089
+ readonly provider_options?: {
3090
3090
  readonly [x: string]: import("effect/Schema").Json;
3091
3091
  };
3092
- readonly provider_options?: {
3092
+ readonly metadata?: {
3093
3093
  readonly [x: string]: import("effect/Schema").Json;
3094
3094
  };
3095
3095
  } | {
3096
3096
  readonly type: "tool-result";
3097
3097
  readonly result: {
3098
- readonly output: import("effect/Schema").Json;
3099
3098
  readonly call_id: string & import("effect/Brand").Brand<"Relay.ToolCallId">;
3099
+ readonly output: import("effect/Schema").Json;
3100
+ readonly error?: string;
3100
3101
  readonly metadata?: {
3101
3102
  readonly [x: string]: import("effect/Schema").Json;
3102
3103
  };
3103
- readonly error?: string;
3104
3104
  };
3105
- readonly metadata?: {
3105
+ readonly provider_options?: {
3106
3106
  readonly [x: string]: import("effect/Schema").Json;
3107
3107
  };
3108
- readonly provider_options?: {
3108
+ readonly metadata?: {
3109
3109
  readonly [x: string]: import("effect/Schema").Json;
3110
3110
  };
3111
3111
  })[];
@@ -3229,7 +3229,7 @@ export declare const relayInboxMessages: import("drizzle-orm/pg-core").PgTableWi
3229
3229
  generated: undefined;
3230
3230
  }>;
3231
3231
  };
3232
- dialect: "pg";
3232
+ dialect: 'pg';
3233
3233
  }>;
3234
3234
  export declare const relayInboxDrains: import("drizzle-orm/pg-core").PgTableWithColumns<{
3235
3235
  name: "relay_inbox_drains";
@@ -3311,7 +3311,7 @@ export declare const relayInboxDrains: import("drizzle-orm/pg-core").PgTableWith
3311
3311
  generated: undefined;
3312
3312
  }>;
3313
3313
  };
3314
- dialect: "pg";
3314
+ dialect: 'pg';
3315
3315
  }>;
3316
3316
  export declare const relayTopicSubscriptions: import("drizzle-orm/pg-core").PgTableWithColumns<{
3317
3317
  name: "relay_topic_subscriptions";
@@ -3397,7 +3397,7 @@ export declare const relayTopicSubscriptions: import("drizzle-orm/pg-core").PgTa
3397
3397
  generated: undefined;
3398
3398
  }>;
3399
3399
  };
3400
- dialect: "pg";
3400
+ dialect: 'pg';
3401
3401
  }>;
3402
3402
  export declare const relaySessions: import("drizzle-orm/pg-core").PgTableWithColumns<{
3403
3403
  name: "relay_sessions";
@@ -3513,7 +3513,7 @@ export declare const relaySessions: import("drizzle-orm/pg-core").PgTableWithCol
3513
3513
  generated: undefined;
3514
3514
  }>;
3515
3515
  };
3516
- dialect: "pg";
3516
+ dialect: 'pg';
3517
3517
  }>;
3518
3518
  export declare const relaySessionEntries: import("drizzle-orm/pg-core").PgTableWithColumns<{
3519
3519
  name: "relay_session_entries";
@@ -3625,7 +3625,7 @@ export declare const relaySessionEntries: import("drizzle-orm/pg-core").PgTableW
3625
3625
  generated: undefined;
3626
3626
  }>;
3627
3627
  };
3628
- dialect: "pg";
3628
+ dialect: 'pg';
3629
3629
  }>;
3630
3630
  export declare const relayExecutionContextEpochs: import("drizzle-orm/pg-core").PgTableWithColumns<{
3631
3631
  name: "relay_execution_context_epochs";
@@ -3707,7 +3707,7 @@ export declare const relayExecutionContextEpochs: import("drizzle-orm/pg-core").
3707
3707
  generated: undefined;
3708
3708
  }>;
3709
3709
  };
3710
- dialect: "pg";
3710
+ dialect: 'pg';
3711
3711
  }>;
3712
3712
  export declare const relayExecutions: import("drizzle-orm/pg-core").PgTableWithColumns<{
3713
3713
  name: "relay_executions";
@@ -3773,11 +3773,11 @@ export declare const relayExecutions: import("drizzle-orm/pg-core").PgTableWithC
3773
3773
  identity: undefined;
3774
3774
  generated: undefined;
3775
3775
  }>;
3776
- status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_executions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "waiting" | "running" | "completed" | "failed" | "queued" | "cancelled">>, {
3776
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_executions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "completed" | "failed" | "queued" | "running" | "waiting">>, {
3777
3777
  name: string;
3778
3778
  tableName: "relay_executions";
3779
3779
  dataType: "string";
3780
- data: "waiting" | "running" | "completed" | "failed" | "queued" | "cancelled";
3780
+ data: "cancelled" | "completed" | "failed" | "queued" | "running" | "waiting";
3781
3781
  driverParam: string;
3782
3782
  notNull: true;
3783
3783
  hasDefault: false;
@@ -3898,7 +3898,7 @@ export declare const relayExecutions: import("drizzle-orm/pg-core").PgTableWithC
3898
3898
  generated: undefined;
3899
3899
  }>;
3900
3900
  };
3901
- dialect: "pg";
3901
+ dialect: 'pg';
3902
3902
  }>;
3903
3903
  export declare const relayChildExecutions: import("drizzle-orm/pg-core").PgTableWithColumns<{
3904
3904
  name: "relay_child_executions";
@@ -3964,11 +3964,11 @@ export declare const relayChildExecutions: import("drizzle-orm/pg-core").PgTable
3964
3964
  identity: undefined;
3965
3965
  generated: undefined;
3966
3966
  }>;
3967
- status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_executions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "waiting" | "running" | "completed" | "failed" | "queued" | "cancelled">>, {
3967
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_executions", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "completed" | "failed" | "queued" | "running" | "waiting">>, {
3968
3968
  name: string;
3969
3969
  tableName: "relay_child_executions";
3970
3970
  dataType: "string";
3971
- data: "waiting" | "running" | "completed" | "failed" | "queued" | "cancelled";
3971
+ data: "cancelled" | "completed" | "failed" | "queued" | "running" | "waiting";
3972
3972
  driverParam: string;
3973
3973
  notNull: true;
3974
3974
  hasDefault: false;
@@ -4029,7 +4029,7 @@ export declare const relayChildExecutions: import("drizzle-orm/pg-core").PgTable
4029
4029
  generated: undefined;
4030
4030
  }>;
4031
4031
  };
4032
- dialect: "pg";
4032
+ dialect: 'pg';
4033
4033
  }>;
4034
4034
  export declare const relayChildFanOuts: import("drizzle-orm/pg-core").PgTableWithColumns<{
4035
4035
  name: "relay_child_fan_outs";
@@ -4095,11 +4095,11 @@ export declare const relayChildFanOuts: import("drizzle-orm/pg-core").PgTableWit
4095
4095
  identity: undefined;
4096
4096
  generated: undefined;
4097
4097
  }>;
4098
- state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_fan_outs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "failed" | "cancelled" | "joining" | "satisfied">>>, {
4098
+ state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_fan_outs", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "failed" | "joining" | "satisfied">>>, {
4099
4099
  name: string;
4100
4100
  tableName: "relay_child_fan_outs";
4101
4101
  dataType: "string";
4102
- data: "failed" | "cancelled" | "joining" | "satisfied";
4102
+ data: "cancelled" | "failed" | "joining" | "satisfied";
4103
4103
  driverParam: string;
4104
4104
  notNull: true;
4105
4105
  hasDefault: true;
@@ -4171,7 +4171,7 @@ export declare const relayChildFanOuts: import("drizzle-orm/pg-core").PgTableWit
4171
4171
  generated: undefined;
4172
4172
  }>;
4173
4173
  };
4174
- dialect: "pg";
4174
+ dialect: 'pg';
4175
4175
  }>;
4176
4176
  export declare const relayChildFanOutMembers: import("drizzle-orm/pg-core").PgTableWithColumns<{
4177
4177
  name: "relay_child_fan_out_members";
@@ -4237,11 +4237,11 @@ export declare const relayChildFanOutMembers: import("drizzle-orm/pg-core").PgTa
4237
4237
  identity: undefined;
4238
4238
  generated: undefined;
4239
4239
  }>;
4240
- state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_fan_out_members", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "running" | "completed" | "failed" | "queued" | "cancelled">>>, {
4240
+ state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_child_fan_out_members", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "cancelled" | "completed" | "failed" | "queued" | "running">>>, {
4241
4241
  name: string;
4242
4242
  tableName: "relay_child_fan_out_members";
4243
4243
  dataType: "string";
4244
- data: "running" | "completed" | "failed" | "queued" | "cancelled";
4244
+ data: "cancelled" | "completed" | "failed" | "queued" | "running";
4245
4245
  driverParam: string;
4246
4246
  notNull: true;
4247
4247
  hasDefault: true;
@@ -4298,7 +4298,7 @@ export declare const relayChildFanOutMembers: import("drizzle-orm/pg-core").PgTa
4298
4298
  generated: undefined;
4299
4299
  }>;
4300
4300
  };
4301
- dialect: "pg";
4301
+ dialect: 'pg';
4302
4302
  }>;
4303
4303
  export declare const relayEnvelopes: import("drizzle-orm/pg-core").PgTableWithColumns<{
4304
4304
  name: "relay_envelopes";
@@ -4459,7 +4459,7 @@ export declare const relayEnvelopes: import("drizzle-orm/pg-core").PgTableWithCo
4459
4459
  generated: undefined;
4460
4460
  }>;
4461
4461
  };
4462
- dialect: "pg";
4462
+ dialect: 'pg';
4463
4463
  }>;
4464
4464
  export declare const relayWaits: import("drizzle-orm/pg-core").PgTableWithColumns<{
4465
4465
  name: "relay_waits";
@@ -4525,11 +4525,11 @@ export declare const relayWaits: import("drizzle-orm/pg-core").PgTableWithColumn
4525
4525
  identity: undefined;
4526
4526
  generated: undefined;
4527
4527
  }>;
4528
- mode: import("drizzle-orm/pg-core").PgBuildColumn<"relay_waits", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "reply" | "event" | "until" | "child">>, {
4528
+ mode: import("drizzle-orm/pg-core").PgBuildColumn<"relay_waits", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "child" | "event" | "reply" | "until">>, {
4529
4529
  name: string;
4530
4530
  tableName: "relay_waits";
4531
4531
  dataType: "string";
4532
- data: "reply" | "event" | "until" | "child";
4532
+ data: "child" | "event" | "reply" | "until";
4533
4533
  driverParam: string;
4534
4534
  notNull: true;
4535
4535
  hasDefault: false;
@@ -4620,7 +4620,7 @@ export declare const relayWaits: import("drizzle-orm/pg-core").PgTableWithColumn
4620
4620
  generated: undefined;
4621
4621
  }>;
4622
4622
  };
4623
- dialect: "pg";
4623
+ dialect: 'pg';
4624
4624
  }>;
4625
4625
  export declare const relayWorkspaceLeases: import("drizzle-orm/pg-core").PgTableWithColumns<{
4626
4626
  name: "relay_workspace_leases";
@@ -4716,11 +4716,11 @@ export declare const relayWorkspaceLeases: import("drizzle-orm/pg-core").PgTable
4716
4716
  identity: undefined;
4717
4717
  generated: undefined;
4718
4718
  }>;
4719
- status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workspace_leases", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "running" | "failed" | "released" | "planned" | "suspended" | "snapshotted" | "archived">>, {
4719
+ status: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workspace_leases", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "archived" | "failed" | "planned" | "released" | "running" | "snapshotted" | "suspended">>, {
4720
4720
  name: string;
4721
4721
  tableName: "relay_workspace_leases";
4722
4722
  dataType: "string";
4723
- data: "running" | "failed" | "released" | "planned" | "suspended" | "snapshotted" | "archived";
4723
+ data: "archived" | "failed" | "planned" | "released" | "running" | "snapshotted" | "suspended";
4724
4724
  driverParam: string;
4725
4725
  notNull: true;
4726
4726
  hasDefault: false;
@@ -4826,7 +4826,7 @@ export declare const relayWorkspaceLeases: import("drizzle-orm/pg-core").PgTable
4826
4826
  generated: undefined;
4827
4827
  }>;
4828
4828
  };
4829
- dialect: "pg";
4829
+ dialect: 'pg';
4830
4830
  }>;
4831
4831
  export declare const relayWorkspaceSnapshots: import("drizzle-orm/pg-core").PgTableWithColumns<{
4832
4832
  name: "relay_workspace_snapshots";
@@ -4892,11 +4892,11 @@ export declare const relayWorkspaceSnapshots: import("drizzle-orm/pg-core").PgTa
4892
4892
  identity: undefined;
4893
4893
  generated: undefined;
4894
4894
  }>;
4895
- reason: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workspace_snapshots", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "before_wait" | "before_child_fork" | "on_complete" | "on_failure" | "manual">>, {
4895
+ reason: import("drizzle-orm/pg-core").PgBuildColumn<"relay_workspace_snapshots", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "before_child_fork" | "before_wait" | "manual" | "on_complete" | "on_failure">>, {
4896
4896
  name: string;
4897
4897
  tableName: "relay_workspace_snapshots";
4898
4898
  dataType: "string";
4899
- data: "before_wait" | "before_child_fork" | "on_complete" | "on_failure" | "manual";
4899
+ data: "before_child_fork" | "before_wait" | "manual" | "on_complete" | "on_failure";
4900
4900
  driverParam: string;
4901
4901
  notNull: true;
4902
4902
  hasDefault: false;
@@ -4957,7 +4957,7 @@ export declare const relayWorkspaceSnapshots: import("drizzle-orm/pg-core").PgTa
4957
4957
  generated: undefined;
4958
4958
  }>;
4959
4959
  };
4960
- dialect: "pg";
4960
+ dialect: 'pg';
4961
4961
  }>;
4962
4962
  export declare const relayEnvelopeReady: import("drizzle-orm/pg-core").PgTableWithColumns<{
4963
4963
  name: "relay_envelope_ready";
@@ -5223,7 +5223,7 @@ export declare const relayEnvelopeReady: import("drizzle-orm/pg-core").PgTableWi
5223
5223
  generated: undefined;
5224
5224
  }>;
5225
5225
  };
5226
- dialect: "pg";
5226
+ dialect: 'pg';
5227
5227
  }>;
5228
5228
  export declare const relaySchedules: import("drizzle-orm/pg-core").PgTableWithColumns<{
5229
5229
  name: "relay_schedules";
@@ -5504,7 +5504,7 @@ export declare const relaySchedules: import("drizzle-orm/pg-core").PgTableWithCo
5504
5504
  generated: undefined;
5505
5505
  }>;
5506
5506
  };
5507
- dialect: "pg";
5507
+ dialect: 'pg';
5508
5508
  }>;
5509
5509
  export declare const relayExecutionEvents: import("drizzle-orm/pg-core").PgTableWithColumns<{
5510
5510
  name: "relay_execution_events";
@@ -5665,7 +5665,7 @@ export declare const relayExecutionEvents: import("drizzle-orm/pg-core").PgTable
5665
5665
  generated: undefined;
5666
5666
  }>;
5667
5667
  };
5668
- dialect: "pg";
5668
+ dialect: 'pg';
5669
5669
  }>;
5670
5670
  export declare const relayPresence: import("drizzle-orm/pg-core").PgTableWithColumns<{
5671
5671
  name: "relay_presence";
@@ -5781,7 +5781,7 @@ export declare const relayPresence: import("drizzle-orm/pg-core").PgTableWithCol
5781
5781
  generated: undefined;
5782
5782
  }>;
5783
5783
  };
5784
- dialect: "pg";
5784
+ dialect: 'pg';
5785
5785
  }>;
5786
5786
  export declare const relayToolCalls: import("drizzle-orm/pg-core").PgTableWithColumns<{
5787
5787
  name: "relay_tool_calls";
@@ -5877,11 +5877,11 @@ export declare const relayToolCalls: import("drizzle-orm/pg-core").PgTableWithCo
5877
5877
  identity: undefined;
5878
5878
  generated: undefined;
5879
5879
  }>;
5880
- placementKind: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_calls", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "local" | "client" | "remote" | "mcp">>>, {
5880
+ placementKind: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_calls", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "client" | "local" | "mcp" | "remote">>>, {
5881
5881
  name: string;
5882
5882
  tableName: "relay_tool_calls";
5883
5883
  dataType: "string";
5884
- data: "local" | "client" | "remote" | "mcp";
5884
+ data: "client" | "local" | "mcp" | "remote";
5885
5885
  driverParam: string;
5886
5886
  notNull: true;
5887
5887
  hasDefault: true;
@@ -5907,11 +5907,11 @@ export declare const relayToolCalls: import("drizzle-orm/pg-core").PgTableWithCo
5907
5907
  identity: undefined;
5908
5908
  generated: undefined;
5909
5909
  }>;
5910
- state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_calls", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "requested" | "waiting" | "running" | "submitted" | "completed" | "failed">>>, {
5910
+ state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_calls", import("drizzle-orm/pg-core").SetHasDefault<import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "completed" | "failed" | "requested" | "running" | "submitted" | "waiting">>>, {
5911
5911
  name: string;
5912
5912
  tableName: "relay_tool_calls";
5913
5913
  dataType: "string";
5914
- data: "requested" | "waiting" | "running" | "submitted" | "completed" | "failed";
5914
+ data: "completed" | "failed" | "requested" | "running" | "submitted" | "waiting";
5915
5915
  driverParam: string;
5916
5916
  notNull: true;
5917
5917
  hasDefault: true;
@@ -6119,7 +6119,7 @@ export declare const relayToolCalls: import("drizzle-orm/pg-core").PgTableWithCo
6119
6119
  generated: undefined;
6120
6120
  }>;
6121
6121
  };
6122
- dialect: "pg";
6122
+ dialect: 'pg';
6123
6123
  }>;
6124
6124
  export declare const relayToolAttempts: import("drizzle-orm/pg-core").PgTableWithColumns<{
6125
6125
  name: "relay_tool_attempts";
@@ -6185,11 +6185,11 @@ export declare const relayToolAttempts: import("drizzle-orm/pg-core").PgTableWit
6185
6185
  identity: undefined;
6186
6186
  generated: undefined;
6187
6187
  }>;
6188
- state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_attempts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "running" | "completed" | "failed" | "released" | "expired" | "abandoned">>, {
6188
+ state: import("drizzle-orm/pg-core").PgBuildColumn<"relay_tool_attempts", import("drizzle-orm/pg-core").SetNotNull<import("drizzle-orm/pg-core").Set$Type<import("drizzle-orm/pg-core").PgTextBuilder<[string, ...string[]]>, "abandoned" | "completed" | "expired" | "failed" | "released" | "running">>, {
6189
6189
  name: string;
6190
6190
  tableName: "relay_tool_attempts";
6191
6191
  dataType: "string";
6192
- data: "running" | "completed" | "failed" | "released" | "expired" | "abandoned";
6192
+ data: "abandoned" | "completed" | "expired" | "failed" | "released" | "running";
6193
6193
  driverParam: string;
6194
6194
  notNull: true;
6195
6195
  hasDefault: false;
@@ -6276,7 +6276,7 @@ export declare const relayToolAttempts: import("drizzle-orm/pg-core").PgTableWit
6276
6276
  generated: undefined;
6277
6277
  }>;
6278
6278
  };
6279
- dialect: "pg";
6279
+ dialect: 'pg';
6280
6280
  }>;
6281
6281
  export declare const relayToolResults: import("drizzle-orm/pg-core").PgTableWithColumns<{
6282
6282
  name: "relay_tool_results";
@@ -6377,7 +6377,7 @@ export declare const relayToolResults: import("drizzle-orm/pg-core").PgTableWith
6377
6377
  generated: undefined;
6378
6378
  }>;
6379
6379
  };
6380
- dialect: "pg";
6380
+ dialect: 'pg';
6381
6381
  }>;
6382
6382
  export declare const relayRouteAttempts: import("drizzle-orm/pg-core").PgTableWithColumns<{
6383
6383
  name: "relay_route_attempts";
@@ -6489,7 +6489,7 @@ export declare const relayRouteAttempts: import("drizzle-orm/pg-core").PgTableWi
6489
6489
  generated: undefined;
6490
6490
  }>;
6491
6491
  };
6492
- dialect: "pg";
6492
+ dialect: 'pg';
6493
6493
  }>;
6494
6494
  export declare const relayIdempotencyKeys: import("drizzle-orm/pg-core").PgTableWithColumns<{
6495
6495
  name: "relay_idempotency_keys";
@@ -6650,5 +6650,5 @@ export declare const relayIdempotencyKeys: import("drizzle-orm/pg-core").PgTable
6650
6650
  generated: undefined;
6651
6651
  }>;
6652
6652
  };
6653
- dialect: "pg";
6653
+ dialect: 'pg';
6654
6654
  }>;