[Bug] Claude Code exits with code 1 during LocalSessions.setFocusedSession with loaded plugins

Resolved 💬 2 comments Opened May 1, 2026 by ellabellasway Closed Jun 18, 2026

Bug Description
Desktop crashes Claude Code sessions with exit code 1.

  • Cowork works fine in same desktop, only Claude Code module dies.
  • Bundled CLI (2.1.121) works when invoked directly with same args.
  • Crash happens at LocalSessions.setFocusedSession step, before any stdin

payload, no stderr captured.

  • Account org 35f078e7-5480-436a-a00f-4e37bf6c457a
  • Loads 8 plugins from "knowledge-work-plugins" marketplace, all flagged

"Shadowing with no-ops to prevent SDK double-load".

  • 24 remote MCP servers, 361 enabled MCP tools.
  • Removing Vercel plugin and Figma extension changed the crash timing but not

the outcome.

  • dxt:allowlistLastUpdated bumped today at 19:54 UTC; vercel plugin updated

19:04 UTC.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.126
  • Feedback ID: 426143b7-d65c-467a-92df-1f939bfce661

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/ella/.local/share/claude/versions/2.1.126 (expected in multi-process scenarios)\n    at r86 (/$bunfs/root/src/entrypoints/cli.js:2768:2177)\n    at HD8 (/$bunfs/root/src/entrypoints/cli.js:2768:1257)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-01T19:59:19.703Z"}]

View original on GitHub ↗

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