[BUG] Claude Code tab unresponsive — process exits with code 1 (auth not passed in bare mode)

Resolved 💬 2 comments Opened Apr 1, 2026 by sansotto Closed May 27, 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?

Environment:

  • Claude desktop app: v1.1.9669 (macOS)
  • Claude Code: v2.1.87
  • macOS: Darwin 24.5.0
  • Auth method: claude.ai OAuth (Pro subscription)

Description:
The Claude Code tab stopped working a few days ago. The UI loads correctly, I can type a message and press Enter, but
nothing happens — no response, no cursor activity.

Root cause identified:
The app launches the Claude Code binary with --bare mode, which skips keychain/OAuth reads. However, the auth token is
not being correctly passed to the binary. Running the binary manually in bare mode confirms it exits immediately with:
Not logged in · Please run /login
Exit: 1

The app logs confirm this:
[info] [oauth] using cached token for orgId=...
[info] Starting local session ...
[error] Session query error: Claude Code process exited with code 1
[info] unhealthy cycle (hadFirstResponse=false, reason=no_response)

The binary works fine when run directly from Terminal (claude or with --plugin-dir). Only fails when launched by the
Claude app.

Workaround: Using claude directly in Terminal.app works fine.

What Should Happen?

Expected: Claude Code responds normally
Actual: Silent failure — process exits with code 1 before any response

Error Messages/Logs

Steps to Reproduce

  1. Open Claude desktop app v1.1.9669
  2. Click the Claude Code tab
  3. Type any message and press Enter
  4. No response is returned

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.89 (Claude Code)

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 ↗