Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.280 ·

register_repo_root gains structured SDK telemetry and error codes

register_repo_root, which adds a working directory, now logs detailed telemetry and error codes

Under the hood Internal Changes
JSON All of v2.1.280
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
Internal ChangesKind: in v2.1.280,
Internal ChangesSection of the release
What

The register_repo_root tool, used to add a working directory to a session, now tracks which reload options were requested (reload_claude_md, reload_skills, reload_plugins) and sends a new, more specific telemetry event when it runs, including a distinct error code on failure instead of a generic one.

Why

This makes it easier to diagnose exactly what went wrong when registering a new repo root fails, and what reload behavior was requested at the time.

Read from
Names in the bundleregister_repo_root
Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up register_repo_root, on Hooks reference. | `DirectoryAdded` | When a working directory is added mid-session via `/add-dir` or the SDK `register_repo_root` control request | hooks see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesAnthropic's documentation has since written up register_repo_root, on Hooks reference.

See this entry in the whole of v2.1.280 →

Feedback