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.246 Home All releases olderv2.1.245 v2.1.247newer
Claude Code v2.1.246

Session log rotation uses the storage backend when one is present

Under the hood
Useful1 Signal2
Internals

Session log rotation goes through the storage backend, with a retry if renaming fails.

What

Checking log size and rotating a log to its .1 copy now go through backend stat, rename and delete calls when the storage backend is available, with a delete-then-retry if the rename fails. Without it, the previous filesystem path runs unchanged.

Evidence

this.storageV5.hostFiles

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