/** * Claude Code platform adapter. * * Generates an InstallPlan that installs AIDLC skills into Claude Code's native * configuration structure: * * - Canonical skill bodies → `.aidlc/skills/` * - Per-skill shims → `.claude/skills/aidlc-/SKILL.md` * - Per-agent files → `.claude/agents/.md`, with the command guard their * hook runs at `.claude/hooks/-guard.mjs` (native-reviewer-agent) * - State protocol + context-doc references → `merge-block` into `CLAUDE.md` * * Capability map consumption follows the resolution precedence: * 1. `skill.meta.native_mode_hint['claude-code']` → use it * 2. Capability map entry covering the skill's phase → inject activation directive * 3. Otherwise → full structured guidance, no native references * * Malformed/unknown-phase map → stderr warning + adapter proceeds capability-free (Req 18.7) * * Requirements: 1.1, 18.1, 18.7 * * @module */ import type { AgentDefinition, PlatformAdapter } from '../../core/types.js'; /** * A Claude Code agent file (native-reviewer-agent/AC-3, AC-4). * * `tools` is an allowlist of tool names, so naming four leaves out Edit, Write, * NotebookEdit, Agent and every MCP tool. `Bash` stays because the reviewer * reads the branch with `git diff`; the hook narrows it to the definition's * commands — see `compile/reviewer-guard.ts` for why a hook and not a `tools` * specifier. No `model`, `effort` or `permissionMode`: the session's are * inherited, and a permission mode would not survive a parent that bypasses * permissions, which the tool list and the hook do. * * The hook command is single-quoted YAML so its `"` and `$` reach the shell as * written. */ export declare function formatClaudeAgent(agent: AgentDefinition): string; export declare const claudeCodeAdapter: PlatformAdapter; //# sourceMappingURL=claude-code.d.ts.map