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.166 Home All releases olderv2.1.165 v2.1.167newer

register_repo_root SDK capability for IDE integrations

What

IDE plugins and tool integrations can now register additional working-directory roots at runtime and trigger selective reloads of CLAUDE.md, skills, or plugins without restarting the session.

Details
  • The directory must be a subdirectory of the current working directory
  • Optional flags: reload_claude_md, reload_skills, reload_plugins
  • On success the directory is added to the session's permission context
  • Failure returns a descriptive error (e.g. "register_repo_root: /foo is not a subdirectory of cwd")
Evidence

New SDK subtype handler (search for "register_repo_root: ")

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

See this entry in the whole of v2.1.166 →