What
If the file-watch fallback is off for the process, Claude Code now warns that it is not watching ~/.claude.json, meaning changes made by other Claude Code processes will not be picked up in this one.
Details
- Emits the warning plus a
global_config_unwatchedcounter. - Global config state gained a
fileWatchFallbackfield and setter that records whether thefs.watchFilefallback is available. - Silent when watching works normally.
Evidence
Not watching ~/.claude.json for other processes: the fs.watchFile fallback is off for this process
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Names in the bundle~/.claude.json
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.
Added since
A small documentation edit on Use Claude Code features in the SDK touched a line naming ~/.claude.json after this was published.
When you omit `settingSources`, `query()` reads the same filesystem settings as the Claude Code CLI: user, project, and local settings, CLAUDE.md files, and `.claude/` skills, agents, and commands. To run without these, pass `settingSource…agent-sdk/claude-code-features see the edit
Confirmed since
Anthropic's documentation has since written up ~/.claude.json, on CLI reference.
| `claude project purge [path]` | Delete all local Claude Code state for a project: transcripts, task lists, debug logs, file-edit history, prompt history lines, and the project's entry in `~/.claude.json`. Omit `[path]` to pick from an in…cli-reference 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 ~/.claude.json, on CLI reference.