/** * OMX State Management MCP Server (read-only projection). * * As of epic #3491 (issue #3498), this server is a read-only projection of * `.omx/state/` session-scoped workflow state. The sole writer is * `src/state/operations.ts` (via CLI / programmatic callers). The MCP surface * exposes only read/list/status operations. * * Storage: .omx/state/{mode}-state.json */ export declare function buildStateServerTools(): ({ name: string; description: string; inputSchema: { type: string; properties: { mode: { type: string; enum: ("autopilot" | "autoresearch" | "deep-interview" | "ralph" | "ralplan" | "skill-active" | "team" | "ultragoal" | "ultraqa" | "ultrawork")[]; description: string; }; workingDirectory: { type: string; description: string; }; session_id: { type: string; description: string; }; }; required: string[]; }; } | { name: string; description: string; inputSchema: { required?: undefined; type: string; properties: { workingDirectory: { description?: undefined; type: string; }; session_id: { type: string; description: string; }; mode?: undefined; }; }; } | { name: string; description: string; inputSchema: { required?: undefined; type: string; properties: { mode: { description?: undefined; type: string; enum: ("autopilot" | "autoresearch" | "deep-interview" | "ralph" | "ralplan" | "skill-active" | "team" | "ultragoal" | "ultraqa" | "ultrawork")[]; }; workingDirectory: { description?: undefined; type: string; }; session_id: { type: string; description: string; }; }; }; })[]; export declare function handleStateToolCall(request: { params: { name: string; arguments?: Record; }; }, options?: { allowWriterTools?: boolean; }): Promise<{ content: { type: string; text: string; }[]; isError?: boolean | undefined; }>; /** * Tool definitions for write/clear operations exposed via the CLI parity * surface (`omx state write/clear`). These are intentionally NOT advertised on * the MCP server (which is read-only per #3498) but are still available through * the CLI/programmatic path via {@link executeStateOperation}. */ export declare function buildStateServerWriterTools(): ({ name: string; description: string; inputSchema: { type: string; properties: { mode: { type: string; enum: ("autopilot" | "autoresearch" | "deep-interview" | "ralph" | "ralplan" | "skill-active" | "team" | "ultragoal" | "ultraqa" | "ultrawork")[]; }; active: { type: string; }; iteration: { type: string; }; max_iterations: { type: string; }; current_phase: { type: string; }; task_description: { type: string; }; started_at: { type: string; }; completed_at: { type: string; }; run_outcome: { type: string; enum: string[]; }; lifecycle_outcome: { type: string; enum: string[]; }; terminal_outcome: { type: string; enum: string[]; description: string; }; error: { type: string; }; state: { type: string; description: string; }; workingDirectory: { type: string; }; session_id: { type: string; description: string; }; all_sessions?: undefined; }; required: string[]; }; } | { name: string; description: string; inputSchema: { type: string; properties: { active?: undefined; iteration?: undefined; max_iterations?: undefined; current_phase?: undefined; task_description?: undefined; started_at?: undefined; completed_at?: undefined; run_outcome?: undefined; lifecycle_outcome?: undefined; terminal_outcome?: undefined; error?: undefined; state?: undefined; mode: { type: string; enum: ("autopilot" | "autoresearch" | "deep-interview" | "ralph" | "ralplan" | "skill-active" | "team" | "ultragoal" | "ultraqa" | "ultrawork")[]; }; workingDirectory: { type: string; }; session_id: { type: string; description: string; }; all_sessions: { type: string; description: string; }; }; required: string[]; }; })[]; //# sourceMappingURL=state-server.d.ts.map