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.225 Home All releases olderv2.1.224 v2.1.226newer

SDK query context construction was consolidated

Under the hood
Useful2 Signal0
SDK

The non-interactive query path builds its context in one shared place, meant to behave identically.

What

The non-interactive query path no longer builds the same large context object inline in two places, which is intended to be behaviour-preserving.

Details
  • Context is built through a shared factory called with phase: "input" and phase: "query"
  • Model and thinking configuration come from a single resolver
  • systemPrompt arrives pre-rendered from the prompt builder, including appendSystemPrompt and mcpClients
  • Compact-boundary handling is delegated to applyCompactBoundary and flushBeforeCompactBoundary
Evidence

applyCompactBoundary

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