What's changed
- Improved
skills option validation: malformed names (delimiters or control characters) and wildcard-form names are rejected with a clear error; use skills: 'all' to enable every skill
- Fixed external MCP servers passed via the
mcpServers option not being connected before the first turn, which caused the model to emit tool calls as literal text
Update
npm install @anthropic-ai/claude-agent-sdk@0.3.221
## or
yarn add @anthropic-ai/claude-agent-sdk@0.3.221
## or
pnpm add @anthropic-ai/claude-agent-sdk@0.3.221
## or
bun add @anthropic-ai/claude-agent-sdk@0.3.221