[Bug] Slash command alias `/new` incorrectly resolves to `/add-dir` instead of `/clear`
Resolved 💬 3 comments Opened Nov 3, 2025 by saadiq Closed Nov 4, 2025
Bug Description
For some reason, in the last week or so typing "/new" doesn't trigger the /clear slash command as an alias but instead defaults to triggering the /add-dir command. This is driving me insane but more generally, I'd expect for those command aliases to have priority over seemingly triggering on the description text ("new directory") of some other command.
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.0.31
- Feedback ID:
Errors
[{"error":"Error\n at Zh (/$bunfs/root/claude:54:1142)\n at <anonymous> (/$bunfs/root/claude:59:9841)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2146)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-03T00:24:29.138Z"},{"error":"Error: Could not load the \"sharp\" module using the darwin-arm64 runtime\nPossible solutions:\n- Ensure optional dependencies can be installed:\n npm install --include=optional sharp\n- Ensure your package manager supports multi-platform installation:\n See https://sharp.pixelplumbing.com/install#cross-platform\n- Add platform-specific dependencies:\n npm install --os=darwin --cpu=arm64 sharp\n- Consult the installation documentation:\n See https://sharp.pixelplumbing.com/install\n at <anonymous> (/$bunfs/root/claude:227:36534)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:228:78)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:228:79741)\n at <anonymous> (/$bunfs/root/claude:11:356)\n at <anonymous> (/$bunfs/root/claude:228:79916)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-03T03:05:44.510Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"max_tokens: Extra inputs are not permitted\"},\"request_id\":\"req_011CUm6VRLCzm1R6kBrnypvh\"}\n at generate (/$bunfs/root/claude:381:26098)\n at makeRequest (/$bunfs/root/claude:526:5345)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-03T14:14:29.562Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n at Lq (/$bunfs/root/claude:1120:3185)\n at map (native:1:11)\n at j3 (/$bunfs/root/claude:1120:2902)\n at VQB (/$bunfs/root/claude:1732:6559)\n at oZ (/$bunfs/root/claude:101:19415)\n at yn (/$bunfs/root/claude:103:42816)\n at N1 (/$bunfs/root/claude:103:38357)\n at Xd (/$bunfs/root/claude:103:38285)\n at CE (/$bunfs/root/claude:103:38139)\n at aQ (/$bunfs/root/claude:103:35218)","timestamp":"2025-11-03T14:34:04.186Z"},{"error":"Error\n at Zh (/$bunfs/root/claude:54:1142)\n at <anonymous> (/$bunfs/root/claude:59:9841)\n at emit (node:events:92:22)\n at endReadableNT (internal:streams/readable:861:50)\n at processTicksAndRejections (native:7:39)\n at request (/$bunfs/root/claude:61:2146)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-11-03T14:42:14.457Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗