You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
What
When Claude Code runs shell commands, it first takes a shell snapshot, a saved copy of your shell's settings and environment, so later commands behave like your own terminal. The snapshot has changed in several ways:
A command can now start before the snapshot is ready, and the snapshot is adopted once it finishes. Before, Claude Code waited for the whole snapshot first.
stopLateSnapshot is a new hook that cancels a snapshot that is finishing late.
Commands Claude Code starts now report sourcesSnapshot, which says whether they used the snapshot.
On Windows, the snapshot script now runs builtin compgen -e, a shell command that lists environment variables.
New internal reporting steps were added for late snapshots and snapshot reuse.
Why
If your shell is slow to start, the first command no longer has to wait for the snapshot, which could make it start sooner. On Windows, the change affects which environment settings the snapshot captures.