[BUG] Claude Code desktop app crashes with "exited with code 1" on every session start - ARM64 macOS
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?
What's Wrong?
Every Claude Code session in the desktop app fails immediately with "Claude Code process exited with code 1". The CLI (claude) works perfectly. The issue affects all projects including brand new empty folders with no history.
Environment
App version: 1.7196.1
Claude Code version: 2.1.142 (bundled), 2.1.143 (CLI)
macOS: Darwin arm64 (Apple Silicon)
Node: 24.15.0
Electron: (from app.asar)
Hardware: MacBook (ARM64/Apple Silicon)
Login method: claude.ai OAuth
Plan: Max
Steps to Reproduce
Open Claude desktop app
Navigate to any project folder (including a brand new empty folder)
Start a new session or send any message
App immediately returns error — no response, session marked unhealthy
What I've Ruled Out
✅ Worktree issues — pruned all stale worktrees, deleted all worktree directories
✅ Session cache — deleted ~/Library/Application Support/Claude/claude-code-sessions/ multiple times
✅ Local agent mode sessions — deleted ~/Library/Application Support/Claude/local-agent-mode-sessions/
✅ App cache — cleared ~/Library/Caches/Claude/
✅ ANTHROPIC_API_KEY conflict — unset and removed from all shell configs
✅ Binary architecture — bundled binary is native arm64, no Rosetta issue
✅ Binary itself — running the bundled binary directly works fine: ~/Library/Application Support/Claude/claude-code/2.1.142/claude.app/Contents/MacOS/claude --print "hello" returns a response
✅ MCP permissions — granted permissions to all MCP servers
✅ Fresh project — crash reproduces on ~/Desktop/test-project (empty folder, no git, no history)
✅ git availability — /usr/bin/git exists and works (version 2.50.1 Apple Git-155)
Error from logs
Claude Code native binary at /Users/.../claude-code/2.1.142/claude.app/Contents/MacOS/claude exists but failed to launch.
Session query error: Claude Code process exited with code 1
at BPi.getProcessExitError (.vite/build/index.js:406:8122)
at ChildProcess.i (.vite/build/index.js:406:11166)
Sentry Event IDs (for internal lookup):
0eca44ba76304a65bca9eaa981d1fe64
9dbe57d53b5048b189a95c06fc95d5b1
285a1c17a6fa482198b4e8a4d2887455
1882508dd5494c07a691d5d51e611d47
be6309adfc0f40e4b0c07e4389c6bc05
2dda264267e24637b8d1d96a62a3903a
Additional Notes
The app swallows the actual error output from the binary, making it impossible to diagnose further from the user side. The Sentry IDs above should have the full crash details. CLI workaround is functional in the meantime.
What Should Happen?
Claude Code app should not crash
Error Messages/Logs
2026-05-16 17:58:48 [info] Starting app {
appVersion: '1.7196.1',
isPackaged: true,
platform: 'darwin',
arch: 'arm64',
nodeVersion: '24.15.0'
}
2026-05-16 17:58:48 [info] [CCD] Initialized with version 2.1.142
2026-05-16 17:58:48 [info] [growthbook] next refresh in 60 min
2026-05-16 17:58:48 [info] [IdleManager:session] Initialized with 900s timeout
2026-05-16 17:58:48 [info] [IdleManager:preview] Initialized with 1800s timeout
2026-05-16 17:58:48 [info] Starting app {
appVersion: '1.7196.1',
isPackaged: true,
platform: 'darwin',
arch: 'arm64',
nodeVersion: '24.15.0'
}
2026-05-16 17:58:48 [info] [office-addin] Module loaded { isMacOS: true, IS_DEV: false, IS_NEST_BUILD: false }
2026-05-16 17:58:48 [info] [office-addin] MCP Server created { isMacOS: true }
2026-05-16 17:58:49 [info] [updater] App is installed, enabling initial check and auto-updates
2026-05-16 17:58:49 [info] [updater] Update URL: https://api.anthropic.com
2026-05-16 17:58:49 [info] [account] Account details not yet available, waiting for IPC...
2026-05-16 17:58:49 [info] [CoworkFilePreview] Protocol handler registered
2026-05-16 17:58:49 [info] [cu-side-panel] initialized
2026-05-16 17:58:49 [info] [cu-esc] initialized
2026-05-16 17:58:49 [info] [cu-teach] controller initialized
2026-05-16 17:58:49 [info] [cu-glow] initialized
2026-05-16 17:58:49 [info] [cu-notifications] listeners registered
2026-05-16 17:58:49 [info] [remoteMarketplaceMigration] marketplace_migration.invoked
2026-05-16 17:58:49 [info] [remoteMarketplaceMigration] marketplace_migration.skip_sentinel_set
2026-05-16 17:58:49 [info] [remoteUploadsMigration] upload_migration.invoked
2026-05-16 17:58:49 [info] NotificationService initialized with UNUserNotificationCenter (macOS)
2026-05-16 17:58:49 [info] [wake-scheduler] registered claim id=scheduled-tasks
2026-05-16 17:58:49 [info] [updater] Checking for updates
2026-05-16 17:58:49 [info] [Chrome Extension MCP] Native host sync complete
2026-05-16 17:58:49 [info] [Claude in Chrome] MCP server registered
2026-05-16 17:58:49 [info] [growthbook] loaded 157 features (157 changed)
2026-05-16 17:58:49 [info] [buddy] starting bridge
2026-05-16 17:58:49 [info] [buddy] bridge started
2026-05-16 17:58:49 [info] [outbound-ccr] started
2026-05-16 17:58:49 [info] [chicago] GrowthBook chicago_config: raw={"enabled":true,"pixelValidation":false,"clipboardPasteMultiline":true,"screenshotFilter":true,"mouseAnimation":true,"hideBeforeAction":true,"coordinateMode":"pixels","dispatchCuGrantTtlMs":1800000} → enabled=true subGates={"pixelValidation":false,"clipboardPasteMultiline":true,"mouseAnimation":true,"hideBeforeAction":true,"autoTargetDisplay":true,"clipboardGuard":true} coordMode=pixels dispatchTtlMs=1800000
2026-05-16 17:58:49 [info] [remoteUploadsMigration] upload_migration.gate_check gate=cowork_plugin_host_ops value=true
2026-05-16 17:58:49 [info] [remoteUploadsMigration] upload_migration.gate_check gate=claudeai_cowork_backend_marketplaces value=true
2026-05-16 17:58:49 [info] [remoteUploadsMigration] upload_migration.paths_unavailable err=Error: No active account/org for marketplace operations
at g3A (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2661:958)
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
at async Object.GIA [as resolveCoworkPaths] (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2661:1077)
at async PGr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:6562:8032) {
[stack]: [Getter/Setter],
[message]: 'No active account/org for marketplace operations'
}
2026-05-16 17:58:49 [info] [RemotePluginManager] Starting remote plugins sync
2026-05-16 17:58:49 [info] [growthbook] refreshing for account change
2026-05-16 17:58:49 [info] [account] Account details received via IPC
2026-05-16 17:58:49 [info] claude.ai account details provided
2026-05-16 17:58:49 [info] claude.ai account active and logged in
2026-05-16 17:58:49 [info] [sessions-bridge] account-change reevaluate: <none> → 7a207d95-7aae-4041-9413-77e20dfa8000:e585961d-c998-40bb-b18f-767a61893b66
2026-05-16 17:58:49 [info] [LocalSessionManager] Initialization succeeded — accountId=e585961d-c998-40bb-b18f-767a61893b66, orgId=7a207d95-7aae-4041-9413-77e20dfa8000, existingSessions=0
2026-05-16 17:58:49 [info] [LocalAgentModeSessionManager] Initialization succeeded — accountId=e585961d-c998-40bb-b18f-767a61893b66, orgId=7a207d95-7aae-4041-9413-77e20dfa8000, existingSessions=0
2026-05-16 17:58:49 [info] [CCDScheduledTasks] Reset
2026-05-16 17:58:49 [info] [ScheduledTasks] Reset
2026-05-16 17:58:49 [info] Loaded 0 persisted sessions from /Users/asifjaan/Library/Application Support/Claude/local-agent-mode-sessions/e585961d-c998-40bb-b18f-767a61893b66/7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [info] [cliPluginBridge] registered
2026-05-16 17:58:49 [info] [Spaces] Loaded 0 spaces for e585961d-c998-40bb-b18f-767a61893b66/7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [info] [LocalAgentModeSessionManager] Scheduled tasks service initialized
2026-05-16 17:58:49 [info] [SkillsPlugin] Starting periodic sync (interval: 600000ms)
2026-05-16 17:58:49 [info] [SkillsPlugin] Starting skills sync
2026-05-16 17:58:49 [info] [RemotePluginManager] Starting remote plugins sync
2026-05-16 17:58:49 [info] [LocalAgentModeSessionManager] Initialization succeeded — accountId=e585961d-c998-40bb-b18f-767a61893b66, orgId=7a207d95-7aae-4041-9413-77e20dfa8000, existingSessions=0
2026-05-16 17:58:49 [info] Loaded 0 persisted sessions from /Users/asifjaan/Library/Application Support/Claude/local-agent-mode-sessions/e585961d-c998-40bb-b18f-767a61893b66/7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [warn] [ScheduledTasks] Already initialized
2026-05-16 17:58:49 [info] [LocalAgentModeSessionManager] Scheduled tasks service initialized
2026-05-16 17:58:49 [info] [RemotePluginManager] Sync already in progress, waiting...
2026-05-16 17:58:49 [info] [LocalSessionManager] Session storage directory does not exist yet, skipping load: /Users/asifjaan/Library/Application Support/Claude/claude-code-sessions/e585961d-c998-40bb-b18f-767a61893b66/7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [info] Trying to load oauth token cache
2026-05-16 17:58:49 [info] [oauth] token cache location: /Users/asifjaan/Library/Application Support/Claude/config.json
2026-05-16 17:58:49 [info] [oauth] loaded token cache from disk with 4 entries: [
'9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile user:sessions:claude_code',
'9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile',
'a473d7bb-17ac-43a7-abc0-a1343d7c2805:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile',
'89355bc3-cbfd-4382-905b-976645cad410:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:office',
[length]: 4
]
2026-05-16 17:58:49 [info] [ScheduledTasks] Initialized { accountId: 'e585961d-c998-40bb-b18f-767a61893b66', orgId: '7a207d95-7aae-4041-9413-77e20dfa8000' }
2026-05-16 17:58:49 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile user:sessions:claude_code
2026-05-16 17:58:49 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [info] [CCDScheduledTasks] Initialized { accountId: 'e585961d-c998-40bb-b18f-767a61893b66', orgId: '7a207d95-7aae-4041-9413-77e20dfa8000' }
2026-05-16 17:58:49 [info] Starting periodic extension update checks (interval: 21600000ms)
2026-05-16 17:58:49 [info] Starting blocklist update checks. Initial check will be triggered on first ConnectToServer.
2026-05-16 17:58:49 [info] MCP Server connection requested for: mcp-registry
2026-05-16 17:58:49 [info] Running initial blocklist check triggered by ConnectToServer
2026-05-16 17:58:49 [info] MCP Server connection requested for: Claude in Chrome
2026-05-16 17:58:49 [info] [CCD] Resolved 1 CC env vars from login shell
2026-05-16 17:58:49 [info] Organization allowlist enabled: false
2026-05-16 17:58:49 [info] Updated allowlist enabled state for org 7a207d95-7aae-4041-9413-77e20dfa8000: false
2026-05-16 17:58:49 [info] Successfully fetched blocklist from https://claude.ai/api/organizations/7a207d95-7aae-4041-9413-77e20dfa8000/dxt/blocklist with 0 entries
2026-05-16 17:58:49 [info] Saved 1 blocklists with 0 entries
2026-05-16 17:58:49 [info] Successfully updated blocklist
2026-05-16 17:58:49 [info] Checking 0 extensions via can_install API using stored metadata
2026-05-16 17:58:49 [info] can_install check completed: 0 extensions checked: [ [length]: 0 ]
2026-05-16 17:58:49 [info] LocalAgentModeSessions.getSupportedCommands: sessionId=undefined, cwd=undefined
2026-05-16 17:58:49 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:58:49 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:49 [info] [growthbook] loaded 157 features (0 changed)
2026-05-16 17:58:49 [info] [growthbook] next refresh in 60 min
2026-05-16 17:58:49 [info] [SkillsPlugin] Found 5 enabled skills
2026-05-16 17:58:49 [info] [SkillsPlugin] Delta: 0 to download, 0 to remove
2026-05-16 17:58:49 [info] [SkillsPlugin] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned
2026-05-16 17:58:49 [info] Successfully fetched blocklist from https://claude.ai/api/organizations/7a207d95-7aae-4041-9413-77e20dfa8000/dxt/blocklist with 0 entries
2026-05-16 17:58:49 [info] Saved 1 blocklists with 0 entries
2026-05-16 17:58:49 [info] Successfully updated blocklist
2026-05-16 17:58:49 [warn] Blocked permission check {
permission: 'background-sync',
requestingOrigin: 'https://a.claude.ai/',
requestingUrl: 'https://a.claude.ai/isolated-segment.html?v=6a4c94d0ec',
isMainFrame: false,
topFrameUrl: 'https://claude.ai/new'
}
2026-05-16 17:58:49 [info] [PluginsFetcher] fetchAutoInstalledPlugins: 0 plugins
2026-05-16 17:58:49 [info] [RemotePluginManager] Delta: 0 to download, 0 to remove
2026-05-16 17:58:49 [info] [RemotePluginManager] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned
2026-05-16 17:58:49 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:58:49 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:50 [info] Organization allowlist enabled: false
2026-05-16 17:58:50 [info] Updated allowlist enabled state for org 7a207d95-7aae-4041-9413-77e20dfa8000: false
2026-05-16 17:58:50 [info] Checking 0 extensions via can_install API using stored metadata
2026-05-16 17:58:50 [info] can_install check completed: 0 extensions checked: [ [length]: 0 ]
2026-05-16 17:58:50 [info] [PluginsFetcher] fetchAutoInstalledPlugins: 0 plugins
2026-05-16 17:58:50 [info] [RemotePluginManager] Delta: 0 to download, 0 to remove
2026-05-16 17:58:50 [info] [RemotePluginManager] Sync complete: 0 downloaded, 0 removed, 0 orphans cleaned
2026-05-16 17:58:52 [info] Config file written
2026-05-16 17:58:53 [error] Failed to get commands from temporary query {
error: ReferenceError: Claude Code native binary at /Users/asifjaan/Library/Application Support/Claude/claude-code/2.1.142/claude.app/Contents/MacOS/claude exists but failed to launch.
at ChildProcess.<anonymous> (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:406:7647)
at ChildProcess.emit (node:events:521:24)
at ChildProcess._handle.onexit (node:internal/child_process:293:12)
at onErrorNT (node:internal/child_process:508:16)
at process.processTicksAndRejections (node:internal/process/task_queues:90:21)
}
2026-05-16 17:58:53 [info] [CCD] /stats scanning 6/6 transcript files since 2025-11-15
2026-05-16 17:58:53 [info] [CCD] LocalSessions.getDefaultPermissionMode: cwd=/Users/asifjaan/Documents/claude/AI-Radar
2026-05-16 17:58:53 [info] LocalSessions.checkTrust: cwd=/Users/asifjaan/Documents/claude/AI-Radar
2026-05-16 17:58:53 [info] LocalSessions.checkGhAvailable: cwd=/Users/asifjaan/Documents/claude/AI-Radar
2026-05-16 17:58:53 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:58:53 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:58:53 [info] [CCD] LocalSessions.setFocusedSession: sessionId=null
2026-05-16 17:58:53 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
at qDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17320)
at async JDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17127)
at async Promise.all (index 2)
at async iLA (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:19648)
at async /Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:41:420323
at async Session.<anonymous> (node:electron/js2c/browser_init:2:116010) {
[stack]: [Getter/Setter],
[message]: 'coder CLI not found on augmented PATH'
}
2026-05-16 17:58:53 [error] [LocalSessionManager] Failed to check git status: Failed to spawn /usr/bin/git: spawn /usr/bin/git ENOENT { stack: 'Error: Failed to spawn /usr/bin/git: spawn /usr/bin/git ENOENT\n at ChildProcess.<anonymous> (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:162:109466)\n at ChildProcess.emit (node:events:521:24)\n at ChildProcess._handle.onexit (node:internal/child_process:293:12)\n at onErrorNT (node:internal/child_process:508:16)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)' }
2026-05-16 17:59:02 [info] [CCD] LocalSessions.getDefaultPermissionMode: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 17:59:02 [info] LocalSessions.checkTrust: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 17:59:02 [info] LocalSessions.checkGhAvailable: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 17:59:02 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:59:02 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:59:19 [info] [EventLogging] Flushing 8 events
2026-05-16 17:59:23 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
at qDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17320) {
[stack]: [Getter/Setter],
[message]: 'coder CLI not found on augmented PATH'
}
2026-05-16 17:59:23 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:59:23 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 17:59:36 [info] LocalSessions.checkGhAvailable: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 17:59:53 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
at qDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17320) {
[stack]: [Getter/Setter],
[message]: 'coder CLI not found on augmented PATH'
}
2026-05-16 17:59:53 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 17:59:53 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 18:00:08 [info] LocalSessions.saveTrust: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 18:00:08 [info] Saved workspace trust for /Users/asifjaan/Desktop/test-project
2026-05-16 18:00:08 [info] LocalSessions.start:
2026-05-16 18:00:08 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile user:sessions:claude_code
2026-05-16 18:00:08 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 18:00:08 [info] Starting local session local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f in /Users/asifjaan/Desktop/test-project
2026-05-16 18:00:08 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 18:00:08 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 18:00:08 [info] [CCD] Using skills plugin at: /Users/asifjaan/Library/Application Support/Claude/local-agent-mode-sessions/skills-plugin/7a207d95-7aae-4041-9413-77e20dfa8000/e585961d-c998-40bb-b18f-767a61893b66
2026-05-16 18:00:08 [info] [CCD] Passing 1 plugin(s) to SDK (skills: 1, remote: 0, local: 0)
2026-05-16 18:00:08 [info] Using Claude Code binary at: /Users/asifjaan/Library/Application Support/Claude/claude-code/2.1.142/claude.app/Contents/MacOS/claude
2026-05-16 18:00:08 [info] LocalSessions.updateSession: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f, options={"title":"Create Python project structure template","titleSource":"auto"}
2026-05-16 18:00:08 [info] Updated session local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f: { title: 'Create Python project structure template', titleSource: 'auto' }
2026-05-16 18:00:08 [info] [CCD] LocalSessions.replaceEnabledMcpTools: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f, toolCount=15
2026-05-16 18:00:08 [info] [CCD] LocalSessions.setFocusedSession: sessionId=null
2026-05-16 18:00:08 [info] [CCD] LocalSessions.setFocusedSession: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f
2026-05-16 18:00:08 [info] [CCD] LocalSessions.replaceRemoteMcpServers: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f, serverCount=2
2026-05-16 18:00:08 [info] [CCD] [replaceRemoteMcpServers] Calling SDK with 8 total servers {
serverNames: [
'Google Drive',
'PubMed',
'mcp-registry',
'Claude Preview',
'ccd_session',
'ccd_directory',
'ccd_session_mgmt',
'scheduled-tasks',
[length]: 8
]
}
2026-05-16 18:00:08 [info] LocalSessions.startShellPty: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f, cols=80, rows=24
2026-05-16 18:00:10 [info] LocalSessions.checkGhAvailable: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 18:00:10 [error] Session local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f query error: Claude Code process exited with code 1 { stack: 'Error: Claude Code process exited with code 1\n at BPi.getProcessExitError (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:406:8122)\n at ChildProcess.i (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:406:11166)\n at Object.onceWrapper (node:events:631:26)\n at ChildProcess.emit (node:events:521:24)\n at ChildProcess._handle.onexit (node:internal/child_process:295:12)' }
2026-05-16 18:00:10 [error] Sentry caught: {
eventId: '0eca44ba76304a65bca9eaa981d1fe64',
type: 'Error',
value: 'Claude Code process exited with code 1',
stack: 'Error: Claude Code process exited with code 1\n' +
' at BPi.getProcessExitError (app:///.vite/build/index.js:406:8122)\n' +
' at ChildProcess.i (app:///.vite/build/index.js:406:11166)\n' +
' at Object.onceWrapper (node:events:631:26)\n' +
' at ChildProcess.emit (node:events:521:24)\n' +
' at ChildProcess._handle.onexit (node:internal/child_process:295:12)'
}
2026-05-16 18:00:10 [info] [CCD CycleHealth] unhealthy cycle for local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f (2s, hadFirstResponse=false, reason=no_response)
2026-05-16 18:00:23 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
at qDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17320) {
[stack]: [Getter/Setter],
[message]: 'coder CLI not found on augmented PATH'
}
2026-05-16 18:00:23 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 18:00:23 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 18:00:38 [info] [EventLogging] Flushing 13 events
2026-05-16 18:00:53 [info] [Coder] workspace discovery failed: Error: coder CLI not found on augmented PATH
at qDr (/Applications/Claude.app/Contents/Resources/app.asar/.vite/build/index.js:2433:17320) {
[stack]: [Getter/Setter],
[message]: 'coder CLI not found on augmented PATH'
}
2026-05-16 18:00:53 [info] [oauth] looking up token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000, cacheKey=9d1c250a-e61b-44d9-88ed-5944d1962f5e:7a207d95-7aae-4041-9413-77e20dfa8000:https://api.anthropic.com:user:inference user:file_upload user:profile
2026-05-16 18:00:53 [info] [oauth] using cached token for orgId=7a207d95-7aae-4041-9413-77e20dfa8000
2026-05-16 18:01:07 [info] LocalSessions.checkGhAvailable: cwd=/Users/asifjaan/Desktop/test-project
2026-05-16 18:01:08 [info] Config file written
2026-05-16 18:01:08 [info] [CCD] LocalSessions.setFocusedSession: sessionId=null
2026-05-16 18:01:08 [info] LocalSessions.stopShellPty: sessionId=local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f
2026-05-16 18:01:08 [info] Stopping shell PTY for session local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f
2026-05-16 18:01:08 [info] Shell PTY for session local_fd13c5e4-189e-477b-8a08-b0b2fd113b4f exited (stale — already replaced)
Steps to Reproduce
start Claude Mac App
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.7196.1
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗