Claude Code v2.1.105: Worktree Switching, PreCompact Hook, and Stream Timeout Recovery
Releasebot·high signal
Released April 14, Claude Code v2.1.105 adds a `path` parameter to EnterWorktree for switching into existing worktrees without creating new ones, and introduces PreCompact hook support letting hooks block compaction by exiting with code 2 or returning {"decision":"block"}. Streams now abort after 5 minutes of no data and retry non-streaming instead of hanging, improving session resilience during API instability.