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

Claude Code v2.1.302 ·

Worktree tool messages now format paths and names through a helper

EnterWorktree and ExitWorktree messages no longer insert raw paths, branch names and tmux session names; the tmux reattach hint is reworded

Group of 2 You'll notice Improvements
JSON All of v2.1.302
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
WorktreesArea: what it touches
ImprovementsKind: in v2.1.302,
ImprovementsSection of the release

What

EnterWorktree and ExitWorktree are the tools that move a session into and out of a git worktree, an extra working copy of a repository. Their messages no longer insert paths and names exactly as they are.

  • EnterWorktree shows the worktree path through a display helper that shortens it, instead of the raw path.
  • ExitWorktree passes paths, branch names and the tmux session name through a helper. tmux is a tool that keeps terminal sessions running in the background.
  • The tmux hint now reads "reattach with tmux attach -t and that name", instead of putting the session name directly into the command.

Why

Paths and names in these messages are no longer copied in raw, which may guard against unusual text in a folder or branch name ending up in what Claude reads.

See this entry in the whole of v2.1.302 →

Feedback