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
|
@@ -36,7 +36,7 @@ module Anthropic
|
|
|
36
36
|
sig do
|
|
37
37
|
returns(
|
|
38
38
|
T.nilable(
|
|
39
|
-
T::Array[T.any(
|
|
39
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
40
40
|
)
|
|
41
41
|
)
|
|
42
42
|
end
|
|
@@ -45,7 +45,7 @@ module Anthropic
|
|
|
45
45
|
sig do
|
|
46
46
|
params(
|
|
47
47
|
betas:
|
|
48
|
-
T::Array[T.any(
|
|
48
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
49
49
|
).void
|
|
50
50
|
end
|
|
51
51
|
attr_writer :betas
|
|
@@ -56,7 +56,7 @@ module Anthropic
|
|
|
56
56
|
limit: Integer,
|
|
57
57
|
page: T.nilable(String),
|
|
58
58
|
betas:
|
|
59
|
-
T::Array[T.any(
|
|
59
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
60
60
|
request_options: Anthropic::RequestOptions::OrHash
|
|
61
61
|
).returns(T.attached_class)
|
|
62
62
|
end
|
|
@@ -80,7 +80,7 @@ module Anthropic
|
|
|
80
80
|
limit: Integer,
|
|
81
81
|
page: T.nilable(String),
|
|
82
82
|
betas:
|
|
83
|
-
T::Array[T.any(
|
|
83
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
84
84
|
request_options: Anthropic::RequestOptions
|
|
85
85
|
}
|
|
86
86
|
)
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
sig do
|
|
30
30
|
returns(
|
|
31
31
|
T.nilable(
|
|
32
|
-
T::Array[T.any(
|
|
32
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
33
33
|
)
|
|
34
34
|
)
|
|
35
35
|
end
|
|
@@ -38,7 +38,7 @@ module Anthropic
|
|
|
38
38
|
sig do
|
|
39
39
|
params(
|
|
40
40
|
betas:
|
|
41
|
-
T::Array[T.any(
|
|
41
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
42
42
|
).void
|
|
43
43
|
end
|
|
44
44
|
attr_writer :betas
|
|
@@ -48,7 +48,7 @@ module Anthropic
|
|
|
48
48
|
service_account_id: String,
|
|
49
49
|
workspace_id: String,
|
|
50
50
|
betas:
|
|
51
|
-
T::Array[T.any(
|
|
51
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
52
52
|
request_options: Anthropic::RequestOptions::OrHash
|
|
53
53
|
).returns(T.attached_class)
|
|
54
54
|
end
|
|
@@ -69,7 +69,7 @@ module Anthropic
|
|
|
69
69
|
service_account_id: String,
|
|
70
70
|
workspace_id: String,
|
|
71
71
|
betas:
|
|
72
|
-
T::Array[T.any(
|
|
72
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
73
73
|
request_options: Anthropic::RequestOptions
|
|
74
74
|
}
|
|
75
75
|
)
|
|
@@ -69,7 +69,7 @@ module Anthropic
|
|
|
69
69
|
sig do
|
|
70
70
|
returns(
|
|
71
71
|
T.nilable(
|
|
72
|
-
T::Array[T.any(
|
|
72
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
73
73
|
)
|
|
74
74
|
)
|
|
75
75
|
end
|
|
@@ -77,7 +77,7 @@ module Anthropic
|
|
|
77
77
|
|
|
78
78
|
sig do
|
|
79
79
|
params(
|
|
80
|
-
betas: T::Array[T.any(
|
|
80
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
81
81
|
).void
|
|
82
82
|
end
|
|
83
83
|
attr_writer :betas
|
|
@@ -93,7 +93,7 @@ module Anthropic
|
|
|
93
93
|
external_key_id: T.nilable(String),
|
|
94
94
|
tags: T.nilable(T::Hash[Symbol, String]),
|
|
95
95
|
betas:
|
|
96
|
-
T::Array[T.any(
|
|
96
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
97
97
|
request_options: Anthropic::RequestOptions::OrHash
|
|
98
98
|
).returns(T.attached_class)
|
|
99
99
|
end
|
|
@@ -139,7 +139,7 @@ module Anthropic
|
|
|
139
139
|
external_key_id: T.nilable(String),
|
|
140
140
|
tags: T.nilable(T::Hash[Symbol, String]),
|
|
141
141
|
betas:
|
|
142
|
-
T::Array[T.any(
|
|
142
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
143
143
|
request_options: Anthropic::RequestOptions
|
|
144
144
|
}
|
|
145
145
|
)
|
|
@@ -37,7 +37,7 @@ module Anthropic
|
|
|
37
37
|
sig do
|
|
38
38
|
returns(
|
|
39
39
|
T.nilable(
|
|
40
|
-
T::Array[T.any(
|
|
40
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
41
41
|
)
|
|
42
42
|
)
|
|
43
43
|
end
|
|
@@ -46,7 +46,7 @@ module Anthropic
|
|
|
46
46
|
sig do
|
|
47
47
|
params(
|
|
48
48
|
betas:
|
|
49
|
-
T::Array[T.any(
|
|
49
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
50
50
|
).void
|
|
51
51
|
end
|
|
52
52
|
attr_writer :betas
|
|
@@ -58,7 +58,7 @@ module Anthropic
|
|
|
58
58
|
workspace_role:
|
|
59
59
|
Anthropic::Beta::Organization::BetaNoBillingWorkspaceRole::OrSymbol,
|
|
60
60
|
betas:
|
|
61
|
-
T::Array[T.any(
|
|
61
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
62
62
|
request_options: Anthropic::RequestOptions::OrHash
|
|
63
63
|
).returns(T.attached_class)
|
|
64
64
|
end
|
|
@@ -83,7 +83,7 @@ module Anthropic
|
|
|
83
83
|
workspace_role:
|
|
84
84
|
Anthropic::Beta::Organization::BetaNoBillingWorkspaceRole::OrSymbol,
|
|
85
85
|
betas:
|
|
86
|
-
T::Array[T.any(
|
|
86
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
87
87
|
request_options: Anthropic::RequestOptions
|
|
88
88
|
}
|
|
89
89
|
)
|
|
@@ -36,7 +36,7 @@ module Anthropic
|
|
|
36
36
|
sig do
|
|
37
37
|
returns(
|
|
38
38
|
T.nilable(
|
|
39
|
-
T::Array[T.any(
|
|
39
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
40
40
|
)
|
|
41
41
|
)
|
|
42
42
|
end
|
|
@@ -45,7 +45,7 @@ module Anthropic
|
|
|
45
45
|
sig do
|
|
46
46
|
params(
|
|
47
47
|
betas:
|
|
48
|
-
T::Array[T.any(
|
|
48
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
49
49
|
).void
|
|
50
50
|
end
|
|
51
51
|
attr_writer :betas
|
|
@@ -56,7 +56,7 @@ module Anthropic
|
|
|
56
56
|
limit: Integer,
|
|
57
57
|
page: T.nilable(String),
|
|
58
58
|
betas:
|
|
59
|
-
T::Array[T.any(
|
|
59
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
60
60
|
request_options: Anthropic::RequestOptions::OrHash
|
|
61
61
|
).returns(T.attached_class)
|
|
62
62
|
end
|
|
@@ -80,7 +80,7 @@ module Anthropic
|
|
|
80
80
|
limit: Integer,
|
|
81
81
|
page: T.nilable(String),
|
|
82
82
|
betas:
|
|
83
|
-
T::Array[T.any(
|
|
83
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
84
84
|
request_options: Anthropic::RequestOptions
|
|
85
85
|
}
|
|
86
86
|
)
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
sig do
|
|
30
30
|
returns(
|
|
31
31
|
T.nilable(
|
|
32
|
-
T::Array[T.any(
|
|
32
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
33
33
|
)
|
|
34
34
|
)
|
|
35
35
|
end
|
|
@@ -38,7 +38,7 @@ module Anthropic
|
|
|
38
38
|
sig do
|
|
39
39
|
params(
|
|
40
40
|
betas:
|
|
41
|
-
T::Array[T.any(
|
|
41
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
42
42
|
).void
|
|
43
43
|
end
|
|
44
44
|
attr_writer :betas
|
|
@@ -48,7 +48,7 @@ module Anthropic
|
|
|
48
48
|
workspace_id: String,
|
|
49
49
|
service_account_id: String,
|
|
50
50
|
betas:
|
|
51
|
-
T::Array[T.any(
|
|
51
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
52
52
|
request_options: Anthropic::RequestOptions::OrHash
|
|
53
53
|
).returns(T.attached_class)
|
|
54
54
|
end
|
|
@@ -69,7 +69,7 @@ module Anthropic
|
|
|
69
69
|
workspace_id: String,
|
|
70
70
|
service_account_id: String,
|
|
71
71
|
betas:
|
|
72
|
-
T::Array[T.any(
|
|
72
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
73
73
|
request_options: Anthropic::RequestOptions
|
|
74
74
|
}
|
|
75
75
|
)
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
sig do
|
|
30
30
|
returns(
|
|
31
31
|
T.nilable(
|
|
32
|
-
T::Array[T.any(
|
|
32
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
33
33
|
)
|
|
34
34
|
)
|
|
35
35
|
end
|
|
@@ -38,7 +38,7 @@ module Anthropic
|
|
|
38
38
|
sig do
|
|
39
39
|
params(
|
|
40
40
|
betas:
|
|
41
|
-
T::Array[T.any(
|
|
41
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
42
42
|
).void
|
|
43
43
|
end
|
|
44
44
|
attr_writer :betas
|
|
@@ -48,7 +48,7 @@ module Anthropic
|
|
|
48
48
|
workspace_id: String,
|
|
49
49
|
service_account_id: String,
|
|
50
50
|
betas:
|
|
51
|
-
T::Array[T.any(
|
|
51
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
52
52
|
request_options: Anthropic::RequestOptions::OrHash
|
|
53
53
|
).returns(T.attached_class)
|
|
54
54
|
end
|
|
@@ -69,7 +69,7 @@ module Anthropic
|
|
|
69
69
|
workspace_id: String,
|
|
70
70
|
service_account_id: String,
|
|
71
71
|
betas:
|
|
72
|
-
T::Array[T.any(
|
|
72
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
73
73
|
request_options: Anthropic::RequestOptions
|
|
74
74
|
}
|
|
75
75
|
)
|
|
@@ -37,7 +37,7 @@ module Anthropic
|
|
|
37
37
|
sig do
|
|
38
38
|
returns(
|
|
39
39
|
T.nilable(
|
|
40
|
-
T::Array[T.any(
|
|
40
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
41
41
|
)
|
|
42
42
|
)
|
|
43
43
|
end
|
|
@@ -46,7 +46,7 @@ module Anthropic
|
|
|
46
46
|
sig do
|
|
47
47
|
params(
|
|
48
48
|
betas:
|
|
49
|
-
T::Array[T.any(
|
|
49
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
50
50
|
).void
|
|
51
51
|
end
|
|
52
52
|
attr_writer :betas
|
|
@@ -58,7 +58,7 @@ module Anthropic
|
|
|
58
58
|
workspace_role:
|
|
59
59
|
Anthropic::Beta::Organization::BetaNoBillingWorkspaceRole::OrSymbol,
|
|
60
60
|
betas:
|
|
61
|
-
T::Array[T.any(
|
|
61
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
62
62
|
request_options: Anthropic::RequestOptions::OrHash
|
|
63
63
|
).returns(T.attached_class)
|
|
64
64
|
end
|
|
@@ -83,7 +83,7 @@ module Anthropic
|
|
|
83
83
|
workspace_role:
|
|
84
84
|
Anthropic::Beta::Organization::BetaNoBillingWorkspaceRole::OrSymbol,
|
|
85
85
|
betas:
|
|
86
|
-
T::Array[T.any(
|
|
86
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
87
87
|
request_options: Anthropic::RequestOptions
|
|
88
88
|
}
|
|
89
89
|
)
|
|
@@ -22,7 +22,7 @@ module Anthropic
|
|
|
22
22
|
sig do
|
|
23
23
|
returns(
|
|
24
24
|
T.nilable(
|
|
25
|
-
T::Array[T.any(
|
|
25
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
end
|
|
@@ -30,7 +30,7 @@ module Anthropic
|
|
|
30
30
|
|
|
31
31
|
sig do
|
|
32
32
|
params(
|
|
33
|
-
betas: T::Array[T.any(
|
|
33
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
34
34
|
).void
|
|
35
35
|
end
|
|
36
36
|
attr_writer :betas
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
sig do
|
|
45
45
|
params(
|
|
46
46
|
session_id: String,
|
|
47
|
-
betas: T::Array[T.any(
|
|
47
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
48
48
|
workspace_id: String,
|
|
49
49
|
request_options: Anthropic::RequestOptions::OrHash
|
|
50
50
|
).returns(T.attached_class)
|
|
@@ -63,7 +63,7 @@ module Anthropic
|
|
|
63
63
|
{
|
|
64
64
|
session_id: String,
|
|
65
65
|
betas:
|
|
66
|
-
T::Array[T.any(
|
|
66
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
67
67
|
workspace_id: String,
|
|
68
68
|
request_options: Anthropic::RequestOptions
|
|
69
69
|
}
|
|
@@ -20,9 +20,9 @@ module Anthropic
|
|
|
20
20
|
sig do
|
|
21
21
|
returns(
|
|
22
22
|
T.any(
|
|
23
|
-
String,
|
|
24
23
|
Anthropic::Beta::BetaManagedAgentsAgentParams,
|
|
25
|
-
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams
|
|
24
|
+
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams,
|
|
25
|
+
String
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
end
|
|
@@ -128,7 +128,7 @@ module Anthropic
|
|
|
128
128
|
sig do
|
|
129
129
|
returns(
|
|
130
130
|
T.nilable(
|
|
131
|
-
T::Array[T.any(
|
|
131
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
132
132
|
)
|
|
133
133
|
)
|
|
134
134
|
end
|
|
@@ -136,7 +136,7 @@ module Anthropic
|
|
|
136
136
|
|
|
137
137
|
sig do
|
|
138
138
|
params(
|
|
139
|
-
betas: T::Array[T.any(
|
|
139
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
140
140
|
).void
|
|
141
141
|
end
|
|
142
142
|
attr_writer :betas
|
|
@@ -151,9 +151,9 @@ module Anthropic
|
|
|
151
151
|
params(
|
|
152
152
|
agent:
|
|
153
153
|
T.any(
|
|
154
|
-
String,
|
|
155
154
|
Anthropic::Beta::BetaManagedAgentsAgentParams::OrHash,
|
|
156
|
-
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams::OrHash
|
|
155
|
+
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams::OrHash,
|
|
156
|
+
String
|
|
157
157
|
),
|
|
158
158
|
environment_id: String,
|
|
159
159
|
budget: Anthropic::Beta::BetaManagedAgentsBudgetLimit::OrHash,
|
|
@@ -175,7 +175,7 @@ module Anthropic
|
|
|
175
175
|
],
|
|
176
176
|
title: T.nilable(String),
|
|
177
177
|
vault_ids: T::Array[String],
|
|
178
|
-
betas: T::Array[T.any(
|
|
178
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
179
179
|
workspace_id: String,
|
|
180
180
|
request_options: Anthropic::RequestOptions::OrHash
|
|
181
181
|
).returns(T.attached_class)
|
|
@@ -213,9 +213,9 @@ module Anthropic
|
|
|
213
213
|
{
|
|
214
214
|
agent:
|
|
215
215
|
T.any(
|
|
216
|
-
String,
|
|
217
216
|
Anthropic::Beta::BetaManagedAgentsAgentParams,
|
|
218
|
-
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams
|
|
217
|
+
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams,
|
|
218
|
+
String
|
|
219
219
|
),
|
|
220
220
|
environment_id: String,
|
|
221
221
|
budget: Anthropic::Beta::BetaManagedAgentsBudgetLimit,
|
|
@@ -238,7 +238,7 @@ module Anthropic
|
|
|
238
238
|
title: T.nilable(String),
|
|
239
239
|
vault_ids: T::Array[String],
|
|
240
240
|
betas:
|
|
241
|
-
T::Array[T.any(
|
|
241
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
242
242
|
workspace_id: String,
|
|
243
243
|
request_options: Anthropic::RequestOptions
|
|
244
244
|
}
|
|
@@ -255,9 +255,9 @@ module Anthropic
|
|
|
255
255
|
Variants =
|
|
256
256
|
T.type_alias do
|
|
257
257
|
T.any(
|
|
258
|
-
String,
|
|
259
258
|
Anthropic::Beta::BetaManagedAgentsAgentParams,
|
|
260
|
-
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams
|
|
259
|
+
Anthropic::Beta::BetaManagedAgentsAgentWithOverridesParams,
|
|
260
|
+
String
|
|
261
261
|
)
|
|
262
262
|
end
|
|
263
263
|
|
|
@@ -431,8 +431,8 @@ module Anthropic
|
|
|
431
431
|
sig do
|
|
432
432
|
params(
|
|
433
433
|
type: T.any(Symbol, String),
|
|
434
|
-
authorization_token: String,
|
|
435
434
|
url: String,
|
|
435
|
+
authorization_token: String,
|
|
436
436
|
checkout:
|
|
437
437
|
T.nilable(
|
|
438
438
|
T.any(
|
|
@@ -452,10 +452,11 @@ module Anthropic
|
|
|
452
452
|
end
|
|
453
453
|
def self.new(
|
|
454
454
|
type:,
|
|
455
|
-
# GitHub authorization token used to clone the repository.
|
|
456
|
-
authorization_token: nil,
|
|
457
455
|
# Github URL of the repository
|
|
458
456
|
url: nil,
|
|
457
|
+
# GitHub authorization token used to clone the repository. Required for private
|
|
458
|
+
# repositories; optional for public ones.
|
|
459
|
+
authorization_token: nil,
|
|
459
460
|
# Branch or commit to check out. Defaults to the repository's default branch.
|
|
460
461
|
checkout: nil,
|
|
461
462
|
# Mount path in the container. Defaults to `/workspace/<repo-name>`.
|
|
@@ -22,7 +22,7 @@ module Anthropic
|
|
|
22
22
|
sig do
|
|
23
23
|
returns(
|
|
24
24
|
T.nilable(
|
|
25
|
-
T::Array[T.any(
|
|
25
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
end
|
|
@@ -30,7 +30,7 @@ module Anthropic
|
|
|
30
30
|
|
|
31
31
|
sig do
|
|
32
32
|
params(
|
|
33
|
-
betas: T::Array[T.any(
|
|
33
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
34
34
|
).void
|
|
35
35
|
end
|
|
36
36
|
attr_writer :betas
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
sig do
|
|
45
45
|
params(
|
|
46
46
|
session_id: String,
|
|
47
|
-
betas: T::Array[T.any(
|
|
47
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
48
48
|
workspace_id: String,
|
|
49
49
|
request_options: Anthropic::RequestOptions::OrHash
|
|
50
50
|
).returns(T.attached_class)
|
|
@@ -63,7 +63,7 @@ module Anthropic
|
|
|
63
63
|
{
|
|
64
64
|
session_id: String,
|
|
65
65
|
betas:
|
|
66
|
-
T::Array[T.any(
|
|
66
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
67
67
|
workspace_id: String,
|
|
68
68
|
request_options: Anthropic::RequestOptions
|
|
69
69
|
}
|
|
@@ -132,7 +132,7 @@ module Anthropic
|
|
|
132
132
|
sig do
|
|
133
133
|
returns(
|
|
134
134
|
T.nilable(
|
|
135
|
-
T::Array[T.any(
|
|
135
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
136
136
|
)
|
|
137
137
|
)
|
|
138
138
|
end
|
|
@@ -140,7 +140,7 @@ module Anthropic
|
|
|
140
140
|
|
|
141
141
|
sig do
|
|
142
142
|
params(
|
|
143
|
-
betas: T::Array[T.any(
|
|
143
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
144
144
|
).void
|
|
145
145
|
end
|
|
146
146
|
attr_writer :betas
|
|
@@ -167,7 +167,7 @@ module Anthropic
|
|
|
167
167
|
page: String,
|
|
168
168
|
statuses:
|
|
169
169
|
T::Array[Anthropic::Beta::SessionListParams::Status::OrSymbol],
|
|
170
|
-
betas: T::Array[T.any(
|
|
170
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
171
171
|
workspace_id: String,
|
|
172
172
|
request_options: Anthropic::RequestOptions::OrHash
|
|
173
173
|
).returns(T.attached_class)
|
|
@@ -227,7 +227,7 @@ module Anthropic
|
|
|
227
227
|
statuses:
|
|
228
228
|
T::Array[Anthropic::Beta::SessionListParams::Status::OrSymbol],
|
|
229
229
|
betas:
|
|
230
|
-
T::Array[T.any(
|
|
230
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
231
231
|
workspace_id: String,
|
|
232
232
|
request_options: Anthropic::RequestOptions
|
|
233
233
|
}
|
|
@@ -22,7 +22,7 @@ module Anthropic
|
|
|
22
22
|
sig do
|
|
23
23
|
returns(
|
|
24
24
|
T.nilable(
|
|
25
|
-
T::Array[T.any(
|
|
25
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
26
26
|
)
|
|
27
27
|
)
|
|
28
28
|
end
|
|
@@ -30,7 +30,7 @@ module Anthropic
|
|
|
30
30
|
|
|
31
31
|
sig do
|
|
32
32
|
params(
|
|
33
|
-
betas: T::Array[T.any(
|
|
33
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
34
34
|
).void
|
|
35
35
|
end
|
|
36
36
|
attr_writer :betas
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
sig do
|
|
45
45
|
params(
|
|
46
46
|
session_id: String,
|
|
47
|
-
betas: T::Array[T.any(
|
|
47
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
48
48
|
workspace_id: String,
|
|
49
49
|
request_options: Anthropic::RequestOptions::OrHash
|
|
50
50
|
).returns(T.attached_class)
|
|
@@ -63,7 +63,7 @@ module Anthropic
|
|
|
63
63
|
{
|
|
64
64
|
session_id: String,
|
|
65
65
|
betas:
|
|
66
|
-
T::Array[T.any(
|
|
66
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
67
67
|
workspace_id: String,
|
|
68
68
|
request_options: Anthropic::RequestOptions
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ module Anthropic
|
|
|
71
71
|
sig do
|
|
72
72
|
returns(
|
|
73
73
|
T.nilable(
|
|
74
|
-
T::Array[T.any(
|
|
74
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
75
75
|
)
|
|
76
76
|
)
|
|
77
77
|
end
|
|
@@ -79,7 +79,7 @@ module Anthropic
|
|
|
79
79
|
|
|
80
80
|
sig do
|
|
81
81
|
params(
|
|
82
|
-
betas: T::Array[T.any(
|
|
82
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)]
|
|
83
83
|
).void
|
|
84
84
|
end
|
|
85
85
|
attr_writer :betas
|
|
@@ -99,7 +99,7 @@ module Anthropic
|
|
|
99
99
|
metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
|
|
100
100
|
title: T.nilable(String),
|
|
101
101
|
vault_ids: T::Array[String],
|
|
102
|
-
betas: T::Array[T.any(
|
|
102
|
+
betas: T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
103
103
|
workspace_id: String,
|
|
104
104
|
request_options: Anthropic::RequestOptions::OrHash
|
|
105
105
|
).returns(T.attached_class)
|
|
@@ -138,7 +138,7 @@ module Anthropic
|
|
|
138
138
|
title: T.nilable(String),
|
|
139
139
|
vault_ids: T::Array[String],
|
|
140
140
|
betas:
|
|
141
|
-
T::Array[T.any(
|
|
141
|
+
T::Array[T.any(Anthropic::AnthropicBeta::OrSymbol, String)],
|
|
142
142
|
workspace_id: String,
|
|
143
143
|
request_options: Anthropic::RequestOptions
|
|
144
144
|
}
|
data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Sessions
|
|
7
|
+
# The server's per-invocation judgement under the auto permission policy. Its type
|
|
8
|
+
# always equals the event's top-level evaluated_permission. Open union: clients
|
|
9
|
+
# must tolerate unknown variants.
|
|
10
|
+
module BetaManagedAgentsAgentAutoEvaluatedPermission
|
|
11
|
+
extend Anthropic::Internal::Type::Union
|
|
12
|
+
|
|
13
|
+
Variants =
|
|
14
|
+
T.type_alias do
|
|
15
|
+
T.any(
|
|
16
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermissionAllow,
|
|
17
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermissionAsk,
|
|
18
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermissionDeny
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
module Type
|
|
23
|
+
extend Anthropic::Internal::Type::Enum
|
|
24
|
+
|
|
25
|
+
TaggedSymbol =
|
|
26
|
+
T.type_alias do
|
|
27
|
+
T.all(
|
|
28
|
+
Symbol,
|
|
29
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Type
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
33
|
+
|
|
34
|
+
ALLOW =
|
|
35
|
+
T.let(
|
|
36
|
+
:allow,
|
|
37
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Type::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
ASK =
|
|
40
|
+
T.let(
|
|
41
|
+
:ask,
|
|
42
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Type::TaggedSymbol
|
|
43
|
+
)
|
|
44
|
+
DENY =
|
|
45
|
+
T.let(
|
|
46
|
+
:deny,
|
|
47
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Type::TaggedSymbol
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
override.returns(
|
|
52
|
+
T::Array[
|
|
53
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Type::TaggedSymbol
|
|
54
|
+
]
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
def self.values
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
sig do
|
|
62
|
+
override.returns(
|
|
63
|
+
T::Array[
|
|
64
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Variants
|
|
65
|
+
]
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
def self.variants
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
72
|
+
# value, passing the remaining arguments to its constructor.
|
|
73
|
+
sig do
|
|
74
|
+
params(type: T.any(Symbol, String), reason_code: String).returns(
|
|
75
|
+
Anthropic::Beta::Sessions::BetaManagedAgentsAgentAutoEvaluatedPermission::Variants
|
|
76
|
+
)
|
|
77
|
+
end
|
|
78
|
+
def self.new(
|
|
79
|
+
type:,
|
|
80
|
+
# The judgement's grounds in registry-bound terms, for client branching and audit
|
|
81
|
+
# rather than end-user display. Open registry; currently "indeterminate" (no
|
|
82
|
+
# judgement was reached). Clients must tolerate values outside this set.
|
|
83
|
+
reason_code: nil
|
|
84
|
+
)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|