/** * claudeCodeAdapter — the Claude Code `HarnessAdapter`: the five port * implementations bundled, plus a `detect` that recognizes a Claude Code repo * (a `.claude-plugin/` manifest, a `.claude/settings.json`, or a `CLAUDE.md`). * This is the reference adapter a second harness (Codex, Gemini, …) mirrors. */ import type { DetectSignal, InstallReader } from "../../core/adapter.js"; export declare const claudeCodeAdapter: { readonly name: "claude-code"; readonly harnessTesting: true; readonly shellHooks: true; readonly subagents: true; readonly dialect: import("./dialect.js").HarnessDialect; readonly layout: import("../../adapter.js").PluginLayout; readonly runtime: import("../../adapter.js").HarnessRuntime; readonly hookProtocol: import("../../adapter.js").HookProtocol; readonly modelMock: import("../../adapter.js").ModelMock; readonly harnessTestDriver: () => Promise; readonly liveDriver: () => Promise; readonly claims: (path: string) => boolean; readonly detect: (exists: (repoRelative: string) => boolean) => DetectSignal; /** * The two install diagnostics that used to sit behind * `if (adapter.name === "claude-code")` in the CLI, now reached through the * port. Both are genuinely THIS harness's and both would MISLEAD on another * one — the reachability fix line is `claude plugin install`, which a Codex * user cannot run — which is why the gate was right and only its shape wrong. * * Never throws and never scores: each check degrades to "nothing to say". */ readonly advisories: (read: InstallReader) => readonly string[]; }; //# sourceMappingURL=adapter.d.ts.map