Supported sessions
TraceRook supports local Claude Code 2.1.290 sessions in the terminal and in IDEs, wherever Claude Code runs its hooks. Each session, including subagents, appears in the dashboard with its task anchor and timeline.
Configure the hook
Add TraceRook as a synchronous PreToolUse command hook, keeping your existing settings:
{
"hooks": {
"PreToolUse": [{
"matcher": "*",
"hooks": [{
"type": "command",
"command": "\"/Applications/TraceRook.app/Contents/MacOS/tracerook-hook\" --adapter claude_code --host-version 2.1.290 --timeout-ms 80000",
"timeout": 85
}]
}]
}
}The matcher: "*" sends every tool call to TraceRook. The hook's 85-second timeout sits above TraceRook's 80-second budget so a 45-second human review always finishes inside the callback.
Decisions Claude Code receives
No override exits successfully with empty stdout and Claude Code continues with its own permission flow. A denial returns hookSpecificOutput.permissionDecision = "deny" with a short, sanitized reason that Claude Code shows the model, so the agent can choose a safer approach. TraceRook never grants permissions and never writes debugging text to stdout.
Check the connection
With the service running, start a new Claude Code session and run a harmless command. It appears in Sessions within a moment. Start a new session after upgrading Claude Code or moving the app so the hook path and version stay current.
Remove TraceRook
Delete TraceRook's entry from the PreToolUse hooks in your Claude Code settings; every other key, matcher and hook stays as it was. Disable Service in Integrations stops the background service.