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.227 Home All releases olderv2.1.226 v2.1.228newer
Claude Code v2.1.227

Markdown config files are listed in one recursive pass

Under the hood
Useful2 Signal2
Internals

Commands, agents and output styles load in one recursive listing when the newer storage client is available.

What

Loading markdown-backed config from the user config directory (commands, agents, output styles, routines and so on) now makes a single recursive listing request filtered to .md files instead of walking directories page by page. This only happens when the newer storage client is available; otherwise the old direct filesystem scan runs unchanged.

Details
  • On a listing error it logs a warning and falls back to the raw filesystem scan; if the 10000 page cap is hit it keeps the entries already seen and warns.
  • Each file is then read with a bounded read and skipped when its reported total size exceeds 1 MiB, rather than trusting a size from the directory listing.
  • The recursive listing call does not exist at all in v2.1.226.
Evidence

loadMarkdownFilesFromDir: skipping

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.227 →