import { AgentRegistry } from '../core/AgentRegistry.ts'; import type { ExecutionContext } from '../core/ExecutionContext.ts'; import { RunEventBus } from '../core/RunEventBus.ts'; import type { ILLMProvider } from '../llm/ILLMProvider.ts'; import type { LLMConfig } from '../llm/types.ts'; import { MemberRegistry } from '../members/index.ts'; import { LanceDBStore } from '../memory/VectorStore.ts'; import type { DetectionResult } from '../reasoning/MemberOrchestrator.ts'; import { KnowledgeGraphStore } from '../rag/KnowledgeGraphStore.ts'; import type { ISkillManifest } from '../skills/discovery/ISkillManifest.ts'; import { MemberRunner } from './MemberRunner.ts'; import type { CheckpointStore } from '../checkpoint/RunCheckpoint.ts'; /** Composition root for `agenthood run` — commands consume one of these. */ export interface ApplicationContextOptions { societyGraph: KnowledgeGraphStore; vectorStore: LanceDBStore; skills: { catalog: string; manifests: Map; }; sentry?: { dsn?: string; }; checkpointStore?: CheckpointStore; } export declare class ApplicationContext { readonly ctx: ExecutionContext; readonly societyGraph: KnowledgeGraphStore; readonly agents: AgentRegistry; readonly members: MemberRegistry; readonly llm: ILLMProvider; readonly runner: MemberRunner; /** Execution event feed external hosts subscribe to (atlaslink) */ readonly events: RunEventBus; private retentionManager?; private readonly episodeLearner; private readonly anomalyDetector; private readonly alertsPath; private constructor(); static create(projectPath: string, config: LLMConfig, host?: { checkpointStore?: CheckpointStore; }): Promise; static knownProviders(): string[]; static validateConfig(config: LLMConfig): void; /** Keyword-based member detection for `agenthood run --detect`. */ detectMembers(task: string): DetectionResult[]; /** Persists a snapshot of the society knowledge graph for inspection. */ snapshotSocietyGraph(): void; private setupAgents; private setupOracle; private buildMemoryTiers; } //# sourceMappingURL=ApplicationContext.d.ts.map