/** Cross-kernel bridge names shared by preludes and host adapters. */ /** Canonical oh-my-pi agent bridge tool name. */ export const RESERVED_AGENT_TOOL = "__agent__" as const; /** ADAPTATION: pi delegates output through a reserved kernel-side tool name. */ export const RESERVED_OUTPUT_TOOL = "__output__" as const; /** ADAPTATION: pi resolves tool parameter schemas through a reserved kernel-side tool name. */ export const RESERVED_SCHEMA_TOOL = "__schema__" as const; /** ADAPTATION: pi stages a session value through a reserved kernel-side tool name. */ export const RESERVED_STORE_TOOL = "__store__" as const; /** ADAPTATION: pi reads a staged/committed session value through a reserved kernel-side tool name. */ export const RESERVED_LOAD_TOOL = "__load__" as const; /** ADAPTATION: pi calls MCP tools through a reserved kernel-side tool name. */ export const RESERVED_MCP_TOOL = "__mcp__" as const; /** ADAPTATION: pi recalls past sessions through a reserved kernel-side tool name. */ export const RESERVED_MEMORY_TOOL = "__memory__" as const; /** ADAPTATION: pi gates risky cell tool calls through a reserved kernel-side tool name. */ export const RESERVED_APPROVAL_TOOL = "__approval__" as const; /** Names intercepted by the kernel bridge and unavailable as host tools. */ export const RESERVED_TOOL_NAMES: ReadonlySet = new Set([ RESERVED_AGENT_TOOL, RESERVED_OUTPUT_TOOL, RESERVED_SCHEMA_TOOL, RESERVED_STORE_TOOL, RESERVED_LOAD_TOOL, RESERVED_MCP_TOOL, RESERVED_MEMORY_TOOL, RESERVED_APPROVAL_TOOL, "completion", ]); /** Canonical oh-my-pi eval-timeout pause operation. */ export const TIMEOUT_PAUSE_OP = "timeout-pause" as const; /** Canonical oh-my-pi eval-timeout resume operation. */ export const TIMEOUT_RESUME_OP = "timeout-resume" as const;