Localization Parsing: Unicode Comment Interference with String Matching

Resolved 💬 3 comments Opened Jun 7, 2025 by xuyungit Closed Jan 6, 2026

Bug Description
Chinese comments were causing issues with string matching during the refactoring attempts

Environment Info

  • Platform: macos
  • Terminal: vscode
  • Version: 1.0.17
  • Feedback ID: 5b09a04d-5be2-4944-a28b-fd51adc8b622

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:882:11)\n    at execSync (node:child_process:954:15)\n    at YZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:654:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11794\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n    at cJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10940)\n    at aP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10021)\n    at a6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:14133)","timestamp":"2025-06-07T09:06:53.753Z"},{"error":"Error: Error normalizing tool input:[\n  {\n    \"code\": \"invalid_type\",\n    \"expected\": \"array\",\n    \"received\": \"string\",\n    \"path\": [\n      \"edits\"\n    ],\n    \"message\": \"Expected array, received string\"\n  }\n]\n    at ko1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:682)\n    at Qw2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20131)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17149\n    at async vo1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:5204)\n    at async dd (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17119)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:14885)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)","timestamp":"2025-06-07T09:08:31.621Z"},{"error":"Error: Error normalizing tool input:[\n  {\n    \"code\": \"invalid_type\",\n    \"expected\": \"array\",\n    \"received\": \"string\",\n    \"path\": [\n      \"edits\"\n    ],\n    \"message\": \"Expected array, received string\"\n  }\n]\n    at ko1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:682)\n    at Qw2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20131)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17149\n    at async vo1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:5204)\n    at async dd (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17119)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:14885)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)\n    at async NO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1896:16278)\n    at async dZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2328:2123)","timestamp":"2025-06-07T09:15:25.624Z"},{"error":"Error: Request was aborted.\n    at Uo._createMessage (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1344:6810)\n    at processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at runNextTicks (node:internal/process/task_queues:69:3)\n    at process.processTimers (node:internal/timers:543:9)","timestamp":"2025-06-07T09:23:01.929Z"}]

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗