[BUG] `@<paste full path>` crashes

Resolved 💬 4 comments Opened Sep 18, 2025 by nitsanavni Closed Jan 6, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

at-mention + paste full path to file causes crash

What Should Happen?

should not crash, and just read the at-mentioned file

Error Messages/Logs

error: The first argument must be a Readable, a ReadableStream, or an async iterable.
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:5262)
      at q41 (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:5228)
      at Ze1 (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:8191)
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:10095)
      at RJA (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:10074)
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:749:177)
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:749:158)
      at Y (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:745:1336)
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:748:10211)
      at <anonymous> (/Users/nitsanavni/.bun/install/global/node_modules/@anthropic-ai/claude-code/cli.js:749:2522)

Bun v1.2.16 (macOS x64)

Steps to Reproduce

  1. open CC
  2. type @
  3. paste full path to file

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.117 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

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