Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Shell snapshot can finish after the first command starts, and adds compgen -e on Windows

Claude Code's shell snapshot can now finish late without holding up the first command, and on Windows it now also runs compgen -e

Group of 2 You'll notice Internal Changes
JSON All of v2.1.330
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
Internal ChangesKind: 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.

See this entry in the whole of v2.1.330 →

Feedback