anthropic 1.69.0 → 1.71.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +65 -0
- data/README.md +1 -1
- data/lib/anthropic/client.rb +6 -0
- data/lib/anthropic/internal/transport/base_client.rb +12 -12
- data/lib/anthropic/internal/transport/pooled_net_requester.rb +63 -4
- data/lib/anthropic/internal/type/union.rb +6 -2
- data/lib/anthropic/internal/util.rb +3 -1
- data/lib/anthropic/models/anthropic_beta.rb +10 -4
- data/lib/anthropic/models/beta/agent_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_create_params.rb +8 -8
- data/lib/anthropic/models/beta/agent_list_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/agent_update_params.rb +8 -8
- data/lib/anthropic/models/beta/agents/version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_browser_state_change.rb +0 -6
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb +1 -4
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +0 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param.rb +1 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +0 -1
- data/lib/anthropic/models/beta/beta_compaction_block.rb +9 -1
- data/lib/anthropic/models/beta/beta_compaction_block_param.rb +9 -1
- data/lib/anthropic/models/beta/beta_compaction_capability.rb +32 -0
- data/lib/anthropic/models/beta/beta_compaction_config.rb +40 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +3 -4
- data/lib/anthropic/models/beta/beta_content_block_param.rb +4 -5
- data/lib/anthropic/models/beta/beta_context_management_config.rb +0 -2
- data/lib/anthropic/models/beta/beta_dream.rb +1 -4
- data/lib/anthropic/models/beta/beta_dream_input.rb +0 -3
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +0 -7
- data/lib/anthropic/models/beta/beta_fallback_message_iteration_usage.rb +5 -4
- data/lib/anthropic/models/beta/beta_fallbacks_param.rb +3 -3
- data/lib/anthropic/models/beta/beta_input_transformation.rb +62 -0
- data/lib/anthropic/models/beta/beta_iterations_usage.rb +7 -6
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +6 -6
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +24 -0
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +13 -8
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +10 -4
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +10 -4
- data/lib/anthropic/models/beta/beta_message.rb +21 -18
- data/lib/anthropic/models/beta/beta_message_iteration_usage.rb +3 -3
- data/lib/anthropic/models/beta/beta_model_capabilities.rb +14 -1
- data/lib/anthropic/models/beta/beta_output_behavior.rb +0 -3
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +4 -9
- data/lib/anthropic/models/beta/beta_raw_message_delta_event.rb +20 -17
- data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +1 -11
- data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +1 -11
- data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -8
- data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_summarize_compaction.rb +40 -0
- data/lib/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rb +73 -0
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +0 -1
- data/lib/anthropic/models/beta/beta_tool_union.rb +0 -2
- data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -4
- data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_user_profile.rb +15 -3
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details.rb +122 -0
- data/lib/anthropic/models/beta/beta_user_profile_external_user_details_params.rb +122 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260209.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260309.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20260318.rb +14 -1
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -7
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -4
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rb +1 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_all.rb +22 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_except.rb +29 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_none.rb +22 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_only.rb +28 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rb +28 -0
- data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +234 -0
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -7
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +3 -6
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb +3 -3
- data/lib/anthropic/models/beta/deployment_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_create_params.rb +9 -9
- data/lib/anthropic/models/beta/deployment_list_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_pause_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_list_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_run_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_unpause_params.rb +2 -2
- data/lib/anthropic/models/beta/deployment_update_params.rb +9 -9
- data/lib/anthropic/models/beta/dream_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_cancel_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_create_params.rb +8 -16
- data/lib/anthropic/models/beta/dream_list_params.rb +2 -2
- data/lib/anthropic/models/beta/dream_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_create_params.rb +6 -6
- data/lib/anthropic/models/beta/environment_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_list_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environment_update_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_ack_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_list_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_poll_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_stats_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_stop_params.rb +2 -2
- data/lib/anthropic/models/beta/environments/work_update_params.rb +2 -2
- data/lib/anthropic/models/beta/file_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/file_download_params.rb +2 -2
- data/lib/anthropic/models/beta/file_list_params.rb +2 -2
- data/lib/anthropic/models/beta/file_retrieve_metadata_params.rb +2 -2
- data/lib/anthropic/models/beta/file_upload_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_create_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_store_update_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_create_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_update_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_redact_params.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +18 -5
- data/lib/anthropic/models/beta/message_create_params.rb +26 -11
- data/lib/anthropic/models/beta/messages/batch_cancel_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +26 -11
- data/lib/anthropic/models/beta/messages/batch_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_list_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_results_params.rb +2 -2
- data/lib/anthropic/models/beta/messages/batch_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/model_list_params.rb +2 -2
- data/lib/anthropic/models/beta/model_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_compliance_settings.rb +1 -47
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_data_residency.rb +41 -12
- data/lib/anthropic/models/beta/organization/beta_data_residency_create_config.rb +5 -5
- data/lib/anthropic/models/beta/organization/beta_data_residency_update_config.rb +5 -5
- data/lib/anthropic/models/beta/organization/compliance_setting_update_params.rb +1 -46
- data/lib/anthropic/models/beta/organization/federation/issuer_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rule_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_account_update_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspace_create_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_add_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_list_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_remove_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/organization/workspaces/service_account_update_params.rb +2 -2
- data/lib/anthropic/models/beta/session_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/session_create_params.rb +9 -9
- data/lib/anthropic/models/beta/session_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/session_list_params.rb +2 -2
- data/lib/anthropic/models/beta/session_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/session_update_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +69 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rb +21 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rb +35 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +37 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +3 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +13 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +69 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rb +22 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rb +22 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rb +37 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +14 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -12
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +0 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -4
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +4 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +3 -4
- data/lib/anthropic/models/beta/sessions/event_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/event_send_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/event_stream_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_add_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/resource_update_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/thread_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/threads/event_list_params.rb +2 -2
- data/lib/anthropic/models/beta/sessions/threads/event_stream_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_create_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_list_params.rb +2 -2
- data/lib/anthropic/models/beta/skill_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_create_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_download_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_list_params.rb +2 -2
- data/lib/anthropic/models/beta/skills/version_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_create_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_list_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_reveal_token_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnel_rotate_token_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_create_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_list_params.rb +2 -2
- data/lib/anthropic/models/beta/tunnels/certificate_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/user_profile_create_enrollment_url_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_create_params.rb +23 -4
- data/lib/anthropic/models/beta/user_profile_list_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_retrieve_params.rb +10 -3
- data/lib/anthropic/models/beta/user_profile_update_params.rb +24 -4
- data/lib/anthropic/models/beta/vault_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_create_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_list_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/vault_update_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +0 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -4
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -4
- data/lib/anthropic/models/beta/vaults/credential_archive_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_delete_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_list_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_retrieve_params.rb +2 -2
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +2 -2
- data/lib/anthropic/models/browser_state_change.rb +0 -6
- data/lib/anthropic/models/code_execution_tool_result_block.rb +1 -4
- data/lib/anthropic/models/code_execution_tool_result_block_content.rb +0 -1
- data/lib/anthropic/models/code_execution_tool_result_block_param.rb +1 -2
- data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +0 -1
- data/lib/anthropic/models/completion_create_params.rb +3 -3
- data/lib/anthropic/models/content_block.rb +2 -3
- data/lib/anthropic/models/content_block_param.rb +2 -3
- data/lib/anthropic/models/message_count_tokens_tool.rb +0 -2
- data/lib/anthropic/models/message_create_params.rb +1 -1
- data/lib/anthropic/models/messages/batch_create_params.rb +1 -1
- data/lib/anthropic/models/model_list_params.rb +2 -2
- data/lib/anthropic/models/model_retrieve_params.rb +2 -2
- data/lib/anthropic/models/raw_content_block_start_event.rb +3 -8
- data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
- data/lib/anthropic/models/server_tool_use_block.rb +1 -8
- data/lib/anthropic/models/server_tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/tool_result_block_param.rb +0 -1
- data/lib/anthropic/models/tool_union.rb +0 -2
- data/lib/anthropic/models/tool_use_block.rb +2 -4
- data/lib/anthropic/models/tool_use_block_param.rb +1 -4
- data/lib/anthropic/models/web_fetch_tool_20250910.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260209.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260309.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_20260318.rb +14 -1
- data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -7
- data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -4
- data/lib/anthropic/models/web_fetch_tool_result_error_code.rb +1 -0
- data/lib/anthropic/models/web_fetch_url_source_all.rb +18 -0
- data/lib/anthropic/models/web_fetch_url_source_except.rb +24 -0
- data/lib/anthropic/models/web_fetch_url_source_none.rb +18 -0
- data/lib/anthropic/models/web_fetch_url_source_only.rb +23 -0
- data/lib/anthropic/models/web_fetch_url_source_tool_reference.rb +24 -0
- data/lib/anthropic/models/web_fetch_url_sources.rb +230 -0
- data/lib/anthropic/models/web_search_tool_result_block.rb +1 -7
- data/lib/anthropic/models/web_search_tool_result_block_param.rb +3 -6
- data/lib/anthropic/models/web_search_tool_result_block_param_content.rb +3 -3
- data/lib/anthropic/models.rb +12 -0
- data/lib/anthropic/request_options.rb +1 -2
- data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
- data/lib/anthropic/resources/beta/agents.rb +7 -7
- data/lib/anthropic/resources/beta/deployment_runs.rb +2 -2
- data/lib/anthropic/resources/beta/deployments.rb +10 -10
- data/lib/anthropic/resources/beta/dreams.rb +7 -7
- data/lib/anthropic/resources/beta/environments/work.rb +8 -8
- data/lib/anthropic/resources/beta/environments.rb +6 -6
- data/lib/anthropic/resources/beta/files.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +5 -5
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +3 -3
- data/lib/anthropic/resources/beta/memory_stores.rb +6 -6
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +22 -14
- data/lib/anthropic/resources/beta/models.rb +2 -2
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +5 -5
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +3 -3
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +5 -5
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +3 -3
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +5 -5
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +5 -5
- data/lib/anthropic/resources/beta/organization/workspaces.rb +1 -1
- data/lib/anthropic/resources/beta/sessions/events.rb +3 -3
- data/lib/anthropic/resources/beta/sessions/resources.rb +5 -5
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +2 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +3 -3
- data/lib/anthropic/resources/beta/sessions.rb +7 -7
- data/lib/anthropic/resources/beta/skills/versions.rb +5 -5
- data/lib/anthropic/resources/beta/skills.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +4 -4
- data/lib/anthropic/resources/beta/tunnels.rb +6 -6
- data/lib/anthropic/resources/beta/user_profiles.rb +42 -15
- data/lib/anthropic/resources/beta/vaults/credentials.rb +7 -7
- data/lib/anthropic/resources/beta/vaults.rb +6 -6
- data/lib/anthropic/resources/completions.rb +2 -2
- data/lib/anthropic/resources/models.rb +2 -2
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +30 -1
- data/manifest.yaml +0 -1
- data/rbi/anthropic/client.rbi +5 -0
- data/rbi/anthropic/internal/transport/base_client.rbi +2 -0
- data/rbi/anthropic/internal/transport/pooled_net_requester.rbi +27 -5
- data/rbi/anthropic/models/anthropic_beta.rbi +8 -1
- data/rbi/anthropic/models/beta/agent_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_create_params.rbi +12 -12
- data/rbi/anthropic/models/beta/agent_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/agent_update_params.rbi +14 -14
- data/rbi/anthropic/models/beta/agents/version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +0 -6
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block.rbi +1 -7
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_compaction_block.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_compaction_block_param.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_compaction_capability.rbi +60 -0
- data/rbi/anthropic/models/beta/beta_compaction_config.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_content_block.rbi +2 -4
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +4 -9
- data/rbi/anthropic/models/beta/beta_context_management_config.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_dream.rbi +0 -6
- data/rbi/anthropic/models/beta/beta_dream_input.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +0 -7
- data/rbi/anthropic/models/beta/beta_fallback_message_iteration_usage.rbi +5 -4
- data/rbi/anthropic/models/beta/beta_fallbacks_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_input_transformation.rbi +99 -0
- data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +5 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +10 -10
- data/rbi/anthropic/models/beta/beta_managed_agents_auto_policy.rbi +34 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +13 -8
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_params.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +9 -2
- data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +13 -4
- data/rbi/anthropic/models/beta/beta_message.rbi +40 -29
- data/rbi/anthropic/models/beta/beta_message_iteration_usage.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_model_capabilities.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_output_behavior.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +3 -11
- data/rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi +40 -29
- data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +21 -14
- data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +0 -9
- data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +0 -9
- data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +1 -10
- data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_summarize_compaction.rbi +54 -0
- data/rbi/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbi +140 -0
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +0 -1
- data/rbi/anthropic/models/beta/beta_tool_union.rbi +0 -2
- data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +32 -2
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi +228 -0
- data/rbi/anthropic/models/beta/beta_user_profile_external_user_details_params.rbi +234 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +28 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260209.rbi +28 -1
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260309.rbi +27 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20260318.rbi +27 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_all.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_except.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_none.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_only.rbi +52 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbi +36 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +412 -0
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +6 -11
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbi +2 -2
- data/rbi/anthropic/models/beta/deployment_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_create_params.rbi +13 -12
- data/rbi/anthropic/models/beta/deployment_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_pause_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_run_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_unpause_params.rbi +4 -4
- data/rbi/anthropic/models/beta/deployment_update_params.rbi +15 -14
- data/rbi/anthropic/models/beta/dream_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_cancel_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_create_params.rbi +8 -17
- data/rbi/anthropic/models/beta/dream_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/dream_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_create_params.rbi +10 -10
- data/rbi/anthropic/models/beta/environment_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environment_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_ack_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_poll_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_stats_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_stop_params.rbi +4 -4
- data/rbi/anthropic/models/beta/environments/work_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_download_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_retrieve_metadata_params.rbi +4 -4
- data/rbi/anthropic/models/beta/file_upload_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_store_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_redact_params.rbi +4 -4
- data/rbi/anthropic/models/beta/memory_stores/memory_version_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +34 -6
- data/rbi/anthropic/models/beta/message_create_params.rbi +43 -13
- data/rbi/anthropic/models/beta/messages/batch_cancel_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +47 -15
- data/rbi/anthropic/models/beta/messages/batch_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_results_params.rbi +4 -4
- data/rbi/anthropic/models/beta/messages/batch_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/model_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/model_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings.rbi +2 -69
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/beta_data_residency.rbi +103 -10
- data/rbi/anthropic/models/beta/organization/beta_data_residency_create_config.rbi +8 -8
- data/rbi/anthropic/models/beta/organization/beta_data_residency_update_config.rbi +8 -8
- data/rbi/anthropic/models/beta/organization/compliance_setting_update_params.rbi +0 -68
- data/rbi/anthropic/models/beta/organization/federation/issuer_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rule_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/federation/rules/workspace_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_account_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/service_accounts/workspace_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspace_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_remove_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/workspaces/service_account_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_create_params.rbi +16 -15
- data/rbi/anthropic/models/beta/session_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/session_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +90 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rbi +31 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rbi +45 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +46 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -2
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +40 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +98 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rbi +32 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rbi +32 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbi +66 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +42 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +0 -9
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +0 -1
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +0 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +0 -3
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +10 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +4 -6
- data/rbi/anthropic/models/beta/sessions/event_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/event_send_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/event_stream_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_add_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/resource_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/thread_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/threads/event_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/sessions/threads/event_stream_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skill_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_download_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/skills/version_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_reveal_token_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnel_rotate_token_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/tunnels/certificate_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/user_profile_create_enrollment_url_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_create_params.rbi +45 -6
- data/rbi/anthropic/models/beta/user_profile_list_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_retrieve_params.rbi +13 -4
- data/rbi/anthropic/models/beta/user_profile_update_params.rbi +47 -6
- data/rbi/anthropic/models/beta/vault_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vault_update_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +0 -3
- data/rbi/anthropic/models/beta/vaults/credential_archive_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_delete_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_list_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_mcp_oauth_validate_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +4 -4
- data/rbi/anthropic/models/browser_state_change.rbi +0 -6
- data/rbi/anthropic/models/code_execution_tool_result_block.rbi +1 -7
- data/rbi/anthropic/models/code_execution_tool_result_block_content.rbi +0 -1
- data/rbi/anthropic/models/code_execution_tool_result_block_param.rbi +0 -2
- data/rbi/anthropic/models/code_execution_tool_result_block_param_content.rbi +0 -1
- data/rbi/anthropic/models/completion_create_params.rbi +4 -4
- data/rbi/anthropic/models/content_block.rbi +0 -3
- data/rbi/anthropic/models/content_block_param.rbi +2 -5
- data/rbi/anthropic/models/message_count_tokens_tool.rbi +0 -2
- data/rbi/anthropic/models/model_list_params.rbi +4 -4
- data/rbi/anthropic/models/model_retrieve_params.rbi +4 -4
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +1 -10
- data/rbi/anthropic/models/raw_message_stream_event.rbi +0 -1
- data/rbi/anthropic/models/server_tool_use_block.rbi +1 -10
- data/rbi/anthropic/models/server_tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/tool_result_block_param.rbi +0 -1
- data/rbi/anthropic/models/tool_union.rbi +0 -2
- data/rbi/anthropic/models/tool_use_block.rbi +0 -3
- data/rbi/anthropic/models/tool_use_block_param.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_20250910.rbi +26 -1
- data/rbi/anthropic/models/web_fetch_tool_20260209.rbi +26 -1
- data/rbi/anthropic/models/web_fetch_tool_20260309.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_tool_20260318.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +0 -3
- data/rbi/anthropic/models/web_fetch_tool_result_error_code.rbi +5 -0
- data/rbi/anthropic/models/web_fetch_url_source_all.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_url_source_except.rbi +43 -0
- data/rbi/anthropic/models/web_fetch_url_source_none.rbi +25 -0
- data/rbi/anthropic/models/web_fetch_url_source_only.rbi +39 -0
- data/rbi/anthropic/models/web_fetch_url_source_tool_reference.rbi +31 -0
- data/rbi/anthropic/models/web_fetch_url_sources.rbi +386 -0
- data/rbi/anthropic/models/web_search_tool_result_block.rbi +0 -3
- data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +6 -9
- data/rbi/anthropic/models/web_search_tool_result_block_param_content.rbi +2 -2
- data/rbi/anthropic/models.rbi +13 -0
- data/rbi/anthropic/request_options.rbi +1 -2
- data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
- data/rbi/anthropic/resources/beta/agents.rbi +9 -9
- data/rbi/anthropic/resources/beta/deployment_runs.rbi +2 -2
- data/rbi/anthropic/resources/beta/deployments.rbi +12 -12
- data/rbi/anthropic/resources/beta/dreams.rbi +8 -10
- data/rbi/anthropic/resources/beta/environments/work.rbi +8 -8
- data/rbi/anthropic/resources/beta/environments.rbi +8 -8
- data/rbi/anthropic/resources/beta/files.rbi +5 -5
- data/rbi/anthropic/resources/beta/memory_stores/memories.rbi +5 -5
- data/rbi/anthropic/resources/beta/memory_stores/memory_versions.rbi +3 -3
- data/rbi/anthropic/resources/beta/memory_stores.rbi +6 -6
- data/rbi/anthropic/resources/beta/messages/batches.rbi +6 -6
- data/rbi/anthropic/resources/beta/messages.rbi +60 -16
- data/rbi/anthropic/resources/beta/models.rbi +2 -2
- data/rbi/anthropic/resources/beta/organization/federation/issuers.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/federation/rules/workspaces.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/federation/rules.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/service_accounts/workspaces.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/service_accounts.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/workspaces/service_accounts.rbi +5 -5
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +1 -1
- data/rbi/anthropic/resources/beta/sessions/events.rbi +3 -3
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +5 -5
- data/rbi/anthropic/resources/beta/sessions/threads/events.rbi +2 -2
- data/rbi/anthropic/resources/beta/sessions/threads.rbi +3 -3
- data/rbi/anthropic/resources/beta/sessions.rbi +8 -8
- data/rbi/anthropic/resources/beta/skills/versions.rbi +5 -5
- data/rbi/anthropic/resources/beta/skills.rbi +4 -4
- data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +4 -4
- data/rbi/anthropic/resources/beta/tunnels.rbi +6 -6
- data/rbi/anthropic/resources/beta/user_profiles.rbi +64 -7
- data/rbi/anthropic/resources/beta/vaults/credentials.rbi +7 -7
- data/rbi/anthropic/resources/beta/vaults.rbi +6 -6
- data/rbi/anthropic/resources/completions.rbi +2 -2
- data/rbi/anthropic/resources/models.rbi +2 -2
- data/sig/anthropic/client.rbs +1 -0
- data/sig/anthropic/internal/transport/base_client.rbs +1 -0
- data/sig/anthropic/internal/transport/pooled_net_requester.rbs +10 -2
- data/sig/anthropic/models/anthropic_beta.rbs +6 -2
- data/sig/anthropic/models/beta/agent_create_params.rbs +2 -2
- data/sig/anthropic/models/beta/agent_update_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_compaction_block.rbs +11 -2
- data/sig/anthropic/models/beta/beta_compaction_block_param.rbs +7 -2
- data/sig/anthropic/models/beta/beta_compaction_capability.rbs +26 -0
- data/sig/anthropic/models/beta/beta_compaction_config.rbs +19 -0
- data/sig/anthropic/models/beta/beta_content_block.rbs +3 -2
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +3 -2
- data/sig/anthropic/models/beta/beta_fallbacks_param.rbs +1 -1
- data/sig/anthropic/models/beta/beta_input_transformation.rbs +46 -0
- data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_auto_policy.rbs +17 -0
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +7 -5
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_roster_entry_params.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +6 -1
- data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +6 -1
- data/sig/anthropic/models/beta/beta_message.rbs +4 -4
- data/sig/anthropic/models/beta/beta_message_iteration_usage.rbs +4 -4
- data/sig/anthropic/models/beta/beta_model_capabilities.rbs +5 -0
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +3 -2
- data/sig/anthropic/models/beta/beta_raw_message_delta_event.rbs +4 -4
- data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -2
- data/sig/anthropic/models/beta/beta_summarize_compaction.rbs +20 -0
- data/sig/anthropic/models/beta/beta_thinking_mismatch_allowed_input_transformation.rbs +51 -0
- data/sig/anthropic/models/beta/beta_user_profile.rbs +9 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs +79 -0
- data/sig/anthropic/models/beta/beta_user_profile_external_user_details_params.rbs +81 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +7 -2
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260209.rbs +7 -2
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260309.rbs +5 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20260318.rbs +5 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbs +2 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_all.rbs +17 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_except.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_none.rbs +17 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_only.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_source_tool_reference.rbs +20 -0
- data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +162 -0
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbs +2 -2
- data/sig/anthropic/models/beta/deployment_create_params.rbs +3 -3
- data/sig/anthropic/models/beta/deployment_update_params.rbs +3 -3
- data/sig/anthropic/models/beta/dream_create_params.rbs +1 -1
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +5 -0
- data/sig/anthropic/models/beta/message_create_params.rbs +6 -1
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +6 -1
- data/sig/anthropic/models/beta/organization/beta_compliance_settings.rbs +4 -36
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +39 -0
- data/sig/anthropic/models/beta/organization/beta_data_residency.rbs +33 -10
- data/sig/anthropic/models/beta/organization/beta_data_residency_create_config.rbs +2 -2
- data/sig/anthropic/models/beta/organization/beta_data_residency_update_config.rbs +2 -2
- data/sig/anthropic/models/beta/organization/compliance_setting_update_params.rbs +4 -36
- data/sig/anthropic/models/beta/session_create_params.rbs +4 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +47 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_allow.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_ask.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbs +9 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +46 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_allow.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_always_ask.rbs +18 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation_auto.rbs +29 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbs +9 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +3 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +3 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +3 -0
- data/sig/anthropic/models/beta/user_profile_create_enrollment_url_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_create_params.rbs +17 -1
- data/sig/anthropic/models/beta/user_profile_list_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_retrieve_params.rbs +8 -1
- data/sig/anthropic/models/beta/user_profile_update_params.rbs +17 -1
- data/sig/anthropic/models/web_fetch_tool_20250910.rbs +7 -2
- data/sig/anthropic/models/web_fetch_tool_20260209.rbs +7 -2
- data/sig/anthropic/models/web_fetch_tool_20260309.rbs +5 -0
- data/sig/anthropic/models/web_fetch_tool_20260318.rbs +5 -0
- data/sig/anthropic/models/web_fetch_tool_result_error_code.rbs +2 -0
- data/sig/anthropic/models/web_fetch_url_source_all.rbs +13 -0
- data/sig/anthropic/models/web_fetch_url_source_except.rbs +25 -0
- data/sig/anthropic/models/web_fetch_url_source_none.rbs +13 -0
- data/sig/anthropic/models/web_fetch_url_source_only.rbs +22 -0
- data/sig/anthropic/models/web_fetch_url_source_tool_reference.rbs +16 -0
- data/sig/anthropic/models/web_fetch_url_sources.rbs +151 -0
- data/sig/anthropic/models/web_search_tool_result_block_param_content.rbs +2 -2
- data/sig/anthropic/models.rbs +12 -0
- data/sig/anthropic/resources/beta/messages.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/compliance_settings.rbs +1 -1
- data/sig/anthropic/resources/beta/user_profiles.rbs +7 -0
- metadata +92 -16
|
@@ -15,14 +15,14 @@ module Anthropic
|
|
|
15
15
|
)
|
|
16
16
|
],
|
|
17
17
|
model:
|
|
18
|
-
T.any(
|
|
18
|
+
T.any(Anthropic::Beta::BetaDreamModelConfigParam::OrHash, String),
|
|
19
19
|
instructions: T.nilable(String),
|
|
20
20
|
output_behavior:
|
|
21
21
|
T.any(
|
|
22
22
|
Anthropic::Beta::BetaOutputBehaviorCreateNew::OrHash,
|
|
23
23
|
Anthropic::Beta::BetaOutputBehaviorUpdateExisting::OrHash
|
|
24
24
|
),
|
|
25
|
-
betas: T::Array[T.any(
|
|
25
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
26
26
|
workspace_id: String,
|
|
27
27
|
request_options: Anthropic::RequestOptions::OrHash
|
|
28
28
|
).returns(Anthropic::Beta::BetaDream)
|
|
@@ -30,13 +30,11 @@ module Anthropic
|
|
|
30
30
|
def create(
|
|
31
31
|
# Body param
|
|
32
32
|
inputs:,
|
|
33
|
-
# Body param
|
|
33
|
+
# Body param
|
|
34
34
|
model:,
|
|
35
35
|
# Body param
|
|
36
36
|
instructions: nil,
|
|
37
|
-
# Body param
|
|
38
|
-
# as a clone of the memory_store input and writes the consolidated memories into
|
|
39
|
-
# it. The input store is never mutated.
|
|
37
|
+
# Body param
|
|
40
38
|
output_behavior: nil,
|
|
41
39
|
# Header param: Optional header to specify the beta version(s) you want to use.
|
|
42
40
|
betas: nil,
|
|
@@ -55,7 +53,7 @@ module Anthropic
|
|
|
55
53
|
sig do
|
|
56
54
|
params(
|
|
57
55
|
dream_id: String,
|
|
58
|
-
betas: T::Array[T.any(
|
|
56
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
59
57
|
workspace_id: String,
|
|
60
58
|
request_options: Anthropic::RequestOptions::OrHash
|
|
61
59
|
).returns(Anthropic::Beta::BetaDream)
|
|
@@ -85,7 +83,7 @@ module Anthropic
|
|
|
85
83
|
limit: Integer,
|
|
86
84
|
page: String,
|
|
87
85
|
statuses: T::Array[Anthropic::Beta::BetaDreamStatus::OrSymbol],
|
|
88
|
-
betas: T::Array[T.any(
|
|
86
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
89
87
|
workspace_id: String,
|
|
90
88
|
request_options: Anthropic::RequestOptions::OrHash
|
|
91
89
|
).returns(Anthropic::Internal::PageCursor[Anthropic::Beta::BetaDream])
|
|
@@ -123,7 +121,7 @@ module Anthropic
|
|
|
123
121
|
sig do
|
|
124
122
|
params(
|
|
125
123
|
dream_id: String,
|
|
126
|
-
betas: T::Array[T.any(
|
|
124
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
127
125
|
workspace_id: String,
|
|
128
126
|
request_options: Anthropic::RequestOptions::OrHash
|
|
129
127
|
).returns(Anthropic::Beta::BetaDream)
|
|
@@ -148,7 +146,7 @@ module Anthropic
|
|
|
148
146
|
sig do
|
|
149
147
|
params(
|
|
150
148
|
dream_id: String,
|
|
151
|
-
betas: T::Array[T.any(
|
|
149
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
152
150
|
workspace_id: String,
|
|
153
151
|
request_options: Anthropic::RequestOptions::OrHash
|
|
154
152
|
).returns(Anthropic::Beta::BetaDream)
|
|
@@ -16,7 +16,7 @@ module Anthropic
|
|
|
16
16
|
work_id: String,
|
|
17
17
|
environment_id: String,
|
|
18
18
|
betas:
|
|
19
|
-
T::Array[T.any(
|
|
19
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
20
20
|
workspace_id: String,
|
|
21
21
|
request_options: Anthropic::RequestOptions::OrHash
|
|
22
22
|
).returns(Anthropic::Beta::Environments::BetaSelfHostedWork)
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
environment_id: String,
|
|
52
52
|
metadata: T::Hash[Symbol, T.nilable(String)],
|
|
53
53
|
betas:
|
|
54
|
-
T::Array[T.any(
|
|
54
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
55
55
|
workspace_id: String,
|
|
56
56
|
request_options: Anthropic::RequestOptions::OrHash
|
|
57
57
|
).returns(Anthropic::Beta::Environments::BetaSelfHostedWork)
|
|
@@ -89,7 +89,7 @@ module Anthropic
|
|
|
89
89
|
limit: Integer,
|
|
90
90
|
page: T.nilable(String),
|
|
91
91
|
betas:
|
|
92
|
-
T::Array[T.any(
|
|
92
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
93
93
|
request_options: Anthropic::RequestOptions::OrHash
|
|
94
94
|
).returns(
|
|
95
95
|
Anthropic::Internal::PageCursor[
|
|
@@ -122,7 +122,7 @@ module Anthropic
|
|
|
122
122
|
work_id: String,
|
|
123
123
|
environment_id: String,
|
|
124
124
|
betas:
|
|
125
|
-
T::Array[T.any(
|
|
125
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
126
126
|
request_options: Anthropic::RequestOptions::OrHash
|
|
127
127
|
).returns(Anthropic::Beta::Environments::BetaSelfHostedWork)
|
|
128
128
|
end
|
|
@@ -150,7 +150,7 @@ module Anthropic
|
|
|
150
150
|
desired_ttl_seconds: T.nilable(Integer),
|
|
151
151
|
expected_last_heartbeat: T.nilable(String),
|
|
152
152
|
betas:
|
|
153
|
-
T::Array[T.any(
|
|
153
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
154
154
|
request_options: Anthropic::RequestOptions::OrHash
|
|
155
155
|
).returns(
|
|
156
156
|
Anthropic::Beta::Environments::BetaSelfHostedWorkHeartbeatResponse
|
|
@@ -187,7 +187,7 @@ module Anthropic
|
|
|
187
187
|
block_ms: T.nilable(Integer),
|
|
188
188
|
reclaim_older_than_ms: T.nilable(Integer),
|
|
189
189
|
betas:
|
|
190
|
-
T::Array[T.any(
|
|
190
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
191
191
|
anthropic_worker_id: String,
|
|
192
192
|
request_options: Anthropic::RequestOptions::OrHash
|
|
193
193
|
).returns(
|
|
@@ -218,7 +218,7 @@ module Anthropic
|
|
|
218
218
|
params(
|
|
219
219
|
environment_id: String,
|
|
220
220
|
betas:
|
|
221
|
-
T::Array[T.any(
|
|
221
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
222
222
|
workspace_id: String,
|
|
223
223
|
request_options: Anthropic::RequestOptions::OrHash
|
|
224
224
|
).returns(
|
|
@@ -252,7 +252,7 @@ module Anthropic
|
|
|
252
252
|
environment_id: String,
|
|
253
253
|
force: T::Boolean,
|
|
254
254
|
betas:
|
|
255
|
-
T::Array[T.any(
|
|
255
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
256
256
|
workspace_id: String,
|
|
257
257
|
request_options: Anthropic::RequestOptions::OrHash
|
|
258
258
|
).returns(Anthropic::Beta::Environments::BetaSelfHostedWork)
|
|
@@ -24,7 +24,7 @@ module Anthropic
|
|
|
24
24
|
T.nilable(
|
|
25
25
|
Anthropic::Beta::EnvironmentCreateParams::Scope::OrSymbol
|
|
26
26
|
),
|
|
27
|
-
betas: T::Array[T.any(
|
|
27
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
28
28
|
workspace_id: String,
|
|
29
29
|
request_options: Anthropic::RequestOptions::OrHash
|
|
30
30
|
).returns(Anthropic::Beta::BetaEnvironment)
|
|
@@ -40,8 +40,8 @@ module Anthropic
|
|
|
40
40
|
metadata: nil,
|
|
41
41
|
# Body param: The visibility scope for this environment. 'organization' makes the
|
|
42
42
|
# environment visible to all accounts. 'account' restricts visibility to the
|
|
43
|
-
# owning account only.
|
|
44
|
-
# specified, defaults based on organization type.
|
|
43
|
+
# owning account only. API organizations support only 'organization'; 'account' is
|
|
44
|
+
# rejected. If not specified, defaults based on organization type.
|
|
45
45
|
scope: nil,
|
|
46
46
|
# Header param: Optional header to specify the beta version(s) you want to use.
|
|
47
47
|
betas: nil,
|
|
@@ -60,7 +60,7 @@ module Anthropic
|
|
|
60
60
|
sig do
|
|
61
61
|
params(
|
|
62
62
|
environment_id: String,
|
|
63
|
-
betas: T::Array[T.any(
|
|
63
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
64
64
|
workspace_id: String,
|
|
65
65
|
request_options: Anthropic::RequestOptions::OrHash
|
|
66
66
|
).returns(Anthropic::Beta::BetaEnvironment)
|
|
@@ -98,7 +98,7 @@ module Anthropic
|
|
|
98
98
|
T.nilable(
|
|
99
99
|
Anthropic::Beta::EnvironmentUpdateParams::Scope::OrSymbol
|
|
100
100
|
),
|
|
101
|
-
betas: T::Array[T.any(
|
|
101
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
102
102
|
workspace_id: String,
|
|
103
103
|
request_options: Anthropic::RequestOptions::OrHash
|
|
104
104
|
).returns(Anthropic::Beta::BetaEnvironment)
|
|
@@ -139,7 +139,7 @@ module Anthropic
|
|
|
139
139
|
include_archived: T::Boolean,
|
|
140
140
|
limit: Integer,
|
|
141
141
|
page: T.nilable(String),
|
|
142
|
-
betas: T::Array[T.any(
|
|
142
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
143
143
|
workspace_id: String,
|
|
144
144
|
request_options: Anthropic::RequestOptions::OrHash
|
|
145
145
|
).returns(
|
|
@@ -171,7 +171,7 @@ module Anthropic
|
|
|
171
171
|
sig do
|
|
172
172
|
params(
|
|
173
173
|
environment_id: String,
|
|
174
|
-
betas: T::Array[T.any(
|
|
174
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
175
175
|
workspace_id: String,
|
|
176
176
|
request_options: Anthropic::RequestOptions::OrHash
|
|
177
177
|
).returns(Anthropic::Beta::BetaEnvironmentDeleteResponse)
|
|
@@ -196,7 +196,7 @@ module Anthropic
|
|
|
196
196
|
sig do
|
|
197
197
|
params(
|
|
198
198
|
environment_id: String,
|
|
199
|
-
betas: T::Array[T.any(
|
|
199
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
200
200
|
workspace_id: String,
|
|
201
201
|
request_options: Anthropic::RequestOptions::OrHash
|
|
202
202
|
).returns(Anthropic::Beta::BetaEnvironment)
|
|
@@ -11,7 +11,7 @@ module Anthropic
|
|
|
11
11
|
limit: Integer,
|
|
12
12
|
page: T.nilable(String),
|
|
13
13
|
scope_id: String,
|
|
14
|
-
betas: T::Array[T.any(
|
|
14
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
15
15
|
workspace_id: String,
|
|
16
16
|
request_options: Anthropic::RequestOptions::OrHash
|
|
17
17
|
).returns(
|
|
@@ -52,7 +52,7 @@ module Anthropic
|
|
|
52
52
|
sig do
|
|
53
53
|
params(
|
|
54
54
|
file_id: String,
|
|
55
|
-
betas: T::Array[T.any(
|
|
55
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
56
56
|
workspace_id: String,
|
|
57
57
|
request_options: Anthropic::RequestOptions::OrHash
|
|
58
58
|
).returns(Anthropic::Beta::BetaDeletedFile)
|
|
@@ -77,7 +77,7 @@ module Anthropic
|
|
|
77
77
|
sig do
|
|
78
78
|
params(
|
|
79
79
|
file_id: String,
|
|
80
|
-
betas: T::Array[T.any(
|
|
80
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
81
81
|
workspace_id: String,
|
|
82
82
|
request_options: Anthropic::RequestOptions::OrHash
|
|
83
83
|
).returns(StringIO)
|
|
@@ -102,7 +102,7 @@ module Anthropic
|
|
|
102
102
|
sig do
|
|
103
103
|
params(
|
|
104
104
|
file_id: String,
|
|
105
|
-
betas: T::Array[T.any(
|
|
105
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
106
106
|
workspace_id: String,
|
|
107
107
|
request_options: Anthropic::RequestOptions::OrHash
|
|
108
108
|
).returns(Anthropic::Beta::BetaFileMetadata)
|
|
@@ -128,7 +128,7 @@ module Anthropic
|
|
|
128
128
|
params(
|
|
129
129
|
file: Anthropic::Internal::FileInput,
|
|
130
130
|
expires_in_seconds: Integer,
|
|
131
|
-
betas: T::Array[T.any(
|
|
131
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
132
132
|
workspace_id: String,
|
|
133
133
|
request_options: Anthropic::RequestOptions::OrHash
|
|
134
134
|
).returns(Anthropic::Beta::BetaFileMetadata)
|
|
@@ -14,7 +14,7 @@ module Anthropic
|
|
|
14
14
|
view:
|
|
15
15
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::OrSymbol,
|
|
16
16
|
betas:
|
|
17
|
-
T::Array[T.any(
|
|
17
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
18
18
|
workspace_id: String,
|
|
19
19
|
request_options: Anthropic::RequestOptions::OrHash
|
|
20
20
|
).returns(Anthropic::Beta::MemoryStores::BetaManagedAgentsMemory)
|
|
@@ -54,7 +54,7 @@ module Anthropic
|
|
|
54
54
|
view:
|
|
55
55
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::OrSymbol,
|
|
56
56
|
betas:
|
|
57
|
-
T::Array[T.any(
|
|
57
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
58
58
|
workspace_id: String,
|
|
59
59
|
request_options: Anthropic::RequestOptions::OrHash
|
|
60
60
|
).returns(Anthropic::Beta::MemoryStores::BetaManagedAgentsMemory)
|
|
@@ -91,7 +91,7 @@ module Anthropic
|
|
|
91
91
|
precondition:
|
|
92
92
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsPrecondition::OrHash,
|
|
93
93
|
betas:
|
|
94
|
-
T::Array[T.any(
|
|
94
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
95
95
|
workspace_id: String,
|
|
96
96
|
request_options: Anthropic::RequestOptions::OrHash
|
|
97
97
|
).returns(Anthropic::Beta::MemoryStores::BetaManagedAgentsMemory)
|
|
@@ -144,7 +144,7 @@ module Anthropic
|
|
|
144
144
|
view:
|
|
145
145
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::OrSymbol,
|
|
146
146
|
betas:
|
|
147
|
-
T::Array[T.any(
|
|
147
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
148
148
|
workspace_id: String,
|
|
149
149
|
request_options: Anthropic::RequestOptions::OrHash
|
|
150
150
|
).returns(
|
|
@@ -196,7 +196,7 @@ module Anthropic
|
|
|
196
196
|
memory_store_id: String,
|
|
197
197
|
expected_content_sha256: String,
|
|
198
198
|
betas:
|
|
199
|
-
T::Array[T.any(
|
|
199
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
200
200
|
workspace_id: String,
|
|
201
201
|
request_options: Anthropic::RequestOptions::OrHash
|
|
202
202
|
).returns(
|
|
@@ -13,7 +13,7 @@ module Anthropic
|
|
|
13
13
|
view:
|
|
14
14
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::OrSymbol,
|
|
15
15
|
betas:
|
|
16
|
-
T::Array[T.any(
|
|
16
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
17
17
|
workspace_id: String,
|
|
18
18
|
request_options: Anthropic::RequestOptions::OrHash
|
|
19
19
|
).returns(
|
|
@@ -57,7 +57,7 @@ module Anthropic
|
|
|
57
57
|
view:
|
|
58
58
|
Anthropic::Beta::MemoryStores::BetaManagedAgentsMemoryView::OrSymbol,
|
|
59
59
|
betas:
|
|
60
|
-
T::Array[T.any(
|
|
60
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
61
61
|
workspace_id: String,
|
|
62
62
|
request_options: Anthropic::RequestOptions::OrHash
|
|
63
63
|
).returns(
|
|
@@ -108,7 +108,7 @@ module Anthropic
|
|
|
108
108
|
memory_version_id: String,
|
|
109
109
|
memory_store_id: String,
|
|
110
110
|
betas:
|
|
111
|
-
T::Array[T.any(
|
|
111
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
112
112
|
workspace_id: String,
|
|
113
113
|
request_options: Anthropic::RequestOptions::OrHash
|
|
114
114
|
).returns(
|
|
@@ -18,7 +18,7 @@ module Anthropic
|
|
|
18
18
|
name: String,
|
|
19
19
|
description: String,
|
|
20
20
|
metadata: T::Hash[Symbol, String],
|
|
21
|
-
betas: T::Array[T.any(
|
|
21
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
22
22
|
workspace_id: String,
|
|
23
23
|
request_options: Anthropic::RequestOptions::OrHash
|
|
24
24
|
).returns(Anthropic::Beta::BetaManagedAgentsMemoryStore)
|
|
@@ -54,7 +54,7 @@ module Anthropic
|
|
|
54
54
|
sig do
|
|
55
55
|
params(
|
|
56
56
|
memory_store_id: String,
|
|
57
|
-
betas: T::Array[T.any(
|
|
57
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
58
58
|
workspace_id: String,
|
|
59
59
|
request_options: Anthropic::RequestOptions::OrHash
|
|
60
60
|
).returns(Anthropic::Beta::BetaManagedAgentsMemoryStore)
|
|
@@ -82,7 +82,7 @@ module Anthropic
|
|
|
82
82
|
description: T.nilable(String),
|
|
83
83
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
|
84
84
|
name: T.nilable(String),
|
|
85
|
-
betas: T::Array[T.any(
|
|
85
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
86
86
|
workspace_id: String,
|
|
87
87
|
request_options: Anthropic::RequestOptions::OrHash
|
|
88
88
|
).returns(Anthropic::Beta::BetaManagedAgentsMemoryStore)
|
|
@@ -122,7 +122,7 @@ module Anthropic
|
|
|
122
122
|
include_archived: T::Boolean,
|
|
123
123
|
limit: Integer,
|
|
124
124
|
page: String,
|
|
125
|
-
betas: T::Array[T.any(
|
|
125
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
126
126
|
workspace_id: String,
|
|
127
127
|
request_options: Anthropic::RequestOptions::OrHash
|
|
128
128
|
).returns(
|
|
@@ -164,7 +164,7 @@ module Anthropic
|
|
|
164
164
|
sig do
|
|
165
165
|
params(
|
|
166
166
|
memory_store_id: String,
|
|
167
|
-
betas: T::Array[T.any(
|
|
167
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
168
168
|
workspace_id: String,
|
|
169
169
|
request_options: Anthropic::RequestOptions::OrHash
|
|
170
170
|
).returns(Anthropic::Beta::BetaManagedAgentsDeletedMemoryStore)
|
|
@@ -189,7 +189,7 @@ module Anthropic
|
|
|
189
189
|
sig do
|
|
190
190
|
params(
|
|
191
191
|
memory_store_id: String,
|
|
192
|
-
betas: T::Array[T.any(
|
|
192
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
193
193
|
workspace_id: String,
|
|
194
194
|
request_options: Anthropic::RequestOptions::OrHash
|
|
195
195
|
).returns(Anthropic::Beta::BetaManagedAgentsMemoryStore)
|
|
@@ -20,7 +20,7 @@ module Anthropic
|
|
|
20
20
|
Anthropic::Beta::Messages::BatchCreateParams::Request::OrHash
|
|
21
21
|
],
|
|
22
22
|
betas:
|
|
23
|
-
T::Array[T.any(
|
|
23
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
24
24
|
user_profile_id: String,
|
|
25
25
|
workspace_id: String,
|
|
26
26
|
request_options: Anthropic::RequestOptions::OrHash
|
|
@@ -59,7 +59,7 @@ module Anthropic
|
|
|
59
59
|
params(
|
|
60
60
|
message_batch_id: String,
|
|
61
61
|
betas:
|
|
62
|
-
T::Array[T.any(
|
|
62
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
63
63
|
workspace_id: String,
|
|
64
64
|
request_options: Anthropic::RequestOptions::OrHash
|
|
65
65
|
).returns(Anthropic::Beta::Messages::BetaMessageBatch)
|
|
@@ -91,7 +91,7 @@ module Anthropic
|
|
|
91
91
|
before_id: String,
|
|
92
92
|
limit: Integer,
|
|
93
93
|
betas:
|
|
94
|
-
T::Array[T.any(
|
|
94
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
95
95
|
workspace_id: String,
|
|
96
96
|
request_options: Anthropic::RequestOptions::OrHash
|
|
97
97
|
).returns(
|
|
@@ -135,7 +135,7 @@ module Anthropic
|
|
|
135
135
|
params(
|
|
136
136
|
message_batch_id: String,
|
|
137
137
|
betas:
|
|
138
|
-
T::Array[T.any(
|
|
138
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
139
139
|
workspace_id: String,
|
|
140
140
|
request_options: Anthropic::RequestOptions::OrHash
|
|
141
141
|
).returns(Anthropic::Beta::Messages::BetaDeletedMessageBatch)
|
|
@@ -172,7 +172,7 @@ module Anthropic
|
|
|
172
172
|
params(
|
|
173
173
|
message_batch_id: String,
|
|
174
174
|
betas:
|
|
175
|
-
T::Array[T.any(
|
|
175
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
176
176
|
workspace_id: String,
|
|
177
177
|
request_options: Anthropic::RequestOptions::OrHash
|
|
178
178
|
).returns(Anthropic::Beta::Messages::BetaMessageBatch)
|
|
@@ -205,7 +205,7 @@ module Anthropic
|
|
|
205
205
|
params(
|
|
206
206
|
message_batch_id: String,
|
|
207
207
|
betas:
|
|
208
|
-
T::Array[T.any(
|
|
208
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
209
209
|
workspace_id: String,
|
|
210
210
|
request_options: Anthropic::RequestOptions::OrHash
|
|
211
211
|
).returns(
|
|
@@ -322,6 +322,8 @@ module Anthropic
|
|
|
322
322
|
model: T.any(Anthropic::Model::OrSymbol, String),
|
|
323
323
|
cache_control:
|
|
324
324
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
|
|
325
|
+
compaction:
|
|
326
|
+
T.nilable(Anthropic::Beta::BetaCompactionConfig::OrHash),
|
|
325
327
|
container:
|
|
326
328
|
T.nilable(
|
|
327
329
|
T.any(Anthropic::Beta::BetaContainerParams::OrHash, String)
|
|
@@ -333,15 +335,15 @@ module Anthropic
|
|
|
333
335
|
fallback_credit_token:
|
|
334
336
|
T.nilable(
|
|
335
337
|
T.any(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
+
Anthropic::Beta::BetaFallbackCreditTokenParam::OrHash,
|
|
339
|
+
String
|
|
338
340
|
)
|
|
339
341
|
),
|
|
340
342
|
fallbacks:
|
|
341
343
|
T.nilable(
|
|
342
344
|
T.any(
|
|
343
|
-
|
|
344
|
-
|
|
345
|
+
Symbol,
|
|
346
|
+
T::Array[Anthropic::Beta::BetaFallbackParam::OrHash]
|
|
345
347
|
)
|
|
346
348
|
),
|
|
347
349
|
inference_geo: T.nilable(String),
|
|
@@ -408,7 +410,7 @@ module Anthropic
|
|
|
408
410
|
],
|
|
409
411
|
top_k: Integer,
|
|
410
412
|
top_p: Float,
|
|
411
|
-
betas: T::Array[T.any(
|
|
413
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
412
414
|
user_profile_id: String,
|
|
413
415
|
workspace_id: String,
|
|
414
416
|
stream: T.noreturn,
|
|
@@ -504,6 +506,15 @@ module Anthropic
|
|
|
504
506
|
# Body param: Top-level cache control automatically applies a cache_control marker
|
|
505
507
|
# to the last cacheable block in the request.
|
|
506
508
|
cache_control: nil,
|
|
509
|
+
# Body param: Compact the whole conversation and return a signed `compaction`
|
|
510
|
+
# block, alone, that a later request sends back first in `messages`, in place of
|
|
511
|
+
# the messages it summarizes. There is no trigger and no pause flag: sending the
|
|
512
|
+
# parameter compacts, and nothing is sampled after the block.
|
|
513
|
+
#
|
|
514
|
+
# The summarization prompt is the server's own unless `instructions` are given,
|
|
515
|
+
# which then replace it for this request; a value that is empty or only whitespace
|
|
516
|
+
# counts as absent.
|
|
517
|
+
compaction: nil,
|
|
507
518
|
# Body param: Container identifier for reuse across requests.
|
|
508
519
|
container: nil,
|
|
509
520
|
# Body param: Context management configuration.
|
|
@@ -734,6 +745,8 @@ module Anthropic
|
|
|
734
745
|
model: T.any(Anthropic::Model::OrSymbol, String),
|
|
735
746
|
cache_control:
|
|
736
747
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
|
|
748
|
+
compaction:
|
|
749
|
+
T.nilable(Anthropic::Beta::BetaCompactionConfig::OrHash),
|
|
737
750
|
container:
|
|
738
751
|
T.nilable(
|
|
739
752
|
T.any(Anthropic::Beta::BetaContainerParams::OrHash, String)
|
|
@@ -745,15 +758,15 @@ module Anthropic
|
|
|
745
758
|
fallback_credit_token:
|
|
746
759
|
T.nilable(
|
|
747
760
|
T.any(
|
|
748
|
-
|
|
749
|
-
|
|
761
|
+
Anthropic::Beta::BetaFallbackCreditTokenParam::OrHash,
|
|
762
|
+
String
|
|
750
763
|
)
|
|
751
764
|
),
|
|
752
765
|
fallbacks:
|
|
753
766
|
T.nilable(
|
|
754
767
|
T.any(
|
|
755
|
-
|
|
756
|
-
|
|
768
|
+
Symbol,
|
|
769
|
+
T::Array[Anthropic::Beta::BetaFallbackParam::OrHash]
|
|
757
770
|
)
|
|
758
771
|
),
|
|
759
772
|
inference_geo: T.nilable(String),
|
|
@@ -820,7 +833,7 @@ module Anthropic
|
|
|
820
833
|
],
|
|
821
834
|
top_k: Integer,
|
|
822
835
|
top_p: Float,
|
|
823
|
-
betas: T::Array[T.any(
|
|
836
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
824
837
|
user_profile_id: String,
|
|
825
838
|
workspace_id: String,
|
|
826
839
|
stream: T.noreturn,
|
|
@@ -916,6 +929,15 @@ module Anthropic
|
|
|
916
929
|
# Body param: Top-level cache control automatically applies a cache_control marker
|
|
917
930
|
# to the last cacheable block in the request.
|
|
918
931
|
cache_control: nil,
|
|
932
|
+
# Body param: Compact the whole conversation and return a signed `compaction`
|
|
933
|
+
# block, alone, that a later request sends back first in `messages`, in place of
|
|
934
|
+
# the messages it summarizes. There is no trigger and no pause flag: sending the
|
|
935
|
+
# parameter compacts, and nothing is sampled after the block.
|
|
936
|
+
#
|
|
937
|
+
# The summarization prompt is the server's own unless `instructions` are given,
|
|
938
|
+
# which then replace it for this request; a value that is empty or only whitespace
|
|
939
|
+
# counts as absent.
|
|
940
|
+
compaction: nil,
|
|
919
941
|
# Body param: Container identifier for reuse across requests.
|
|
920
942
|
container: nil,
|
|
921
943
|
# Body param: Context management configuration.
|
|
@@ -1146,6 +1168,8 @@ module Anthropic
|
|
|
1146
1168
|
model: T.any(Anthropic::Model::OrSymbol, String),
|
|
1147
1169
|
cache_control:
|
|
1148
1170
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
|
|
1171
|
+
compaction:
|
|
1172
|
+
T.nilable(Anthropic::Beta::BetaCompactionConfig::OrHash),
|
|
1149
1173
|
container:
|
|
1150
1174
|
T.nilable(
|
|
1151
1175
|
T.any(Anthropic::Beta::BetaContainerParams::OrHash, String)
|
|
@@ -1157,15 +1181,15 @@ module Anthropic
|
|
|
1157
1181
|
fallback_credit_token:
|
|
1158
1182
|
T.nilable(
|
|
1159
1183
|
T.any(
|
|
1160
|
-
|
|
1161
|
-
|
|
1184
|
+
Anthropic::Beta::BetaFallbackCreditTokenParam::OrHash,
|
|
1185
|
+
String
|
|
1162
1186
|
)
|
|
1163
1187
|
),
|
|
1164
1188
|
fallbacks:
|
|
1165
1189
|
T.nilable(
|
|
1166
1190
|
T.any(
|
|
1167
|
-
|
|
1168
|
-
|
|
1191
|
+
Symbol,
|
|
1192
|
+
T::Array[Anthropic::Beta::BetaFallbackParam::OrHash]
|
|
1169
1193
|
)
|
|
1170
1194
|
),
|
|
1171
1195
|
inference_geo: T.nilable(String),
|
|
@@ -1232,7 +1256,7 @@ module Anthropic
|
|
|
1232
1256
|
],
|
|
1233
1257
|
top_k: Integer,
|
|
1234
1258
|
top_p: Float,
|
|
1235
|
-
betas: T::Array[T.any(
|
|
1259
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
1236
1260
|
user_profile_id: String,
|
|
1237
1261
|
workspace_id: String,
|
|
1238
1262
|
stream: T.noreturn,
|
|
@@ -1332,6 +1356,15 @@ module Anthropic
|
|
|
1332
1356
|
# Body param: Top-level cache control automatically applies a cache_control marker
|
|
1333
1357
|
# to the last cacheable block in the request.
|
|
1334
1358
|
cache_control: nil,
|
|
1359
|
+
# Body param: Compact the whole conversation and return a signed `compaction`
|
|
1360
|
+
# block, alone, that a later request sends back first in `messages`, in place of
|
|
1361
|
+
# the messages it summarizes. There is no trigger and no pause flag: sending the
|
|
1362
|
+
# parameter compacts, and nothing is sampled after the block.
|
|
1363
|
+
#
|
|
1364
|
+
# The summarization prompt is the server's own unless `instructions` are given,
|
|
1365
|
+
# which then replace it for this request; a value that is empty or only whitespace
|
|
1366
|
+
# counts as absent.
|
|
1367
|
+
compaction: nil,
|
|
1335
1368
|
# Body param: Container identifier for reuse across requests.
|
|
1336
1369
|
container: nil,
|
|
1337
1370
|
# Body param: Context management configuration.
|
|
@@ -1558,6 +1591,8 @@ module Anthropic
|
|
|
1558
1591
|
model: T.any(Anthropic::Model::OrSymbol, String),
|
|
1559
1592
|
cache_control:
|
|
1560
1593
|
T.nilable(Anthropic::Beta::BetaCacheControlEphemeral::OrHash),
|
|
1594
|
+
compaction:
|
|
1595
|
+
T.nilable(Anthropic::Beta::BetaCompactionConfig::OrHash),
|
|
1561
1596
|
context_management:
|
|
1562
1597
|
T.nilable(Anthropic::Beta::BetaContextManagementConfig::OrHash),
|
|
1563
1598
|
mcp_servers:
|
|
@@ -1619,7 +1654,7 @@ module Anthropic
|
|
|
1619
1654
|
Anthropic::Beta::BetaMCPToolset::OrHash
|
|
1620
1655
|
)
|
|
1621
1656
|
],
|
|
1622
|
-
betas: T::Array[T.any(
|
|
1657
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
1623
1658
|
user_profile_id: String,
|
|
1624
1659
|
workspace_id: String,
|
|
1625
1660
|
request_options: Anthropic::RequestOptions::OrHash
|
|
@@ -1701,6 +1736,15 @@ module Anthropic
|
|
|
1701
1736
|
# Body param: Top-level cache control automatically applies a cache_control marker
|
|
1702
1737
|
# to the last cacheable block in the request.
|
|
1703
1738
|
cache_control: nil,
|
|
1739
|
+
# Body param: Compact the whole conversation and return a signed `compaction`
|
|
1740
|
+
# block, alone, that a later request sends back first in `messages`, in place of
|
|
1741
|
+
# the messages it summarizes. There is no trigger and no pause flag: sending the
|
|
1742
|
+
# parameter compacts, and nothing is sampled after the block.
|
|
1743
|
+
#
|
|
1744
|
+
# The summarization prompt is the server's own unless `instructions` are given,
|
|
1745
|
+
# which then replace it for this request; a value that is empty or only whitespace
|
|
1746
|
+
# counts as absent.
|
|
1747
|
+
compaction: nil,
|
|
1704
1748
|
# Body param: Context management configuration.
|
|
1705
1749
|
#
|
|
1706
1750
|
# This allows you to control how Claude manages context across multiple requests,
|
|
@@ -11,7 +11,7 @@ module Anthropic
|
|
|
11
11
|
sig do
|
|
12
12
|
params(
|
|
13
13
|
model_id: String,
|
|
14
|
-
betas: T::Array[T.any(
|
|
14
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
15
15
|
workspace_id: String,
|
|
16
16
|
request_options: Anthropic::RequestOptions::OrHash
|
|
17
17
|
).returns(Anthropic::Beta::BetaModelInfo)
|
|
@@ -41,7 +41,7 @@ module Anthropic
|
|
|
41
41
|
after_id: String,
|
|
42
42
|
before_id: String,
|
|
43
43
|
limit: Integer,
|
|
44
|
-
betas: T::Array[T.any(
|
|
44
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
45
45
|
workspace_id: String,
|
|
46
46
|
request_options: Anthropic::RequestOptions::OrHash
|
|
47
47
|
).returns(Anthropic::Internal::Page[Anthropic::Beta::BetaModelInfo])
|