[Bug] Slash Command Argument Not Passed When Using File Search (@)

Resolved 💬 3 comments Opened Sep 19, 2025 by phillip-propstep Closed Sep 25, 2025

Bug Description
I've created a custom slash command, where I want the first argument to be a path to a project file. But when I use the command and use the @ sign to search for a file and run the command it seems to be not passed into the command. It keeps telling me I didn't give it a path. It seems like there might be a similar issue with ID: #4576
It makes my command kind of useless as what I wanted to do was have a command to make Storybook stories for a given component, but I can't give it the component path using search.

Environment Info

  • Platform: darwin
  • Terminal: WarpTerminal
  • Version: 1.0.119
  • Feedback ID: 43a78ade-aee7-4c83-adb8-2e2a266091f2

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Vz (/$bunfs/root/claude:1681:1192)\n    at map (native:1:11)\n    at j7 (/$bunfs/root/claude:1681:905)\n    at FYW (/$bunfs/root/claude:2919:9573)\n    at tq (/$bunfs/root/claude:47:19415)\n    at Id (/$bunfs/root/claude:49:42805)\n    at m5 (/$bunfs/root/claude:49:38347)\n    at Qk (/$bunfs/root/claude:49:38275)\n    at Kw (/$bunfs/root/claude:49:38129)\n    at LF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-19T12:06:14.189Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Vz (/$bunfs/root/claude:1681:1192)\n    at map (native:1:11)\n    at j7 (/$bunfs/root/claude:1681:905)\n    at FYW (/$bunfs/root/claude:2919:9573)\n    at tq (/$bunfs/root/claude:47:19415)\n    at Id (/$bunfs/root/claude:49:42805)\n    at m5 (/$bunfs/root/claude:49:38347)\n    at Qk (/$bunfs/root/claude:49:38275)\n    at Kw (/$bunfs/root/claude:49:38129)\n    at LF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-19T12:06:59.311Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Vz (/$bunfs/root/claude:1681:1192)\n    at map (native:1:11)\n    at j7 (/$bunfs/root/claude:1681:905)\n    at FYW (/$bunfs/root/claude:2919:9573)\n    at tq (/$bunfs/root/claude:47:19415)\n    at Id (/$bunfs/root/claude:49:42805)\n    at m5 (/$bunfs/root/claude:49:38347)\n    at Qk (/$bunfs/root/claude:49:38275)\n    at Kw (/$bunfs/root/claude:49:38129)\n    at LF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-19T12:06:59.312Z"},{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at Vz (/$bunfs/root/claude:1681:1192)\n    at map (native:1:11)\n    at j7 (/$bunfs/root/claude:1681:905)\n    at FYW (/$bunfs/root/claude:2919:9573)\n    at tq (/$bunfs/root/claude:47:19415)\n    at Id (/$bunfs/root/claude:49:42805)\n    at m5 (/$bunfs/root/claude:49:38347)\n    at Qk (/$bunfs/root/claude:49:38275)\n    at Kw (/$bunfs/root/claude:49:38129)\n    at LF (/$bunfs/root/claude:49:35208)","timestamp":"2025-09-19T12:07:41.113Z"}]

View original on GitHub ↗

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