/** * Docker volume mount builders * * Handles both legacy shared-mount mode and per-project isolated mount mode. */ import type { ProjectRegistration } from '../types'; /** Container-internal base path for project directories */ export declare const CONTAINER_PROJECTS_BASE = "/workspace/projects"; /** Container-internal home directory */ export declare const CONTAINER_HOME = "/home/node"; /** Passthrough environment variables from host to container */ export declare const PASSTHROUGH_ENV_VARS: ("AI_SUPPORT_AGENT_TOKEN" | "AI_SUPPORT_AGENT_API_URL" | "AI_SUPPORT_AGENT_CONFIG_DIR" | "CLAUDE_CODE_OAUTH_TOKEN" | "ANTHROPIC_API_KEY" | "CODEX_API_KEY" | "CODEX_ACCESS_TOKEN")[]; /** * Subset of PASSTHROUGH_ENV_VARS that carry Claude / Anthropic credentials. * Used by per-project containers where the other agent-specific vars are * handled explicitly (token, apiUrl, configDir) rather than via passthrough. */ export declare const CLAUDE_CREDENTIAL_ENV_VARS: readonly ["ANTHROPIC_API_KEY", "CLAUDE_CODE_OAUTH_TOKEN"]; /** * Codex credentials/config. Codex stores config, auth, logs, sessions, and * app-server state under CODEX_HOME; mount it when available and always point * CODEX_HOME at the writable container home path. */ export declare const CODEX_CREDENTIAL_ENV_VARS: readonly ["CODEX_API_KEY", "CODEX_ACCESS_TOKEN"]; export interface ProjectDirMapping { hostDir: string; containerDir: string; projectCode: string; } /** * Build volume mounts for the legacy single-container mode. * Mounts home dirs, agent config, AWS credentials, and all project directories. */ export declare function buildVolumeMounts(): { mounts: string[]; projectMappings: ProjectDirMapping[]; }; /** * Build environment variable args for the legacy single-container mode. */ export declare function buildEnvArgs(projectMappings: ProjectDirMapping[]): string[]; /** * Build volume mounts and env args for a single per-project container. * Each project gets its own isolated config dir. */ export declare function buildProjectVolumeMounts(project: ProjectRegistration, projectConfigHostDir: string): { mounts: string[]; envArgs: string[]; }; //# sourceMappingURL=volume-mount-builder.d.ts.map