Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.333 ·

Parent folder for cd and dirname commands is now worked out from the right path

When Claude Code works out the parent folder in a cd or dirname command, it now uses that command's own path

You'll notice Bug Fixes
JSON All of v2.1.333
You'll noticeTier: how much it should matter to you
1Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
Bash ToolArea: what it touches
Bug FixesKind: in v2.1.333,
Bug FixesSection of the release
What

When Claude runs a shell command that uses cd or dirname, Claude Code works out the parent folder of the path involved. That step used to read a path from elsewhere in the code instead of the one it was given. It now uses the path it was given, and the rule for removing the last part of a path was rewritten as well.

Why

This may correct how Claude Code checks the folders these commands reach when it decides whether to allow them.

See this entry in the whole of v2.1.333 →

Feedback