Incorrect Confirmation Dialog for Disallowed Tool Deletion

Resolved 💬 1 comment Opened Jun 9, 2025 by risenowrise Closed Jun 23, 2025

Bug Description
if i remove a disallowed tool it will ask me \
\
Delete allowed tool? │
│ │
│ Bash(vercel:*) │
│ Any Bash command starting with vercel │
│ From user settings │
│ │
│ If deleted, you will have to confirm the next time Claude Code tries to use │
│ this tool. │
│ │
│ ❯ 1. Yes │
│ 2. No \
\
its just an output issue but it is confusing

Environment Info

  • Platform: macos
  • Terminal: cursor
  • Version: 1.0.17
  • Feedback ID: 4f8ffddd-290c-4f7a-8658-1b9f0ae2fb0e

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:892:11)\n    at execSync (node:child_process:964:15)\n    at YZ (file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:654:3921)\n    at file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:11794\n    at Q (file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n    at cJ (file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:10940)\n    at aP (file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:10021)\n    at a6 (file:///Users/risenowrise/.claude/local/node_modules/@anthropic-ai/claude-code/cli.js:582:14133)","timestamp":"2025-06-09T22:10:34.595Z"},{"error":"Error: spawn /opt/homebrew/Cellar/ripgrep/14.1.1 EACCES\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-06-09T22:10:34.866Z"},{"error":"Error: spawn /opt/homebrew/Cellar/ripgrep/14.1.1 EACCES\n    at ChildProcess._handle.onexit (node:internal/child_process:286:19)\n    at onErrorNT (node:internal/child_process:484:16)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)","timestamp":"2025-06-09T22:10:34.890Z"}]

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗