Claude Code v2.1.166 · 5 Jun 2026
register_repo_root SDK capability for IDE integrations
Entry Kind: in v2.1.166, 05 Jun 26
Changes Section of the release
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 →
Is this right?
0
0
Feedback
What's wrong with this entry?
Hard to understand Too vague Looks wrong Not relevant to me Too long Missing the detail I wanted Duplicate of another card
Clear Learned something new I can act on this Good catch
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
← Previous · 3 of 13
/mcp inline control in headless and agent contexts
In v2.1.166 Changes release-page order
Next → · 5 of 13
Fullscreen renderer upsell redesigned as an interactive dialog