Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.309 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.84 ·

WorktreeCreate Hook Output

Entry
JSON All of v2.1.84
EntryKind: in v2.1.84,
ChangesSection of the release
What

The WorktreeCreate hook event now supports hook-specific output providing the absolute path to the created worktree directory.

Details
  • JavaScript hooks return { hookEventName: "WorktreeCreate", worktreePath: "<path>" }
  • Command hooks print the path on stdout instead
  • Enables custom worktree workflows via hooks
Evidence

WorktreeCreate hook output (search for "Hook-specific output for the WorktreeCreate event")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded WorktreeCreate hook support for type: "http" — return the created worktree path via hookSpecificOutput.worktreePath in the response…

See this entry in the whole of v2.1.84 →

Feedback