/** * Claude Code agent adapter. * * Claude Code (claude-cli) is unusual among meridian clients in two ways: * 1. It typically runs on a different machine than the proxy (pointing at * ANTHROPIC_BASE_URL over the network), so its CWD doesn't exist on the * proxy host. * 2. Its system prompt embeds working-directory info using the * `Primary working directory: ` format inside a `# Environment` * block — different from OpenCode's `Working directory: `. * * Consequently this adapter: * - Returns `undefined` from extractWorkingDirectory so the SDK subprocess * chdirs into `process.cwd()` (a valid server path) rather than the * client's local filesystem layout. * - Parses the client's local CWD via extractClientWorkingDirectory for * fingerprinting and a system-prompt hint (see server.ts + query.ts). */ import type { AgentAdapter } from "../adapter"; export declare const claudeCodeAdapter: AgentAdapter; //# sourceMappingURL=claudecode.d.ts.map