[BUG] Desktop app 1.2.234 is hardcoded to use CLI 2.1.87

Resolved 💬 2 comments Opened Apr 2, 2026 by Teicu Closed Apr 2, 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?

Desktop app: 1.2.234 (2d1855) 2026-04-01
Bundled CLI: 2.1.87 (hardcoded)
Error: Claude Code process exited with code 1
Root cause: Desktop app passes --cwd flag, CLI returns "error: unknown option '--cwd'"
Tested with 2.1.90 via manual install - same result, --cwd not supported
macOS: darwin-arm64

What Should Happen?

Desktop app: 1.2.234 (2d1855) 2026-04-01
Bundled CLI: 2.1.87 (hardcoded)
Error: Claude Code process exited with code 1
Root cause: Desktop app passes --cwd flag, CLI returns "error: unknown option '--cwd'"
Tested with 2.1.90 via manual install - same result, --cwd not supported
macOS: darwin-arm64

Error Messages/Logs

Desktop app: 1.2.234 (2d1855) 2026-04-01
Bundled CLI: 2.1.87 (hardcoded)
Error: Claude Code process exited with code 1
Root cause: Desktop app passes --cwd flag, CLI returns "error: unknown option '--cwd'"
Tested with 2.1.90 via manual install - same result, --cwd not supported
macOS: darwin-arm64

Steps to Reproduce

Desktop app: 1.2.234 (2d1855) 2026-04-01
Bundled CLI: 2.1.87 (hardcoded)
Error: Claude Code process exited with code 1
Root cause: Desktop app passes --cwd flag, CLI returns "error: unknown option '--cwd'"
Tested with 2.1.90 via manual install - same result, --cwd not supported
macOS: darwin-arm64

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

Version: 2.1.90

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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