• v1.5.3 1038f28092

    v1.5.3 Stable

    serrebi released this 2026-05-05 13:49:41 -07:00 | 29 commits to master since this release

    Hardens the Windows hidden auto-updater against the same locked-file failure mode as Codex, but for Claude.

    @anthropic-ai/claude-code's postinstall (and Claude's own self-updater) renames bin/claude.exebin/claude.exe.old.<timestamp> before swapping in a new binary. If the swap fails partway — claude.exe running and locked, missing @anthropic-ai/claude-code-win32-* platform package, or an interrupted download — the install is left with no claude.exe and an orphan .old file, breaking the claude command entirely.

    The Windows updater (one-click install_all_windows.ps1 and the GUI's generated auto-update script) now:

    • Skips @anthropic-ai/claude-code@latest when claude.exe is running, retrying on the next scheduled run.
    • Restores bin/claude.exe from the newest claude.exe.old.<ts> if it's missing (recovery from a prior half-applied update).
    • Cleans up stale .old files (each ~250 MB) once claude.exe is healthy.

    Mirrors the existing Codex protection introduced in v1.5.0.

    Downloads