anthropic 0.75.0__tar.gz → 0.77.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- anthropic-0.77.0/.release-please-manifest.json +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/CHANGELOG.md +57 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/PKG-INFO +4 -2
- {anthropic-0.75.0 → anthropic-0.77.0}/README.md +2 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/api.md +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/structured_outputs.py +1 -12
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/structured_outputs_streaming.py +6 -12
- {anthropic-0.75.0 → anthropic-0.77.0}/pyproject.toml +13 -9
- anthropic-0.77.0/requirements-dev.lock +135 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_base_client.py +145 -13
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_client.py +4 -12
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_compat.py +3 -3
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_models.py +16 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_streaming.py +78 -76
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_types.py +12 -2
- anthropic-0.77.0/src/anthropic/_utils/_json.py +35 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_version.py +1 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_parse/_response.py +29 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/streaming/__init__.py +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/streaming/_messages.py +74 -40
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/streaming/_types.py +42 -2
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/tools/_beta_compaction_control.py +2 -2
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/tools/_beta_runner.py +17 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/messages/messages.py +229 -83
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/messages/messages.py +409 -5
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/__init__.py +7 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_container.py +4 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_container_params.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_container_upload_block.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_container_upload_block_param.py +5 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_direct_caller.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_direct_caller_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_tool_config_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_tool_default_config_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_toolset_param.py +6 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_param.py +1 -0
- anthropic-0.77.0/src/anthropic/types/beta/beta_output_config_param.py +27 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_server_tool_caller.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_server_tool_caller_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_server_tool_use_block.py +4 -4
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_skill.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_skill_params.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_choice_any_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_choice_none_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_computer_use_20251124_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_param.py +6 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_reference_block_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_bm25_20251119_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_regex_20251119_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_text_editor_20250728_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_20250910_param.py +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +6 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +1 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/message_count_tokens_params.py +9 -5
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/message_create_params.py +9 -5
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/batch_create_params.py +2 -9
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +4 -0
- anthropic-0.77.0/src/anthropic/types/json_output_format_param.py +15 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_count_tokens_params.py +4 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_create_params.py +4 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_individual_response.py +4 -0
- anthropic-0.77.0/src/anthropic/types/output_config_param.py +19 -0
- anthropic-0.77.0/src/anthropic/types/parsed_message.py +56 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_bash_20250124_param.py +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_choice_any_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_choice_auto_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_choice_none_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_choice_tool_param.py +2 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_param.py +8 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_text_editor_20250124_param.py +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_text_editor_20250429_param.py +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_text_editor_20250728_param.py +3 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_20250305_param.py +8 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_request_error_param.py +8 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_result_error.py +8 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/messages/test_batches.py +14 -2
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/test_messages.py +42 -6
- anthropic-0.77.0/tests/api_resources/beta/test_output_format_conversion.py +594 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/test_messages.py +42 -0
- anthropic-0.77.0/tests/lib/_parse/__inline_snapshot__/test_beta_messages/TestAsyncMessages.test_parse_uses_output_config/044ce19d-3e9c-42d2-90e7-759c978cd94b.json +3 -0
- anthropic-0.77.0/tests/lib/_parse/__inline_snapshot__/test_beta_messages/TestAsyncMessages.test_stream_with_raw_schema/48aac7c3-f271-47b3-854b-af4ed31e10bb.json +3 -0
- anthropic-0.77.0/tests/lib/_parse/__inline_snapshot__/test_messages/TestAsyncStream.test_stream_with_raw_schema/b2c4d6e8-f012-4a56-8b90-1234567890ab.json +3 -0
- anthropic-0.77.0/tests/lib/_parse/test_beta_messages.py +131 -0
- anthropic-0.77.0/tests/lib/_parse/test_messages.py +199 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/snapshots.py +62 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/test_messages.py +3 -3
- anthropic-0.77.0/tests/lib/tools/__init__.py +0 -0
- anthropic-0.77.0/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_server_side_tool/a0a711eb-ee0e-4a42-88d6-5c7f83c0f25a.txt +1 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/tools/test_runners.py +38 -1
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_client.py +185 -2
- anthropic-0.77.0/tests/test_utils/test_json.py +126 -0
- anthropic-0.77.0/uv.lock +2339 -0
- anthropic-0.75.0/.release-please-manifest.json +0 -3
- anthropic-0.75.0/requirements-dev.lock +0 -117
- anthropic-0.75.0/src/anthropic/types/beta/beta_output_config_param.py +0 -13
- anthropic-0.75.0/uv.lock +0 -1855
- {anthropic-0.75.0 → anthropic-0.77.0}/.gitignore +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/CONTRIBUTING.md +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/LICENSE +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/SECURITY.md +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/bin/check-release-environment +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/bin/publish-pypi +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/.keep +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/auto_compaction.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/azure.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/batch_results.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/bedrock.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/images.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/logo.png +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/memory/basic.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/messages.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/messages_stream.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/text_completions_demo_async.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/text_completions_demo_sync.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/text_completions_streaming.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/thinking.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/thinking_stream.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/tools.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/tools_runner.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/tools_runner_search_tool.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/tools_stream.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/vertex.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/web_search.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/examples/web_search_stream.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/helpers.md +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/release-please-config.json +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_constants.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_qs.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_resource.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_compat.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_datetime_parse.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_transform.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_typing.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/_parse/_transform.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/foundry.md +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/foundry.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/streaming/_beta_messages.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/tools/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/tools/_beta_builtin_memory_tool.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/tools/_beta_functions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/vertex/_beta_messages.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/pagination.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/py.typed +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/messages/batches.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/models.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/skills/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/skills/skills.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/beta/skills/versions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/completions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/resources/models.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_all_thinking_turns_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_base64_pdf_source.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_config.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_clear_thinking_20251015_edit_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_clear_thinking_20251015_edit_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_clear_tool_uses_20250919_edit_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_content_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_content_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_context_management_config_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_context_management_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_count_tokens_context_management_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_document_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_input_tokens_clear_at_least_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_input_tokens_trigger_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_json_output_format_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_create_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_delete_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_insert_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_rename_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_str_replace_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_memory_tool_20250818_view_command.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_message.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_message_tokens_count.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_plain_text_source.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_message_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_stop_reason.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_thinking_turns_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_reference_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_result_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_result_error_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_search_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_search_tool_search_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_union_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_use_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_use_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_uses_keep_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_tool_uses_trigger_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_fetch_tool_result_error_code.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/parsed_beta_message.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_create_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_create_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_delete_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_list_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skill_retrieve_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_create_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_create_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_delete_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_list_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta/skills/version_retrieve_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_error_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/cache_creation.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_search_result_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citations_search_result_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/completion_create_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/model.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/model_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/search_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/server_tool_use_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/server_tool_use_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/error_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/stop_reason.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_use_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/tool_use_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/skills/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/skills/test_versions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/beta/test_skills.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/test_completions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/conftest.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/__init__.py +0 -0
- {anthropic-0.75.0/tests/lib/streaming → anthropic-0.77.0/tests/lib/_parse}/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/_parse/test_transform.py +0 -0
- {anthropic-0.75.0/tests/lib/tools → anthropic-0.77.0/tests/lib/streaming}/__init__.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/streaming/test_partial_json.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/test_azure.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/test_bedrock.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_compaction_control/ab7b2edd-9c2d-4f53-9c04-92bb659b9caa.json +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/tools/__inline_snapshot__/test_runners/TestSyncRunTools.test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/tools/__inline_snapshot__/test_runners/test_streaming_call_sync_events/9cb114c8-69bd-4111-841b-edee30333afd.json +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/tools/test_functions.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/lib/utils.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/sample_file.txt +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_deepcopy.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_extract_files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_files.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_legacy_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_models.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_qs.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_required_args.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_response.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_streaming.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_transform.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_utils/test_datetime_parse.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/test_utils/test_typing.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tests/utils.py +0 -0
- {anthropic-0.75.0 → anthropic-0.77.0}/tools.md +0 -0
|
@@ -1,5 +1,62 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.77.0 (2026-01-29)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.76.0...v0.77.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.76.0...v0.77.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add support for Structured Outputs in the Messages API ([ad56677](https://github.com/anthropics/anthropic-sdk-python/commit/ad5667774ad2e7efd181bcfda03fab3ea50630b9))
|
|
10
|
+
* **api:** migrate sending message format in output_config rather than output_format ([af405e4](https://github.com/anthropics/anthropic-sdk-python/commit/af405e473f7cf6091cb8e711264227b9b0508528))
|
|
11
|
+
* **client:** add custom JSON encoder for extended type support ([7780e90](https://github.com/anthropics/anthropic-sdk-python/commit/7780e90bd2fe4c1116d59bc0ad543aa609fc643d))
|
|
12
|
+
* use output_config for structured outputs ([82d669d](https://github.com/anthropics/anthropic-sdk-python/commit/82d669db652ed3d9aede61fd500fabb291b8f035))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* **client:** run formatter ([2e4ff86](https://github.com/anthropics/anthropic-sdk-python/commit/2e4ff86d7b8bef8fe5c4b7e62bf47dfff79f0577))
|
|
18
|
+
* remove class causing breaking change ([#1333](https://github.com/anthropics/anthropic-sdk-python/issues/1333)) ([81ee953](https://github.com/anthropics/anthropic-sdk-python/commit/81ee9533d14f9dc3753a4a1320ea744825b17e92))
|
|
19
|
+
* **structured outputs:** avoid including beta header if `output_format` is missing ([#1121](https://github.com/anthropics/anthropic-sdk-python/issues/1121)) ([062077e](https://github.com/anthropics/anthropic-sdk-python/commit/062077e50d182719637403576f59761999b3b2f5))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Chores
|
|
23
|
+
|
|
24
|
+
* **ci:** upgrade `actions/github-script` ([34df616](https://github.com/anthropics/anthropic-sdk-python/commit/34df6160ad386a7e8848e3435b22bd18bd726702))
|
|
25
|
+
* **internal:** update `actions/checkout` version ([ea50de9](https://github.com/anthropics/anthropic-sdk-python/commit/ea50de95bd1e43b8f00a45ef472330a3c8b396c8))
|
|
26
|
+
|
|
27
|
+
## 0.76.0 (2026-01-13)
|
|
28
|
+
|
|
29
|
+
Full Changelog: [v0.75.0...v0.76.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.75.0...v0.76.0)
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* allow raw JSON schema to be passed to messages.stream() ([955c61d](https://github.com/anthropics/anthropic-sdk-python/commit/955c61dd5aae4c8a2c7b8fab1f97a0b88c0ef03b))
|
|
34
|
+
* **client:** add support for binary request streaming ([5302f27](https://github.com/anthropics/anthropic-sdk-python/commit/5302f2724c9890340c1b0dd042a1e670ed00eb93))
|
|
35
|
+
* **tool runner:** add support for server-side tools ([#1086](https://github.com/anthropics/anthropic-sdk-python/issues/1086)) ([1521316](https://github.com/anthropics/anthropic-sdk-python/commit/15213160a016a70538c81163c49ce5948fe06879))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* **client:** loosen auth header validation ([5a0b89b](https://github.com/anthropics/anthropic-sdk-python/commit/5a0b89bb2c808cd0a413697a1141d4835ce00181))
|
|
41
|
+
* ensure streams are always closed ([388bd0c](https://github.com/anthropics/anthropic-sdk-python/commit/388bd0cbc53c4d8d8884d17a3051623728588eb4))
|
|
42
|
+
* **types:** allow pyright to infer TypedDict types within SequenceNotStr ([ede3242](https://github.com/anthropics/anthropic-sdk-python/commit/ede32426043273f9b31e70893207ad6519240591))
|
|
43
|
+
* use async_to_httpx_files in patch method ([718fa8e](https://github.com/anthropics/anthropic-sdk-python/commit/718fa8e62aa939dd8c5d46430aa1d1b05a5906d9))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
### Chores
|
|
47
|
+
|
|
48
|
+
* add missing docstrings ([d306605](https://github.com/anthropics/anthropic-sdk-python/commit/d306605103649320e900ab3a2413d0dbd6b118c5))
|
|
49
|
+
* bump required `uv` version ([90634f3](https://github.com/anthropics/anthropic-sdk-python/commit/90634f3ef0a9d7ae5a1945f005b13aad245f6b32))
|
|
50
|
+
* **ci:** Add Claude Code GitHub Workflow ([#1293](https://github.com/anthropics/anthropic-sdk-python/issues/1293)) ([83d1c4a](https://github.com/anthropics/anthropic-sdk-python/commit/83d1c4aef1ae34b1aebe4ca25de8b0cd2d37a493))
|
|
51
|
+
* **deps:** mypy 1.18.1 has a regression, pin to 1.17 ([21c6374](https://github.com/anthropics/anthropic-sdk-python/commit/21c6374f3825f43e104bad4a5df71941bcf09844))
|
|
52
|
+
* **docs:** use environment variables for authentication in code snippets ([87aa378](https://github.com/anthropics/anthropic-sdk-python/commit/87aa378f13f64099bec9513cba85ba9723773ec4))
|
|
53
|
+
* fix docstring ([51fca79](https://github.com/anthropics/anthropic-sdk-python/commit/51fca7942b4e74e1357fb72828e8e39a8b8eea6a))
|
|
54
|
+
* **internal:** add `--fix` argument to lint script ([8914b7a](https://github.com/anthropics/anthropic-sdk-python/commit/8914b7abe9b98565f08f4965f7fd0da8cd9f1f08))
|
|
55
|
+
* **internal:** add missing files argument to base client ([6285abc](https://github.com/anthropics/anthropic-sdk-python/commit/6285abcba9945a7c6c6b713940ee0478dfe25008))
|
|
56
|
+
* **internal:** avoid using unstable Python versions in tests ([4547171](https://github.com/anthropics/anthropic-sdk-python/commit/4547171aba17e41ff2f2e2c13d319b6bc1a13e85))
|
|
57
|
+
* update lockfile ([d7ae1fc](https://github.com/anthropics/anthropic-sdk-python/commit/d7ae1fc9c06d7565b909e5c2d48ebeb63ee9d8c9))
|
|
58
|
+
* update uv.lock ([746ac05](https://github.com/anthropics/anthropic-sdk-python/commit/746ac05cbb18c7d596a381e2fe89d0ee3e4e94b9))
|
|
59
|
+
|
|
3
60
|
## 0.75.0 (2025-11-24)
|
|
4
61
|
|
|
5
62
|
Full Changelog: [v0.74.1...v0.75.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.74.1...v0.75.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.77.0
|
|
4
4
|
Summary: The official Python library for the anthropic API
|
|
5
5
|
Project-URL: Homepage, https://github.com/anthropics/anthropic-sdk-python
|
|
6
6
|
Project-URL: Repository, https://github.com/anthropics/anthropic-sdk-python
|
|
@@ -18,6 +18,7 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.11
|
|
19
19
|
Classifier: Programming Language :: Python :: 3.12
|
|
20
20
|
Classifier: Programming Language :: Python :: 3.13
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
21
22
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
22
23
|
Classifier: Typing :: Typed
|
|
23
24
|
Requires-Python: >=3.9
|
|
@@ -136,6 +137,7 @@ pip install anthropic[aiohttp]
|
|
|
136
137
|
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
|
137
138
|
|
|
138
139
|
```python
|
|
140
|
+
import os
|
|
139
141
|
import asyncio
|
|
140
142
|
from anthropic import DefaultAioHttpClient
|
|
141
143
|
from anthropic import AsyncAnthropic
|
|
@@ -143,7 +145,7 @@ from anthropic import AsyncAnthropic
|
|
|
143
145
|
|
|
144
146
|
async def main() -> None:
|
|
145
147
|
async with AsyncAnthropic(
|
|
146
|
-
api_key="
|
|
148
|
+
api_key=os.environ.get("ANTHROPIC_API_KEY"), # This is the default and can be omitted
|
|
147
149
|
http_client=DefaultAioHttpClient(),
|
|
148
150
|
) as client:
|
|
149
151
|
message = await client.messages.create(
|
|
@@ -95,6 +95,7 @@ pip install anthropic[aiohttp]
|
|
|
95
95
|
Then you can enable it by instantiating the client with `http_client=DefaultAioHttpClient()`:
|
|
96
96
|
|
|
97
97
|
```python
|
|
98
|
+
import os
|
|
98
99
|
import asyncio
|
|
99
100
|
from anthropic import DefaultAioHttpClient
|
|
100
101
|
from anthropic import AsyncAnthropic
|
|
@@ -102,7 +103,7 @@ from anthropic import AsyncAnthropic
|
|
|
102
103
|
|
|
103
104
|
async def main() -> None:
|
|
104
105
|
async with AsyncAnthropic(
|
|
105
|
-
api_key="
|
|
106
|
+
api_key=os.environ.get("ANTHROPIC_API_KEY"), # This is the default and can be omitted
|
|
106
107
|
http_client=DefaultAioHttpClient(),
|
|
107
108
|
) as client:
|
|
108
109
|
message = await client.messages.create(
|
|
@@ -45,6 +45,7 @@ from anthropic.types import (
|
|
|
45
45
|
DocumentBlockParam,
|
|
46
46
|
ImageBlockParam,
|
|
47
47
|
InputJSONDelta,
|
|
48
|
+
JSONOutputFormat,
|
|
48
49
|
Message,
|
|
49
50
|
MessageCountTokensTool,
|
|
50
51
|
MessageDeltaUsage,
|
|
@@ -52,6 +53,7 @@ from anthropic.types import (
|
|
|
52
53
|
MessageTokensCount,
|
|
53
54
|
Metadata,
|
|
54
55
|
Model,
|
|
56
|
+
OutputConfig,
|
|
55
57
|
PlainTextSource,
|
|
56
58
|
RawContentBlockDelta,
|
|
57
59
|
RawContentBlockDeltaEvent,
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
# /// script
|
|
2
|
-
# requires-python = ">=3.9"
|
|
3
|
-
# dependencies = [
|
|
4
|
-
# "anthropic",
|
|
5
|
-
# ]
|
|
6
|
-
#
|
|
7
|
-
# [tool.uv.sources]
|
|
8
|
-
# anthropic = { path = "../", editable = true }
|
|
9
|
-
# ///
|
|
10
|
-
|
|
11
|
-
|
|
12
1
|
import pydantic
|
|
13
2
|
|
|
14
3
|
import anthropic
|
|
@@ -27,7 +16,7 @@ Extract the product name, price, and quantity from this customer message:
|
|
|
27
16
|
"Hi, I’d like to order 2 packs of Green Tea for 5.50 dollars each."
|
|
28
17
|
"""
|
|
29
18
|
|
|
30
|
-
parsed_message = client.
|
|
19
|
+
parsed_message = client.messages.parse(
|
|
31
20
|
model="claude-sonnet-4-5",
|
|
32
21
|
messages=[{"role": "user", "content": prompt}],
|
|
33
22
|
max_tokens=1024,
|
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
# /// script
|
|
2
|
-
# requires-python = ">=3.9"
|
|
3
|
-
# dependencies = [
|
|
4
|
-
# "anthropic",
|
|
5
|
-
# ]
|
|
6
|
-
#
|
|
7
|
-
# [tool.uv.sources]
|
|
8
|
-
# anthropic = { path = "../", editable = true }
|
|
9
|
-
# ///
|
|
10
|
-
|
|
11
1
|
import pydantic
|
|
12
2
|
|
|
13
3
|
import anthropic
|
|
@@ -23,10 +13,10 @@ client = anthropic.Anthropic()
|
|
|
23
13
|
|
|
24
14
|
prompt = """
|
|
25
15
|
Extract the product name, price, and quantity from this customer message:
|
|
26
|
-
"Hi, I
|
|
16
|
+
"Hi, I'd like to order 2 packs of Green Tea for 5.50 dollars each."
|
|
27
17
|
"""
|
|
28
18
|
|
|
29
|
-
with client.
|
|
19
|
+
with client.messages.stream(
|
|
30
20
|
model="claude-sonnet-4-5",
|
|
31
21
|
messages=[{"role": "user", "content": prompt}],
|
|
32
22
|
max_tokens=1024,
|
|
@@ -35,3 +25,7 @@ with client.beta.messages.stream(
|
|
|
35
25
|
for event in stream:
|
|
36
26
|
if event.type == "text":
|
|
37
27
|
print(event.parsed_snapshot())
|
|
28
|
+
|
|
29
|
+
# Get the final parsed output
|
|
30
|
+
final_message = stream.get_final_message()
|
|
31
|
+
print(f"\nFinal parsed order: {final_message.parsed_output}")
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "anthropic"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.77.0"
|
|
4
4
|
description = "The official Python library for the anthropic API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "MIT"
|
|
7
7
|
authors = [
|
|
8
8
|
{ name = "Anthropic", email = "support@anthropic.com" },
|
|
9
9
|
]
|
|
10
|
+
|
|
10
11
|
dependencies = [
|
|
11
12
|
"httpx>=0.25.0, <1",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
"pydantic>=1.9.0, <3",
|
|
14
|
+
"typing-extensions>=4.10, <5",
|
|
15
|
+
"anyio>=3.5.0, <5",
|
|
16
|
+
"distro>=1.7.0, <2",
|
|
17
|
+
"sniffio",
|
|
17
18
|
"jiter>=0.4.0, <1",
|
|
18
19
|
"docstring-parser>=0.15,<1",
|
|
19
20
|
]
|
|
21
|
+
|
|
20
22
|
requires-python = ">= 3.9"
|
|
21
23
|
classifiers = [
|
|
22
24
|
"Typing :: Typed",
|
|
@@ -26,6 +28,7 @@ classifiers = [
|
|
|
26
28
|
"Programming Language :: Python :: 3.11",
|
|
27
29
|
"Programming Language :: Python :: 3.12",
|
|
28
30
|
"Programming Language :: Python :: 3.13",
|
|
31
|
+
"Programming Language :: Python :: 3.14",
|
|
29
32
|
"Operating System :: OS Independent",
|
|
30
33
|
"Operating System :: POSIX",
|
|
31
34
|
"Operating System :: MacOS",
|
|
@@ -46,7 +49,7 @@ Repository = "https://github.com/anthropics/anthropic-sdk-python"
|
|
|
46
49
|
|
|
47
50
|
[tool.uv]
|
|
48
51
|
managed = true
|
|
49
|
-
required-version = ">=0.
|
|
52
|
+
required-version = ">=0.9"
|
|
50
53
|
conflicts = [
|
|
51
54
|
[
|
|
52
55
|
{ group = "pydantic-v1" },
|
|
@@ -58,7 +61,7 @@ conflicts = [
|
|
|
58
61
|
# version pins are in uv.lock
|
|
59
62
|
dev = [
|
|
60
63
|
"pyright==1.1.399",
|
|
61
|
-
"mypy",
|
|
64
|
+
"mypy==1.17",
|
|
62
65
|
"respx",
|
|
63
66
|
"pytest",
|
|
64
67
|
"pytest-asyncio",
|
|
@@ -76,7 +79,8 @@ pydantic-v1 = [
|
|
|
76
79
|
"pydantic>=1.9.0,<2",
|
|
77
80
|
]
|
|
78
81
|
pydantic-v2 = [
|
|
79
|
-
"pydantic
|
|
82
|
+
"pydantic~=2.0 ; python_full_version < '3.14'",
|
|
83
|
+
"pydantic~=2.12 ; python_full_version >= '3.14'",
|
|
80
84
|
]
|
|
81
85
|
|
|
82
86
|
[build-system]
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
# This file was autogenerated by uv via the following command:
|
|
2
|
+
# uv export -o requirements-dev.lock --no-hashes
|
|
3
|
+
-e .
|
|
4
|
+
annotated-types==0.7.0
|
|
5
|
+
# via pydantic
|
|
6
|
+
anyio==4.12.0
|
|
7
|
+
# via
|
|
8
|
+
# anthropic
|
|
9
|
+
# httpx
|
|
10
|
+
asttokens==3.0.1
|
|
11
|
+
# via inline-snapshot
|
|
12
|
+
backports-asyncio-runner==1.2.0 ; python_full_version < '3.11'
|
|
13
|
+
# via pytest-asyncio
|
|
14
|
+
boto3-stubs==1.41.5
|
|
15
|
+
botocore-stubs==1.41.6
|
|
16
|
+
# via boto3-stubs
|
|
17
|
+
certifi==2025.11.12
|
|
18
|
+
# via
|
|
19
|
+
# httpcore
|
|
20
|
+
# httpx
|
|
21
|
+
colorama==0.4.6
|
|
22
|
+
# via
|
|
23
|
+
# griffe
|
|
24
|
+
# pytest
|
|
25
|
+
dirty-equals==0.11
|
|
26
|
+
distro==1.9.0
|
|
27
|
+
# via anthropic
|
|
28
|
+
docstring-parser==0.17.0
|
|
29
|
+
# via anthropic
|
|
30
|
+
exceptiongroup==1.3.1 ; python_full_version < '3.11'
|
|
31
|
+
# via
|
|
32
|
+
# anyio
|
|
33
|
+
# pytest
|
|
34
|
+
execnet==2.1.2
|
|
35
|
+
# via pytest-xdist
|
|
36
|
+
executing==2.2.1
|
|
37
|
+
# via inline-snapshot
|
|
38
|
+
griffe==1.14.0 ; python_full_version < '3.10'
|
|
39
|
+
griffe==1.15.0 ; python_full_version >= '3.10'
|
|
40
|
+
h11==0.16.0
|
|
41
|
+
# via httpcore
|
|
42
|
+
httpcore==1.0.9
|
|
43
|
+
# via httpx
|
|
44
|
+
httpx==0.28.1
|
|
45
|
+
# via
|
|
46
|
+
# anthropic
|
|
47
|
+
# respx
|
|
48
|
+
idna==3.11
|
|
49
|
+
# via
|
|
50
|
+
# anyio
|
|
51
|
+
# httpx
|
|
52
|
+
importlib-metadata==8.7.0
|
|
53
|
+
iniconfig==2.1.0 ; python_full_version < '3.10'
|
|
54
|
+
# via pytest
|
|
55
|
+
iniconfig==2.3.0 ; python_full_version >= '3.10'
|
|
56
|
+
# via pytest
|
|
57
|
+
inline-snapshot==0.31.1
|
|
58
|
+
jiter==0.12.0
|
|
59
|
+
# via anthropic
|
|
60
|
+
markdown-it-py==3.0.0 ; python_full_version < '3.10'
|
|
61
|
+
# via rich
|
|
62
|
+
markdown-it-py==4.0.0 ; python_full_version >= '3.10'
|
|
63
|
+
# via rich
|
|
64
|
+
mdurl==0.1.2
|
|
65
|
+
# via markdown-it-py
|
|
66
|
+
mypy==1.17.0
|
|
67
|
+
mypy-extensions==1.1.0
|
|
68
|
+
# via mypy
|
|
69
|
+
nodeenv==1.9.1
|
|
70
|
+
# via pyright
|
|
71
|
+
packaging==25.0
|
|
72
|
+
# via pytest
|
|
73
|
+
pathspec==0.12.1
|
|
74
|
+
# via mypy
|
|
75
|
+
pluggy==1.6.0
|
|
76
|
+
# via pytest
|
|
77
|
+
pydantic==2.12.5
|
|
78
|
+
# via anthropic
|
|
79
|
+
pydantic-core==2.41.5
|
|
80
|
+
# via pydantic
|
|
81
|
+
pygments==2.19.2
|
|
82
|
+
# via
|
|
83
|
+
# pytest
|
|
84
|
+
# rich
|
|
85
|
+
pyright==1.1.399
|
|
86
|
+
pytest==8.4.2 ; python_full_version < '3.10'
|
|
87
|
+
# via
|
|
88
|
+
# inline-snapshot
|
|
89
|
+
# pytest-asyncio
|
|
90
|
+
# pytest-xdist
|
|
91
|
+
pytest==9.0.1 ; python_full_version >= '3.10'
|
|
92
|
+
# via
|
|
93
|
+
# inline-snapshot
|
|
94
|
+
# pytest-asyncio
|
|
95
|
+
# pytest-xdist
|
|
96
|
+
pytest-asyncio==1.2.0 ; python_full_version < '3.10'
|
|
97
|
+
pytest-asyncio==1.3.0 ; python_full_version >= '3.10'
|
|
98
|
+
pytest-xdist==3.8.0
|
|
99
|
+
python-dateutil==2.9.0.post0 ; python_full_version < '3.10'
|
|
100
|
+
# via time-machine
|
|
101
|
+
respx==0.22.0
|
|
102
|
+
rich==14.2.0
|
|
103
|
+
# via inline-snapshot
|
|
104
|
+
ruff==0.14.7
|
|
105
|
+
six==1.17.0 ; python_full_version < '3.10'
|
|
106
|
+
# via python-dateutil
|
|
107
|
+
sniffio==1.3.1
|
|
108
|
+
# via anthropic
|
|
109
|
+
time-machine==2.19.0 ; python_full_version < '3.10'
|
|
110
|
+
time-machine==3.1.0 ; python_full_version >= '3.10'
|
|
111
|
+
tomli==2.3.0 ; python_full_version < '3.11'
|
|
112
|
+
# via
|
|
113
|
+
# inline-snapshot
|
|
114
|
+
# mypy
|
|
115
|
+
# pytest
|
|
116
|
+
types-awscrt==0.29.1
|
|
117
|
+
# via botocore-stubs
|
|
118
|
+
types-s3transfer==0.15.0
|
|
119
|
+
# via boto3-stubs
|
|
120
|
+
typing-extensions==4.15.0
|
|
121
|
+
# via
|
|
122
|
+
# anthropic
|
|
123
|
+
# anyio
|
|
124
|
+
# boto3-stubs
|
|
125
|
+
# exceptiongroup
|
|
126
|
+
# mypy
|
|
127
|
+
# pydantic
|
|
128
|
+
# pydantic-core
|
|
129
|
+
# pyright
|
|
130
|
+
# pytest-asyncio
|
|
131
|
+
# typing-inspection
|
|
132
|
+
typing-inspection==0.4.2
|
|
133
|
+
# via pydantic
|
|
134
|
+
zipp==3.23.0
|
|
135
|
+
# via importlib-metadata
|