v0.1.74
claude_agent_sdk_python_releasesMay 6, 2026
claude_agent_sdk_python_releases ยท May 6, 2026 ยท release
New Features API error status on result messages : Added api_error_status: int | None to ResultMessage , surfacing the HTTP status code (e.g. 429, 500, 529) from failing API calls. This provides a safe-to-log field for classifying API failures when is_error=True ( #923 ) Bug Fixes Permission suggestions deserialization : Fixed ToolPermissionContext.suggestions containing raw dicts instead of PermissionUpdate instances. Added PermissionUpdate.from_dict() so suggestions from can_use_tool callbacks can be inspected and echoed back in PermissionResultAllow(updated_permissions=...) without AttributeError ( #920 ) Internal/Other Changes Pinned third-party GitHub Actions to immutable commit SHAs ( #919 ) Updated bundled Claude CLI to version 2.1.132 PyPI: https://pypi.org/project/claude-agent-sdk/0.1.76/ pip install claude-agent-sdk==0.1.76