Expand description
Unified hook adapter for AI CLI tools.
Provides the ToolAdapter trait and implementations for registering
agent-hand hook scripts into various AI coding assistants (Claude Code,
Cursor, Copilot/Codex, Windsurf, Kiro, OpenCode, Gemini CLI).
Structs§
- Claude
Adapter - Codex
Adapter - Cursor
Adapter - Gemini
Adapter - Kiro
Adapter - Open
Code Adapter - Tool
Info - Information about a tool adapter’s status, for UI display.
- Windsurf
Adapter
Enums§
- Adapter
Error - Errors from tool adapter operations.
- Tool
Status - Status of an AI CLI tool on this system.
Traits§
- Tool
Adapter - Adapter for an AI CLI tool’s hook system.
Functions§
- all_
adapters - Return all known tool adapters.
- auto_
register_ all - Auto-register hooks for all detected (but unregistered) tools.
- detect_
all - Detect all tools and return their status info.
- get_
adapter - Get a specific adapter by name.