8be22dac33
- Add adapter layer with normalize_input/format_output per tool - Define common internal payload and verdict formats - Map event names across tools (PreToolUse/BeforeTool) - Map payload fields across tools (tool_name, tool_input, cwd) - Adapter-specific response formatting: - Claude: hookSpecificOutput.permissionDecision - Gemini: flat decision field - Codex: exit code 2 + stderr for deny - Shell shim takes --adapter flag to select tool - install.sh auto-detects all installed tools and registers hooks - Hook registration examples for all three tools - Add adapters/ directory to daemon source tree Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>