async_execution
Whether hooks can run asynchronously without blocking the agent’s execution loop. Fire-and-forget semantics.
Type: bool Content type: hooks
Provider Support
Section titled “Provider Support”| Provider | Supported | Mechanism |
|---|---|---|
| claude-code | ✓ | hook_async_execution: async: true on command handlers runs hook in background without blocking; decisions ignored; systemMessage delivered on next turn |
| codex | ✓ | hook_execution_mode: Codex supports async hook execution mode for fire-and-forget background hook runs |
| amp | ✗ | Amp hooks run synchronously; no async execution documented |
| cline | ✗ | Cline hooks run synchronously before/after tool events; no async execution documented |
| copilot-cli | ✗ | Copilot CLI hooks run synchronously; no async execution documented |
| crush | ✗ | not documented |
| cursor | ✗ | Hooks run synchronously; no async/background flag documented. |
| factory-droid | ✗ | Factory Droid hooks run synchronously; no async execution documented |
| gemini-cli | ✗ | Gemini CLI hooks run synchronously; no async execution documented |
| kiro | ✗ | Kiro hooks run synchronously; no async execution documented |
| opencode | ✗ | not documented |
| pi | ✗ | Pi hooks run synchronously; no async execution documented |
| roo-code | ✗ | not documented |
| windsurf | ✗ | Windsurf hooks run synchronously; no async/background execution documented |
| zed | ✗ | not documented |