[Bug] Claude Code process exits with code 1 in Cowork environment

Status Fixed / completed
Reported on v2.1.105
Maintainer reply ✓ Yes — ashwin-ant
Activity 3 comments · opened Apr 16, 2026 · closed Apr 19, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator) responded on this thread — see the highlighted reply below.

Bug Description
in Cowork I get this message consistently 'Claude Code process exited with code 1'

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.105
  • Feedback ID: 3e93d798-2825-4a0d-b459-b56cfcdf7afc

Errors

[{"error":"Error: ensureToolResultPairing: repaired missing tool_result blocks (3 -> 3 messages). Message structure: [0] user; [1] assistant(id=msg_01LkVHMQxsEhnvQy5b7qLdxq, tool_uses=[toolu_0182pg9issT8QeETRg2wBQt6,toolu_01Ao7igAbjja6HAFPZ2Wc57T]); [2] user\n    at LM7 (/$bunfs/root/src/entrypoints/cli.js:4948:9747)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7893:12002)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T19:23:18.781Z"},{"error":"Error: Request was aborted.\n    at qb_ (/$bunfs/root/src/entrypoints/cli.js:1287:12508)\n    at next (native:1:11)\n    at Ag7 (/$bunfs/root/src/entrypoints/cli.js:7893:9167)\n    at next (native:1:11)\n    at Yg7 (/$bunfs/root/src/entrypoints/cli.js:7898:12433)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-04-16T19:36:25.808Z"},{"error":"Error: Tool mcp__figma__authenticate not found\n    at fH7 (/$bunfs/root/src/entrypoints/cli.js:2402:30087)\n    at gP (/$bunfs/root/src/entrypoints/cli.js:473:21019)\n    at K1 (/$bunfs/root/src/entrypoints/cli.js:473:39569)\n    at qV (/$bunfs/root/src/entrypoints/cli.js:473:50281)\n    at j2H (/$bunfs/root/src/entrypoints/cli.js:473:86972)\n    at $pH (/$bunfs/root/src/entrypoints/cli.js:473:85934)\n    at qi (/$bunfs/root/src/entrypoints/cli.js:473:85755)\n    at lHH (/$bunfs/root/src/entrypoints/cli.js:473:82113)\n    at VH (/$bunfs/root/src/entrypoints/cli.js:473:6496)\n    at FH (/$bunfs/root/src/entrypoints/cli.js:473:4980)","timestamp":"2026-04-16T19:36:51.479Z"}]

View original on GitHub ↗

3 Comments

github-actions[bot] · 6 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/49399
  2. https://github.com/anthropics/claude-code/issues/49346
  3. https://github.com/anthropics/claude-code/issues/49360

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

ashwin-ant collaborator · 5 months ago

This has been fixed in a recent release — Fixed in Claude Desktop v1.3109.0. A regression in Desktop 1.3036.0 caused every Cowork session to crash with "Claude Code process exited with code 1" / "Failed to create bridge sockets after 5 attempts" within ~3s. Update the Claude Desktop app via Check for Updates. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.

github-actions[bot] · 5 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.