import type { AgentRuntimeActivitySink, AgentRuntimeResultSink, AgentRuntimePathContext, AgentRuntimeSkillSource, AgentRuntimeStateSink, DreamuxLogger } from '@excitedjs/dreamux-types'; import type { CodexOutputSchemaCodec } from './output-schema-codec.js'; /** * How this package constructs one resident Codex runtime. * * Package-internal, and only that: `createRuntime` assembles it from the * neutral create context plus the provider's own options, and `CodexRuntime` * consumes it. It is not part of the package's public surface and it is not * the provider's options type — a host configures this provider through * `CodexAgentRuntimeProviderOptions`, which names none of these fields. */ export interface CodexRuntimeDeps { cwd: string; systemPromptReplace?: string | undefined; systemPromptAppend?: readonly string[] | undefined; state: AgentRuntimeStateSink; paths: AgentRuntimePathContext; /** * The session-bound output schema codec, compiled once at create time. It is * fixed for the life of this runtime; no submission can change it. */ codec: CodexOutputSchemaCodec | null; skillSources: readonly AgentRuntimeSkillSource[]; codexBinPath: string; extraArgs: string[]; handshakeTimeoutMs?: number; extraEnv?: Record; restartBackoffBaseMs?: number | undefined; restartBackoffMaxMs?: number | undefined; logger: DreamuxLogger; activitySink: AgentRuntimeActivitySink; resultSink?: AgentRuntimeResultSink | undefined; } //# sourceMappingURL=runtime-deps.d.ts.map