anthropic 0.64.0__tar.gz → 0.65.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.65.0/.release-please-manifest.json +3 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/CHANGELOG.md +29 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/PKG-INFO +1 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/api.md +19 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/pyproject.toml +17 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/requirements-dev.lock +23 -7
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_models.py +1 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_types.py +35 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/__init__.py +1 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_transform.py +6 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_typing.py +5 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_version.py +1 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/streaming/_beta_messages.py +0 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/messages/messages.py +19 -203
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/completions.py +9 -9
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/messages/messages.py +20 -204
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/__init__.py +53 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_output_block.py +13 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_output_block_param.py +13 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_result_block.py +21 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_result_block_param.py +22 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block.py +20 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_tool_result_block_param.py +25 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error.py +15 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_bash_code_execution_tool_result_error_param.py +17 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_code_execution_tool_20250825_param.py +23 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_content_block.py +4 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_content_block_param.py +4 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_content_block_start_event.py +4 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_request_mcp_server_tool_configuration_param.py +4 -2
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_server_tool_use_block.py +1 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_server_tool_use_block_param.py +1 -1
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block.py +13 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_create_result_block_param.py +13 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block.py +22 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_str_replace_result_block_param.py +24 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block.py +27 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_block_param.py +34 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error.py +18 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_tool_result_error_param.py +18 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block.py +22 -0
- anthropic-0.65.0/src/anthropic/types/beta/beta_text_editor_code_execution_view_result_block_param.py +22 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_param.py +3 -2
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_union_param.py +2 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_20250305_param.py +4 -3
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/message_count_tokens_params.py +3 -24
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/message_create_params.py +3 -25
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_error_response.py +3 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/completion_create_params.py +2 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_count_tokens_params.py +1 -24
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_create_params.py +4 -26
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/error_response.py +3 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_param.py +3 -2
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_20250305_param.py +4 -3
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/utils.py +9 -1
- {anthropic-0.64.0 → anthropic-0.65.0}/uv.lock +390 -207
- anthropic-0.64.0/.release-please-manifest.json +0 -3
- {anthropic-0.64.0 → anthropic-0.65.0}/.gitignore +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/CONTRIBUTING.md +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/LICENSE +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/README.md +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/SECURITY.md +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/bin/check-release-environment +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/bin/publish-pypi +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/.keep +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/batch_results.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/bedrock.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/images.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/logo.png +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/mcp.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/messages_stream.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/text_completions_demo_async.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/text_completions_demo_sync.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/text_completions_streaming.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/thinking.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/thinking_stream.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/tools.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/tools_stream.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/vertex.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/web_search.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/examples/web_search_stream.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/helpers.md +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/mypy.ini +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/release-please-config.json +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_base_client.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_client.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_compat.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_constants.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_decoders/jsonl.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_exceptions.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_files.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_legacy_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_qs.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_resource.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_streaming.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_httpx.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_logs.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_proxy.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_reflection.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_resources_proxy.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_streams.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_sync.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/_utils/_utils.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/.keep +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/_extras/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/_extras/_common.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/_extras/_google_auth.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_auth.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_beta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_beta_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_client.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_stream.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/bedrock/_stream_decoder.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/streaming/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/streaming/_beta_types.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/streaming/_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/streaming/_types.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/vertex/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/vertex/_auth.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/vertex/_beta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/vertex/_beta_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/lib/vertex/_client.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/pagination.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/py.typed +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/beta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/files.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/messages/batches.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/beta/models.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/messages/batches.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/resources/models.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/anthropic_beta_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/base64_image_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/base64_pdf_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_base64_image_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_base64_pdf_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_base64_pdf_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_cache_control_ephemeral_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_cache_creation.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_char_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_char_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_content_block_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_content_block_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_page_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_page_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_search_result_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_search_result_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citation_web_search_result_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citations_config_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citations_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_citations_web_search_result_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_output_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_output_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_20250522_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_content.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_code.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_code_execution_tool_result_error_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_container.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_container_upload_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_container_upload_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_content_block_source_content_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_content_block_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_file_document_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_file_image_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_image_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_input_json_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_mcp_tool_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_mcp_tool_use_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_mcp_tool_use_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_message.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_message_delta_usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_message_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_message_tokens_count.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_metadata_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_model_info.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_plain_text_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_content_block_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_content_block_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_content_block_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_message_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_message_start_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_message_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_raw_message_stream_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_redacted_thinking_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_redacted_thinking_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_request_document_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_request_mcp_server_url_definition_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_request_mcp_tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_search_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_server_tool_usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_signature_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_stop_reason.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_text_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_text_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_text_citation.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_text_citation_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_text_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_config_disabled_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_config_enabled_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_config_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_thinking_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_bash_20241022_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_bash_20250124_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_choice_any_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_choice_auto_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_choice_none_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_choice_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_choice_tool_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_computer_use_20241022_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_computer_use_20250124_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_text_editor_20241022_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_use_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_tool_use_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_url_image_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_url_pdf_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_request_error_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_content.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/beta_web_search_tool_result_error_code.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/deleted_file.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/file_list_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/file_metadata.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/file_upload_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/batch_create_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/batch_list_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_deleted_message_batch.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_canceled_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_errored_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_expired_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_individual_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_request_counts.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/messages/beta_message_batch_succeeded_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta/model_list_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_api_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_authentication_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_billing_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_gateway_timeout_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_invalid_request_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_not_found_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_overloaded_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_permission_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/beta_rate_limit_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/cache_control_ephemeral_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/cache_creation.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_char_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_char_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_content_block_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_content_block_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_page_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_page_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_search_result_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citation_web_search_result_location_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citations_config_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citations_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citations_search_result_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/citations_web_search_result_location.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/completion.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_source_content_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_start_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/content_block_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/document_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/image_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/input_json_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_count_tokens_tool_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_delta_usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_start_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_stream_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/message_tokens_count.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/batch_create_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/batch_list_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/deleted_message_batch.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_canceled_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_errored_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_expired_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_individual_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_request_counts.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/messages/message_batch_succeeded_result.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/metadata_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/model.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/model_info.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/model_list_params.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/model_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/plain_text_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_content_block_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_content_block_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_content_block_start_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_content_block_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_message_delta_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_message_start_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_message_stop_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/raw_message_stream_event.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/redacted_thinking_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/redacted_thinking_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/search_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/server_tool_usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/server_tool_use_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/server_tool_use_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/api_error_object.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/authentication_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/billing_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/error_object.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/gateway_timeout_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/invalid_request_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/not_found_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/overloaded_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/permission_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/shared/rate_limit_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/signature_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/stop_reason.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/text_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/text_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/text_citation.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/text_citation_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/text_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_config_disabled_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_config_enabled_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_config_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/thinking_delta.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_bash_20250124_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_choice_any_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_choice_auto_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_choice_none_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_choice_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_choice_tool_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_text_editor_20250124_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_text_editor_20250429_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_text_editor_20250728_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_union_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_use_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/tool_use_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/url_image_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/url_pdf_source_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/usage.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_request_error_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_result_block.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_result_block_content.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_result_block_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_result_block_param_content_param.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/src/anthropic/types/web_search_tool_result_error.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/messages/test_batches.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/test_files.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/test_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/beta/test_models.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/messages/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/messages/test_batches.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/test_completions.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/test_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/api_resources/test_models.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/conftest.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/decoders/test_jsonl.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/__init__.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/fixtures/basic_response.txt +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/fixtures/incomplete_partial_json_response.txt +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/fixtures/tool_use_response.txt +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/helpers.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/test_beta_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/test_messages.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/streaming/test_partial_json.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/test_bedrock.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/lib/test_vertex.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/sample_file.txt +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_client.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_deepcopy.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_extract_files.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_files.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_legacy_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_models.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_qs.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_required_args.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_response.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_streaming.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_transform.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_utils/test_proxy.py +0 -0
- {anthropic-0.64.0 → anthropic-0.65.0}/tests/test_utils/test_typing.py +0 -0
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.65.0 (2025-09-02)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.64.0...v0.65.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.64.0...v0.65.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **client:** adds support for code-execution-2025-08-26 tool ([fe92af0](https://github.com/anthropics/anthropic-sdk-python/commit/fe92af02a2fa2d1bc626bb238ee54886bc701829))
|
|
10
|
+
* **types:** replace List[str] with SequenceNotStr in params ([f542b54](https://github.com/anthropics/anthropic-sdk-python/commit/f542b541ba1e70b65704e9b96a87733cb1d9d77f))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* avoid newer type syntax ([c6d1cf5](https://github.com/anthropics/anthropic-sdk-python/commit/c6d1cf5895f15d5fc526af9a34a6b53a514bf28e))
|
|
16
|
+
* **client:** remove unused import ([712c6d8](https://github.com/anthropics/anthropic-sdk-python/commit/712c6d8b1c47eb663d2fc06b97b8c0630d4579cf))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Chores
|
|
20
|
+
|
|
21
|
+
* **client:** sync SequenceNotStr over to custom stream methods ([dd16483](https://github.com/anthropics/anthropic-sdk-python/commit/dd16483da5900a9c02519617d52d951f429d4685))
|
|
22
|
+
* **internal:** add Sequence related utils ([d523f29](https://github.com/anthropics/anthropic-sdk-python/commit/d523f295541c23de43d3b51512327265d243ac35))
|
|
23
|
+
* **internal:** bump uv version ([aab5bc6](https://github.com/anthropics/anthropic-sdk-python/commit/aab5bc667e5aa1144dc45650cd4c6a63f1be6051))
|
|
24
|
+
* **internal:** change ci workflow machines ([5383431](https://github.com/anthropics/anthropic-sdk-python/commit/5383431a31c7368c45f7cc42b358798a2f2c8a7f))
|
|
25
|
+
* **internal:** codegen related update ([eb8b19f](https://github.com/anthropics/anthropic-sdk-python/commit/eb8b19f5d7e6e4af3cfbf4cc6f02a9e5ce50f1b8))
|
|
26
|
+
* **internal:** improve breaking change detection ([6c8afa9](https://github.com/anthropics/anthropic-sdk-python/commit/6c8afa9c9fb667d824d0630de22c1662e85d7bd3))
|
|
27
|
+
* **internal:** refactor pydantic v1 test setup ([cb5444b](https://github.com/anthropics/anthropic-sdk-python/commit/cb5444be33dd798748fc5d0709ce1d47d5d4c012))
|
|
28
|
+
* **internal:** run tests in an isolated environment ([9adb089](https://github.com/anthropics/anthropic-sdk-python/commit/9adb089e2fb0d67b23b389128e2375a134564ef5))
|
|
29
|
+
* **internal:** update pyright exclude list ([85961ef](https://github.com/anthropics/anthropic-sdk-python/commit/85961ef1d4cec5243c2e74160df65aef3090a59a))
|
|
30
|
+
* update github action ([1e6a135](https://github.com/anthropics/anthropic-sdk-python/commit/1e6a1353d045b26cea766fc6bcf7331159522fa5))
|
|
31
|
+
|
|
3
32
|
## 0.64.0 (2025-08-13)
|
|
4
33
|
|
|
5
34
|
Full Changelog: [v0.63.0...v0.64.0](https://github.com/anthropics/anthropic-sdk-python/compare/v0.63.0...v0.64.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: anthropic
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.65.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
|
|
@@ -204,6 +204,14 @@ Types:
|
|
|
204
204
|
from anthropic.types.beta import (
|
|
205
205
|
BetaBase64ImageSource,
|
|
206
206
|
BetaBase64PDFSource,
|
|
207
|
+
BetaBashCodeExecutionOutputBlock,
|
|
208
|
+
BetaBashCodeExecutionOutputBlockParam,
|
|
209
|
+
BetaBashCodeExecutionResultBlock,
|
|
210
|
+
BetaBashCodeExecutionResultBlockParam,
|
|
211
|
+
BetaBashCodeExecutionToolResultBlock,
|
|
212
|
+
BetaBashCodeExecutionToolResultBlockParam,
|
|
213
|
+
BetaBashCodeExecutionToolResultError,
|
|
214
|
+
BetaBashCodeExecutionToolResultErrorParam,
|
|
207
215
|
BetaCacheControlEphemeral,
|
|
208
216
|
BetaCacheCreation,
|
|
209
217
|
BetaCitationCharLocation,
|
|
@@ -223,6 +231,7 @@ from anthropic.types.beta import (
|
|
|
223
231
|
BetaCodeExecutionResultBlock,
|
|
224
232
|
BetaCodeExecutionResultBlockParam,
|
|
225
233
|
BetaCodeExecutionTool20250522,
|
|
234
|
+
BetaCodeExecutionTool20250825,
|
|
226
235
|
BetaCodeExecutionToolResultBlock,
|
|
227
236
|
BetaCodeExecutionToolResultBlockContent,
|
|
228
237
|
BetaCodeExecutionToolResultBlockParam,
|
|
@@ -275,6 +284,16 @@ from anthropic.types.beta import (
|
|
|
275
284
|
BetaTextCitation,
|
|
276
285
|
BetaTextCitationParam,
|
|
277
286
|
BetaTextDelta,
|
|
287
|
+
BetaTextEditorCodeExecutionCreateResultBlock,
|
|
288
|
+
BetaTextEditorCodeExecutionCreateResultBlockParam,
|
|
289
|
+
BetaTextEditorCodeExecutionStrReplaceResultBlock,
|
|
290
|
+
BetaTextEditorCodeExecutionStrReplaceResultBlockParam,
|
|
291
|
+
BetaTextEditorCodeExecutionToolResultBlock,
|
|
292
|
+
BetaTextEditorCodeExecutionToolResultBlockParam,
|
|
293
|
+
BetaTextEditorCodeExecutionToolResultError,
|
|
294
|
+
BetaTextEditorCodeExecutionToolResultErrorParam,
|
|
295
|
+
BetaTextEditorCodeExecutionViewResultBlock,
|
|
296
|
+
BetaTextEditorCodeExecutionViewResultBlockParam,
|
|
278
297
|
BetaThinkingBlock,
|
|
279
298
|
BetaThinkingBlockParam,
|
|
280
299
|
BetaThinkingConfigDisabled,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "anthropic"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.65.0"
|
|
4
4
|
description = "The official Python library for the anthropic API"
|
|
5
5
|
dynamic = ["readme"]
|
|
6
6
|
license = "MIT"
|
|
@@ -62,6 +62,21 @@ dev-dependencies = [
|
|
|
62
62
|
"rich>=13.7.1",
|
|
63
63
|
"nest_asyncio==1.6.0",
|
|
64
64
|
"pytest-xdist>=3.6.1",
|
|
65
|
+
"griffe>=1",
|
|
66
|
+
]
|
|
67
|
+
conflicts = [
|
|
68
|
+
[
|
|
69
|
+
{ group = "pydantic-v1" },
|
|
70
|
+
{ group = "pydantic-v2" },
|
|
71
|
+
],
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
[dependency-groups]
|
|
75
|
+
pydantic-v1 = [
|
|
76
|
+
"pydantic>=1.9.0,<2",
|
|
77
|
+
]
|
|
78
|
+
pydantic-v2 = [
|
|
79
|
+
"pydantic>=2,<3",
|
|
65
80
|
]
|
|
66
81
|
|
|
67
82
|
[build-system]
|
|
@@ -123,6 +138,7 @@ exclude = [
|
|
|
123
138
|
"_dev",
|
|
124
139
|
".venv",
|
|
125
140
|
".nox",
|
|
141
|
+
".git",
|
|
126
142
|
]
|
|
127
143
|
|
|
128
144
|
reportImplicitOverride = true
|
|
@@ -11,7 +11,9 @@ anyio==4.8.0 ; python_full_version >= '3.9'
|
|
|
11
11
|
# via
|
|
12
12
|
# anthropic
|
|
13
13
|
# httpx
|
|
14
|
-
|
|
14
|
+
astunparse==1.6.3 ; python_full_version < '3.9'
|
|
15
|
+
# via griffe
|
|
16
|
+
boto3-stubs==1.40.12
|
|
15
17
|
botocore-stubs==1.38.30 ; python_full_version < '3.9'
|
|
16
18
|
# via boto3-stubs
|
|
17
19
|
botocore-stubs==1.38.46 ; python_full_version >= '3.9'
|
|
@@ -20,8 +22,10 @@ certifi==2024.12.14
|
|
|
20
22
|
# via
|
|
21
23
|
# httpcore
|
|
22
24
|
# httpx
|
|
23
|
-
colorama==0.4.6
|
|
24
|
-
# via
|
|
25
|
+
colorama==0.4.6
|
|
26
|
+
# via
|
|
27
|
+
# griffe
|
|
28
|
+
# pytest
|
|
25
29
|
dirty-equals==0.9.0
|
|
26
30
|
distro==1.9.0
|
|
27
31
|
# via anthropic
|
|
@@ -31,6 +35,8 @@ exceptiongroup==1.2.2 ; python_full_version < '3.11'
|
|
|
31
35
|
# pytest
|
|
32
36
|
execnet==2.1.1
|
|
33
37
|
# via pytest-xdist
|
|
38
|
+
griffe==1.4.0 ; python_full_version < '3.9'
|
|
39
|
+
griffe==1.13.0 ; python_full_version >= '3.9'
|
|
34
40
|
h11==0.16.0
|
|
35
41
|
# via httpcore
|
|
36
42
|
httpcore==1.0.9
|
|
@@ -70,9 +76,15 @@ pydantic==2.10.3
|
|
|
70
76
|
pydantic-core==2.27.1
|
|
71
77
|
# via pydantic
|
|
72
78
|
pygments==2.19.1
|
|
73
|
-
# via
|
|
79
|
+
# via
|
|
80
|
+
# pytest
|
|
81
|
+
# rich
|
|
74
82
|
pyright==1.1.399
|
|
75
|
-
pytest==8.3.3
|
|
83
|
+
pytest==8.3.5 ; python_full_version < '3.9'
|
|
84
|
+
# via
|
|
85
|
+
# pytest-asyncio
|
|
86
|
+
# pytest-xdist
|
|
87
|
+
pytest==8.4.1 ; python_full_version >= '3.9'
|
|
76
88
|
# via
|
|
77
89
|
# pytest-asyncio
|
|
78
90
|
# pytest-xdist
|
|
@@ -87,7 +99,9 @@ respx==0.22.0
|
|
|
87
99
|
rich==13.9.4
|
|
88
100
|
ruff==0.9.4
|
|
89
101
|
six==1.17.0
|
|
90
|
-
# via
|
|
102
|
+
# via
|
|
103
|
+
# astunparse
|
|
104
|
+
# python-dateutil
|
|
91
105
|
sniffio==1.3.1
|
|
92
106
|
# via
|
|
93
107
|
# anthropic
|
|
@@ -98,7 +112,7 @@ tomli==2.2.1 ; python_full_version < '3.11'
|
|
|
98
112
|
# via
|
|
99
113
|
# mypy
|
|
100
114
|
# pytest
|
|
101
|
-
types-awscrt==0.27.
|
|
115
|
+
types-awscrt==0.27.6
|
|
102
116
|
# via botocore-stubs
|
|
103
117
|
types-s3transfer==0.13.0
|
|
104
118
|
# via boto3-stubs
|
|
@@ -113,6 +127,8 @@ typing-extensions==4.12.2
|
|
|
113
127
|
# pydantic-core
|
|
114
128
|
# pyright
|
|
115
129
|
# rich
|
|
130
|
+
wheel==0.45.1 ; python_full_version < '3.9'
|
|
131
|
+
# via astunparse
|
|
116
132
|
zipp==3.20.2 ; python_full_version < '3.9'
|
|
117
133
|
# via importlib-metadata
|
|
118
134
|
zipp==3.21.0 ; python_full_version >= '3.9'
|
|
@@ -320,7 +320,7 @@ class BaseModel(pydantic.BaseModel):
|
|
|
320
320
|
exclude_none=exclude_none,
|
|
321
321
|
)
|
|
322
322
|
|
|
323
|
-
return cast(dict[str, Any], json_safe(dumped)) if mode == "json" else dumped
|
|
323
|
+
return cast("dict[str, Any]", json_safe(dumped)) if mode == "json" else dumped
|
|
324
324
|
|
|
325
325
|
@override
|
|
326
326
|
def model_dump_json(
|
|
@@ -13,10 +13,21 @@ from typing import (
|
|
|
13
13
|
Mapping,
|
|
14
14
|
TypeVar,
|
|
15
15
|
Callable,
|
|
16
|
+
Iterator,
|
|
16
17
|
Optional,
|
|
17
18
|
Sequence,
|
|
18
19
|
)
|
|
19
|
-
from typing_extensions import
|
|
20
|
+
from typing_extensions import (
|
|
21
|
+
Set,
|
|
22
|
+
Literal,
|
|
23
|
+
Protocol,
|
|
24
|
+
TypeAlias,
|
|
25
|
+
TypedDict,
|
|
26
|
+
SupportsIndex,
|
|
27
|
+
overload,
|
|
28
|
+
override,
|
|
29
|
+
runtime_checkable,
|
|
30
|
+
)
|
|
20
31
|
|
|
21
32
|
import httpx
|
|
22
33
|
import pydantic
|
|
@@ -219,3 +230,26 @@ class _GenericAlias(Protocol):
|
|
|
219
230
|
class HttpxSendArgs(TypedDict, total=False):
|
|
220
231
|
auth: httpx.Auth
|
|
221
232
|
follow_redirects: bool
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
_T_co = TypeVar("_T_co", covariant=True)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
if TYPE_CHECKING:
|
|
239
|
+
# This works because str.__contains__ does not accept object (either in typeshed or at runtime)
|
|
240
|
+
# https://github.com/hauntsaninja/useful_types/blob/5e9710f3875107d068e7679fd7fec9cfab0eff3b/useful_types/__init__.py#L285
|
|
241
|
+
class SequenceNotStr(Protocol[_T_co]):
|
|
242
|
+
@overload
|
|
243
|
+
def __getitem__(self, index: SupportsIndex, /) -> _T_co: ...
|
|
244
|
+
@overload
|
|
245
|
+
def __getitem__(self, index: slice, /) -> Sequence[_T_co]: ...
|
|
246
|
+
def __contains__(self, value: object, /) -> bool: ...
|
|
247
|
+
def __len__(self) -> int: ...
|
|
248
|
+
def __iter__(self) -> Iterator[_T_co]: ...
|
|
249
|
+
def index(self, value: Any, start: int = 0, stop: int = ..., /) -> int: ...
|
|
250
|
+
def count(self, value: Any, /) -> int: ...
|
|
251
|
+
def __reversed__(self) -> Iterator[_T_co]: ...
|
|
252
|
+
else:
|
|
253
|
+
# just point this to a normal `Sequence` at runtime to avoid having to special case
|
|
254
|
+
# deserializing our custom sequence type
|
|
255
|
+
SequenceNotStr = Sequence
|
|
@@ -38,6 +38,7 @@ from ._typing import (
|
|
|
38
38
|
extract_type_arg as extract_type_arg,
|
|
39
39
|
is_iterable_type as is_iterable_type,
|
|
40
40
|
is_required_type as is_required_type,
|
|
41
|
+
is_sequence_type as is_sequence_type,
|
|
41
42
|
is_annotated_type as is_annotated_type,
|
|
42
43
|
is_type_alias_type as is_type_alias_type,
|
|
43
44
|
strip_annotated_type as strip_annotated_type,
|
|
@@ -16,6 +16,7 @@ from ._utils import (
|
|
|
16
16
|
lru_cache,
|
|
17
17
|
is_mapping,
|
|
18
18
|
is_iterable,
|
|
19
|
+
is_sequence,
|
|
19
20
|
)
|
|
20
21
|
from .._files import is_base64_file_input
|
|
21
22
|
from ._typing import (
|
|
@@ -24,6 +25,7 @@ from ._typing import (
|
|
|
24
25
|
extract_type_arg,
|
|
25
26
|
is_iterable_type,
|
|
26
27
|
is_required_type,
|
|
28
|
+
is_sequence_type,
|
|
27
29
|
is_annotated_type,
|
|
28
30
|
strip_annotated_type,
|
|
29
31
|
)
|
|
@@ -184,6 +186,8 @@ def _transform_recursive(
|
|
|
184
186
|
(is_list_type(stripped_type) and is_list(data))
|
|
185
187
|
# Iterable[T]
|
|
186
188
|
or (is_iterable_type(stripped_type) and is_iterable(data) and not isinstance(data, str))
|
|
189
|
+
# Sequence[T]
|
|
190
|
+
or (is_sequence_type(stripped_type) and is_sequence(data) and not isinstance(data, str))
|
|
187
191
|
):
|
|
188
192
|
# dicts are technically iterable, but it is an iterable on the keys of the dict and is not usually
|
|
189
193
|
# intended as an iterable, so we don't transform it.
|
|
@@ -346,6 +350,8 @@ async def _async_transform_recursive(
|
|
|
346
350
|
(is_list_type(stripped_type) and is_list(data))
|
|
347
351
|
# Iterable[T]
|
|
348
352
|
or (is_iterable_type(stripped_type) and is_iterable(data) and not isinstance(data, str))
|
|
353
|
+
# Sequence[T]
|
|
354
|
+
or (is_sequence_type(stripped_type) and is_sequence(data) and not isinstance(data, str))
|
|
349
355
|
):
|
|
350
356
|
# dicts are technically iterable, but it is an iterable on the keys of the dict and is not usually
|
|
351
357
|
# intended as an iterable, so we don't transform it.
|
|
@@ -26,6 +26,11 @@ def is_list_type(typ: type) -> bool:
|
|
|
26
26
|
return (get_origin(typ) or typ) == list
|
|
27
27
|
|
|
28
28
|
|
|
29
|
+
def is_sequence_type(typ: type) -> bool:
|
|
30
|
+
origin = get_origin(typ) or typ
|
|
31
|
+
return origin == typing_extensions.Sequence or origin == typing.Sequence or origin == _c_abc.Sequence
|
|
32
|
+
|
|
33
|
+
|
|
29
34
|
def is_iterable_type(typ: type) -> bool:
|
|
30
35
|
"""If the given type is `typing.Iterable[T]`"""
|
|
31
36
|
origin = get_origin(typ) or typ
|
|
@@ -245,7 +245,6 @@ class BetaAsyncMessageStream:
|
|
|
245
245
|
f".get_final_text() can only be called when the API returns a `text` content block.\nThe API returned {','.join([b.type for b in message.content])} content block type(s) that you can access by calling get_final_message().content"
|
|
246
246
|
)
|
|
247
247
|
|
|
248
|
-
|
|
249
248
|
return "".join(text_blocks)
|
|
250
249
|
|
|
251
250
|
async def until_done(self) -> None:
|