[BUG] cli.js is now in claude-code folder but sdk.mjs is looking for entrypoints

Resolved 💬 4 comments Opened Aug 30, 2025 by abishekmuthian Closed Sep 1, 2025

Environment

  • Platform (select one):
  • [* ] Anthropic API
  • Claude CLI version: 1.0.98 (Claude Code)
  • Operating System: Fedora 42
  • Zed Agent Panel

Bug Description

cli.js is now in claude-code folder but sdk.mjs is looking for entrypoints

This results in error when another claude-code is called by other npm packages,

"Claude Code executable not found at /home/<username>/node_modules/@anthropic-ai/entrypoints/cli.js. Is options.pathToClaudeCodeExecutable set?"

Steps to Reproduce

  1. Install @anthropic-ai/claude-code
  2. Install @zed-industries/claude-code-acp
  3. Configure Zed as detailed in this comment.
  4. Test the claude-code via Zed claude-code thread.

Expected Behavior

claude code cli should be found automatically in the right folder.

Actual Behavior

claude code cli is being searched in wrong folder.

Additional Context

Though this issue is noted in Zed, it likely affects other applications which rely upon claude-code npm package.

View original on GitHub ↗

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