@relayfx/sdk 0.0.8 → 0.0.10
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.
- package/dist/index.js +3694 -3528
- package/dist/migrations/20260706233300_equal_cyclops/migration.sql +3 -0
- package/dist/migrations/20260706233300_equal_cyclops/snapshot.json +4883 -0
- package/dist/types/relay/client.d.ts +5 -0
- package/dist/types/relay/operation.d.ts +1 -0
- package/dist/types/runtime/address/address-resolution-service.d.ts +1 -0
- package/dist/types/runtime/agent/agent-loop-service.d.ts +1 -0
- package/dist/types/runtime/child/spawn-child-run-tool.d.ts +2 -0
- package/dist/types/runtime/cluster/execution-entity.d.ts +3 -0
- package/dist/types/runtime/execution/execution-service.d.ts +1 -0
- package/dist/types/runtime/index.d.ts +1 -0
- package/dist/types/runtime/runner/runner-runtime-service.d.ts +14 -14
- package/dist/types/runtime/tool/tool-input-schema-digest.d.ts +6 -0
- package/dist/types/runtime/workflow/execution-workflow.d.ts +3 -1
- package/dist/types/schema/agent-schema.d.ts +34 -0
- package/dist/types/schema/execution-schema.d.ts +1 -0
- package/dist/types/schema/shared-schema.d.ts +2 -0
- package/dist/types/store-sql/agent/agent-definition-repository.d.ts +3 -0
- package/dist/types/store-sql/execution/execution-repository.d.ts +2 -0
- package/dist/types/store-sql/schema/relay-schema.d.ts +45 -0
- package/package.json +1 -1
|
@@ -34,7 +34,11 @@ export interface StartExecutionByAgentDefinitionInput {
|
|
|
34
34
|
readonly wait_id?: Ids.WaitId;
|
|
35
35
|
readonly metadata?: Shared.Metadata;
|
|
36
36
|
}
|
|
37
|
+
export interface RegisterAgentInput extends Agent.DefineInput {
|
|
38
|
+
readonly address?: Ids.AddressId;
|
|
39
|
+
}
|
|
37
40
|
export interface Interface {
|
|
41
|
+
readonly registerAgent: (input: RegisterAgentInput) => Effect.Effect<Agent.DefinitionRegistered, ClientError>;
|
|
38
42
|
readonly registerAgentDefinition: (input: Agent.RegisterDefinitionPayload) => Effect.Effect<Agent.DefinitionRegistered, ClientError>;
|
|
39
43
|
readonly getAgentDefinition: (id: Ids.AgentDefinitionId) => Effect.Effect<Agent.DefinitionRecord | undefined, ClientError>;
|
|
40
44
|
readonly listAgentDefinitions: () => Effect.Effect<Agent.DefinitionList, ClientError>;
|
|
@@ -79,6 +83,7 @@ export declare class Service extends Service_base {
|
|
|
79
83
|
export declare const layerFromRuntime: Layer.Layer<Service, never, AgentRegistry.Service | AddressBook.Service | ExecutionService.Service | WaitService.Service | EventLog.Service | EnvelopeRepository.Service | ExecutionRepository.Service | SessionRepository.Service | SteeringRepository.Service | ClusterRegistryRepository.Service | ScheduleRepository.Service | SkillRegistry.Service | Sharding.Sharding | ShardingConfig.ShardingConfig>;
|
|
80
84
|
export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
|
|
81
85
|
export declare const registerAgentDefinition: (input: Agent.RegisterDefinitionPayload) => Effect.Effect<Agent.DefinitionRegistered, ClientError, Service>;
|
|
86
|
+
export declare const registerAgent: (input: RegisterAgentInput) => Effect.Effect<Agent.DefinitionRegistered, ClientError, Service>;
|
|
82
87
|
export declare const getAgentDefinition: (id: string & import("effect/Brand").Brand<"Relay.AgentDefinitionId">) => Effect.Effect<Agent.DefinitionRecord | undefined, ClientError, Service>;
|
|
83
88
|
export declare const listAgentDefinitions: () => Effect.Effect<Agent.DefinitionList, ClientError, Service>;
|
|
84
89
|
export declare const listAgentDefinitionRevisions: (id: string & import("effect/Brand").Brand<"Relay.AgentDefinitionId">) => Effect.Effect<Agent.DefinitionRevisionList, ClientError, Service>;
|
|
@@ -120,6 +120,7 @@ export declare const StartExecutionInput: Schema.Struct<{
|
|
|
120
120
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
121
121
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
122
122
|
}>>;
|
|
123
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
123
124
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
124
125
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
125
126
|
}>;
|
|
@@ -109,6 +109,7 @@ export declare const LocalAgentTarget: Schema.Struct<{
|
|
|
109
109
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
110
110
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
111
111
|
}>;
|
|
112
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
112
113
|
}>;
|
|
113
114
|
export interface LocalAgentTarget extends Schema.Schema.Type<typeof LocalAgentTarget> {
|
|
114
115
|
}
|
|
@@ -45,6 +45,7 @@ export interface RunInput {
|
|
|
45
45
|
readonly agent: Agent.Definition;
|
|
46
46
|
readonly agentDefinitionId?: Ids.AgentDefinitionId;
|
|
47
47
|
readonly agentDefinitionRevision?: Agent.DefinitionRevision;
|
|
48
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
48
49
|
readonly input: ReadonlyArray<Content.Part>;
|
|
49
50
|
readonly resumeToolCall?: Tool.Call;
|
|
50
51
|
readonly memorySubjectId?: Ids.MemorySubjectId;
|
|
@@ -192,12 +192,14 @@ export interface DispatchInput {
|
|
|
192
192
|
readonly agentDefinitionId: Ids.AgentDefinitionId;
|
|
193
193
|
readonly agentDefinitionRevision: Agent.DefinitionRevision;
|
|
194
194
|
readonly agentDefinitionSnapshot: Agent.Definition;
|
|
195
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
195
196
|
readonly metadata: Shared.Metadata;
|
|
196
197
|
}
|
|
197
198
|
export interface Config {
|
|
198
199
|
readonly agent: Agent.Definition;
|
|
199
200
|
readonly agentDefinitionId: Ids.AgentDefinitionId;
|
|
200
201
|
readonly agentDefinitionRevision: Agent.DefinitionRevision;
|
|
202
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
201
203
|
readonly childRuns: ChildRunService.Interface;
|
|
202
204
|
readonly eventLog: EventLog.Interface;
|
|
203
205
|
readonly waits: WaitService.Interface;
|
|
@@ -128,6 +128,7 @@ export declare const Start: Rpc.Rpc<"start", Schema.Struct<{
|
|
|
128
128
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
129
129
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
130
130
|
}>>;
|
|
131
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
131
132
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
132
133
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
133
134
|
}>;
|
|
@@ -293,6 +294,7 @@ export declare const entity: Entity.Entity<"Relay/Execution", Rpc.Rpc<"start", S
|
|
|
293
294
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
294
295
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
295
296
|
}>>;
|
|
297
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
296
298
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
297
299
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
298
300
|
}>;
|
|
@@ -457,6 +459,7 @@ export declare const client: Effect.Effect<(entityId: string) => import("effect/
|
|
|
457
459
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
458
460
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
459
461
|
}>>;
|
|
462
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
460
463
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
461
464
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
462
465
|
}>;
|
|
@@ -19,6 +19,7 @@ export interface AcceptInput {
|
|
|
19
19
|
readonly agentDefinitionId?: Ids.AgentDefinitionId;
|
|
20
20
|
readonly agentDefinitionRevision?: Agent.DefinitionRevision;
|
|
21
21
|
readonly agentDefinitionSnapshot?: Agent.Definition;
|
|
22
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
22
23
|
readonly metadata?: Shared.Metadata;
|
|
23
24
|
}
|
|
24
25
|
export interface RunInput {
|
|
@@ -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 ToolInputSchemaDigest from "./tool/tool-input-schema-digest";
|
|
29
30
|
export * as WaitService from "./wait/wait-service";
|
|
30
31
|
export * as WaitSignal from "./wait/wait-signal";
|
|
31
32
|
export * as WorkspacePlanner from "./workspace/workspace-planner-service";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AddressBookRepository, AgentChatRepository, AgentDefinitionRepository, ChildExecutionRepository, ClusterRegistryRepository, CompactionRepository, ContextEpochRepository, Database, EnvelopeRepository, ExecutionEventRepository, ExecutionRepository, MemoryRepository, PermissionRuleRepository, ScheduleRepository, SessionRepository, SkillDefinitionRepository, SteeringRepository, ToolCallRepository, WorkspaceLeaseRepository } from "../../store-sql/index";
|
|
2
|
-
import { Config, Context, Duration, Effect, Layer, Option, Schema } from "effect";
|
|
2
|
+
import { Config, Context, Crypto, Duration, Effect, Layer, Option, Schema } from "effect";
|
|
3
3
|
import { MessageStorage, RunnerAddress, RunnerStorage, Runners, Sharding, ShardingConfig } from "effect/unstable/cluster";
|
|
4
4
|
import { WorkflowEngine } from "effect/unstable/workflow";
|
|
5
5
|
import * as AgentRegistry from "../agent/agent-registry-service";
|
|
@@ -88,7 +88,7 @@ export declare const layerWith: <CheckError, CheckIn, ClusterOut, ClusterError,
|
|
|
88
88
|
readonly blobStoreLayer?: Layer.Layer<BlobStore.Service> | undefined;
|
|
89
89
|
readonly artifactStoreLayer?: Layer.Layer<ArtifactStore.Service> | undefined;
|
|
90
90
|
readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistry.Service> | undefined;
|
|
91
|
-
}) => Layer.Layer<AddressBook.Service |
|
|
91
|
+
}) => Layer.Layer<AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | SchedulerService.Service | Service | ClusterOut | RepositoryOut | LanguageModelOut, CheckError | ClusterError | RepositoryError | LanguageModelError | ToolRuntimeError | SchedulerError, Exclude<Exclude<RepositoryIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<LanguageModelIn, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<ClusterIn, SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | LanguageModelOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<MessageStorage.MessageStorage, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AddressBookRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentChatRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentDefinitionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ChildExecutionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EnvelopeRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionEventRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ScheduleRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SkillDefinitionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkspaceLeaseRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelService.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ShardingConfig.ShardingConfig, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkflowEngine.WorkflowEngine, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CheckIn, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SchedulerIn, AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | WorkspacePlanner.Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
92
92
|
export declare const layerWithClient: <CheckError, CheckIn, ClusterOut, ClusterError, ClusterIn, RepositoryOut, RepositoryError, RepositoryIn, LanguageModelOut, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
|
|
93
93
|
readonly checkLayer: Layer.Layer<Service, CheckError, CheckIn>;
|
|
94
94
|
readonly clusterLayer: Layer.Layer<ClusterOut, ClusterError, ClusterIn>;
|
|
@@ -100,7 +100,7 @@ export declare const layerWithClient: <CheckError, CheckIn, ClusterOut, ClusterE
|
|
|
100
100
|
readonly blobStoreLayer?: Layer.Layer<BlobStore.Service> | undefined;
|
|
101
101
|
readonly artifactStoreLayer?: Layer.Layer<ArtifactStore.Service> | undefined;
|
|
102
102
|
readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistry.Service> | undefined;
|
|
103
|
-
}) => Layer.Layer<AddressBook.Service |
|
|
103
|
+
}) => Layer.Layer<AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | WorkspacePlanner.Service | Service | ClusterOut | RepositoryOut | LanguageModelOut, CheckError | ClusterError | RepositoryError | LanguageModelError | ToolRuntimeError, Exclude<Exclude<RepositoryIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<ClusterIn, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AddressBookRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentChatRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentDefinitionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ChildExecutionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EnvelopeRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionEventRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ScheduleRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SkillDefinitionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkspaceLeaseRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelService.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ShardingConfig.ShardingConfig, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CheckIn, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
104
104
|
export declare const layerWithServices: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
|
|
105
105
|
readonly databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>;
|
|
106
106
|
readonly languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>;
|
|
@@ -110,7 +110,7 @@ export declare const layerWithServices: <DatabaseError, DatabaseIn, LanguageMode
|
|
|
110
110
|
readonly blobStoreLayer?: Layer.Layer<BlobStore.Service> | undefined;
|
|
111
111
|
readonly artifactStoreLayer?: Layer.Layer<ArtifactStore.Service> | undefined;
|
|
112
112
|
readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistry.Service> | undefined;
|
|
113
|
-
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
113
|
+
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError | ToolRuntimeError, import("effect/unstable/sql/SqlClient").SqlClient | Exclude<Exclude<DatabaseIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<LanguageModelIn, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
114
114
|
export declare const layerWithServicesMultiNode: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
|
|
115
115
|
readonly databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>;
|
|
116
116
|
readonly languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>;
|
|
@@ -125,7 +125,7 @@ export declare const layerWithServicesMultiNode: <DatabaseError, DatabaseIn, Lan
|
|
|
125
125
|
readonly rpcPort: number;
|
|
126
126
|
readonly assignedShardGroups: ReadonlyArray<string>;
|
|
127
127
|
} & ClusterHttpTuning;
|
|
128
|
-
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
128
|
+
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError | ToolRuntimeError, import("effect/unstable/sql/SqlClient").SqlClient | import("effect/unstable/http/HttpServer").HttpServer | Exclude<Exclude<DatabaseIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<LanguageModelIn, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
129
129
|
export declare const layerWithServicesMultiNodeClientOnly: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
|
|
130
130
|
readonly databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>;
|
|
131
131
|
readonly languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>;
|
|
@@ -136,21 +136,21 @@ export declare const layerWithServicesMultiNodeClientOnly: <DatabaseError, Datab
|
|
|
136
136
|
readonly artifactStoreLayer?: Layer.Layer<ArtifactStore.Service> | undefined;
|
|
137
137
|
readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistry.Service> | undefined;
|
|
138
138
|
readonly cluster?: ClusterHttpTuning | undefined;
|
|
139
|
-
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
139
|
+
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | Sharding.Sharding | Service | Runners.Runners | MessageStorage.MessageStorage, DatabaseError | LanguageModelError | ToolRuntimeError, import("effect/unstable/sql/SqlClient").SqlClient | Exclude<Exclude<DatabaseIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
140
140
|
export declare const layerWithLanguageModelService: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn>(options: {
|
|
141
141
|
readonly databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>;
|
|
142
142
|
readonly languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>;
|
|
143
|
-
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
144
|
-
export declare const layer: Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
143
|
+
}) => Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError, import("effect/unstable/sql/SqlClient").SqlClient | Exclude<Exclude<DatabaseIn, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<LanguageModelIn, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>>;
|
|
144
|
+
export declare const layer: Layer.Layer<Database.Service | AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch, import("@effect/sql-pg/PgClient").PgClient | import("effect/unstable/sql/SqlClient").SqlClient>;
|
|
145
145
|
export declare const testLayerWithServices: <LanguageModelError, LanguageModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
|
|
146
146
|
readonly languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>;
|
|
147
147
|
readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelService.Service> | undefined;
|
|
148
148
|
readonly toolRuntimeLayer: Layer.Layer<ToolRuntime.Service, ToolRuntimeError, ToolRuntimeIn>;
|
|
149
|
-
}) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
150
|
-
export declare const testLayerWithLanguageModelService: <LanguageModelError, LanguageModelIn>(languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
151
|
-
export declare const testLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
152
|
-
export declare const testClientLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
153
|
-
export declare const testLayerWithDatabaseCheck: <DatabaseError, DatabaseIn>(databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
154
|
-
export declare const testClientLayerWithDatabaseCheck: <DatabaseError, DatabaseIn>(databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service |
|
|
149
|
+
}) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError | LanguageModelError | ToolRuntimeError, Exclude<Exclude<Exclude<Exclude<LanguageModelIn, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, ChildRunService.Service>, ModelCallPolicy.Service>, PromptAssembler.Service>, SchemaRegistry.Service>, WaitService.Service>, EventLog.Service>, LanguageModelService.Service>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto>>;
|
|
150
|
+
export declare const testLayerWithLanguageModelService: <LanguageModelError, LanguageModelIn>(languageModelLayer: Layer.Layer<LanguageModelService.Service, LanguageModelError, LanguageModelIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError | LanguageModelError, Exclude<Exclude<Exclude<Exclude<LanguageModelIn, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStore.Service>, ArtifactStore.Service>, Crypto.Crypto>>;
|
|
151
|
+
export declare const testLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError, never>;
|
|
152
|
+
export declare const testClientLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | Sharding.Sharding | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, never, never>;
|
|
153
|
+
export declare const testLayerWithDatabaseCheck: <DatabaseError, DatabaseIn>(databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | WorkflowEngine.WorkflowEngine | Sharding.Sharding | SchedulerService.Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError | DatabaseError, Exclude<DatabaseIn, Crypto.Crypto>>;
|
|
154
|
+
export declare const testClientLayerWithDatabaseCheck: <DatabaseError, DatabaseIn>(databaseLayer: Layer.Layer<Database.Service, DatabaseError, DatabaseIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | EnvelopeRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | ContextEpochRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | AddressBook.Service | Crypto.Crypto | EventLog.Service | WaitService.Service | ToolRuntime.Service | AgentRegistry.Service | AddressResolution.Service | ChildRunService.Service | LanguageModelService.Service | ModelCallPolicy.Service | SchemaRegistry.Service | BlobStore.Service | ArtifactStore.Service | PromptAssembler.Service | AgentLoop.Service | ParentNotifier.Service | SkillRegistry.Service | ExecutionService.Service | ShardingConfig.ShardingConfig | WorkspacePlanner.Service | Sharding.Sharding | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, DatabaseError, Exclude<DatabaseIn, Crypto.Crypto>>;
|
|
155
155
|
export declare const check: () => Effect.Effect<ReadinessStatus, RunnerRuntimeError, Service>;
|
|
156
156
|
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Tool } from "../../schema/index";
|
|
2
|
+
import { Crypto, Effect } from "effect";
|
|
3
|
+
export declare const digestInputSchema: (inputSchema: import("effect/Schema").Json) => Effect.Effect<string, import("effect/PlatformError").PlatformError, Crypto.Crypto>;
|
|
4
|
+
export declare const digestDefinitions: (definitions: readonly Tool.Definition[], toolNames: readonly string[]) => Effect.Effect<{
|
|
5
|
+
[k: string]: string;
|
|
6
|
+
}, import("effect/PlatformError").PlatformError, Crypto.Crypto>;
|
|
@@ -137,6 +137,7 @@ export declare const StartInput: Schema.Struct<{
|
|
|
137
137
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
138
138
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
139
139
|
}>>;
|
|
140
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
140
141
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
141
142
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
142
143
|
}>;
|
|
@@ -379,6 +380,7 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
|
|
|
379
380
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
380
381
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
381
382
|
}>>;
|
|
383
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
382
384
|
readonly wait_id: Schema.optionalKey<Schema.brand<Schema.String, "Relay.WaitId"> & {
|
|
383
385
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.WaitId">;
|
|
384
386
|
}>;
|
|
@@ -404,7 +406,7 @@ export declare const StartExecutionWorkflow: Workflow.Workflow<"Relay/Execution/
|
|
|
404
406
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
405
407
|
}>, typeof ExecutionWorkflowFailed>;
|
|
406
408
|
export declare const sessionEntryScope: (input: StartInput, turn: number) => string;
|
|
407
|
-
export declare const layer: Layer.Layer<never, never, ChildExecutionRepository.Service | ExecutionRepository.Service |
|
|
409
|
+
export declare const layer: Layer.Layer<never, never, ChildExecutionRepository.Service | ExecutionRepository.Service | EventLog.Service | WaitService.Service | ToolRuntime.Service | AddressResolution.Service | AgentLoop.Service | SkillRegistry.Service | ExecutionService.Service | WorkspacePlanner.Service | import("effect/unstable/workflow/WorkflowEngine").WorkflowEngine>;
|
|
408
410
|
export declare const start: <const Discard extends boolean = false>(input: StartInput, options?: {
|
|
409
411
|
readonly discard?: Discard;
|
|
410
412
|
}) => Effect.Effect<Discard extends true ? string : {
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
+
import { AgentDefinitionId, SkillDefinitionId } from "./ids-schema";
|
|
3
|
+
import { Metadata, NonEmptyString } from "./shared-schema";
|
|
4
|
+
import { Permission } from "./tool-schema";
|
|
2
5
|
export declare const DefinitionRevision: Schema.Int;
|
|
3
6
|
export type DefinitionRevision = typeof DefinitionRevision.Type;
|
|
4
7
|
export declare const ModelSelection: Schema.Struct<{
|
|
@@ -61,6 +64,9 @@ export declare const PermissionRuleset: Schema.Struct<{
|
|
|
61
64
|
}>;
|
|
62
65
|
export interface PermissionRuleset extends Schema.Schema.Type<typeof PermissionRuleset> {
|
|
63
66
|
}
|
|
67
|
+
export declare const ToolInputSchemaDigests: Schema.$Record<Schema.String, Schema.String>;
|
|
68
|
+
export interface ToolInputSchemaDigests extends Schema.Schema.Type<typeof ToolInputSchemaDigests> {
|
|
69
|
+
}
|
|
64
70
|
/**
|
|
65
71
|
* Default per-`AgentLoop.run` tool-turn budget when `max_tool_turns` is absent.
|
|
66
72
|
* Preserves pre-configuration behavior bit-for-bit.
|
|
@@ -128,6 +134,29 @@ export declare const Definition: Schema.Struct<{
|
|
|
128
134
|
}>;
|
|
129
135
|
export interface Definition extends Schema.Schema.Type<typeof Definition> {
|
|
130
136
|
}
|
|
137
|
+
export type ToolRef = {
|
|
138
|
+
readonly name: string;
|
|
139
|
+
} | ({
|
|
140
|
+
readonly name: string;
|
|
141
|
+
} & Readonly<Record<string, unknown>>);
|
|
142
|
+
export interface DefineInput {
|
|
143
|
+
readonly id: AgentDefinitionId;
|
|
144
|
+
readonly name: NonEmptyString;
|
|
145
|
+
readonly instructions?: string;
|
|
146
|
+
readonly model: ModelSelection;
|
|
147
|
+
readonly tools?: ReadonlyArray<ToolRef>;
|
|
148
|
+
readonly permissions: ReadonlyArray<Permission>;
|
|
149
|
+
readonly skill_definition_ids?: ReadonlyArray<SkillDefinitionId>;
|
|
150
|
+
readonly permission_rules?: PermissionRuleset;
|
|
151
|
+
readonly max_tool_turns?: number;
|
|
152
|
+
readonly max_wait_turns?: number;
|
|
153
|
+
readonly token_budget?: number;
|
|
154
|
+
readonly child_run_presets?: Readonly<Record<string, ChildRunPreset>>;
|
|
155
|
+
readonly handoff_targets?: ReadonlyArray<HandoffTarget>;
|
|
156
|
+
readonly output_schema_ref?: string;
|
|
157
|
+
readonly metadata?: Metadata;
|
|
158
|
+
}
|
|
159
|
+
export declare const define: (input: DefineInput) => RegisterDefinitionPayload;
|
|
131
160
|
export declare const DefinitionRecord: Schema.Struct<{
|
|
132
161
|
readonly id: Schema.brand<Schema.String, "Relay.AgentDefinitionId"> & {
|
|
133
162
|
make: (input: unknown, options?: import("effect/SchemaAST").ParseOptions) => string & import("effect/Brand").Brand<"Relay.AgentDefinitionId">;
|
|
@@ -188,6 +217,7 @@ export declare const DefinitionRecord: Schema.Struct<{
|
|
|
188
217
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
189
218
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
190
219
|
}>;
|
|
220
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
191
221
|
readonly created_at: Schema.Int;
|
|
192
222
|
readonly updated_at: Schema.Int;
|
|
193
223
|
}>;
|
|
@@ -253,6 +283,7 @@ export declare const DefinitionRevisionRecord: Schema.Struct<{
|
|
|
253
283
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
254
284
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
255
285
|
}>;
|
|
286
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
256
287
|
readonly created_at: Schema.Int;
|
|
257
288
|
}>;
|
|
258
289
|
export interface DefinitionRevisionRecord extends Schema.Schema.Type<typeof DefinitionRevisionRecord> {
|
|
@@ -380,6 +411,7 @@ export declare const DefinitionRegistered: Schema.Struct<{
|
|
|
380
411
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
381
412
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
382
413
|
}>;
|
|
414
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
383
415
|
readonly created_at: Schema.Int;
|
|
384
416
|
readonly updated_at: Schema.Int;
|
|
385
417
|
}>;
|
|
@@ -447,6 +479,7 @@ export declare const DefinitionList: Schema.Struct<{
|
|
|
447
479
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
448
480
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
449
481
|
}>;
|
|
482
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
450
483
|
readonly created_at: Schema.Int;
|
|
451
484
|
readonly updated_at: Schema.Int;
|
|
452
485
|
}>>;
|
|
@@ -514,6 +547,7 @@ export declare const DefinitionRevisionList: Schema.Struct<{
|
|
|
514
547
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
515
548
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
516
549
|
}>;
|
|
550
|
+
readonly tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
517
551
|
readonly created_at: Schema.Int;
|
|
518
552
|
}>>;
|
|
519
553
|
}>;
|
|
@@ -71,6 +71,7 @@ export declare const Execution: Schema.Struct<{
|
|
|
71
71
|
readonly output_schema_ref: Schema.optionalKey<Schema.String>;
|
|
72
72
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
73
73
|
}>>;
|
|
74
|
+
readonly agent_definition_tool_input_schema_digests: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
74
75
|
readonly metadata: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<Schema.Json, Schema.Json, never, never>>>;
|
|
75
76
|
readonly created_at: Schema.Int;
|
|
76
77
|
readonly updated_at: Schema.Int;
|
|
@@ -9,3 +9,5 @@ export declare const TimestampMillis: Schema.Int;
|
|
|
9
9
|
export type TimestampMillis = typeof TimestampMillis.Type;
|
|
10
10
|
export declare const NonEmptyString: Schema.String;
|
|
11
11
|
export type NonEmptyString = typeof NonEmptyString.Type;
|
|
12
|
+
export declare const canonicalValue: (value: unknown) => unknown;
|
|
13
|
+
export declare const canonicalString: (value: unknown) => string;
|
|
@@ -10,6 +10,7 @@ export interface AgentDefinitionRecord {
|
|
|
10
10
|
readonly id: Ids.AgentDefinitionId;
|
|
11
11
|
readonly currentRevision: Agent.DefinitionRevision;
|
|
12
12
|
readonly definition: Agent.Definition;
|
|
13
|
+
readonly toolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
13
14
|
readonly createdAt: number;
|
|
14
15
|
readonly updatedAt: number;
|
|
15
16
|
}
|
|
@@ -17,11 +18,13 @@ export interface AgentDefinitionRevisionRecord {
|
|
|
17
18
|
readonly id: Ids.AgentDefinitionId;
|
|
18
19
|
readonly revision: Agent.DefinitionRevision;
|
|
19
20
|
readonly definition: Agent.Definition;
|
|
21
|
+
readonly toolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
20
22
|
readonly createdAt: number;
|
|
21
23
|
}
|
|
22
24
|
export interface PutAgentDefinitionInput {
|
|
23
25
|
readonly id: Ids.AgentDefinitionId;
|
|
24
26
|
readonly definition: Agent.Definition;
|
|
27
|
+
readonly toolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
25
28
|
readonly now: number;
|
|
26
29
|
}
|
|
27
30
|
export interface GetAgentDefinitionRevisionInput {
|
|
@@ -28,6 +28,7 @@ export interface ExecutionRecord {
|
|
|
28
28
|
readonly agentDefinitionId?: Ids.AgentDefinitionId;
|
|
29
29
|
readonly agentDefinitionRevision?: Agent.DefinitionRevision;
|
|
30
30
|
readonly agentDefinitionSnapshot?: Agent.Definition;
|
|
31
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
31
32
|
readonly metadata: Shared.Metadata;
|
|
32
33
|
readonly createdAt: number;
|
|
33
34
|
readonly updatedAt: number;
|
|
@@ -40,6 +41,7 @@ export interface CreateExecutionInput {
|
|
|
40
41
|
readonly agentDefinitionId?: Ids.AgentDefinitionId;
|
|
41
42
|
readonly agentDefinitionRevision?: Agent.DefinitionRevision;
|
|
42
43
|
readonly agentDefinitionSnapshot?: Agent.Definition;
|
|
44
|
+
readonly agentDefinitionToolInputSchemaDigests?: Agent.ToolInputSchemaDigests;
|
|
43
45
|
readonly metadata?: Shared.Metadata;
|
|
44
46
|
readonly createdAt: number;
|
|
45
47
|
}
|