What's changed
- Added
getCcrEvent(query, message)andgetSseLastSequenceNum(query)to the browser SDK's SSE transport, plusfromSequenceNum,onCatchUpTruncatedandonDeliveryUpdateSSE options - Changed
systemPromptrecording to default on for custom prompts and appends (a mid-session prompt change takes effect at the next compaction); passsnapshot: falseto keep per-request rendering - Updated to parity with Claude Code v2.1.267
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.267
# or
yarn add @anthropic-ai/claude-agent-sdk@0.3.267
# or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.267
# or
bun add @anthropic-ai/claude-agent-sdk@0.3.267