ReleaseAnthropicAnthropicpublished Jun 2, 2026seen 5d

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

anthropics/claude-agent-sdk-typescript

Open original ↗

Captured source

source ↗

v0.3.161

Repository: anthropics/claude-agent-sdk-typescript

Tag: v0.3.161

Published: 2026-06-02T21:58:32Z

Prerelease: no

Release notes:

What's changed

  • The initialize control request is now idempotent: a second initialize returns the same success payload instead of an Already initialized error. ControlResponse gains an optional pending_permission_requests field, mirroring ControlErrorResponse
  • applyFlagSettings now live-applies agent changes: switching the active agent (or passing null to reset) takes effect on the next turn in a running session

Update

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

Notability

notability 3.0/10

Routine SDK patch release, low traction.