Stable User-Agent Identity in Anthropic's TypeScript SDK
Resolved unstable client telemetry and User-Agent identification across runtime environments in the official Anthropic TypeScript SDK, shipped upstream in release v0.116.0.

PR #1135
public PR
v0.116.0
official release
100%
telemetry parity
APPROVED
Anthropic Team
01 · Engineering problem
The failure mode
Dynamic runtime detection generated fluctuating User-Agent headers across edge runtimes, breaking downstream audit logging and API gateway attribution.
02 · Technical response
What changed
- 01Standardized deterministic runtime platform detection across Node.js, Deno, Bun, and Cloudflare Workers.
- 02Locked stable client header generation without runtime performance overhead.
03 · Verified outcome
Evidence, not implication
- ✓Merged and shipped in official Anthropic TypeScript SDK release v0.116.0.
- ✓Guaranteed consistent client attribution across all edge and serverless environments.
04 · Public record
Source evidence
Independent engineering and open-source work by Patrick Ribbsaeter / Ribbsaeter Systems. References to maintainers, repositories, or companies identify the public technical context only. No employment, client, vendor, or partnership relationship is implied unless explicitly stated.