/** * The Claude Code adapter: the port of `src/adapters/`, filled in with what this module knows * about Claude Code. */ import type { AgentAdapter, ClaudeCodeAdapterFactory } from "./contract.js"; /** Claude Code's context window, used when configuration overrides none (FR-18). */ export declare const DEFAULT_WINDOW_TOKENS = 200000; /** The command the landing hands back, because Claude Code cannot move the user (C-2, FR-45). */ export declare const HANDOVER_COMMAND = "claude --resume"; export interface ClaudeCodeAdapterDeps { /** * The repository the import runs in. Claude Code keys a session to a repository, and no * argument of the port names one, so the working directory is the signal. */ cwd: string; env: Record; homeDir: string; } /** * Build the adapter. `deps` exists for the tests of this module: the shipped factory below * passes the real process values. */ export declare function createClaudeCodeAdapter(deps?: Partial): AgentAdapter; /** The only export of this module (FR-57). */ export declare const claudeCodeAdapter: ClaudeCodeAdapterFactory;