You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e35c63c
Browse filesBrowse the repository at this point in the historyBrowse files
fix: stop the Claude Code hook from approving run_tool calls (#45)
* fix: stop the Claude Code hook from approving run_tool calls
The PreToolUse hook answered "allow" for every Glean run_tool call while
ENABLE_HITL was on, to avoid a double prompt. Anthropic's plugin directory
now holds any plugin whose hook can decide a permission question for the
user, so v3.6.0 is held for review.
The hook now only records Claude Code's permission mode, which the server
uses to skip its own prompt under --dangerously-skip-permissions. It prints
nothing, so Claude Code's normal permission flow always runs. The file is
renamed to record-permission-mode.mjs to match what it does.
Users see Claude Code's own prompt on run_tool again until they allow the
tool permanently. The server's approval prompt still gates writes.
0 commit comments