import type { MonoAgentConfig } from "@mono-agent/config"; import type { AgentResponder } from "@mono-agent/agent-contracts"; import type { MonoRuntimeLike, RuntimeExecutionMode, RuntimeModelReference, SandboxEngine } from "@mono-agent/runtime-adapter"; import type { ConfiguredAgentSessionEvent, createConfiguredMemory } from "./configured-agent.js"; import { type RuntimeOptionsExtension } from "./runtime-option-extensions.js"; import type { ChannelId, MonoAgentAppLogger } from "./channels.js"; import type { InteractionBridgeHandle } from "./interaction-bridge.js"; import type { ContinuationServiceHandle } from "./continuation-service.js"; import type { MemoryRetrievalService } from "./memory-retrieval.js"; import type { SeenNotifyDestinationCache } from "./seen-conversations.js"; import type { ProcessJobsServiceHandle } from "./process-jobs-service.js"; import type { AgentRootOwnership } from "./agent-root-coordinator.js"; import { type ProcessJobsRootRegistrySnapshot } from "./process-jobs-root-registry.js"; import { type ProcessJobsProtectionPosture } from "./process-jobs-protection.js"; type ConfiguredMemory = Awaited>; export interface ResponderControllerPort { readonly cwd: string; readonly configPath: string; readonly configReadPath: string; readonly env: Record; readonly logger: MonoAgentAppLogger | undefined; readonly runtime: MonoRuntimeLike | undefined; readonly activeRuntimes: MonoRuntimeLike[]; readonly interactionBridge: InteractionBridgeHandle | undefined; readonly continuationService: ContinuationServiceHandle | undefined; readonly processJobsService: ProcessJobsServiceHandle | undefined; readonly processJobsStateDir: string | undefined; readonly agentRootOwnership: AgentRootOwnership; readonly processJobsRegistry: ProcessJobsRootRegistrySnapshot | undefined; readonly processJobsProtectionPosture?: ProcessJobsProtectionPosture | undefined; readonly seenNotifyDestinations: SeenNotifyDestinationCache; sandboxEngineFor(coreConfig: MonoAgentConfig): SandboxEngine | undefined; memoryStore(coreConfig: MonoAgentConfig): Promise; ensureSharedMemoryRetrieval(coreConfig: MonoAgentConfig, store: ConfiguredMemory): MemoryRetrievalService | undefined; reportMemoryRecallStatus(coreConfig: MonoAgentConfig, service: MemoryRetrievalService | undefined): boolean; supermemoryMcpRuntimeOptions(coreConfig: MonoAgentConfig): RuntimeOptionsExtension | undefined; adapterSendToolsRuntimeOptions(coreConfig: MonoAgentConfig): Promise<{ readonly createExtension?: (targetsDirectOpenCode: (metadata: Record | undefined) => boolean) => RuntimeOptionsExtension; readonly blockingToolNames: readonly string[]; }>; requestModelOverrideRuntimeOptions(coreConfig: MonoAgentConfig, compatibility: { readonly mcpSources: readonly string[]; readonly indexSkillsActive: boolean; }): { readonly extension: RuntimeOptionsExtension; readonly targetsDirectOpenCode: (metadata: Record | undefined) => boolean; readonly targetsUnsupportedHistoryTool: (metadata: Record | undefined) => boolean; readonly targetsPiNative: (metadata: Record | undefined) => boolean; readonly targetsProcessJobsPiNative: (metadata: Record | undefined) => boolean; }; buildRuntimeForModel(coreConfig: MonoAgentConfig): (model: RuntimeModelReference, executionMode?: RuntimeExecutionMode) => MonoRuntimeLike; observabilityContext(): Promise<{ readonly sourceId?: string; readonly sourceLabel?: string; readonly configPath?: string; }>; recordExporterWarning(warning: { readonly phase: string; readonly message: string; }): void; recordSessionEvent(event: ConfiguredAgentSessionEvent, coreConfig: MonoAgentConfig): void; } /** @internal deterministic composition contract used by focused tests. */ export declare function replyArtifactStorageMaxBytesForMcpApps(mcpAppsEnabled: boolean): number; /** The rollover policy this channel's responder runs under. */ export declare function sessionRolloverForChannel(channelId: ChannelId | undefined, configured: MonoAgentConfig["runtime"]["session"]["rollover"]): MonoAgentConfig["runtime"]["session"]["rollover"]; export declare function buildResponder(controller: ResponderControllerPort, coreConfig: MonoAgentConfig, channelId?: ChannelId, processJobConversationScheme?: string): Promise; export declare function requestModelOverrideRuntimeOptions(controller: ResponderControllerPort, coreConfig: MonoAgentConfig, compatibility: { readonly mcpSources: readonly string[]; readonly indexSkillsActive: boolean; }): { readonly extension: RuntimeOptionsExtension; readonly targetsDirectOpenCode: (metadata: Record | undefined) => boolean; readonly targetsUnsupportedHistoryTool: (metadata: Record | undefined) => boolean; readonly targetsPiNative: (metadata: Record | undefined) => boolean; readonly targetsProcessJobsPiNative: (metadata: Record | undefined) => boolean; }; export declare function buildRuntimeForModel(controller: ResponderControllerPort, coreConfig: MonoAgentConfig): (model: RuntimeModelReference, executionMode?: RuntimeExecutionMode) => MonoRuntimeLike; export declare function supermemoryMcpRuntimeOptions(controller: ResponderControllerPort, coreConfig: MonoAgentConfig): RuntimeOptionsExtension | undefined; export declare function adapterSendToolsRuntimeOptions(controller: ResponderControllerPort, coreConfig: MonoAgentConfig): Promise<{ readonly createExtension?: (targetsDirectOpenCode: (metadata: Record | undefined) => boolean) => RuntimeOptionsExtension; readonly blockingToolNames: readonly string[]; }>; export {}; //# sourceMappingURL=app-controller-responder.d.ts.map