@relayfx/test 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 (59) hide show
  1. package/dist/index.js +1789 -1494
  2. package/dist/types/runtime/address/address-book-service.d.ts +3 -3
  3. package/dist/types/runtime/address/address-resolution-service.d.ts +60 -38
  4. package/dist/types/runtime/agent/agent-loop-service.d.ts +14 -5
  5. package/dist/types/runtime/agent/agent-registry-service.d.ts +2 -2
  6. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +1 -1
  7. package/dist/types/runtime/agent/relay-compaction.d.ts +3 -2
  8. package/dist/types/runtime/agent/relay-tool-output.d.ts +4 -1
  9. package/dist/types/runtime/child/child-fan-out-admission-service.d.ts +1 -1
  10. package/dist/types/runtime/child/child-fan-out-runtime.d.ts +12 -8
  11. package/dist/types/runtime/child/child-fan-out-transition-service.d.ts +1 -1
  12. package/dist/types/runtime/child/child-run-service.d.ts +7 -4
  13. package/dist/types/runtime/child/parent-notifier-service.d.ts +4 -2
  14. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +12 -4
  15. package/dist/types/runtime/cluster/execution-entity.d.ts +2 -2
  16. package/dist/types/runtime/content/artifact-store-service.d.ts +2 -2
  17. package/dist/types/runtime/content/blob-store-service.d.ts +1 -1
  18. package/dist/types/runtime/entity/entity-instance-service.d.ts +14 -5
  19. package/dist/types/runtime/entity/entity-registry-service.d.ts +2 -2
  20. package/dist/types/runtime/envelope/envelope-service.d.ts +2 -2
  21. package/dist/types/runtime/execution/active-execution-registry.d.ts +1 -1
  22. package/dist/types/runtime/execution/event-log-service.d.ts +5 -2
  23. package/dist/types/runtime/execution/execution-service.d.ts +1 -1
  24. package/dist/types/runtime/execution/execution-watch-service.d.ts +1 -1
  25. package/dist/types/runtime/execution/session-stream-service.d.ts +1 -1
  26. package/dist/types/runtime/inbox/inbox-service.d.ts +1 -1
  27. package/dist/types/runtime/memory/memory-service.d.ts +1 -1
  28. package/dist/types/runtime/model/embedding-model-service.d.ts +23 -10
  29. package/dist/types/runtime/model/language-model-service.d.ts +20 -6
  30. package/dist/types/runtime/model/model-call-policy.d.ts +1 -1
  31. package/dist/types/runtime/observability/runtime-metrics.d.ts +12 -3
  32. package/dist/types/runtime/presence/presence-service.d.ts +1 -1
  33. package/dist/types/runtime/presence/presence-tool.d.ts +1 -1
  34. package/dist/types/runtime/runner/runner-runtime-service.d.ts +19 -19
  35. package/dist/types/runtime/schedule/scheduler-service.d.ts +3 -3
  36. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +2 -2
  37. package/dist/types/runtime/session/session-store-service.d.ts +13 -4
  38. package/dist/types/runtime/skill/skill-registry-service.d.ts +2 -2
  39. package/dist/types/runtime/state/execution-state-service.d.ts +5 -2
  40. package/dist/types/runtime/tool/tool-runtime-service.d.ts +42 -19
  41. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +2 -2
  42. package/dist/types/runtime/topic/topic-service.d.ts +1 -1
  43. package/dist/types/runtime/wait/wait-service.d.ts +1 -1
  44. package/dist/types/runtime/wait/wait-signal.d.ts +12 -3
  45. package/dist/types/runtime/workflow/activity-version-registry.d.ts +7 -3
  46. package/dist/types/runtime/workflow/definition-runtime.d.ts +37 -22
  47. package/dist/types/runtime/workflow/execution-workflow.d.ts +143 -104
  48. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +6 -6
  49. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +11 -7
  50. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +1 -1
  51. package/dist/types/schema/agent-schema.d.ts +388 -228
  52. package/dist/types/schema/child-orchestration-schema.d.ts +78 -57
  53. package/dist/types/schema/execution-schema.d.ts +118 -54
  54. package/dist/types/schema/workflow-schema.d.ts +243 -243
  55. package/dist/types/schema/workspace-schema.d.ts +1 -1
  56. package/dist/types/test/captured-model.d.ts +10 -4
  57. package/dist/types/test/scripted-model.d.ts +16 -6
  58. package/dist/types/test/wait-test-kit.d.ts +4 -4
  59. package/package.json +2 -2
@@ -59,15 +59,15 @@ export interface Interface {
59
59
  readonly resolve: (addressId: Ids.AddressId) => Effect.Effect<Route, AddressNotFound | AddressUnavailable | AddressDeferred | AddressBookServiceError>;
60
60
  readonly register: (addressId: Ids.AddressId, route: Route) => Effect.Effect<Address.RouteRegistered, AddressBookServiceError>;
61
61
  readonly get: (addressId: Ids.AddressId) => Effect.Effect<RouteRecord | undefined, AddressBookServiceError>;
62
- readonly list: () => Effect.Effect<Address.RouteList, AddressBookServiceError>;
62
+ readonly list: Effect.Effect<Address.RouteList, AddressBookServiceError>;
63
63
  }
64
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/AddressBook", Interface>;
64
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/address/address-book-service/Service", Interface>;
65
65
  export declare class Service extends Service_base {
66
66
  }
67
67
  export declare const layerFromRepository: Layer.Layer<Service, never, AddressBookRepository.Service>;
68
68
  export declare const memoryLayer: (entries?: Iterable<readonly [Ids.AddressId, Route]>) => Layer.Layer<Service, never, never>;
69
69
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
70
- export declare const resolve: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">) => Effect.Effect<Route, AddressNotFound | AddressUnavailable | AddressDeferred | AddressBookServiceError, Service>;
70
+ export declare const resolve: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">) => Effect.Effect<Route, AddressBookServiceError | AddressDeferred | AddressNotFound | AddressUnavailable, Service>;
71
71
  export declare const register: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">, route: Route) => Effect.Effect<Address.RouteRegistered, AddressBookServiceError, Service>;
72
72
  export declare const get: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">) => Effect.Effect<RouteRecord | undefined, AddressBookServiceError, Service>;
73
73
  export declare const list: () => Effect.Effect<Address.RouteList, AddressBookServiceError, Service>;
@@ -56,83 +56,105 @@ export declare const LocalAgentTarget: Schema.Struct<{
56
56
  readonly agent_revision: Schema.Int;
57
57
  readonly agent_snapshot: Schema.Codec<Agent.Definition, {
58
58
  readonly name: string;
59
- readonly permissions: readonly {
60
- readonly name: string;
61
- readonly value: Schema.Json;
62
- readonly metadata?: {
63
- readonly [x: string]: Schema.Json;
64
- };
65
- }[];
59
+ readonly instructions?: string;
66
60
  readonly model: {
67
61
  readonly provider: string;
68
62
  readonly model: string;
69
- readonly metadata?: {
70
- readonly [x: string]: Schema.Json;
71
- };
72
63
  readonly registration_key?: string;
73
64
  readonly request_options?: {
74
65
  readonly [x: string]: Schema.Json;
75
66
  };
67
+ readonly metadata?: {
68
+ readonly [x: string]: Schema.Json;
69
+ };
76
70
  };
77
71
  readonly tool_names: readonly string[];
78
- readonly metadata?: {
79
- readonly [x: string]: Schema.Json;
80
- };
81
- readonly instructions?: string;
82
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
83
- readonly context_window: Schema.Number;
84
- readonly reserve_tokens: Schema.Number;
85
- readonly keep_recent_tokens: Schema.Number;
86
- }, "Encoded">;
87
- readonly output_schema_ref?: string;
72
+ readonly permissions: readonly {
73
+ readonly name: string;
74
+ readonly value: Schema.Json;
75
+ readonly metadata?: {
76
+ readonly [x: string]: Schema.Json;
77
+ };
78
+ }[];
88
79
  readonly skill_definition_ids?: readonly string[];
89
80
  readonly permission_rules?: {
90
81
  readonly rules: readonly {
91
82
  readonly pattern: string;
92
- readonly level: "allow" | "deny" | "ask";
83
+ readonly level: "allow" | "ask" | "deny";
93
84
  readonly reason?: string;
94
85
  }[];
95
- readonly fallback?: "allow" | "deny" | "ask";
86
+ readonly fallback?: "allow" | "ask" | "deny";
96
87
  };
97
88
  readonly turn_policy?: Agent.TurnPolicySnapshot;
89
+ readonly compaction_policy?: {
90
+ readonly context_window: number;
91
+ readonly reserve_tokens: number;
92
+ readonly keep_recent_tokens: number;
93
+ readonly summary_model?: {
94
+ readonly provider: string;
95
+ readonly model: string;
96
+ readonly registration_key?: string;
97
+ readonly request_options?: {
98
+ readonly [x: string]: Schema.Json;
99
+ };
100
+ readonly metadata?: {
101
+ readonly [x: string]: Schema.Json;
102
+ };
103
+ };
104
+ };
98
105
  readonly max_tool_turns?: number;
99
106
  readonly max_wait_turns?: number;
100
107
  readonly token_budget?: number;
101
108
  readonly child_run_presets?: {
102
109
  readonly [x: string]: {
103
- readonly metadata?: {
104
- readonly [x: string]: Schema.Json;
105
- };
106
- readonly permissions?: readonly string[];
110
+ readonly instructions?: string;
107
111
  readonly model?: {
108
112
  readonly provider: string;
109
113
  readonly model: string;
110
- readonly metadata?: {
111
- readonly [x: string]: Schema.Json;
112
- };
113
114
  readonly registration_key?: string;
114
115
  readonly request_options?: {
115
116
  readonly [x: string]: Schema.Json;
116
117
  };
118
+ readonly metadata?: {
119
+ readonly [x: string]: Schema.Json;
120
+ };
121
+ };
122
+ readonly compaction_policy?: {
123
+ readonly context_window: number;
124
+ readonly reserve_tokens: number;
125
+ readonly keep_recent_tokens: number;
126
+ readonly summary_model?: {
127
+ readonly provider: string;
128
+ readonly model: string;
129
+ readonly registration_key?: string;
130
+ readonly request_options?: {
131
+ readonly [x: string]: Schema.Json;
132
+ };
133
+ readonly metadata?: {
134
+ readonly [x: string]: Schema.Json;
135
+ };
136
+ };
117
137
  };
118
- readonly instructions?: string;
119
- readonly compaction_policy?: Schema.Struct.ReadonlySide<{
120
- readonly context_window: Schema.Number;
121
- readonly reserve_tokens: Schema.Number;
122
- readonly keep_recent_tokens: Schema.Number;
123
- }, "Encoded">;
124
138
  readonly tool_names?: readonly string[];
139
+ readonly permissions?: readonly string[];
125
140
  readonly workspace_policy?: {
126
- readonly mode: "share" | "fork";
141
+ readonly mode: "fork" | "share";
127
142
  readonly fallback?: "fail" | "fresh";
128
143
  };
129
144
  readonly output_schema_ref?: string;
145
+ readonly metadata?: {
146
+ readonly [x: string]: Schema.Json;
147
+ };
130
148
  };
131
149
  };
132
150
  readonly handoff_targets?: readonly Schema.Struct.ReadonlySide<{
133
151
  readonly name: Schema.String;
134
152
  readonly preset_name: Schema.String;
135
153
  }, "Encoded">[];
154
+ readonly output_schema_ref?: string;
155
+ readonly metadata?: {
156
+ readonly [x: string]: Schema.Json;
157
+ };
136
158
  }, never, never>;
137
159
  readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
138
160
  }>;
@@ -141,10 +163,10 @@ export interface LocalAgentTarget extends Schema.Schema.Type<typeof LocalAgentTa
141
163
  export interface Interface {
142
164
  readonly resolveLocalAgent: (addressId: Ids.AddressId) => Effect.Effect<LocalAgentTarget, AddressRouteNotFound | AddressRouteKindMismatch | AddressAgentDefinitionNotFound | AddressResolutionError>;
143
165
  }
144
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/AddressResolution", Interface>;
166
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/address/address-resolution-service/Service", Interface>;
145
167
  export declare class Service extends Service_base {
146
168
  }
147
169
  export declare const layer: Layer.Layer<Service, never, AddressBookService | AgentRegistryService>;
148
170
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
149
- export declare const resolveLocalAgent: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">) => Effect.Effect<LocalAgentTarget, AddressRouteNotFound | AddressRouteKindMismatch | AddressAgentDefinitionNotFound | AddressResolutionError, Service>;
171
+ export declare const resolveLocalAgent: (addressId: string & import("effect/Brand").Brand<"Relay.AddressId">) => Effect.Effect<LocalAgentTarget, AddressAgentDefinitionNotFound | AddressResolutionError | AddressRouteKindMismatch | AddressRouteNotFound, Service>;
150
172
  export {};
@@ -8,6 +8,7 @@ import { Service as LanguageModelServiceService } from "../model/language-model-
8
8
  import { Service as ModelCallPolicyService } from "../model/model-call-policy";
9
9
  import { Service as SchemaRegistryService } from "../schema-registry/schema-registry-service";
10
10
  import { Service as ToolRuntimeService } from "../tool/tool-runtime-service";
11
+ import type { ToolRuntimeError } from "../tool/tool-runtime-service";
11
12
  import { Service as PromptAssemblerService } from "./prompt-assembler-service";
12
13
  declare const AgentLoopError_base: Schema.Class<AgentLoopError, Schema.TaggedStruct<"AgentLoopError", {
13
14
  readonly message: Schema.String;
@@ -54,7 +55,7 @@ export interface RunInput {
54
55
  readonly steeringEnabled?: boolean;
55
56
  readonly toolOutputMaxBytes?: number | null;
56
57
  readonly sessionEntryScope?: string;
57
- readonly dispatchChildRun?: (input: DispatchInput) => Effect.Effect<void, unknown, any>;
58
+ readonly dispatchChildRun?: (input: DispatchInput) => Effect.Effect<void, ToolRuntimeError>;
58
59
  }
59
60
  export interface RunResult {
60
61
  readonly metadata: Shared.Metadata;
@@ -63,7 +64,7 @@ export interface RunResult {
63
64
  export interface Interface {
64
65
  readonly run: (input: RunInput) => Effect.Effect<RunResult, AgentLoopError | AgentLoopWaitRequested | AgentLoopBudgetExceeded>;
65
66
  }
66
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/AgentLoop", Interface>;
67
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/agent/agent-loop-service/Service", Interface>;
67
68
  export declare class Service extends Service_base {
68
69
  }
69
70
  /**
@@ -74,10 +75,18 @@ export declare class Service extends Service_base {
74
75
  * @experimental
75
76
  */
76
77
  export declare const STRUCTURED_TURN_PROMPT = "Return the final structured output for the task above.";
77
- export declare const toolFromDefinition: (definition: Tool.Definition) => AiTool.Any;
78
+ export declare const toolFromDefinition: (definition: Tool.Definition) => AiTool.Dynamic<string, {
79
+ readonly parameters: Schema.Codec<unknown, unknown, never, never>;
80
+ readonly success: Schema.Unknown;
81
+ readonly failure: Schema.Never;
82
+ readonly failureMode: "error";
83
+ }, never>;
78
84
  /** Map a Baton run failure (or an upstream model error) to the public error types. */
79
- export declare const mapBoundaryError: (error: unknown, current: Execution.ExecutionEventSequence) => AgentLoopError | AgentLoopWaitRequested | AgentLoopBudgetExceeded;
85
+ export declare const mapBoundaryError: {
86
+ (current: Execution.ExecutionEventSequence): (error: unknown) => AgentLoopError | AgentLoopWaitRequested | AgentLoopBudgetExceeded;
87
+ (error: unknown, current: Execution.ExecutionEventSequence): AgentLoopError | AgentLoopWaitRequested | AgentLoopBudgetExceeded;
88
+ };
80
89
  export declare const layer: Layer.Layer<Service, never, AgentChatRepository.Service | EventLogService | ToolRuntimeService | LanguageModelServiceService | ModelCallPolicyService | SchemaRegistryService | PromptAssemblerService>;
81
90
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
82
- export declare const run: (input: RunInput) => Effect.Effect<RunResult, AgentLoopError | AgentLoopBudgetExceeded | AgentLoopWaitRequested, Service>;
91
+ export declare const run: (input: RunInput) => Effect.Effect<RunResult, AgentLoopBudgetExceeded | AgentLoopError | AgentLoopWaitRequested, Service>;
83
92
  export {};
@@ -15,10 +15,10 @@ export interface Interface {
15
15
  readonly register: (input: Agent.RegisterDefinitionPayload) => Effect.Effect<Agent.DefinitionRegistered, AgentDefinitionInvalid | AgentRegistryError>;
16
16
  readonly get: (id: Ids.AgentId) => Effect.Effect<Agent.DefinitionRecord | undefined, AgentRegistryError>;
17
17
  readonly getRevision: (input: AgentDefinitionRepository.GetAgentDefinitionRevisionInput) => Effect.Effect<Agent.DefinitionRevisionRecord | undefined, AgentRegistryError>;
18
- readonly list: () => Effect.Effect<Agent.DefinitionList, AgentRegistryError>;
18
+ readonly list: Effect.Effect<Agent.DefinitionList, AgentRegistryError>;
19
19
  readonly listRevisions: (id: Ids.AgentId) => Effect.Effect<Agent.DefinitionRevisionList, AgentRegistryError>;
20
20
  }
21
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/AgentRegistry", Interface>;
21
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/agent/agent-registry-service/Service", Interface>;
22
22
  export declare class Service extends Service_base {
23
23
  }
24
24
  export declare const layer: Layer.Layer<Service, never, AgentDefinitionRepository.Service>;
@@ -22,7 +22,7 @@ export interface Assembled {
22
22
  export interface Interface {
23
23
  readonly assemble: (input: AssembleInput) => Effect.Effect<Assembled, PromptAssemblerError>;
24
24
  }
25
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/PromptAssembler", Interface>;
25
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/agent/prompt-assembler-service/Service", Interface>;
26
26
  export declare class Service extends Service_base {
27
27
  }
28
28
  export type PureContentPart = Content.TextPart | Content.StructuredPart | Content.ToolCallPart | Content.ToolResultPart;
@@ -1,11 +1,12 @@
1
- import { Compaction } from "@batonfx/core";
1
+ import { Compaction, ModelRegistry } from "@batonfx/core";
2
2
  import { Ids } from "../../schema/index";
3
3
  import { CompactionRepository } from "@relayfx/store-sql/portable";
4
- import { Layer } from "effect";
4
+ import { Effect, Layer } from "effect";
5
5
  export interface Options {
6
6
  readonly contextWindow?: number;
7
7
  readonly reserveTokens?: number;
8
8
  readonly keepRecentTokens?: number;
9
+ readonly summaryModel?: Effect.Effect<Layer.Layer<ModelRegistry.ModelEnvironment>, Compaction.CompactionError>;
9
10
  }
10
11
  export interface Config {
11
12
  readonly executionId: Ids.ExecutionId;
@@ -1,7 +1,10 @@
1
1
  import { ToolOutput } from "@batonfx/core";
2
2
  import { Effect, Layer, Option } from "effect";
3
3
  import type { Interface as BlobStoreInterface, Service as BlobStoreService } from "../content/blob-store-service";
4
- export declare const store: (blobStore: BlobStoreInterface, toolCallId: string, content: unknown) => Effect.Effect<Option.Option<string>, ToolOutput.ToolOutputError>;
4
+ export declare const store: {
5
+ (blobStore: BlobStoreInterface, toolCallId: string, content: unknown): Effect.Effect<Option.Option<string>, ToolOutput.ToolOutputError>;
6
+ (toolCallId: string, content: unknown): (blobStore: BlobStoreInterface) => Effect.Effect<Option.Option<string>, ToolOutput.ToolOutputError>;
7
+ };
5
8
  export declare const make: (blobStore: BlobStoreInterface) => ToolOutput.StoreInterface;
6
9
  export declare const layerFromBlobStore: (blobStore: BlobStoreInterface) => Layer.Layer<ToolOutput.ToolOutputStore>;
7
10
  export declare const layer: Layer.Layer<ToolOutput.ToolOutputStore, never, BlobStoreService>;
@@ -18,7 +18,7 @@ export interface Interface {
18
18
  readonly recover: (input: AdmitInput) => Effect.Effect<ReadonlyArray<Execution.ChildRunAccepted>, ChildFanOutAdmissionError>;
19
19
  readonly recoverAll: (inputFor: (fanOut: ChildOrchestration.FanOutState) => AdmitInput) => Effect.Effect<ReadonlyArray<Execution.ChildRunAccepted>, ChildFanOutAdmissionError>;
20
20
  }
21
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ChildFanOutAdmissionService", Interface>;
21
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/child/child-fan-out-admission-service/Service", Interface>;
22
22
  export declare class Service extends Service_base {
23
23
  }
24
24
  export declare const layer: Layer.Layer<Service, never, ChildFanOutRepository.Service | ChildRunService>;
@@ -9,10 +9,14 @@ export interface ChildResult {
9
9
  readonly completedAt?: number;
10
10
  }
11
11
  export interface Handlers {
12
- readonly execute: (child: ChildOrchestration.FanOutChild, fanOut: ChildOrchestration.FanOutState, idempotencyKey: string) => Effect.Effect<ChildResult, unknown>;
13
- readonly cancel: (childExecutionId: Ids.ChildExecutionId, reason: string) => Effect.Effect<void, unknown>;
12
+ readonly execute: (child: ChildOrchestration.FanOutChild, fanOut: ChildOrchestration.FanOutState, idempotencyKey: string) => Effect.Effect<ChildResult, {
13
+ readonly _tag: string;
14
+ }>;
15
+ readonly cancel: (childExecutionId: Ids.ChildExecutionId, reason: string) => Effect.Effect<void, {
16
+ readonly _tag: string;
17
+ }>;
14
18
  }
15
- declare const HandlerService_base: Context.ServiceClass<HandlerService, "@relayfx/runtime/ChildFanOutRuntimeHandlers", Handlers>;
19
+ declare const HandlerService_base: Context.ServiceClass<HandlerService, "@relayfx/runtime/child/child-fan-out-runtime/HandlerService", Handlers>;
16
20
  export declare class HandlerService extends HandlerService_base {
17
21
  }
18
22
  declare const ChildFanOutRuntimeError_base: Schema.Class<ChildFanOutRuntimeError, Schema.TaggedStruct<"ChildFanOutRuntimeError", {
@@ -22,15 +26,15 @@ export declare class ChildFanOutRuntimeError extends ChildFanOutRuntimeError_bas
22
26
  }
23
27
  export interface Interface {
24
28
  readonly create: (definition: ChildOrchestration.FanOutDefinition) => Effect.Effect<ChildOrchestration.FanOutState, ChildFanOutRuntimeError>;
25
- readonly recover: () => Effect.Effect<ReadonlyArray<Ids.ChildFanOutId>, ChildFanOutRuntimeError>;
29
+ readonly recover: (_?: never) => Effect.Effect<ReadonlyArray<Ids.ChildFanOutId>, ChildFanOutRuntimeError>;
26
30
  readonly cancel: (fanOutId: Ids.ChildFanOutId, cancelledAt: number, reason: string) => Effect.Effect<ChildOrchestration.FanOutState | undefined, ChildFanOutRuntimeError>;
27
31
  readonly inspect: (fanOutId: Ids.ChildFanOutId) => Effect.Effect<ChildOrchestration.FanOutState | undefined, ChildFanOutRuntimeError>;
28
32
  }
29
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ChildFanOutRuntime", Interface>;
33
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/child/child-fan-out-runtime/Service", Interface>;
30
34
  export declare class Service extends Service_base {
31
35
  }
32
- export declare const layerFromRuntime: Layer.Layer<Service, ChildFanOutRuntimeError, ChildFanOutRepository.Service | TransitionService | HandlerService>;
33
- export declare const layer: Layer.Layer<Service, ChildFanOutRuntimeError, ChildFanOutRepository.Service | TransitionService | HandlerService>;
36
+ export declare const layerFromRuntime: Layer.Layer<Service, ChildFanOutRuntimeError, HandlerService | ChildFanOutRepository.Service | TransitionService>;
37
+ export declare const layer: Layer.Layer<Service, ChildFanOutRuntimeError, HandlerService | ChildFanOutRepository.Service | TransitionService>;
34
38
  export declare const handlersLayer: (handlers: Handlers) => Layer.Layer<HandlerService, never, never>;
35
- export declare const testHandlersLayer: (handlers: Handlers) => Layer.Layer<HandlerService, never, never>;
39
+ export declare const testHandlersLayer: typeof handlersLayer;
36
40
  export {};
@@ -17,7 +17,7 @@ export interface TerminalInput {
17
17
  export interface Interface {
18
18
  readonly terminal: (input: TerminalInput) => Effect.Effect<ChildFanOutRepository.RecordTerminalResult | undefined, ChildFanOutTransitionError>;
19
19
  }
20
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ChildFanOutTransitionService", Interface>;
20
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/child/child-fan-out-transition-service/Service", Interface>;
21
21
  export declare class Service extends Service_base {
22
22
  }
23
23
  export declare const layer: Layer.Layer<Service, never, ChildFanOutRepository.Service | EventLogService>;
@@ -70,7 +70,7 @@ export interface Interface {
70
70
  readonly spawnStatic: (input: SpawnStaticInput) => Effect.Effect<Execution.ChildRunAccepted, StaticChildRunPresetNotFound | ChildRunScopeBroadened | ChildRunWorkspaceUnavailable | ChildRunServiceError>;
71
71
  readonly spawnDynamic: (input: SpawnDynamicInput) => Effect.Effect<Execution.ChildRunAccepted, ChildRunScopeBroadened | ChildRunWorkspaceUnavailable | ChildRunServiceError>;
72
72
  }
73
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ChildRunService", Interface>;
73
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/child/child-run-service/Service", Interface>;
74
74
  export declare class Service extends Service_base {
75
75
  }
76
76
  export interface ResolvedChildContext {
@@ -86,8 +86,11 @@ export interface ResolvedChildContext {
86
86
  export declare const layer: Layer.Layer<Service, never, ChildExecutionRepository.Service | EventLogService>;
87
87
  export declare const memoryLayer: Layer.Layer<Service, never, never>;
88
88
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
89
- export declare const resolveForDispatch: (input: Execution.SpawnChildRunInput) => Effect.Effect<ResolvedChildContext, StaticChildRunPresetNotFound | ChildRunScopeBroadened, never>;
90
- export declare const childDefinition: (parentDefinition: Agent.Definition, context: ResolvedChildContext) => Effect.Effect<Agent.Definition, ChildRunModelMissing>;
91
- export declare const spawnStatic: (input: SpawnStaticInput) => Effect.Effect<Execution.ChildRunAccepted, StaticChildRunPresetNotFound | ChildRunScopeBroadened | ChildRunServiceError | ChildRunWorkspaceUnavailable, Service>;
89
+ export declare const resolveForDispatch: (input: Execution.SpawnChildRunInput) => Effect.Effect<ResolvedChildContext, ChildRunScopeBroadened | StaticChildRunPresetNotFound, never>;
90
+ export declare const childDefinition: {
91
+ (context: ResolvedChildContext): (parentDefinition: Agent.Definition) => Effect.Effect<Agent.Definition, ChildRunModelMissing>;
92
+ (parentDefinition: Agent.Definition, context: ResolvedChildContext): Effect.Effect<Agent.Definition, ChildRunModelMissing>;
93
+ };
94
+ export declare const spawnStatic: (input: SpawnStaticInput) => Effect.Effect<Execution.ChildRunAccepted, ChildRunScopeBroadened | ChildRunServiceError | ChildRunWorkspaceUnavailable | StaticChildRunPresetNotFound, Service>;
92
95
  export declare const spawnDynamic: (input: SpawnDynamicInput) => Effect.Effect<Execution.ChildRunAccepted, ChildRunScopeBroadened | ChildRunServiceError | ChildRunWorkspaceUnavailable, Service>;
93
96
  export {};
@@ -21,7 +21,7 @@ export interface NotifyInput {
21
21
  export interface Interface {
22
22
  readonly notify: (input: NotifyInput) => Effect.Effect<void, ParentNotifyError>;
23
23
  }
24
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ParentNotifier", Interface>;
24
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/child/parent-notifier-service/Service", Interface>;
25
25
  export declare class Service extends Service_base {
26
26
  }
27
27
  export interface SignalParentWaitInput {
@@ -30,7 +30,9 @@ export interface SignalParentWaitInput {
30
30
  readonly signaledAt: number;
31
31
  }
32
32
  export interface MakeOptions {
33
- readonly signalWait: (input: SignalParentWaitInput) => Effect.Effect<void, unknown>;
33
+ readonly signalWait: (input: SignalParentWaitInput) => Effect.Effect<void, {
34
+ readonly _tag: string;
35
+ }>;
34
36
  }
35
37
  export declare const make: (options: MakeOptions) => Effect.Effect<Interface, never, ChildExecutionRepository.Service | EventLogService | WaitServiceService>;
36
38
  export declare const layerWith: (options: MakeOptions) => Layer.Layer<Service, never, ChildExecutionRepository.Service | EventLogService | WaitServiceService>;
@@ -1,5 +1,6 @@
1
1
  import { Agent, Content, Execution, Ids, Shared } from "../../schema/index";
2
2
  import { Effect, Schema } from "effect";
3
+ import { ToolRuntimeError } from "../tool/tool-runtime-service";
3
4
  import type { RegisteredTool } from "../tool/tool-runtime-service";
4
5
  import type { Interface as EventLogInterface } from "../execution/event-log-service";
5
6
  import type { Interface as WaitServiceInterface } from "../wait/wait-service";
@@ -17,9 +18,16 @@ export declare const Input: Schema.Struct<{
17
18
  readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
18
19
  }>>;
19
20
  readonly compaction_policy: Schema.optionalKey<Schema.Struct<{
20
- readonly context_window: Schema.Number;
21
- readonly reserve_tokens: Schema.Number;
22
- readonly keep_recent_tokens: Schema.Number;
21
+ readonly context_window: Schema.Finite;
22
+ readonly reserve_tokens: Schema.Finite;
23
+ readonly keep_recent_tokens: Schema.Finite;
24
+ readonly summary_model: Schema.optionalKey<Schema.Struct<{
25
+ readonly provider: Schema.String;
26
+ readonly model: Schema.String;
27
+ readonly registration_key: Schema.optionalKey<Schema.String>;
28
+ readonly request_options: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
29
+ readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
30
+ }>>;
23
31
  }>>;
24
32
  readonly tool_names: Schema.optionalKey<Schema.$Array<Schema.String>>;
25
33
  readonly permissions: Schema.optionalKey<Schema.$Array<Schema.String>>;
@@ -209,7 +217,7 @@ export interface Config {
209
217
  readonly childRuns: ChildRunServiceInterface;
210
218
  readonly eventLog: EventLogInterface;
211
219
  readonly waits: WaitServiceInterface;
212
- readonly dispatch: (input: DispatchInput) => Effect.Effect<void, unknown, any>;
220
+ readonly dispatch: (input: DispatchInput) => Effect.Effect<void, ToolRuntimeError>;
213
221
  }
214
222
  export declare const enabled: (agent: Agent.Definition) => boolean;
215
223
  export declare const registeredTool: (config: Config) => RegisteredTool;
@@ -34,6 +34,6 @@ export declare const Cancel: Rpc.Rpc<"cancel", Schema.Struct<{
34
34
  }>, typeof ExecutionWorkflowFailed, never, never>;
35
35
  type ExecutionRpc = typeof Start | typeof Dispatch | typeof SignalWait | typeof Cancel;
36
36
  export declare const entity: Entity.Entity<"Relay/Execution", ExecutionRpc>;
37
- export declare const layer: import("effect/Layer").Layer<never, never, ChildExecutionRepository.Service | EnvelopeRepository.Service | ExecutionRepository.Service | ToolCallRepository.Service | EventLogService | WaitServiceService | ExecutionServiceService | ActiveExecutionRegistryService | ToolTransitionCoordinatorService | WorkflowEngine.WorkflowEngine | import("effect/unstable/cluster/Sharding").Sharding>;
38
- 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 declare const layer: import("effect/Layer").Layer<never, never, ChildExecutionRepository.Service | EnvelopeRepository.Service | ExecutionRepository.Service | ToolCallRepository.Service | EventLogService | WaitServiceService | ExecutionServiceService | ActiveExecutionRegistryService | ToolTransitionCoordinatorService | import("effect/unstable/cluster/Sharding").Sharding | WorkflowEngine.WorkflowEngine>;
38
+ export declare const client: Effect.Effect<(entityId: string) => import("effect/unstable/rpc/RpcClient").RpcClient.From<ExecutionRpc, import("effect/unstable/cluster/ClusterError").AlreadyProcessingMessage | import("effect/unstable/cluster/ClusterError").MailboxFull | import("effect/unstable/cluster/ClusterError").PersistenceError>, never, import("effect/unstable/cluster/Sharding").Sharding>;
39
39
  export {};
@@ -9,14 +9,14 @@ export declare class ArtifactNotResolvable extends ArtifactNotResolvable_base {
9
9
  export interface Interface {
10
10
  readonly resolve: (part: Content.ArtifactReferencePart) => Effect.Effect<ReadonlyArray<Content.Part>, ArtifactNotResolvable>;
11
11
  }
12
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ArtifactStore", Interface>;
12
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/content/artifact-store-service/Service", Interface>;
13
13
  export declare class Service extends Service_base {
14
14
  }
15
15
  export declare const passthroughLayer: Layer.Layer<Service>;
16
16
  export interface MemoryInterface extends Interface {
17
17
  readonly register: (artifact_id: string, parts: ReadonlyArray<Content.Part>) => Effect.Effect<void>;
18
18
  }
19
- declare const Memory_base: Context.ServiceClass<Memory, "@relayfx/runtime/ArtifactStore/Memory", MemoryInterface>;
19
+ declare const Memory_base: Context.ServiceClass<Memory, "@relayfx/runtime/content/artifact-store-service/Memory", MemoryInterface>;
20
20
  export declare class Memory extends Memory_base {
21
21
  }
22
22
  export declare const memoryLayer: Layer.Layer<Service | Memory>;
@@ -32,7 +32,7 @@ export interface Interface {
32
32
  readonly resolve: (part: Content.BlobReferencePart) => Effect.Effect<ResolvedBlob, BlobNotResolvable | BlobStoreError>;
33
33
  readonly put: (input: PutBlobInput) => Effect.Effect<Content.BlobReferencePart, BlobStoreError>;
34
34
  }
35
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/BlobStore", Interface>;
35
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/content/blob-store-service/Service", Interface>;
36
36
  export declare class Service extends Service_base {
37
37
  }
38
38
  export declare const passthroughLayer: Layer.Layer<Service>;
@@ -56,12 +56,21 @@ export interface Interface {
56
56
  readonly limit?: number;
57
57
  }) => Effect.Effect<ReadonlyArray<Entity.Instance>, EntityServiceError>;
58
58
  }
59
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/EntityInstanceService", Interface>;
59
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/entity/entity-instance-service/Service", Interface>;
60
60
  export declare class Service extends Service_base {
61
61
  }
62
- export declare const entityExecutionId: (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey, generation: number) => string & import("effect/Brand").Brand<"Relay.ExecutionId">;
63
- export declare const entityAddressId: (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey) => string & import("effect/Brand").Brand<"Relay.AddressId">;
64
- export declare const entitySessionId: (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey) => string & import("effect/Brand").Brand<"Relay.SessionId">;
65
- export declare const layer: Layer.Layer<Service, never, EntityRepository.Service | AddressBookService | EventLogService | AgentRegistryService | import("effect/unstable/cluster/Sharding").Sharding | EntityRegistryService>;
62
+ export declare const entityExecutionId: {
63
+ (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey, generation: number): Ids.ExecutionId;
64
+ (kind: Ids.EntityKindName, key: Ids.EntityKey, generation: number): (tenant: Ids.TenantId) => Ids.ExecutionId;
65
+ };
66
+ export declare const entityAddressId: {
67
+ (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey): Ids.AddressId;
68
+ (kind: Ids.EntityKindName, key: Ids.EntityKey): (tenant: Ids.TenantId) => Ids.AddressId;
69
+ };
70
+ export declare const entitySessionId: {
71
+ (tenant: Ids.TenantId, kind: Ids.EntityKindName, key: Ids.EntityKey): Ids.SessionId;
72
+ (kind: Ids.EntityKindName, key: Ids.EntityKey): (tenant: Ids.TenantId) => Ids.SessionId;
73
+ };
74
+ export declare const layer: Layer.Layer<Service, never, EntityRepository.Service | AddressBookService | EventLogService | AgentRegistryService | EntityRegistryService | import("effect/unstable/cluster/Sharding").Sharding>;
66
75
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
67
76
  export {};
@@ -25,9 +25,9 @@ export declare class EntityRegistryError extends EntityRegistryError_base {
25
25
  export interface Interface {
26
26
  readonly registerKind: (input: Entity.KindDefinition) => Effect.Effect<Entity.KindDefinition, EntityKindInvalid | EntityRegistryError>;
27
27
  readonly getKind: (kind: Ids.EntityKindName) => Effect.Effect<Entity.KindDefinition | undefined, EntityRegistryError>;
28
- readonly listKinds: () => Effect.Effect<ReadonlyArray<Entity.KindDefinition>, EntityRegistryError>;
28
+ readonly listKinds: Effect.Effect<ReadonlyArray<Entity.KindDefinition>, EntityRegistryError>;
29
29
  }
30
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/EntityRegistry", Interface>;
30
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/entity/entity-registry-service/Service", Interface>;
31
31
  export declare class Service extends Service_base {
32
32
  }
33
33
  export declare const layer: Layer.Layer<Service, never, EntityRepository.Service | AgentRegistryService>;
@@ -44,7 +44,7 @@ export interface Interface {
44
44
  readonly route_kind?: Route["kind"];
45
45
  }, EnvelopeAddressNotFound | EnvelopeRouteUnavailable | EnvelopeRouteDeferred | EnvelopeServiceError>;
46
46
  }
47
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/EnvelopeService", Interface>;
47
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/envelope/envelope-service/Service", Interface>;
48
48
  export declare class Service extends Service_base {
49
49
  }
50
50
  export declare const layer: Layer.Layer<Service, never, EnvelopeRepository.Service | AddressBookService | EventLogService>;
@@ -52,5 +52,5 @@ export declare const memoryLayer: (routes?: Iterable<readonly [Ids.AddressId, Ro
52
52
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
53
53
  export declare const send: (input: SendInput) => Effect.Effect<Envelope.EnvelopeAccepted & {
54
54
  readonly route_kind?: Route["kind"];
55
- }, EnvelopeAddressNotFound | EnvelopeRouteUnavailable | EnvelopeRouteDeferred | EnvelopeServiceError, Service>;
55
+ }, EnvelopeAddressNotFound | EnvelopeRouteDeferred | EnvelopeRouteUnavailable | EnvelopeServiceError, Service>;
56
56
  export {};
@@ -4,7 +4,7 @@ export interface Interface {
4
4
  readonly run: <A, E, R>(executionId: Ids.ExecutionId, effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
5
5
  readonly interrupt: (executionId: Ids.ExecutionId) => Effect.Effect<boolean>;
6
6
  }
7
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ActiveExecutionRegistry", Interface>;
7
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/execution/active-execution-registry/Service", Interface>;
8
8
  export declare class Service extends Service_base {
9
9
  }
10
10
  export declare const layer: Layer.Layer<Service, never, never>;
@@ -48,13 +48,16 @@ export interface Interface {
48
48
  readonly maxSequence: (executionId: Ids.ExecutionId) => Effect.Effect<Execution.ExecutionEventSequence | undefined, EventLogError>;
49
49
  readonly sumUsage: (executionId: Ids.ExecutionId) => Effect.Effect<number, EventLogError>;
50
50
  }
51
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/EventLog", Interface>;
51
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/execution/event-log-service/Service", Interface>;
52
52
  export declare class Service extends Service_base {
53
53
  }
54
54
  export declare const layerFromRepository: Layer.Layer<Service, never, ExecutionEventRepository.Service>;
55
55
  export declare const memoryLayer: Layer.Layer<Service, never, never>;
56
56
  export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
57
- export declare const appendIdempotentTo: (eventLog: Interface, input: Execution.ExecutionEvent) => Effect.Effect<Execution.ExecutionEvent, EventLogError, never>;
57
+ export declare const appendIdempotentTo: {
58
+ (eventLog: Interface, input: Execution.ExecutionEvent): Effect.Effect<Execution.ExecutionEvent, EventLogError>;
59
+ (input: Execution.ExecutionEvent): (eventLog: Interface) => Effect.Effect<Execution.ExecutionEvent, EventLogError>;
60
+ };
58
61
  export declare const append: (input: Execution.ExecutionEvent) => Effect.Effect<Execution.ExecutionEvent, EventLogError, Service>;
59
62
  export declare const appendIdempotent: (input: Execution.ExecutionEvent) => Effect.Effect<Execution.ExecutionEvent, EventLogError, Service>;
60
63
  export declare const replay: (input: ReplayInput) => Effect.Effect<readonly Execution.ExecutionEvent[], EventLogCursorNotFound | EventLogError, Service>;
@@ -51,7 +51,7 @@ export interface Interface {
51
51
  readonly spawnChildRun: (input: Execution.SpawnChildRunInput) => Effect.Effect<Execution.ChildRunAccepted, ExecutionServiceError>;
52
52
  readonly stream: (input: ReplayInput) => Stream.Stream<Execution.ExecutionEvent, ExecutionServiceError>;
53
53
  }
54
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ExecutionService", Interface>;
54
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/execution/execution-service/Service", Interface>;
55
55
  export declare class Service extends Service_base {
56
56
  }
57
57
  export declare const layer: Layer.Layer<Service, never, ExecutionRepository.Service | EventLogService | ChildRunServiceService | ShardingConfig.ShardingConfig>;
@@ -23,7 +23,7 @@ export type ExecutionListChange = {
23
23
  export interface Interface {
24
24
  readonly watch: (input: WatchInput) => Stream.Stream<ExecutionListChange, ExecutionWatchError>;
25
25
  }
26
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ExecutionWatch", Interface>;
26
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/execution/execution-watch-service/Service", Interface>;
27
27
  export declare class Service extends Service_base {
28
28
  }
29
29
  export declare const layerFromServices: Layer.Layer<Service, never, ExecutionRepository.Service>;
@@ -24,7 +24,7 @@ export type SessionStreamItem = {
24
24
  export interface Interface {
25
25
  readonly stream: (input: StreamInput) => Stream.Stream<SessionStreamItem, EventLogCursorNotFound | SessionStreamError>;
26
26
  }
27
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/SessionStream", Interface>;
27
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/execution/session-stream-service/Service", Interface>;
28
28
  export declare class Service extends Service_base {
29
29
  }
30
30
  export declare const layerFromServices: Layer.Layer<Service, never, ExecutionRepository.Service | EventLogService>;
@@ -57,7 +57,7 @@ export interface Interface {
57
57
  readonly undrainedCount: (executionId: Ids.ExecutionId) => Effect.Effect<number, InboxServiceError>;
58
58
  readonly reply: (input: ReplyInput) => Effect.Effect<Envelope.EnvelopeAccepted, InboxReplyTokenInvalid | InboxDeliveryError>;
59
59
  }
60
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/InboxService", Interface>;
60
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/inbox/inbox-service/Service", Interface>;
61
61
  export declare class Service extends Service_base {
62
62
  }
63
63
  export interface SignalDependencies {
@@ -10,7 +10,7 @@ export interface Options {
10
10
  }
11
11
  export interface Interface extends Memory.Interface {
12
12
  }
13
- declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/MemoryService", Interface>;
13
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/memory/memory-service/Service", Interface>;
14
14
  export declare class Service extends Service_base {
15
15
  }
16
16
  export declare const layer: (options?: Options) => Layer.Layer<Service | Memory.Memory, never, MemoryRepository.Service | EmbeddingModelServiceService>;