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

Error telemetry message extraction hardened

Under the hood
Useful2 Signal0
Elsewhere

A weird thrown error can no longer break error reporting on its way out.

What

Reading and augmenting error metadata for telemetry no longer risks throwing from a malformed thrown value.

Details
  • telemetryMessage is read through a guarded helper that type-checks the property and swallows any throw.
  • A companion helper copies missing fields onto an error only when it is a non-null extensible object, also wrapped in try/catch.
  • Fields already present on the error are never overwritten.
Evidence

telemetryMessage

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 →