import type { Backend } from './types.js'; export declare enum Capability { Hooks = "hooks", Plugins = "plugins", MCP = "mcp", PlanMode = "plan-mode", AskUserQuestion = "ask-user-question", SystemPromptOverride = "system-prompt-override", SessionResume = "session-resume", ToolAllowlist = "tool-allowlist", /** Backend republishes token-level assistant text as `assistant_delta` events while a block is * still being generated. Rendered by the Web UI only. */ StreamingDeltas = "streaming-deltas", /** Backend accepts a user message into a turn already in flight (no new turn opened). * Part of the shared capability vocabulary; declared by the backends that implement injection. */ MidTurnInject = "mid-turn-inject", /** Backend's configured MCP tool timeout and progress handling permit a single tool call to run * beyond the native default while staying bounded by the trial deadline. Benchmark arms require * it: a blocking benchmark tool call must not be cut short by an SDK or CLI default. */ BenchmarkLongMcpCall = "benchmark-long-mcp-call" } export declare const CAPABILITIES_BY_BACKEND: Record>; /** Who governs how long one MCP tool call may run, per backend. Which process owns the MCP client * decides this, so it is declared per backend and never inferred: an empty allowlist would say * "nothing verified yet" and "version is not the governing fact" in the same bytes. */ export type LongMcpCallVersionGovernance = /** The backend's own CLI owns the MCP client and reads the per-call budget itself, so the exact * version is evidence. Closed allowlist, never an ordering: an unknown, unorderable or malformed * version is simply not a member. */ { readonly governed_by: 'cli-version'; readonly verified_versions: readonly string[]; } /** Cortex's own bridge is the MCP client, over an SDK pinned by our lockfile, so the backend * binary's version governs nothing here and the cited proof governs instead. */ | { readonly governed_by: 'cortex-bridge'; readonly proof: string; }; export declare const LONG_MCP_CALL_VERSION_GOVERNANCE: { readonly claude: { readonly governed_by: "cli-version"; readonly verified_versions: readonly ["2.1.220 (Claude Code)"]; }; readonly pi: { readonly governed_by: "cortex-bridge"; readonly proof: "tests/domain/agent-run/long-mcp-call-e2e.test.ts"; }; };