claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[Bug] Compaction Error: Duplicate Tool Names Not Handled

Open alexhopes opened this issue 11 months ago • 3 comments

Bug Description compaction error, tool names must be unique

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.70
  • Feedback ID: d65a4cde-f53f-44ec-ab82-b0900a1bcb00

Errors

[{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at yoD (/$bunfs/root/claude:2019:7057)","timestamp":"2025-12-16T15:45:37.234Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at yoD (/$bunfs/root/claude:2019:7057)","timestamp":"2025-12-16T15:45:37.234Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at y_A (/$bunfs/root/claude:2019:7486)","timestamp":"2025-12-16T15:45:37.234Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at y_A (/$bunfs/root/claude:2019:7486)","timestamp":"2025-12-16T15:46:12.904Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at yoD (/$bunfs/root/claude:2019:7057)","timestamp":"2025-12-16T15:52:24.134Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at yoD (/$bunfs/root/claude:2019:7057)","timestamp":"2025-12-16T15:52:24.134Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at y_A (/$bunfs/root/claude:2019:7486)","timestamp":"2025-12-16T15:52:24.134Z"},{"error":"Error: Not connected\n    at <anonymous> (/$bunfs/root/claude:925:17537)\n    at new Promise (native:1:11)\n    at request (/$bunfs/root/claude:925:17484)\n    at callTool (/$bunfs/root/claude:925:150961)\n    at callTool (/$bunfs/root/claude:925:151527)\n    at tG_ (/$bunfs/root/claude:1027:33790)\n    at tG_ (/$bunfs/root/claude:1027:34560)\n    at dj (/$bunfs/root/claude:1027:30010)\n    at dj (/$bunfs/root/claude:1027:30056)\n    at y_A (/$bunfs/root/claude:2019:7486)","timestamp":"2025-12-16T15:52:32.574Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_r

Note: Error logs were truncated.

alexhopes avatar Dec 16 '25 16:12 alexhopes

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/14111
  2. https://github.com/anthropics/claude-code/issues/14113
  3. https://github.com/anthropics/claude-code/issues/14139

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Dec 16 '25 16:12 github-actions[bot]

same bug but this wont be fixed for years, im sure. it's one of those bugs that makes use use more context. more tokens etc, these bugs get pused back by the team cause all it does it make them more money to have bugs like this. Any bugs around mcp tools that help reduce token usage WILL get no focus, they do not want these tools helping you save cost, and for the mcp bug you think they care about compacting/ its the same issue for over a year with scrolling it crashes all your context and conversation another bug never fixed.. why? because it makes THEM MONEY!!

vectorcrawler avatar Dec 18 '25 00:12 vectorcrawler

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

github-actions[bot] avatar Jan 17 '26 10:01 github-actions[bot]

Closing for now — inactive for too long. Please open a new issue if this is still relevant.

github-actions[bot] avatar Feb 14 '26 10:02 github-actions[bot]

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

github-actions[bot] avatar Feb 21 '26 14:02 github-actions[bot]