github anthropics/claude-agent-sdk-typescript v0.2.27

latest releases: v0.3.332, v0.3.331, v0.3.330...
10 months ago

What's changed

  • Added listSessions function to discover resumable sessions by project, repo, or globally
  • Added optional annotations support to the tool() helper function for specifying MCP tool hints (readOnlyHint, destructiveHint, openWorldHint, idempotentHint)
  • Fixed mcpServerStatus() to include tools from SDK and dynamically-added MCP servers
  • Updated to parity with Claude Code v2.1.27

Update

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

Don't miss a new claude-agent-sdk-typescript release

NewReleases is sending notifications on new releases.