New Features
- AgentDefinition: Added
skills,memory, andmcpServersfields (#684) - AssistantMessage usage: Preserve per-turn
usageonAssistantMessage(#685) - Session tagging: Added
tag_session()with Unicode sanitization (#670) - Session renaming: Added
rename_session()(#668) - RateLimitEvent: Added typed
RateLimitEventmessage (#648)
Bug Fixes
- CLAUDE_CODE_ENTRYPOINT: Use default-if-absent semantics to match TS SDK (#686)
- Fine-grained tool streaming: Reverted the env-var workaround from 0.1.48; partial-message delivery is now handled upstream (#671)
Internal/Other Changes
- Updated bundled Claude CLI to version 2.1.77
- Added macOS x86_64 wheel to the published matrix (#661)
- Upload wheel-check artifacts in CI (#662)
- Docs: clarified
allowed_toolsas a permission allowlist (#649)
PyPI: https://pypi.org/project/claude-agent-sdk/0.1.49/
pip install claude-agent-sdk==0.1.49