/** * [WHO]: Provides buildRuntimeSystemPrompt(), getActiveBaseToolNames() * [FROM]: Depends on ResourceLoader for loaded prompts/context and prompt/system-prompt for rendering * [TO]: Consumed by core/runtime/agent-session.ts when refreshing the agent system prompt * [HERE]: core/runtime/prompt-assembly.ts - prompt input assembly extracted from AgentSession * * Extracted from AgentSession (P4.5). This module owns prompt resource assembly only. * Soul injection state and prompt application remain in AgentSession. */ import type { AgentTool } from "@catui/agent-core"; import type { ResourceLoader } from "../platform/config/resource-loader.js"; export interface RuntimeSystemPromptOptions { cwd: string; resourceLoader: ResourceLoader; toolNames: string[]; baseToolRegistry: Map; soulInjection?: string; /** * Names of currently active MCP-powered tools (prefix `mcp_`). When * provided and non-empty, the rendered system prompt gains an * "MCP Tools Awareness" section. Defaults to deriving from `toolNames` * so existing callers don't need to opt in. */ mcpToolNames?: readonly string[]; } export declare function buildRuntimeSystemPrompt(options: RuntimeSystemPromptOptions): string; export declare function getActiveBaseToolNames(activeToolNames: string[], baseToolRegistry: Map): string[];