fix: align tool rename fallout

This commit is contained in:
Peter Steinberger
2026-01-09 05:54:34 +01:00
parent 333832c2e1
commit aa5e75e853
8 changed files with 42 additions and 34 deletions

View File

@@ -403,7 +403,6 @@ function normalizeToolNames(list?: string[]) {
* Anthropic blocks specific lowercase tool names (bash, read, write, edit) with OAuth tokens.
* Renaming to capitalized versions bypasses the block while maintaining compatibility
* with regular API keys.
* @see https://github.com/anthropics/claude-code/issues/XXX
*/
const OAUTH_BLOCKED_TOOL_NAMES: Record<string, string> = {
bash: "Bash",