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 ·

Mods gain vcs.* hooks to supply their own version control

New vcs.detect, vcs.diff, vcs.isolate, vcs.list, vcs.status and vcs.release hooks let a mod provide version control, alongside other new mod calls

Group of 6 Use it now Notable New Features
JSON All of v2.1.330
Use it nowTier: how much it should matter to you
5Useful: my rating, 1 to 5
4Signal: worth watching, 1 to 5
StartupArea: what it touches
New FeaturesKind: in v2.1.330,
What probably matters to youSection of the release

Unclear It is not clear which command accepts --start-dir or whether mods can reach the new entries yet.

What

A mod is a user-written add-on, and a hook is code a mod runs at a set point. This release adds a set of vcs.* hooks and calls. With them, a mod can supply its own version control, the system that tracks changes to files (git is one example).

  • vcs.detect, vcs.diff, vcs.isolate, vcs.list, vcs.status and vcs.release are registered in the hook table, the plugin host-call table and the mod operation lists. They cover detecting the version control, showing differences, and isolating, listing, checking and releasing worktrees (separate working copies of a project).
  • vcs.detect and vcs.diff also get handlers, and vcs.detect is already connected in many places.
  • EnterWorktree now checks whether a mod has hooked vcs.list when it works out a worktree's path. Worktrees made by a mod are handled separately.
  • A new session.machine call gives a mod the operating system, package managers and runtimes on the machine.
  • The mod capability list gains a turn.complete event.
  • The hook settings format accepts an optional on_failure field.
  • Replies to on-screen prompts drawn by a mod can now arrive later, ui_attach requests clear any waiting late answers, and the timing of presses is recorded.
  • A new --start-dir command-line option adds a folder to a startDirs list. What reads that list was not traced.

No built-in handler for the vcs.* hooks was found, though none was searched for.

Why

Nothing changes until a mod registers one of these hooks. Once one does, a project could use version control other than git for worktrees and change tracking, and mod authors have new calls to work with.

How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear which command accepts --start-dir or whether mods can reach the new entries yet.
Anthropic's release notes agreeSelf-hosted runner: Added --start-dir / SELF_HOSTED_RUNNER_START_DIR to have Claude start its work in a folder of a repository, while…

See this entry in the whole of v2.1.330 →

Feedback