handler_types
What kinds of executors hooks support beyond shell commands. May include HTTP endpoints, LLM prompt evaluation, multi-turn agent handlers, or TypeScript extensions.
Type: object Content type: hooks
Provider Support
Section titled “Provider Support”| Provider | Supported | Mechanism |
|---|---|---|
| amp | ✓ | command-only: hook 'action' field runs a shell command; no HTTP, LLM, or agent handler types documented |
| claude-code | ✓ | Four types: command (shell), http (POST to URL), prompt (LLM evaluation), agent (subagent with tools); prompt/agent restricted to subset of events |
| codex | ✓ | hook_handler_types: Codex supports shell command and LLM prompt handler types; TypeScript extension type also documented |
| pi | ✓ | pi_extension_typescript_native: Pi hooks support TypeScript/native extension handler type beyond shell commands |
| cline | ✗ | Cline hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented |
| copilot-cli | ✗ | Copilot CLI hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented |
| crush | ✗ | not documented |
| cursor | ✗ | Cursor hooks execute shell commands only (type: command); no HTTP, LLM prompt, or agent handler types documented. |
| factory-droid | ✗ | Factory Droid hooks execute shell commands only; no other handler types documented |
| gemini-cli | ✗ | Gemini CLI hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented |
| kiro | ✗ | Kiro hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented |
| opencode | ✗ | not documented |
| roo-code | ✗ | not documented |
| windsurf | ✗ | Windsurf hooks execute shell commands only; no HTTP, LLM prompt, or agent handler types documented |
| zed | ✗ | not documented |