[Bug]: Claude Agent SDK crashes on Windows with 'All fibers interrupted without error'

Resolved 💬 2 comments Opened Mar 21, 2026 by doanbactam Closed Apr 18, 2026

Description

The Claude Agent SDK crashes on Windows when starting a Claude turn, causing the backend to exit unexpectedly and restart in a loop.

Steps to reproduce

  1. Install t3-code-desktop (v0.0.13+)
  2. Launch the desktop app
  3. Create a new thread using a Claude model (claude-opus-4-6, claude-sonnet-4-6)
  4. Submit a prompt

Expected behavior

The Claude thread should start processing the turn successfully.

Actual behavior

  • The turn remains pending
  • The backend exits and restarts
  • Error in logs:
Error: All fibers interrupted without error
    at Module.causeSquash (effect/dist/internal/effect.js:171:12)
    at Object.next (effect/dist/Stream.js:6879:21)
    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
    at async h4.streamInput (@anthropic-ai/claude-agent-sdk/sdk.mjs:22:1905)

Environment

  • OS: Windows 11 Pro
  • Node.js: v24.13.1
  • Claude Agent SDK: 0.2.77 and 0.2.81 (both affected)
  • Electron: 40.6.0

Workaround

Codex provider works correctly in the same app/session, suggesting this is provider-specific to Claude on Windows.

Additional context

  • This issue is similar to pingdotgg/t3code#1244
  • The crash occurs in the SDK's streamInput async iterator
  • Tested with SDK versions 0.2.77 and 0.2.81 - neither fixes the issue
  • The error originates from Effect's fiber interruption handling when the SDK stream fails

🤖 Generated with Claude Code

View original on GitHub ↗

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