//#region src/types/sandboxHarness.d.ts interface EngineRunOptions { /** Pipes this to stdin instead of attaching the session's stdio. */ input?: string; } interface EngineCaptureResult { exitCode: number; stdout: string; } /** Runs container engine commands with the session's terminal attached. */ interface EngineProcessRunner { run(command: string, args: string[], options?: EngineRunOptions): Promise; /** Captures stdout for probes; an unspawnable command reports undefined. */ capture(command: string, args: string[]): Promise; } /** Host facts the plan builder projects into engine arguments. */ interface SandboxHostFacts { /** Both ends of the session are terminals, so the container gets one too. */ hasTty: boolean; platform: string; userId?: number; groupId?: number; /** Stable key derived from the repository path; prefixes container volumes. */ repoKey: string; /** Distribution version, which tags the sandbox image. */ version: string; } /** How a sandboxed container reaches the host broker. */ type BrokerEndpoint = { transport: 'unix'; socketDirectory: string; } | { transport: 'tcp'; port: number; }; //#endregion export { EngineProcessRunner as n, SandboxHostFacts as r, BrokerEndpoint as t }; //# sourceMappingURL=sandboxHarness-BIvuRMio.d.mts.map