@relayfx/sdk 0.0.48 → 0.0.49

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 (34) hide show
  1. package/dist/ai.js +2050 -576
  2. package/dist/index.js +2879 -859
  3. package/dist/migrations/20260709214238_faithful_black_widow/migration.sql +53 -0
  4. package/dist/migrations/20260709214238_faithful_black_widow/snapshot.json +5426 -0
  5. package/dist/migrations/20260709220016_fearless_aaron_stack/migration.sql +2 -0
  6. package/dist/migrations/20260709220016_fearless_aaron_stack/snapshot.json +5426 -0
  7. package/dist/migrations/mysql/0002_durable_tool_placement.sql +75 -0
  8. package/dist/migrations/pg/20260709214238_faithful_black_widow/migration.sql +53 -0
  9. package/dist/migrations/pg/20260709214238_faithful_black_widow/snapshot.json +5426 -0
  10. package/dist/migrations/pg/20260709220016_fearless_aaron_stack/migration.sql +2 -0
  11. package/dist/migrations/pg/20260709220016_fearless_aaron_stack/snapshot.json +5426 -0
  12. package/dist/migrations/sqlite/0002_durable_tool_placement.sql +71 -0
  13. package/dist/types/relay/client.d.ts +27 -6
  14. package/dist/types/relay/index.d.ts +1 -0
  15. package/dist/types/relay/operation.d.ts +525 -53
  16. package/dist/types/relay/tool-worker.d.ts +19 -0
  17. package/dist/types/runtime/address/address-resolution-service.d.ts +69 -54
  18. package/dist/types/runtime/agent/relay-compaction.d.ts +1 -0
  19. package/dist/types/runtime/cluster/execution-entity.d.ts +10 -477
  20. package/dist/types/runtime/execution/event-log-service.d.ts +6 -0
  21. package/dist/types/runtime/index.d.ts +1 -0
  22. package/dist/types/runtime/runner/runner-runtime-service.d.ts +18 -15
  23. package/dist/types/runtime/tool/tool-runtime-service.d.ts +17 -1
  24. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +13 -0
  25. package/dist/types/runtime/workflow/execution-workflow.d.ts +146 -114
  26. package/dist/types/schema/agent-schema.d.ts +431 -320
  27. package/dist/types/schema/execution-schema.d.ts +69 -53
  28. package/dist/types/schema/ids-schema.d.ts +4 -0
  29. package/dist/types/schema/tool-schema.d.ts +29 -0
  30. package/dist/types/store-sql/envelope/envelope-repository.d.ts +6 -0
  31. package/dist/types/store-sql/execution/execution-event-repository.d.ts +6 -0
  32. package/dist/types/store-sql/schema/relay-schema.d.ts +386 -7
  33. package/dist/types/store-sql/tool/tool-call-repository.d.ts +160 -1
  34. package/package.json +3 -3
@@ -1,158 +1,14 @@
1
- import type { ChildExecutionRepository, ExecutionRepository } from "../../store-sql/index";
1
+ import type { ChildExecutionRepository, EnvelopeRepository, ExecutionRepository, ToolCallRepository } from "../../store-sql/index";
2
2
  import { Entity } from "effect/unstable/cluster";
3
3
  import { Rpc } from "effect/unstable/rpc";
4
4
  import type { WorkflowEngine } from "effect/unstable/workflow";
5
5
  import { Schema } from "effect";
6
6
  import type { Effect } from "effect";
7
- import { ExecutionWorkflowFailed } from "../workflow/execution-workflow";
7
+ import { ExecutionWorkflowFailed, StartInput, StartResult } from "../workflow/execution-workflow";
8
8
  import type { Service as EventLogService } from "../execution/event-log-service";
9
9
  import type { Service as WaitServiceService } from "../wait/wait-service";
10
- export declare const Start: Rpc.Rpc<"start", Schema.Struct<{
11
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
12
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
13
- };
14
- readonly root_address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
15
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
16
- };
17
- readonly session_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.SessionId"> & {
18
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionId">;
19
- }>;
20
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
21
- readonly type: Schema.Literal<"text">;
22
- readonly text: Schema.String;
23
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
24
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
25
- }>, Schema.Struct<{
26
- readonly type: Schema.Literal<"structured">;
27
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
28
- readonly schema_ref: Schema.optionalKey<Schema.String>;
29
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
30
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
31
- }>, Schema.Struct<{
32
- readonly type: Schema.Literal<"blob-reference">;
33
- readonly uri: Schema.String;
34
- readonly media_type: Schema.String;
35
- readonly filename: Schema.optionalKey<Schema.String>;
36
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
37
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
38
- }>, Schema.Struct<{
39
- readonly type: Schema.Literal<"artifact-reference">;
40
- readonly artifact_id: Schema.String;
41
- readonly media_type: Schema.optionalKey<Schema.String>;
42
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
43
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
44
- }>, Schema.Struct<{
45
- readonly type: Schema.Literal<"tool-call">;
46
- readonly call: Schema.Struct<{
47
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
48
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
49
- };
50
- readonly name: Schema.String;
51
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
52
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
53
- }>;
54
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
55
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
56
- }>, Schema.Struct<{
57
- readonly type: Schema.Literal<"tool-result">;
58
- readonly result: Schema.Struct<{
59
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
60
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
61
- };
62
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
63
- readonly error: Schema.optionalKey<Schema.String>;
64
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
65
- }>;
66
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
67
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
68
- }>]>>>;
69
- readonly event_sequence: Schema.Int;
70
- readonly started_at: Schema.Int;
71
- readonly completed_at: Schema.Int;
72
- readonly agent_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.AgentId"> & {
73
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
74
- }>;
75
- readonly agent_revision: Schema.optionalKey<Schema.Int>;
76
- readonly agent_snapshot: Schema.optionalKey<Schema.Struct<{
77
- readonly name: Schema.String;
78
- readonly instructions: Schema.optionalKey<Schema.String>;
79
- readonly model: Schema.Struct<{
80
- readonly provider: Schema.String;
81
- readonly model: Schema.String;
82
- readonly registration_key: Schema.optionalKey<Schema.String>;
83
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
84
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
85
- }>;
86
- readonly tool_names: Schema.$Array<Schema.String>;
87
- readonly permissions: Schema.$Array<Schema.Struct<{
88
- readonly name: Schema.String;
89
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
90
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
91
- }>>;
92
- readonly skill_definition_ids: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Relay.SkillDefinitionId"> & {
93
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">;
94
- }>>;
95
- readonly permission_rules: Schema.optionalKey<Schema.Struct<{
96
- readonly rules: Schema.$Array<Schema.Struct<{
97
- readonly pattern: Schema.String;
98
- readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
99
- readonly reason: Schema.optionalKey<Schema.String>;
100
- }>>;
101
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["allow", "deny", "ask"]>>;
102
- }>>;
103
- readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
104
- readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
105
- readonly token_budget: Schema.optionalKey<Schema.Int>;
106
- readonly child_run_presets: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
107
- readonly instructions: Schema.optionalKey<Schema.String>;
108
- readonly model: Schema.optionalKey<Schema.Struct<{
109
- readonly provider: Schema.String;
110
- readonly model: Schema.String;
111
- readonly registration_key: Schema.optionalKey<Schema.String>;
112
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
113
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
114
- }>>;
115
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
116
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
117
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
118
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
119
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
120
- }>>;
121
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
122
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
123
- }>>>;
124
- readonly handoff_targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
125
- readonly name: Schema.String;
126
- readonly preset_name: Schema.String;
127
- }>>>;
128
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
129
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
130
- }>>;
131
- readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
132
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
133
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
134
- }>;
135
- readonly resume_tool_call: Schema.optionalKey<Schema.Struct<{
136
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
137
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
138
- };
139
- readonly name: Schema.String;
140
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
141
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
142
- }>>;
143
- readonly workflow_generation: Schema.optionalKey<Schema.Int>;
144
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
145
- }>, Schema.Struct<{
146
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
147
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
148
- };
149
- readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
150
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
151
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
152
- }>;
153
- readonly wait_state: Schema.optionalKey<Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>>;
154
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
155
- }>, typeof ExecutionWorkflowFailed, never, never>;
10
+ import type { Service as ToolTransitionCoordinatorService } from "../tool/tool-transition-coordinator";
11
+ export declare const Start: Rpc.Rpc<"start", typeof StartInput, typeof StartResult, typeof ExecutionWorkflowFailed>;
156
12
  export declare const SignalWait: Rpc.Rpc<"signalWait", Schema.Struct<{
157
13
  readonly workflow_execution_id: Schema.String;
158
14
  readonly wait_id: Schema.brand<Schema.String, "Relay.WaitId"> & {
@@ -161,6 +17,7 @@ export declare const SignalWait: Rpc.Rpc<"signalWait", Schema.Struct<{
161
17
  readonly state: Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>;
162
18
  readonly signaled_at: Schema.Int;
163
19
  }>, Schema.Void, typeof ExecutionWorkflowFailed, never, never>;
20
+ export declare const Dispatch: Rpc.Rpc<"dispatch", typeof StartInput, typeof Schema.Void, typeof ExecutionWorkflowFailed>;
164
21
  export declare const Cancel: Rpc.Rpc<"cancel", Schema.Struct<{
165
22
  readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
166
23
  make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
@@ -173,332 +30,8 @@ export declare const Cancel: Rpc.Rpc<"cancel", Schema.Struct<{
173
30
  };
174
31
  readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
175
32
  }>, typeof ExecutionWorkflowFailed, never, never>;
176
- export declare const entity: Entity.Entity<"Relay/Execution", Rpc.Rpc<"start", Schema.Struct<{
177
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
178
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
179
- };
180
- readonly root_address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
181
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
182
- };
183
- readonly session_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.SessionId"> & {
184
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionId">;
185
- }>;
186
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
187
- readonly type: Schema.Literal<"text">;
188
- readonly text: Schema.String;
189
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
190
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
191
- }>, Schema.Struct<{
192
- readonly type: Schema.Literal<"structured">;
193
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
194
- readonly schema_ref: Schema.optionalKey<Schema.String>;
195
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
196
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
197
- }>, Schema.Struct<{
198
- readonly type: Schema.Literal<"blob-reference">;
199
- readonly uri: Schema.String;
200
- readonly media_type: Schema.String;
201
- readonly filename: Schema.optionalKey<Schema.String>;
202
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
203
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
204
- }>, Schema.Struct<{
205
- readonly type: Schema.Literal<"artifact-reference">;
206
- readonly artifact_id: Schema.String;
207
- readonly media_type: Schema.optionalKey<Schema.String>;
208
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
209
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
210
- }>, Schema.Struct<{
211
- readonly type: Schema.Literal<"tool-call">;
212
- readonly call: Schema.Struct<{
213
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
214
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
215
- };
216
- readonly name: Schema.String;
217
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
218
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
219
- }>;
220
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
221
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
222
- }>, Schema.Struct<{
223
- readonly type: Schema.Literal<"tool-result">;
224
- readonly result: Schema.Struct<{
225
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
226
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
227
- };
228
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
229
- readonly error: Schema.optionalKey<Schema.String>;
230
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
231
- }>;
232
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
233
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
234
- }>]>>>;
235
- readonly event_sequence: Schema.Int;
236
- readonly started_at: Schema.Int;
237
- readonly completed_at: Schema.Int;
238
- readonly agent_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.AgentId"> & {
239
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
240
- }>;
241
- readonly agent_revision: Schema.optionalKey<Schema.Int>;
242
- readonly agent_snapshot: Schema.optionalKey<Schema.Struct<{
243
- readonly name: Schema.String;
244
- readonly instructions: Schema.optionalKey<Schema.String>;
245
- readonly model: Schema.Struct<{
246
- readonly provider: Schema.String;
247
- readonly model: Schema.String;
248
- readonly registration_key: Schema.optionalKey<Schema.String>;
249
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
250
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
251
- }>;
252
- readonly tool_names: Schema.$Array<Schema.String>;
253
- readonly permissions: Schema.$Array<Schema.Struct<{
254
- readonly name: Schema.String;
255
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
256
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
257
- }>>;
258
- readonly skill_definition_ids: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Relay.SkillDefinitionId"> & {
259
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">;
260
- }>>;
261
- readonly permission_rules: Schema.optionalKey<Schema.Struct<{
262
- readonly rules: Schema.$Array<Schema.Struct<{
263
- readonly pattern: Schema.String;
264
- readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
265
- readonly reason: Schema.optionalKey<Schema.String>;
266
- }>>;
267
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["allow", "deny", "ask"]>>;
268
- }>>;
269
- readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
270
- readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
271
- readonly token_budget: Schema.optionalKey<Schema.Int>;
272
- readonly child_run_presets: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
273
- readonly instructions: Schema.optionalKey<Schema.String>;
274
- readonly model: Schema.optionalKey<Schema.Struct<{
275
- readonly provider: Schema.String;
276
- readonly model: Schema.String;
277
- readonly registration_key: Schema.optionalKey<Schema.String>;
278
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
279
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
280
- }>>;
281
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
282
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
283
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
284
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
285
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
286
- }>>;
287
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
288
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
289
- }>>>;
290
- readonly handoff_targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
291
- readonly name: Schema.String;
292
- readonly preset_name: Schema.String;
293
- }>>>;
294
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
295
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
296
- }>>;
297
- readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
298
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
299
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
300
- }>;
301
- readonly resume_tool_call: Schema.optionalKey<Schema.Struct<{
302
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
303
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
304
- };
305
- readonly name: Schema.String;
306
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
307
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
308
- }>>;
309
- readonly workflow_generation: Schema.optionalKey<Schema.Int>;
310
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
311
- }>, Schema.Struct<{
312
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
313
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
314
- };
315
- readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
316
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
317
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
318
- }>;
319
- readonly wait_state: Schema.optionalKey<Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>>;
320
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
321
- }>, typeof ExecutionWorkflowFailed, never, never> | Rpc.Rpc<"signalWait", Schema.Struct<{
322
- readonly workflow_execution_id: Schema.String;
323
- readonly wait_id: Schema.brand<Schema.String, "Relay.WaitId"> & {
324
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
325
- };
326
- readonly state: Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>;
327
- readonly signaled_at: Schema.Int;
328
- }>, Schema.Void, typeof ExecutionWorkflowFailed, never, never> | Rpc.Rpc<"cancel", Schema.Struct<{
329
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
330
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
331
- };
332
- readonly cancelled_at: Schema.Int;
333
- readonly reason: Schema.optionalKey<Schema.String>;
334
- }>, Schema.Struct<{
335
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
336
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
337
- };
338
- readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
339
- }>, typeof ExecutionWorkflowFailed, never, never>>;
340
- export declare const layer: import("effect/Layer").Layer<never, never, ChildExecutionRepository.Service | ExecutionRepository.Service | EventLogService | WaitServiceService | WorkflowEngine.WorkflowEngine | import("effect/unstable/cluster/Sharding").Sharding>;
341
- export declare const client: Effect.Effect<(entityId: string) => import("effect/unstable/rpc/RpcClient").RpcClient.From<Rpc.Rpc<"start", Schema.Struct<{
342
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
343
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
344
- };
345
- readonly root_address_id: Schema.brand<Schema.String, "Relay.AddressId"> & {
346
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AddressId">;
347
- };
348
- readonly session_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.SessionId"> & {
349
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SessionId">;
350
- }>;
351
- readonly input: Schema.optionalKey<Schema.$Array<Schema.Union<readonly [Schema.Struct<{
352
- readonly type: Schema.Literal<"text">;
353
- readonly text: Schema.String;
354
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
355
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
356
- }>, Schema.Struct<{
357
- readonly type: Schema.Literal<"structured">;
358
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
359
- readonly schema_ref: Schema.optionalKey<Schema.String>;
360
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
361
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
362
- }>, Schema.Struct<{
363
- readonly type: Schema.Literal<"blob-reference">;
364
- readonly uri: Schema.String;
365
- readonly media_type: Schema.String;
366
- readonly filename: Schema.optionalKey<Schema.String>;
367
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
368
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
369
- }>, Schema.Struct<{
370
- readonly type: Schema.Literal<"artifact-reference">;
371
- readonly artifact_id: Schema.String;
372
- readonly media_type: Schema.optionalKey<Schema.String>;
373
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
374
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
375
- }>, Schema.Struct<{
376
- readonly type: Schema.Literal<"tool-call">;
377
- readonly call: Schema.Struct<{
378
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
379
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
380
- };
381
- readonly name: Schema.String;
382
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
383
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
384
- }>;
385
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
386
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
387
- }>, Schema.Struct<{
388
- readonly type: Schema.Literal<"tool-result">;
389
- readonly result: Schema.Struct<{
390
- readonly call_id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
391
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
392
- };
393
- readonly output: Schema.Codec<Schema.Json, Schema.Json, never, never>;
394
- readonly error: Schema.optionalKey<Schema.String>;
395
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
396
- }>;
397
- readonly provider_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
398
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
399
- }>]>>>;
400
- readonly event_sequence: Schema.Int;
401
- readonly started_at: Schema.Int;
402
- readonly completed_at: Schema.Int;
403
- readonly agent_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.AgentId"> & {
404
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentId">;
405
- }>;
406
- readonly agent_revision: Schema.optionalKey<Schema.Int>;
407
- readonly agent_snapshot: Schema.optionalKey<Schema.Struct<{
408
- readonly name: Schema.String;
409
- readonly instructions: Schema.optionalKey<Schema.String>;
410
- readonly model: Schema.Struct<{
411
- readonly provider: Schema.String;
412
- readonly model: Schema.String;
413
- readonly registration_key: Schema.optionalKey<Schema.String>;
414
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
415
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
416
- }>;
417
- readonly tool_names: Schema.$Array<Schema.String>;
418
- readonly permissions: Schema.$Array<Schema.Struct<{
419
- readonly name: Schema.String;
420
- readonly value: Schema.Codec<Schema.Json, Schema.Json, never, never>;
421
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
422
- }>>;
423
- readonly skill_definition_ids: Schema.optionalKey<Schema.$Array<Schema.brand<Schema.String, "Relay.SkillDefinitionId"> & {
424
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">;
425
- }>>;
426
- readonly permission_rules: Schema.optionalKey<Schema.Struct<{
427
- readonly rules: Schema.$Array<Schema.Struct<{
428
- readonly pattern: Schema.String;
429
- readonly level: Schema.Literals<readonly ["allow", "deny", "ask"]>;
430
- readonly reason: Schema.optionalKey<Schema.String>;
431
- }>>;
432
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["allow", "deny", "ask"]>>;
433
- }>>;
434
- readonly max_tool_turns: Schema.optionalKey<Schema.Int>;
435
- readonly max_wait_turns: Schema.optionalKey<Schema.Int>;
436
- readonly token_budget: Schema.optionalKey<Schema.Int>;
437
- readonly child_run_presets: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Struct<{
438
- readonly instructions: Schema.optionalKey<Schema.String>;
439
- readonly model: Schema.optionalKey<Schema.Struct<{
440
- readonly provider: Schema.String;
441
- readonly model: Schema.String;
442
- readonly registration_key: Schema.optionalKey<Schema.String>;
443
- readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
444
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
445
- }>>;
446
- readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
447
- readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
448
- readonly workspace_policy: Schema.optionalKey<Schema.Struct<{
449
- readonly mode: Schema.Literals<readonly ["share", "fork"]>;
450
- readonly fallback: Schema.optionalKey<Schema.Literals<readonly ["fail", "fresh"]>>;
451
- }>>;
452
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
453
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
454
- }>>>;
455
- readonly handoff_targets: Schema.optionalKey<Schema.$Array<Schema.Struct<{
456
- readonly name: Schema.String;
457
- readonly preset_name: Schema.String;
458
- }>>>;
459
- readonly output_schema_ref: Schema.optionalKey<Schema.String>;
460
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
461
- }>>;
462
- readonly agent_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
463
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
464
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
465
- }>;
466
- readonly resume_tool_call: Schema.optionalKey<Schema.Struct<{
467
- readonly id: Schema.brand<Schema.String, "Relay.ToolCallId"> & {
468
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ToolCallId">;
469
- };
470
- readonly name: Schema.String;
471
- readonly input: Schema.Codec<Schema.Json, Schema.Json, never, never>;
472
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
473
- }>>;
474
- readonly workflow_generation: Schema.optionalKey<Schema.Int>;
475
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
476
- }>, Schema.Struct<{
477
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
478
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
479
- };
480
- readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
481
- readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
482
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
483
- }>;
484
- readonly wait_state: Schema.optionalKey<Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>>;
485
- readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
486
- }>, typeof ExecutionWorkflowFailed, never, never> | Rpc.Rpc<"signalWait", Schema.Struct<{
487
- readonly workflow_execution_id: Schema.String;
488
- readonly wait_id: Schema.brand<Schema.String, "Relay.WaitId"> & {
489
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
490
- };
491
- readonly state: Schema.Literals<readonly ["resolved", "timed_out", "cancelled"]>;
492
- readonly signaled_at: Schema.Int;
493
- }>, Schema.Void, typeof ExecutionWorkflowFailed, never, never> | Rpc.Rpc<"cancel", Schema.Struct<{
494
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
495
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
496
- };
497
- readonly cancelled_at: Schema.Int;
498
- readonly reason: Schema.optionalKey<Schema.String>;
499
- }>, Schema.Struct<{
500
- readonly execution_id: Schema.brand<Schema.String, "Relay.ExecutionId"> & {
501
- make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
502
- };
503
- readonly status: Schema.Literals<readonly ["queued", "running", "waiting", "completed", "failed", "cancelled"]>;
504
- }>, typeof ExecutionWorkflowFailed, never, never>, import("effect/unstable/cluster/ClusterError").MailboxFull | import("effect/unstable/cluster/ClusterError").AlreadyProcessingMessage | import("effect/unstable/cluster/ClusterError").PersistenceError>, never, import("effect/unstable/cluster/Sharding").Sharding>;
33
+ type ExecutionRpc = typeof Start | typeof Dispatch | typeof SignalWait | typeof Cancel;
34
+ export declare const entity: Entity.Entity<"Relay/Execution", ExecutionRpc>;
35
+ export declare const layer: import("effect/Layer").Layer<never, never, ChildExecutionRepository.Service | EnvelopeRepository.Service | ExecutionRepository.Service | ToolCallRepository.Service | EventLogService | WaitServiceService | ToolTransitionCoordinatorService | WorkflowEngine.WorkflowEngine | import("effect/unstable/cluster/Sharding").Sharding>;
36
+ export declare const client: Effect.Effect<(entityId: string) => import("effect/unstable/rpc/RpcClient").RpcClient.From<ExecutionRpc, import("effect/unstable/cluster/ClusterError").MailboxFull | import("effect/unstable/cluster/ClusterError").AlreadyProcessingMessage | import("effect/unstable/cluster/ClusterError").PersistenceError>, never, import("effect/unstable/cluster/Sharding").Sharding>;
37
+ export {};
@@ -28,6 +28,10 @@ export interface FindByCursorInput {
28
28
  readonly executionId: Ids.ExecutionId;
29
29
  readonly cursor: string;
30
30
  }
31
+ export interface FindBySequenceInput {
32
+ readonly executionId: Ids.ExecutionId;
33
+ readonly sequence: Execution.ExecutionEventSequence;
34
+ }
31
35
  export interface FindFirstByTypeAfterSequenceInput {
32
36
  readonly executionId: Ids.ExecutionId;
33
37
  readonly type: Execution.ExecutionEventType;
@@ -39,6 +43,7 @@ export interface Interface {
39
43
  readonly stream: (input: ReplayInput) => Stream.Stream<Execution.ExecutionEvent, EventLogCursorNotFound | EventLogError>;
40
44
  readonly findBySequenceOrCursor: (input: FindBySequenceOrCursorInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError>;
41
45
  readonly findByCursor: (input: FindByCursorInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError>;
46
+ readonly findBySequence: (input: FindBySequenceInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError>;
42
47
  readonly findFirstByTypeAfterSequence: (input: FindFirstByTypeAfterSequenceInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError>;
43
48
  readonly maxSequence: (executionId: Ids.ExecutionId) => Effect.Effect<Execution.ExecutionEventSequence | undefined, EventLogError>;
44
49
  readonly sumUsage: (executionId: Ids.ExecutionId) => Effect.Effect<number, EventLogError>;
@@ -55,6 +60,7 @@ export declare const appendIdempotent: (input: Execution.ExecutionEvent) => Effe
55
60
  export declare const replay: (input: ReplayInput) => Effect.Effect<readonly Execution.ExecutionEvent[], EventLogCursorNotFound | EventLogError, Service>;
56
61
  export declare const findBySequenceOrCursor: (input: FindBySequenceOrCursorInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError, Service>;
57
62
  export declare const findByCursor: (input: FindByCursorInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError, Service>;
63
+ export declare const findBySequence: (input: FindBySequenceInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError, Service>;
58
64
  export declare const findFirstByTypeAfterSequence: (input: FindFirstByTypeAfterSequenceInput) => Effect.Effect<Option.Option<Execution.ExecutionEvent>, EventLogError, Service>;
59
65
  export declare const maxSequence: (executionId: string & import("effect/Brand").Brand<"Relay.ExecutionId">) => Effect.Effect<number | undefined, EventLogError, Service>;
60
66
  export declare const sumUsage: (executionId: string & import("effect/Brand").Brand<"Relay.ExecutionId">) => Effect.Effect<number, EventLogError, Service>;
@@ -26,6 +26,7 @@ export * as SchemaRegistry from "./schema-registry/schema-registry-service";
26
26
  export * as RelaySessionStore from "./session/session-store-service";
27
27
  export * as SkillRegistry from "./skill/skill-registry-service";
28
28
  export * as ToolRuntime from "./tool/tool-runtime-service";
29
+ export * as ToolTransitionCoordinator from "./tool/tool-transition-coordinator";
29
30
  export * as ToolInputSchemaDigest from "./tool/tool-input-schema-digest";
30
31
  export * as WaitService from "./wait/wait-service";
31
32
  export * as WaitSignal from "./wait/wait-signal";