ReleaseAnthropicAnthropicpublished Oct 26, 2026seen 11h

anthropics/claude-agent-sdk-typescript v0.3.311

anthropics/claude-agent-sdk-typescript

Open original ↗

Captured source

source ↗
published Oct 26, 2026seen 11hcaptured 11hhttp 200method plain

v0.3.311

Repository: anthropics/claude-agent-sdk-typescript

Tag: v0.3.311

Published: 2026-10-26T21:51:29Z

Prerelease: no

Release notes:

What's changed

  • Added cacheCreationEphemeral5mInputTokens and cacheCreationEphemeral1hInputTokens to ModelUsage, splitting cacheCreationInputTokens by cache lifetime
  • Changed background start-up work to wait until the first model request is sent, for about 10 seconds at most, when the first message arrives during start-up
  • Changed the minimum supported Node.js version from 18.0.0 to 18.14.0
  • Updated to parity with Claude Code v2.1.311

Update

npm install @anthropic-ai/claude-agent-sdk@0.3.311
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.311
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.311
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.311