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.
Names in the bundleregister_repo_root
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
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up register_repo_root, on Hooks reference.