Skip to content

hooks-exec

Integrates Hooks into tool execution, including errors, sandbox handling, and tool phases.

Start reading

Entry Purpose
dist/generic-hooks.js Generic Hooks
dist/sandbox.js Sandbox
dist/tool-hook-executors/shell.js Shell
dist/tool-hook-executors/mcp.js MCP

Change boundaries

Keep before/after Hook failures, cancellation, and permissions consistent with the tool lifecycle.

Related modules: hooks · hooks-carriers · agent-exec. These are reading links, not npm dependency declarations.

Build from the repository root. See source recovery for bundle-scope rules and development for verification.

← Package map