Source Intelligence

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

All of v2.1.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

/cd rebuilt: one routine re-homes everything, and it tells you what was left behind

Use it now
Useful4 Signal2
Slash Commands

/cd now re-points transcript, settings, hooks and skills in one pass and reports anything left behind.

/cd
What

Changing a session's directory, via /cd or through the SDK, now runs a single routine that re-points the transcript, background session state, settings watcher, hooks, skills and the skill watcher. Each step is wrapped individually, so one failure logs and the move continues rather than aborting halfway.

Details
  • A failed step reads like directory move: re-targeting the skill watcher failed (continuing with the previous watch).
  • The move returns a notice to the model saying the environment block is now stale and that project settings, MCP servers and skills come from the new directory, along with the list of additional directories left behind.
  • If the new directory is trusted only through a parent directory's grant, the notice states its project permission rules and additionalDirectories are NOT applied. Explicitly trusting the directory swaps in the trusted wording instead.
  • Reported under the existing tengu_cd_command telemetry event.
Evidence

The user trusted this directory explicitly: its project permission rules and additional directories are now applied.

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

Related

Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.

See this entry in the whole of v2.1.246 →