@relayfx/test 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/README.md +5 -0
  2. package/dist/index.js +18190 -0
  3. package/dist/types/runtime/address/address-book-service.d.ts +74 -0
  4. package/dist/types/runtime/address/address-resolution-service.d.ts +140 -0
  5. package/dist/types/runtime/agent/agent-loop-service.d.ts +85 -0
  6. package/dist/types/runtime/agent/agent-registry-service.d.ts +31 -0
  7. package/dist/types/runtime/agent/prompt-assembler-service.d.ts +64 -0
  8. package/dist/types/runtime/agent/relay-approvals.d.ts +2 -0
  9. package/dist/types/runtime/agent/relay-compaction.d.ts +23 -0
  10. package/dist/types/runtime/agent/relay-instructions.d.ts +7 -0
  11. package/dist/types/runtime/agent/relay-permissions.d.ts +25 -0
  12. package/dist/types/runtime/agent/relay-steering.d.ts +17 -0
  13. package/dist/types/runtime/agent/relay-tool-executor.d.ts +22 -0
  14. package/dist/types/runtime/agent/relay-tool-output.d.ts +7 -0
  15. package/dist/types/runtime/agent/sequence-allocator.d.ts +8 -0
  16. package/dist/types/runtime/child/child-run-service.d.ts +90 -0
  17. package/dist/types/runtime/child/parent-notifier-service.d.ts +40 -0
  18. package/dist/types/runtime/child/spawn-child-run-tool.d.ts +211 -0
  19. package/dist/types/runtime/cluster/execution-entity.d.ts +37 -0
  20. package/dist/types/runtime/content/artifact-store-service.d.ts +26 -0
  21. package/dist/types/runtime/content/blob-store-service.d.ts +54 -0
  22. package/dist/types/runtime/entity/entity-instance-service.d.ts +67 -0
  23. package/dist/types/runtime/entity/entity-registry-service.d.ts +35 -0
  24. package/dist/types/runtime/envelope/envelope-service.d.ts +56 -0
  25. package/dist/types/runtime/execution/event-log-service.d.ts +68 -0
  26. package/dist/types/runtime/execution/execution-service.d.ts +65 -0
  27. package/dist/types/runtime/execution/execution-watch-service.d.ts +32 -0
  28. package/dist/types/runtime/execution/session-stream-service.d.ts +33 -0
  29. package/dist/types/runtime/inbox/inbox-service.d.ts +76 -0
  30. package/dist/types/runtime/inbox/send-message-tool.d.ts +27 -0
  31. package/dist/types/runtime/inbox/wait-for-messages-tool.d.ts +34 -0
  32. package/dist/types/runtime/index.d.ts +51 -0
  33. package/dist/types/runtime/memory/memory-service.d.ts +22 -0
  34. package/dist/types/runtime/model/embedding-model-service.d.ts +68 -0
  35. package/dist/types/runtime/model/language-model-service.d.ts +34 -0
  36. package/dist/types/runtime/model/model-call-policy.d.ts +14 -0
  37. package/dist/types/runtime/observability/runtime-metrics.d.ts +19 -0
  38. package/dist/types/runtime/presence/presence-service.d.ts +30 -0
  39. package/dist/types/runtime/presence/presence-tool.d.ts +20 -0
  40. package/dist/types/runtime/runner/runner-runtime-service.d.ts +149 -0
  41. package/dist/types/runtime/schedule/scheduler-service.d.ts +34 -0
  42. package/dist/types/runtime/schema-registry/schema-registry-service.d.ts +27 -0
  43. package/dist/types/runtime/session/session-store-service.d.ts +14 -0
  44. package/dist/types/runtime/skill/skill-registry-service.d.ts +44 -0
  45. package/dist/types/runtime/state/execution-state-service.d.ts +57 -0
  46. package/dist/types/runtime/state/state-tools.d.ts +5 -0
  47. package/dist/types/runtime/tool/tool-input-schema-digest.d.ts +6 -0
  48. package/dist/types/runtime/tool/tool-runtime-service.d.ts +139 -0
  49. package/dist/types/runtime/tool/tool-transition-coordinator.d.ts +13 -0
  50. package/dist/types/runtime/topic/publish-to-topic-tool.d.ts +24 -0
  51. package/dist/types/runtime/topic/topic-service.d.ts +50 -0
  52. package/dist/types/runtime/wait/wait-service.d.ts +81 -0
  53. package/dist/types/runtime/wait/wait-signal.d.ts +16 -0
  54. package/dist/types/runtime/workflow/activity-version-registry.d.ts +89 -0
  55. package/dist/types/runtime/workflow/execution-workflow.d.ts +475 -0
  56. package/dist/types/runtime/workspace/workspace-planner-service.d.ts +64 -0
  57. package/dist/types/runtime/workspace/workspace-provider-service.d.ts +108 -0
  58. package/dist/types/runtime/workspace/workspace-runtime-service.d.ts +21 -0
  59. package/dist/types/schema/address-schema.d.ts +77 -0
  60. package/dist/types/schema/agent-schema.d.ts +658 -0
  61. package/dist/types/schema/content-schema.d.ts +118 -0
  62. package/dist/types/schema/entity-schema.d.ts +40 -0
  63. package/dist/types/schema/envelope-schema.d.ts +180 -0
  64. package/dist/types/schema/execution-schema.d.ts +347 -0
  65. package/dist/types/schema/ids-schema.d.ts +94 -0
  66. package/dist/types/schema/inbox-schema.d.ts +81 -0
  67. package/dist/types/schema/index.d.ts +16 -0
  68. package/dist/types/schema/presence-schema.d.ts +28 -0
  69. package/dist/types/schema/schedule-schema.d.ts +79 -0
  70. package/dist/types/schema/shared-schema.d.ts +13 -0
  71. package/dist/types/schema/skill-schema.d.ts +260 -0
  72. package/dist/types/schema/state-schema.d.ts +35 -0
  73. package/dist/types/schema/tool-schema.d.ts +84 -0
  74. package/dist/types/schema/workspace-schema.d.ts +78 -0
  75. package/dist/types/test/captured-model.d.ts +13 -0
  76. package/dist/types/test/index.d.ts +6 -0
  77. package/dist/types/test/scripted-model.d.ts +39 -0
  78. package/dist/types/test/test-runtime.d.ts +9 -0
  79. package/dist/types/test/test-tools.d.ts +18 -0
  80. package/dist/types/test/wait-test-kit.d.ts +9 -0
  81. package/package.json +45 -0
@@ -0,0 +1,149 @@
1
+ import { AddressBookRepository, AgentChatRepository, AgentDefinitionRepository, ChildExecutionRepository, ClusterRegistryRepository, CompactionRepository, ContextEpochRepository, EnvelopeRepository, EntityRepository, ExecutionEventRepository, ExecutionRepository, ExecutionStateRepository, InboxRepository, MemoryRepository, TopicRepository, PermissionRuleRepository, PresenceRepository, ScheduleRepository, SessionRepository, SkillDefinitionRepository, SteeringRepository, ToolCallRepository, WorkspaceLeaseRepository } from "@relayfx/store-sql/portable";
2
+ import { Config, Context, Crypto, Duration, Effect, Layer, Option, Schema } from "effect";
3
+ import { MessageStorage, RunnerAddress, RunnerStorage, Runners, Sharding, ShardingConfig } from "effect/unstable/cluster";
4
+ import { SqlClient } from "effect/unstable/sql/SqlClient";
5
+ import { WorkflowEngine } from "effect/unstable/workflow";
6
+ import { Service as ArtifactStoreService } from "../content/artifact-store-service";
7
+ import { Service as BlobStoreService } from "../content/blob-store-service";
8
+ import { Service as EmbeddingModelServiceService } from "../model/embedding-model-service";
9
+ import { Service as LanguageModelServiceService } from "../model/language-model-service";
10
+ import { Service as ParentNotifierService } from "../child/parent-notifier-service";
11
+ import { Service as PromptAssemblerService } from "../agent/prompt-assembler-service";
12
+ import { Service as SchedulerServiceService } from "../schedule/scheduler-service";
13
+ import { Service as SchemaRegistryService } from "../schema-registry/schema-registry-service";
14
+ import { Service as ToolRuntimeService } from "../tool/tool-runtime-service";
15
+ import { Service as ToolTransitionCoordinatorService } from "../tool/tool-transition-coordinator";
16
+ export declare const DatabaseMode: Schema.Literals<readonly ["sql", "pg", "mysql", "sqlite", "memory"]>;
17
+ export type DatabaseMode = typeof DatabaseMode.Type;
18
+ export declare const ReadinessStatus: Schema.Struct<{
19
+ readonly database: Schema.Literals<readonly ["sql", "pg", "mysql", "sqlite", "memory"]>;
20
+ readonly cluster: Schema.Literal<"ready">;
21
+ readonly workflow: Schema.Literals<readonly ["ready", "client"]>;
22
+ readonly executionEntity: Schema.Literals<readonly ["registered", "client"]>;
23
+ }>;
24
+ export interface ReadinessStatus extends Schema.Schema.Type<typeof ReadinessStatus> {
25
+ }
26
+ declare const RunnerRuntimeError_base: Schema.Class<RunnerRuntimeError, Schema.TaggedStruct<"RunnerRuntimeError", {
27
+ readonly message: Schema.String;
28
+ }>, import("effect/Cause").YieldableError>;
29
+ export declare class RunnerRuntimeError extends RunnerRuntimeError_base {
30
+ }
31
+ declare const ClusterConfigMismatch_base: Schema.Class<ClusterConfigMismatch, Schema.TaggedStruct<"ClusterConfigMismatch", {
32
+ readonly field: Schema.String;
33
+ readonly expected: Schema.String;
34
+ readonly actual: Schema.String;
35
+ }>, import("effect/Cause").YieldableError>;
36
+ export declare class ClusterConfigMismatch extends ClusterConfigMismatch_base {
37
+ }
38
+ export interface Interface {
39
+ readonly check: () => Effect.Effect<ReadinessStatus, RunnerRuntimeError>;
40
+ }
41
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/RunnerRuntime", Interface>;
42
+ export declare class Service extends Service_base {
43
+ }
44
+ export declare const shardingConfigFromEnv: () => Layer.Layer<ShardingConfig.ShardingConfig, Config.ConfigError, never>;
45
+ export interface ClusterHttpTuning {
46
+ readonly availableShardGroups?: ReadonlyArray<string> | undefined;
47
+ readonly shardsPerGroup?: number | undefined;
48
+ readonly shardLockRefreshInterval?: Duration.Input | undefined;
49
+ readonly shardLockExpiration?: Duration.Input | undefined;
50
+ readonly shardLockDisableAdvisory?: boolean | undefined;
51
+ }
52
+ export declare const clusterShardingConfigLayer: (options: {
53
+ readonly runnerAddress: Option.Option<RunnerAddress.RunnerAddress>;
54
+ readonly assignedShardGroups: ReadonlyArray<string>;
55
+ } & ClusterHttpTuning) => Layer.Layer<ShardingConfig.ShardingConfig, never, never>;
56
+ export interface RunnerAddressPreflightOptions {
57
+ readonly isAddressReachable?: (address: RunnerAddress.RunnerAddress) => Effect.Effect<boolean>;
58
+ }
59
+ export declare const assertRunnerAddressAvailable: (options?: RunnerAddressPreflightOptions | undefined) => Effect.Effect<undefined, ClusterConfigMismatch, ShardingConfig.ShardingConfig | RunnerStorage.RunnerStorage>;
60
+ export declare const clusterLayerHttp: (options: {
61
+ readonly runnerHost: string;
62
+ readonly rpcPort: number;
63
+ readonly assignedShardGroups: ReadonlyArray<string>;
64
+ } & ClusterHttpTuning) => Layer.Layer<ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage, ClusterConfigMismatch, SqlClient | import("effect/unstable/http/HttpServer").HttpServer>;
65
+ export declare const clusterLayerHttpClientOnly: (options?: ClusterHttpTuning) => Layer.Layer<ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage, never, SqlClient>;
66
+ export declare const assertClusterConfig: (expected: {
67
+ readonly shardsPerGroup: number;
68
+ readonly availableShardGroups: ReadonlyArray<string>;
69
+ }) => Effect.Effect<undefined, ClusterConfigMismatch, ShardingConfig.ShardingConfig>;
70
+ export declare const layerWith: <CheckError, CheckIn, ClusterOut, ClusterError, ClusterIn, RepositoryOut, RepositoryError, RepositoryIn, LanguageModelOut, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn, SchedulerError, SchedulerIn, CoordinatorError, CoordinatorIn>(options: {
71
+ readonly checkLayer: Layer.Layer<Service, CheckError, CheckIn>;
72
+ readonly clusterLayer: Layer.Layer<ClusterOut, ClusterError, ClusterIn>;
73
+ readonly repositoryLayer: Layer.Layer<RepositoryOut, RepositoryError, RepositoryIn>;
74
+ readonly languageModelLayer: Layer.Layer<LanguageModelOut, LanguageModelError, LanguageModelIn>;
75
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService, EmbeddingModelError, EmbeddingModelIn> | undefined;
76
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
77
+ readonly schedulerLayer: Layer.Layer<SchedulerServiceService, SchedulerError, SchedulerIn>;
78
+ readonly promptAssemblerLayer?: Layer.Layer<PromptAssemblerService> | undefined;
79
+ readonly blobStoreLayer?: Layer.Layer<BlobStoreService> | undefined;
80
+ readonly artifactStoreLayer?: Layer.Layer<ArtifactStoreService> | undefined;
81
+ readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistryService> | undefined;
82
+ readonly toolTransitionCoordinatorLayer: Layer.Layer<ToolTransitionCoordinatorService, CoordinatorError, CoordinatorIn>;
83
+ }) => Layer.Layer<import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | ClusterOut | RepositoryOut | LanguageModelOut, Config.ConfigError | CheckError | ClusterError | RepositoryError | LanguageModelError | ToolRuntimeError | SchedulerError | CoordinatorError, Exclude<Exclude<RepositoryIn, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<LanguageModelIn, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<ClusterIn, SchemaRegistryService | BlobStoreService | ArtifactStoreService | PromptAssemblerService | LanguageModelOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<MessageStorage.MessageStorage, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AddressBookRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentChatRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentDefinitionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ChildExecutionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EnvelopeRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EntityRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionEventRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionStateRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<InboxRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<TopicRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<PresenceRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ScheduleRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SkillDefinitionRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolCallRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkspaceLeaseRepository.Service, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelServiceService, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<BlobStoreService, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ShardingConfig.ShardingConfig, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkflowEngine.WorkflowEngine, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CheckIn, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CoordinatorIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SchedulerIn, import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | PromptAssemblerService | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service>, LanguageModelOut>, never>, WorkflowEngine.WorkflowEngine>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService>>;
84
+ export declare const layerWithClient: <CheckError, CheckIn, ClusterOut, ClusterError, ClusterIn, RepositoryOut, RepositoryError, RepositoryIn, LanguageModelOut, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn, CoordinatorError, CoordinatorIn>(options: {
85
+ readonly checkLayer: Layer.Layer<Service, CheckError, CheckIn>;
86
+ readonly clusterLayer: Layer.Layer<ClusterOut, ClusterError, ClusterIn>;
87
+ readonly repositoryLayer: Layer.Layer<RepositoryOut, RepositoryError, RepositoryIn>;
88
+ readonly languageModelLayer: Layer.Layer<LanguageModelOut, LanguageModelError, LanguageModelIn>;
89
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService, EmbeddingModelError, EmbeddingModelIn> | undefined;
90
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
91
+ readonly promptAssemblerLayer?: Layer.Layer<PromptAssemblerService> | undefined;
92
+ readonly blobStoreLayer?: Layer.Layer<BlobStoreService> | undefined;
93
+ readonly artifactStoreLayer?: Layer.Layer<ArtifactStoreService> | undefined;
94
+ readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistryService> | undefined;
95
+ readonly toolTransitionCoordinatorLayer: Layer.Layer<ToolTransitionCoordinatorService, CoordinatorError, CoordinatorIn>;
96
+ }) => Layer.Layer<import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | Service | ClusterOut | RepositoryOut | LanguageModelOut, Config.ConfigError | CheckError | ClusterError | RepositoryError | LanguageModelError | ToolRuntimeError | CoordinatorError, Exclude<Exclude<RepositoryIn, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<ClusterIn, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AddressBookRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentChatRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<AgentDefinitionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ChildExecutionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EnvelopeRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<EntityRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionEventRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ExecutionStateRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<InboxRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<TopicRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<PresenceRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ScheduleRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<SkillDefinitionRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<WorkspaceLeaseRepository.Service, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelServiceService, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<BlobStoreService, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ShardingConfig.ShardingConfig, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Sharding.Sharding, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CheckIn, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<CoordinatorIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelOut>, never>, ClusterOut>, RepositoryOut>, BlobStoreService>, ArtifactStoreService>>;
97
+ export declare const layerWithServices: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
98
+ readonly databaseLayer: Layer.Layer<SqlClient, DatabaseError, DatabaseIn>;
99
+ readonly languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>;
100
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService, EmbeddingModelError, EmbeddingModelIn> | undefined;
101
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
102
+ readonly promptAssemblerLayer?: Layer.Layer<PromptAssemblerService> | undefined;
103
+ readonly blobStoreLayer?: Layer.Layer<BlobStoreService> | undefined;
104
+ readonly artifactStoreLayer?: Layer.Layer<ArtifactStoreService> | undefined;
105
+ readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistryService> | undefined;
106
+ }) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError | ToolRuntimeError, DatabaseIn | Exclude<Exclude<Exclude<Exclude<LanguageModelIn, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient>>;
107
+ export declare const layerWithServicesMultiNode: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
108
+ readonly databaseLayer: Layer.Layer<SqlClient, DatabaseError, DatabaseIn>;
109
+ readonly languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>;
110
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService, EmbeddingModelError, EmbeddingModelIn> | undefined;
111
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
112
+ readonly promptAssemblerLayer?: Layer.Layer<PromptAssemblerService> | undefined;
113
+ readonly blobStoreLayer?: Layer.Layer<BlobStoreService> | undefined;
114
+ readonly artifactStoreLayer?: Layer.Layer<ArtifactStoreService> | undefined;
115
+ readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistryService> | undefined;
116
+ readonly cluster: {
117
+ readonly runnerHost: string;
118
+ readonly rpcPort: number;
119
+ readonly assignedShardGroups: ReadonlyArray<string>;
120
+ } & ClusterHttpTuning;
121
+ }) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError | ToolRuntimeError, DatabaseIn | import("effect/unstable/http/HttpServer").HttpServer | Exclude<Exclude<Exclude<Exclude<LanguageModelIn, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient>>;
122
+ export declare const layerWithServicesMultiNodeClientOnly: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn, EmbeddingModelError, EmbeddingModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
123
+ readonly databaseLayer: Layer.Layer<SqlClient, DatabaseError, DatabaseIn>;
124
+ readonly languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>;
125
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService, EmbeddingModelError, EmbeddingModelIn> | undefined;
126
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
127
+ readonly promptAssemblerLayer?: Layer.Layer<PromptAssemblerService> | undefined;
128
+ readonly blobStoreLayer?: Layer.Layer<BlobStoreService> | undefined;
129
+ readonly artifactStoreLayer?: Layer.Layer<ArtifactStoreService> | undefined;
130
+ readonly schemaRegistryLayer?: Layer.Layer<SchemaRegistryService> | undefined;
131
+ readonly cluster?: ClusterHttpTuning | undefined;
132
+ }) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | DatabaseError | LanguageModelError | ToolRuntimeError, DatabaseIn | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, never>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient>>;
133
+ export declare const layerWithLanguageModelService: <DatabaseError, DatabaseIn, LanguageModelError, LanguageModelIn>(options: {
134
+ readonly databaseLayer: Layer.Layer<SqlClient, DatabaseError, DatabaseIn>;
135
+ readonly languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>;
136
+ }) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch | DatabaseError | LanguageModelError, DatabaseIn | Exclude<Exclude<Exclude<Exclude<LanguageModelIn, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<LanguageModelIn, never>, WorkflowEngine.WorkflowEngine>, ShardingConfig.ShardingConfig | Sharding.Sharding | Runners.Runners | MessageStorage.MessageStorage>, AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, SqlClient>>;
137
+ export declare const layer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage, Config.ConfigError | ClusterConfigMismatch, SqlClient>;
138
+ export declare const testLayerWithServices: <LanguageModelError, LanguageModelIn, ToolRuntimeError, ToolRuntimeIn>(options: {
139
+ readonly languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>;
140
+ readonly embeddingModelLayer?: Layer.Layer<EmbeddingModelServiceService> | undefined;
141
+ readonly toolRuntimeLayer: Layer.Layer<ToolRuntimeService, ToolRuntimeError, ToolRuntimeIn>;
142
+ }) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, Crypto.Crypto> | Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<Exclude<ToolRuntimeIn, import("../child/child-run-service").Service>, import("../model/model-call-policy").Service>, PromptAssemblerService>, SchemaRegistryService>, import("../inbox/inbox-service").Service>, import("../address/address-book-service").Service | import("../inbox/inbox-service").Service | import("../envelope/envelope-service").Service>, import("../inbox/inbox-service").Service | import("../topic/topic-service").Service>, import("../state/execution-state-service").Service>, import("../wait/wait-service").Service>, import("../execution/event-log-service").Service>, LanguageModelServiceService>, 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, Crypto.Crypto>>;
143
+ export declare const testLayerWithLanguageModelService: <LanguageModelError, LanguageModelIn>(languageModelLayer: Layer.Layer<LanguageModelServiceService, LanguageModelError, LanguageModelIn>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, 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 | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service>, BlobStoreService>, ArtifactStoreService>, Crypto.Crypto>>;
144
+ export declare const testLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError, never>;
145
+ export declare const testClientLayer: Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError, never>;
146
+ export declare const testLayerWithDatabaseCheck: <CheckError>(checkDatabase: Effect.Effect<void, CheckError>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | WorkflowEngine.WorkflowEngine | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | SchedulerServiceService | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError, never>;
147
+ export declare const testClientLayerWithDatabaseCheck: <CheckError>(checkDatabase: Effect.Effect<void, CheckError>) => Layer.Layer<AddressBookRepository.Service | AgentChatRepository.Service | AgentDefinitionRepository.Service | ChildExecutionRepository.Service | ClusterRegistryRepository.Service | CompactionRepository.Service | ContextEpochRepository.Service | EnvelopeRepository.Service | EntityRepository.Service | ExecutionEventRepository.Service | ExecutionRepository.Service | ExecutionStateRepository.Service | InboxRepository.Service | TopicRepository.Service | MemoryRepository.Service | PermissionRuleRepository.Service | PresenceRepository.Service | ScheduleRepository.Service | SessionRepository.Service | SkillDefinitionRepository.Service | SteeringRepository.Service | ToolCallRepository.Service | WorkspaceLeaseRepository.Service | import("../address/address-book-service").Service | Crypto.Crypto | import("../execution/event-log-service").Service | import("../wait/wait-service").Service | ToolRuntimeService | import("../agent/agent-registry-service").Service | import("../address/address-resolution-service").Service | import("../child/child-run-service").Service | LanguageModelServiceService | import("../model/model-call-policy").Service | import("../presence/presence-service").Service | SchemaRegistryService | BlobStoreService | import("../state/execution-state-service").Service | ParentNotifierService | import("../skill/skill-registry-service").Service | import("../execution/execution-service").Service | ShardingConfig.ShardingConfig | ToolTransitionCoordinatorService | import("../workspace/workspace-planner-service").Service | import("../agent/agent-loop-service").Service | import("../inbox/inbox-service").Service | import("../topic/topic-service").Service | import("../envelope/envelope-service").Service | ArtifactStoreService | PromptAssemblerService | Sharding.Sharding | import("../entity/entity-registry-service").Service | import("../entity/entity-instance-service").Service | import("../execution/execution-watch-service").Service | import("../execution/session-stream-service").Service | Service | Runners.Runners | MessageStorage.MessageStorage | MessageStorage.MemoryDriver, Config.ConfigError, never>;
148
+ export declare const check: () => Effect.Effect<ReadinessStatus, RunnerRuntimeError, Service>;
149
+ export {};
@@ -0,0 +1,34 @@
1
+ import { Schedule } from "../../schema/index";
2
+ import { ExecutionRepository, ScheduleRepository } from "@relayfx/store-sql/portable";
3
+ import { Config, Context, Cron, Effect, Layer, Schema } from "effect";
4
+ import { Service as EventLogService } from "../execution/event-log-service";
5
+ import { Service as WaitServiceService } from "../wait/wait-service";
6
+ declare const SchedulerError_base: Schema.Class<SchedulerError, Schema.TaggedStruct<"SchedulerError", {
7
+ readonly message: Schema.String;
8
+ }>, import("effect/Cause").YieldableError>;
9
+ export declare class SchedulerError extends SchedulerError_base {
10
+ }
11
+ declare const ScheduleCronInvalid_base: Schema.Class<ScheduleCronInvalid, Schema.TaggedStruct<"ScheduleCronInvalid", {
12
+ readonly cron_expr: Schema.String;
13
+ readonly message: Schema.String;
14
+ }>, import("effect/Cause").YieldableError>;
15
+ export declare class ScheduleCronInvalid extends ScheduleCronInvalid_base {
16
+ }
17
+ export interface Interface {
18
+ readonly runOnce: Effect.Effect<number, SchedulerError>;
19
+ }
20
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/SchedulerService", Interface>;
21
+ export declare class Service extends Service_base {
22
+ }
23
+ export declare const pollIntervalMillisConfig: Config.Config<number>;
24
+ export declare const claimTtlMillisConfig: Config.Config<number>;
25
+ export declare const enabledConfig: Config.Config<boolean>;
26
+ export declare const workerIdConfig: Config.Config<string>;
27
+ export declare const parseCron: (cronExpr: string) => Effect.Effect<Cron.Cron, ScheduleCronInvalid>;
28
+ export declare const startIdempotencyKey: (schedule: Schedule.ScheduleRecord) => string;
29
+ export declare const make: Effect.Effect<Interface, Config.ConfigError, ExecutionRepository.Service | ScheduleRepository.Service | EventLogService | WaitServiceService | import("effect/unstable/cluster/Sharding").Sharding>;
30
+ export declare const layer: Layer.Layer<Service, Config.ConfigError, ExecutionRepository.Service | ScheduleRepository.Service | EventLogService | WaitServiceService | import("effect/unstable/cluster/Sharding").Sharding>;
31
+ export declare const memoryLayer: Layer.Layer<Service, Config.ConfigError, ExecutionRepository.Service | ScheduleRepository.Service | EventLogService | WaitServiceService | import("effect/unstable/cluster/Sharding").Sharding>;
32
+ export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
33
+ export declare const runOnce: () => Effect.Effect<number, SchedulerError, Service>;
34
+ export {};
@@ -0,0 +1,27 @@
1
+ import { Shared } from "../../schema/index";
2
+ import { Context, Effect, Layer, Schema } from "effect";
3
+ declare const SchemaRefNotRegistered_base: Schema.Class<SchemaRefNotRegistered, Schema.TaggedStruct<"SchemaRefNotRegistered", {
4
+ readonly schema_ref: Schema.String;
5
+ }>, import("effect/Cause").YieldableError>;
6
+ export declare class SchemaRefNotRegistered extends SchemaRefNotRegistered_base {
7
+ }
8
+ export interface Registration {
9
+ readonly ref: string;
10
+ readonly schema: Schema.Top;
11
+ readonly metadata?: Shared.Metadata;
12
+ }
13
+ export interface Interface {
14
+ readonly register: (registration: Registration) => Effect.Effect<void>;
15
+ readonly registrations: Effect.Effect<ReadonlyArray<Registration>>;
16
+ readonly resolve: (ref: string) => Effect.Effect<Registration, SchemaRefNotRegistered>;
17
+ }
18
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/SchemaRegistry", Interface>;
19
+ export declare class Service extends Service_base {
20
+ }
21
+ export declare const layer: (initialRegistrations?: ReadonlyArray<Registration>) => Layer.Layer<Service, never, never>;
22
+ export declare const memoryLayer: (initialRegistrations?: ReadonlyArray<Registration>) => Layer.Layer<Service, never, never>;
23
+ export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
24
+ export declare const register: (registration: Registration) => Effect.Effect<void, never, Service>;
25
+ export declare const registrations: () => Effect.Effect<readonly Registration[], never, Service>;
26
+ export declare const resolve: (ref: string) => Effect.Effect<Registration, SchemaRefNotRegistered, Service>;
27
+ export {};
@@ -0,0 +1,14 @@
1
+ import { Session } from "@batonfx/core";
2
+ import { Ids } from "../../schema/index";
3
+ import { SessionRepository } from "@relayfx/store-sql/portable";
4
+ import { Context, Effect, Layer } from "effect";
5
+ export type Interface = Session.Interface;
6
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/RelaySessionStore", Session.Interface>;
7
+ export declare class Service extends Service_base {
8
+ }
9
+ export declare const make: (sessionId: string & import("effect/Brand").Brand<"Relay.SessionId">, entryScope?: string | undefined) => Effect.Effect<Session.Interface, never, SessionRepository.Service>;
10
+ export declare const serviceLayer: (sessionId: Ids.SessionId, entryScope?: string) => Layer.Layer<Service, never, SessionRepository.Service>;
11
+ export declare const layer: (sessionId: Ids.SessionId, entryScope?: string) => Layer.Layer<Session.SessionStore, never, SessionRepository.Service>;
12
+ export declare const memoryLayer: (sessionId: Ids.SessionId, entryScope?: string) => Layer.Layer<Session.SessionStore, never, never>;
13
+ export declare const testLayer: (implementation: Interface) => Layer.Layer<Session.SessionStore, never, never>;
14
+ export {};
@@ -0,0 +1,44 @@
1
+ import { SkillSource } from "@batonfx/core";
2
+ import { Ids, Skill } from "../../schema/index";
3
+ import { SkillDefinitionRepository } from "@relayfx/store-sql/portable";
4
+ import { Context, Effect, Layer, Schema } from "effect";
5
+ declare const SkillDefinitionInvalid_base: Schema.Class<SkillDefinitionInvalid, Schema.TaggedStruct<"SkillDefinitionInvalid", {
6
+ readonly message: Schema.String;
7
+ }>, import("effect/Cause").YieldableError>;
8
+ export declare class SkillDefinitionInvalid extends SkillDefinitionInvalid_base {
9
+ }
10
+ declare const SkillRegistryError_base: Schema.Class<SkillRegistryError, Schema.TaggedStruct<"SkillRegistryError", {
11
+ readonly message: Schema.String;
12
+ }>, import("effect/Cause").YieldableError>;
13
+ export declare class SkillRegistryError extends SkillRegistryError_base {
14
+ }
15
+ export interface PinExecutionSkillsInput {
16
+ readonly execution_id: Ids.ExecutionId;
17
+ readonly skill_definition_ids: ReadonlyArray<Ids.SkillDefinitionId>;
18
+ }
19
+ export interface Interface {
20
+ readonly register: (input: Skill.RegisterDefinitionPayload) => Effect.Effect<Skill.DefinitionRegistered, SkillDefinitionInvalid | SkillRegistryError>;
21
+ readonly get: (id: Ids.SkillDefinitionId) => Effect.Effect<Skill.DefinitionRecord | undefined, SkillRegistryError>;
22
+ readonly getRevision: (input: SkillDefinitionRepository.GetSkillDefinitionRevisionInput) => Effect.Effect<Skill.DefinitionRevisionRecord | undefined, SkillRegistryError>;
23
+ readonly list: () => Effect.Effect<Skill.DefinitionList, SkillRegistryError>;
24
+ readonly listRevisions: (id: Ids.SkillDefinitionId) => Effect.Effect<Skill.DefinitionRevisionList, SkillRegistryError>;
25
+ readonly pinExecution: (input: PinExecutionSkillsInput) => Effect.Effect<Skill.ExecutionPinList, SkillRegistryError>;
26
+ readonly listPins: (executionId: Ids.ExecutionId) => Effect.Effect<Skill.ExecutionPinList, SkillRegistryError>;
27
+ readonly getPinned: (input: SkillDefinitionRepository.GetPinnedSkillInput) => Effect.Effect<Skill.ExecutionPinRecord | undefined, SkillRegistryError>;
28
+ }
29
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/SkillRegistry", Interface>;
30
+ export declare class Service extends Service_base {
31
+ }
32
+ export declare const layer: Layer.Layer<Service, never, SkillDefinitionRepository.Service>;
33
+ export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
34
+ export declare const register: (input: Skill.RegisterDefinitionPayload) => Effect.Effect<Skill.DefinitionRegistered, SkillDefinitionInvalid | SkillRegistryError, Service>;
35
+ export declare const get: (id: string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">) => Effect.Effect<Skill.DefinitionRecord | undefined, SkillRegistryError, Service>;
36
+ export declare const getRevision: (input: SkillDefinitionRepository.GetSkillDefinitionRevisionInput) => Effect.Effect<Skill.DefinitionRevisionRecord | undefined, SkillRegistryError, Service>;
37
+ export declare const list: () => Effect.Effect<Skill.DefinitionList, SkillRegistryError, Service>;
38
+ export declare const listRevisions: (id: string & import("effect/Brand").Brand<"Relay.SkillDefinitionId">) => Effect.Effect<Skill.DefinitionRevisionList, SkillRegistryError, Service>;
39
+ export declare const pinExecution: (input: PinExecutionSkillsInput) => Effect.Effect<Skill.ExecutionPinList, SkillRegistryError, Service>;
40
+ export declare const listPins: (executionId: string & import("effect/Brand").Brand<"Relay.ExecutionId">) => Effect.Effect<Skill.ExecutionPinList, SkillRegistryError, Service>;
41
+ export declare const getPinned: (input: SkillDefinitionRepository.GetPinnedSkillInput) => Effect.Effect<Skill.ExecutionPinRecord | undefined, SkillRegistryError, Service>;
42
+ export declare const sourceForExecution: (executionId: string & import("effect/Brand").Brand<"Relay.ExecutionId">) => Effect.Effect<SkillSource.Interface, SkillSource.SkillSourceError, Service>;
43
+ export declare const sourceLayerForExecution: (executionId: Ids.ExecutionId) => Layer.Layer<SkillSource.SkillSource, SkillSource.SkillSourceError, Service>;
44
+ export {};
@@ -0,0 +1,57 @@
1
+ import { Ids, Shared, State } from "../../schema/index";
2
+ import { ExecutionStateRepository } from "@relayfx/store-sql/portable";
3
+ import { Context, Effect, Layer, Schema } from "effect";
4
+ import { Service as BlobStoreService } from "../content/blob-store-service";
5
+ export declare const StateVersionConflict: typeof ExecutionStateRepository.StateVersionConflict;
6
+ export type StateVersionConflict = ExecutionStateRepository.StateVersionConflict;
7
+ declare const StateValueInvalid_base: Schema.Class<StateValueInvalid, Schema.TaggedStruct<"StateValueInvalid", {
8
+ readonly key: Schema.String;
9
+ readonly message: Schema.String;
10
+ }>, import("effect/Cause").YieldableError>;
11
+ export declare class StateValueInvalid extends StateValueInvalid_base {
12
+ }
13
+ declare const ExecutionStateError_base: Schema.Class<ExecutionStateError, Schema.TaggedStruct<"ExecutionStateError", {
14
+ readonly message: Schema.String;
15
+ }>, import("effect/Cause").YieldableError>;
16
+ export declare class ExecutionStateError extends ExecutionStateError_base {
17
+ }
18
+ export interface StateKey<A, I extends Shared.JsonValue> {
19
+ readonly name: string;
20
+ readonly schema: Schema.Codec<A, I>;
21
+ }
22
+ export declare const key: <A, I extends Shared.JsonValue>(name: string, schema: Schema.Codec<A, I>) => StateKey<A, I>;
23
+ export interface PutInput<A, I extends Shared.JsonValue> {
24
+ readonly executionId: Ids.ExecutionId;
25
+ readonly key: StateKey<A, I>;
26
+ readonly value: A;
27
+ readonly expectedVersion?: number;
28
+ readonly idempotencyKey?: string;
29
+ readonly updatedAt: number;
30
+ }
31
+ export interface RemoveInput {
32
+ readonly executionId: Ids.ExecutionId;
33
+ readonly key: string;
34
+ readonly expectedVersion?: number;
35
+ readonly idempotencyKey?: string;
36
+ readonly removedAt: number;
37
+ }
38
+ export interface ListInput {
39
+ readonly executionId: Ids.ExecutionId;
40
+ readonly prefix?: string;
41
+ readonly afterKey?: string;
42
+ readonly limit?: number;
43
+ }
44
+ export interface Interface {
45
+ readonly getRecord: (executionId: Ids.ExecutionId, key: string) => Effect.Effect<State.StateRecordView | undefined, ExecutionStateError>;
46
+ readonly get: <A, I extends Shared.JsonValue>(executionId: Ids.ExecutionId, key: StateKey<A, I>) => Effect.Effect<A | undefined, StateValueInvalid | ExecutionStateError>;
47
+ readonly put: <A, I extends Shared.JsonValue>(input: PutInput<A, I>) => Effect.Effect<State.StateRecordView, ExecutionStateRepository.StateVersionConflict | StateValueInvalid | ExecutionStateError>;
48
+ readonly remove: (input: RemoveInput) => Effect.Effect<State.StateRecordView | undefined, ExecutionStateRepository.StateVersionConflict | ExecutionStateError>;
49
+ readonly list: (input: ListInput) => Effect.Effect<ReadonlyArray<State.StateRecordView>, ExecutionStateError>;
50
+ }
51
+ declare const Service_base: Context.ServiceClass<Service, "@relayfx/runtime/ExecutionStateService", Interface>;
52
+ export declare class Service extends Service_base {
53
+ }
54
+ export declare const layer: Layer.Layer<Service, never, ExecutionStateRepository.Service | BlobStoreService>;
55
+ export declare const memoryLayer: Layer.Layer<Service, never, BlobStoreService>;
56
+ export declare const testLayer: (implementation: Interface) => Layer.Layer<Service, never, never>;
57
+ export {};
@@ -0,0 +1,5 @@
1
+ import { Agent } from "../../schema/index";
2
+ import type { RegisteredTool } from "../tool/tool-runtime-service";
3
+ import { type Interface } from "./execution-state-service";
4
+ export declare const enabled: (agent: Agent.Definition) => boolean;
5
+ export declare const registeredTools: (state: Interface) => ReadonlyArray<RegisteredTool>;
@@ -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>;