[Bug] CLAUDE_PLUGIN_ROOT resolves to source directory instead of installed plugin cache
Resolved 💬 2 comments Opened Mar 25, 2026 by Corneliu-ST Closed Apr 20, 2026
Bug Description
The CLAUDE_PLUGIN_ROOT variable resolves the to source plugin directory instead of the installed one. For example, in my case, to "/Users/corneliu/ai-agents-resources-stable/plugins/" instead of the "~/.claude/" one. In the past it used to point to something like "/Users/corneliu/.claude/plugins/cache/ai-agents-resources-stable/code-review/3b1523926e80".
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.83
- Feedback ID: 5f967c09-9fe8-4364-a615-2ed7eca7bdba
Errors
[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/corneliu/.local/share/claude/versions/2.1.83 (expected in multi-process scenarios)\n at ibT (/$bunfs/root/src/entrypoints/cli.js:2735:2168)\n at Zcq (/$bunfs/root/src/entrypoints/cli.js:2735:1326)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T09:51:46.374Z"},{"error":"Error\n at KA_ (/$bunfs/root/src/entrypoints/cli.js:934:8336)\n at processTicksAndRejections (unknown:7:39)","timestamp":"2026-03-25T09:52:11.989Z"},{"error":"MaxFileReadTokenExceededError: File content (17534 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at K69 (/$bunfs/root/src/entrypoints/cli.js:4172:23677)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T10:12:40.410Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:244:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T10:18:26.576Z"},{"error":"Error: File does not exist. Note: your current working directory is /Users/corneliu/spec-driven-development.\n at call (/$bunfs/root/src/entrypoints/cli.js:4181:6428)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T10:46:37.389Z"},{"error":"Error: EISDIR: illegal operation on a directory, read '/Users/corneliu/spec-driven-development'\n at KA_ (/$bunfs/root/src/entrypoints/cli.js:934:8336)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T10:46:41.170Z"},{"error":"MaxFileReadTokenExceededError: File content (13530 tokens) exceeds maximum allowed tokens (10000). Use offset and limit parameters to read specific portions of the file, or search for specific content instead of reading the whole file.\n at K69 (/$bunfs/root/src/entrypoints/cli.js:4172:23677)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T10:46:43.428Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:244:3940)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-03-25T13:19:56.006Z"}]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗