import { SUBAGENT_CHILD_ENV, SUBAGENT_PARENT_SESSION_ENV, SUBAGENT_ROOT_SESSION_ENV } from "@agimon-ai/doompi-core/childProcess"; //#region src/types/environment.d.ts declare const SUBAGENT_RUN_ID_ENV = "PI_SUBAGENT_RUN_ID"; declare const SUBAGENT_CHILD_AGENT_ENV = "PI_SUBAGENT_CHILD_AGENT"; declare const SUBAGENT_CHILD_INDEX_ENV = "PI_SUBAGENT_CHILD_INDEX"; declare const SUBAGENT_FANOUT_CHILD_ENV = "PI_SUBAGENT_FANOUT_CHILD"; declare const SUBAGENT_PARENT_EVENT_SINK_ENV = "PI_SUBAGENT_PARENT_EVENT_SINK"; declare const SUBAGENT_PARENT_CONTROL_INBOX_ENV = "PI_SUBAGENT_PARENT_CONTROL_INBOX"; declare const SUBAGENT_PARENT_ROOT_RUN_ID_ENV = "PI_SUBAGENT_PARENT_ROOT_RUN_ID"; declare const SUBAGENT_PARENT_RUN_ID_ENV = "PI_SUBAGENT_PARENT_RUN_ID"; declare const SUBAGENT_PARENT_CHILD_INDEX_ENV = "PI_SUBAGENT_PARENT_CHILD_INDEX"; declare const SUBAGENT_PARENT_DEPTH_ENV = "PI_SUBAGENT_PARENT_DEPTH"; declare const SUBAGENT_PARENT_PATH_ENV = "PI_SUBAGENT_PARENT_PATH"; declare const SUBAGENT_PARENT_CAPABILITY_TOKEN_ENV = "PI_SUBAGENT_PARENT_CAPABILITY_TOKEN"; /** Parent/workflow process ids a child Bash tool must never signal. */ declare const SUBAGENT_PROTECTED_PARENT_PIDS_ENV = "PI_SUBAGENT_PROTECTED_PARENT_PIDS"; /** Decode the parent-owned PID allowlist without trusting malformed environment state. */ declare function decodeProtectedParentProcessIds(encoded: string | undefined): number[]; declare const SUBAGENT_STEER_INBOX_ENV = "PI_SUBAGENT_STEER_INBOX"; declare const SUBAGENT_STEER_CAPABILITY_ENV = "PI_SUBAGENT_STEER_CAPABILITY"; declare const SUBAGENT_STEER_ACK_DIR_ENV = "PI_SUBAGENT_STEER_ACK_DIR"; /** The in-process SDK runtime. Not an external command; see `runtimeRegistry.ts`. */ declare const PI_RUNTIME_NAME = "pi"; /** * Per-runtime binary override, e.g. `DOOM_TEAM_CLAUDE_BIN=/path/to/claude`. * * Uppercased and non-alphanumerics folded to `_` so a runtime name that is * legal in config is always a legal environment variable name. */ declare function runtimeBinaryEnvVar(runtime: string): string; declare const SUBAGENT_CAPABILITY_CEILING_ENV = "PI_SUBAGENT_CAPABILITY_CEILING_V1"; declare const REQUIRED_CHILD_TOOLS_ENV = "PI_SUBAGENT_REQUIRED_TOOLS"; declare const MCP_DIRECT_CHILD_TOOLS_ENV = "PI_SUBAGENT_MCP_DIRECT_TOOLS"; declare const CHILD_TOOL_DIAGNOSTIC_PATH_ENV = "PI_SUBAGENT_TOOL_DIAGNOSTIC_PATH"; declare const TOOL_BUDGET_ENV = "PI_SUBAGENT_TOOL_BUDGET"; declare const TOOL_BUDGET_ZERO_AUTH_ENV = "PI_SUBAGENT_TOOL_BUDGET_ZERO_AUTH"; declare const MAX_SPAWNS_PER_SESSION_ENV = "PI_SUBAGENT_MAX_SPAWNS_PER_SESSION"; declare const STRUCTURED_OUTPUT_SCHEMA_ENV = "PI_SUBAGENT_STRUCTURED_OUTPUT_SCHEMA"; declare const STRUCTURED_OUTPUT_CAPTURE_ENV = "PI_SUBAGENT_STRUCTURED_OUTPUT_CAPTURE"; declare const INHERIT_PROJECT_CONTEXT_ENV = "PI_SUBAGENT_INHERIT_PROJECT_CONTEXT"; declare const INHERIT_SKILLS_ENV = "PI_SUBAGENT_INHERIT_SKILLS"; /** * Unprefixed on purpose: this one belongs to the Pi host, not to us. The child's * Pi runtime reads it directly, so the name is fixed by that contract and must * not be brought under the `PI_SUBAGENT_` namespace. */ declare const MCP_DIRECT_TOOLS_ENV = "MCP_DIRECT_TOOLS"; /** Overrides where worktrees are created, for hosts whose tmpdir is unsuitable. */ declare const WORKTREE_BASE_DIR_ENV = "PI_SUBAGENTS_WORKTREE_DIR"; declare const EXTRA_AGENT_DIRS_ENV = "PI_SUBAGENT_EXTRA_AGENT_DIRS"; declare const EXTRA_SKILL_DIRS_ENV = "PI_SUBAGENT_EXTRA_SKILL_DIRS"; declare const PI_SUBAGENT_PI_BINARY_ENV = "PI_SUBAGENT_PI_BINARY"; declare const PI_CODING_AGENT_PACKAGE_ROOT_ENV = "PI_SUBAGENTS_PI_CODING_AGENT_PACKAGE_ROOT"; declare const SUBAGENT_INTERCOM_SESSION_NAME_ENV = "PI_SUBAGENT_INTERCOM_SESSION_NAME"; declare const PI_INTERCOM_STABLE_ID_ENV = "PI_INTERCOM_STABLE_ID"; declare const PI_INTERCOM_SESSION_ID_ENV = "PI_INTERCOM_SESSION_ID"; /** Resolved child-safe DoomPi extensions inherited by SDK-backed agents. */ declare const DOOMPI_CHILD_EXTENSIONS_ENV = "DOOMPI_CHILD_EXTENSIONS"; /** Resolved DoomPi domain skill directories inherited by SDK-backed agents. */ declare const DOOMPI_SKILL_DIRS_ENV = "DOOMPI_SKILL_DIRS"; //#endregion export { SUBAGENT_PARENT_PATH_ENV as A, TOOL_BUDGET_ENV as B, SUBAGENT_FANOUT_CHILD_ENV as C, SUBAGENT_PARENT_CONTROL_INBOX_ENV as D, SUBAGENT_PARENT_CHILD_INDEX_ENV as E, SUBAGENT_ROOT_SESSION_ENV as F, WORKTREE_BASE_DIR_ENV as H, SUBAGENT_RUN_ID_ENV as I, SUBAGENT_STEER_ACK_DIR_ENV as L, SUBAGENT_PARENT_RUN_ID_ENV as M, SUBAGENT_PARENT_SESSION_ENV as N, SUBAGENT_PARENT_DEPTH_ENV as O, SUBAGENT_PROTECTED_PARENT_PIDS_ENV as P, SUBAGENT_STEER_CAPABILITY_ENV as R, SUBAGENT_CHILD_INDEX_ENV as S, SUBAGENT_PARENT_CAPABILITY_TOKEN_ENV as T, decodeProtectedParentProcessIds as U, TOOL_BUDGET_ZERO_AUTH_ENV as V, runtimeBinaryEnvVar as W, STRUCTURED_OUTPUT_CAPTURE_ENV as _, EXTRA_SKILL_DIRS_ENV as a, SUBAGENT_CHILD_AGENT_ENV as b, MAX_SPAWNS_PER_SESSION_ENV as c, PI_CODING_AGENT_PACKAGE_ROOT_ENV as d, PI_INTERCOM_SESSION_ID_ENV as f, REQUIRED_CHILD_TOOLS_ENV as g, PI_SUBAGENT_PI_BINARY_ENV as h, EXTRA_AGENT_DIRS_ENV as i, SUBAGENT_PARENT_ROOT_RUN_ID_ENV as j, SUBAGENT_PARENT_EVENT_SINK_ENV as k, MCP_DIRECT_CHILD_TOOLS_ENV as l, PI_RUNTIME_NAME as m, DOOMPI_CHILD_EXTENSIONS_ENV as n, INHERIT_PROJECT_CONTEXT_ENV as o, PI_INTERCOM_STABLE_ID_ENV as p, DOOMPI_SKILL_DIRS_ENV as r, INHERIT_SKILLS_ENV as s, CHILD_TOOL_DIAGNOSTIC_PATH_ENV as t, MCP_DIRECT_TOOLS_ENV as u, STRUCTURED_OUTPUT_SCHEMA_ENV as v, SUBAGENT_INTERCOM_SESSION_NAME_ENV as w, SUBAGENT_CHILD_ENV as x, SUBAGENT_CAPABILITY_CEILING_ENV as y, SUBAGENT_STEER_INBOX_ENV as z }; //# sourceMappingURL=environment-B7voHuOW.d.mts.map