anthropic 2.9.0 → 2.10.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 +36 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +7 -0
- data/lib/anthropic/errors.rb +4 -0
- data/lib/anthropic/helpers/bedrock/client.rb +6 -6
- data/lib/anthropic/internal/type/union.rb +26 -0
- data/lib/anthropic/internal/util.rb +3 -1
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/authentication_error.rb +2 -22
- data/lib/anthropic/models/authentication_error_object.rb +28 -0
- data/lib/anthropic/models/bash_code_execution_tool_result_block.rb +4 -4
- data/lib/anthropic/models/bash_code_execution_tool_result_error.rb +3 -15
- data/lib/anthropic/models/bash_code_execution_tool_result_error_object.rb +21 -0
- data/lib/anthropic/models/beta/beta_advisor_tool_result_block.rb +4 -4
- data/lib/anthropic/models/beta/beta_advisor_tool_result_error.rb +2 -31
- data/lib/anthropic/models/beta/beta_advisor_tool_result_error_object.rb +41 -0
- data/lib/anthropic/models/beta/beta_bash_code_execution_tool_result_block.rb +4 -4
- data/lib/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rb +4 -29
- data/lib/anthropic/models/beta/beta_bash_code_execution_tool_result_error_object.rb +39 -0
- data/lib/anthropic/models/beta/beta_bill_to.rb +20 -0
- data/lib/anthropic/models/beta/beta_billing_policy.rb +36 -0
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +2 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_error.rb +3 -15
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_error_object.rb +25 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +1 -1
- data/lib/anthropic/models/beta/beta_content_block_param.rb +1 -1
- data/lib/anthropic/models/beta/beta_dream.rb +3 -3
- data/lib/anthropic/models/beta/beta_dream_error.rb +2 -27
- data/lib/anthropic/models/beta/beta_dream_error_object.rb +37 -0
- data/lib/anthropic/models/beta/beta_dreaming_error.rb +2 -90
- data/lib/anthropic/models/beta/beta_dreaming_error_object.rb +100 -0
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +4 -130
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error_object.rb +143 -0
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +41 -36
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rb +4 -12
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error_object.rb +23 -0
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rb +4 -20
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rb +5 -11
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rb +5 -12
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error_object.rb +23 -0
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rb +4 -20
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error_object.rb +31 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rb +4 -20
- data/lib/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error_object.rb +31 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rb +5 -11
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rb +4 -12
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error_object.rb +23 -0
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_run_error.rb +3 -20
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_run_error_object.rb +30 -0
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rb +4 -11
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error_object.rb +22 -0
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rb +4 -19
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error_object.rb +29 -0
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/beta/beta_target_store_held_error.rb +2 -26
- data/lib/anthropic/models/beta/beta_target_store_held_error_object.rb +36 -0
- data/lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_block.rb +4 -4
- data/lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error.rb +4 -35
- data/lib/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_object.rb +46 -0
- data/lib/anthropic/models/beta/beta_tool_search_tool_result_block.rb +4 -4
- data/lib/anthropic/models/beta/beta_tool_search_tool_result_error.rb +3 -34
- data/lib/anthropic/models/beta/beta_tool_search_tool_result_error_object.rb +44 -0
- data/lib/anthropic/models/beta/beta_web_search_tool_request_error.rb +3 -15
- data/lib/anthropic/models/beta/beta_web_search_tool_request_error_object.rb +25 -0
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_content.rb +2 -2
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +2 -2
- data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rb +2 -2
- data/lib/anthropic/models/beta/beta_web_search_tool_result_error.rb +3 -15
- data/lib/anthropic/models/beta/beta_web_search_tool_result_error_object.rb +25 -0
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +12 -2
- data/lib/anthropic/models/beta/beta_webhook_external_key_failed_event_data.rb +34 -0
- data/lib/anthropic/models/beta/beta_webhook_external_key_recovered_event_data.rb +34 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rb +4 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error_object.rb +25 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +2 -114
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error_object.rb +124 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +4 -52
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error_object.rb +62 -0
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +4 -26
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error_object.rb +36 -0
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +12 -1
- data/lib/anthropic/models/beta/message_create_params.rb +15 -1
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +15 -1
- data/lib/anthropic/models/beta/organization/beta_aws_external_key_config.rb +1 -2
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +2 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +2 -0
- data/lib/anthropic/models/beta/organization/beta_plugin_content_scan.rb +11 -2
- data/lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error.rb +4 -26
- data/lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error_object.rb +36 -0
- data/lib/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rb +3 -3
- data/lib/anthropic/models/beta/organization/beta_workspace.rb +7 -6
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +2 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +2 -0
- data/lib/anthropic/models/beta/organization/workspace_create_params.rb +7 -6
- data/lib/anthropic/models/beta/organization/workspace_update_params.rb +7 -6
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +3 -84
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error_object.rb +94 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error.rb +4 -85
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error_object.rb +95 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +4 -99
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error_object.rb +109 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rb +4 -25
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error_object.rb +35 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +4 -90
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error_object.rb +100 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +4 -90
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error_object.rb +100 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +4 -83
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error_object.rb +93 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +4 -82
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error_object.rb +92 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +4 -82
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error_object.rb +92 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rb +4 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error_object.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rb +4 -98
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error_object.rb +108 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rb +4 -97
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error_object.rb +107 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rb +4 -97
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error_object.rb +107 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rb +4 -97
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error_object.rb +107 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb +4 -97
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error_object.rb +107 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +36 -34
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +2 -2
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rb +4 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error_object.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rb +4 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error_object.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error.rb +4 -86
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error_object.rb +96 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +3 -84
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error_object.rb +94 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rb +4 -24
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rb +34 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rb +4 -73
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_object.rb +83 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rb +4 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error_object.rb +29 -0
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_ended_event.rb +2 -2
- data/lib/anthropic/models/beta_api_error.rb +2 -22
- data/lib/anthropic/models/beta_api_error_object.rb +28 -0
- data/lib/anthropic/models/beta_authentication_error.rb +2 -22
- data/lib/anthropic/models/beta_authentication_error_object.rb +28 -0
- data/lib/anthropic/models/beta_billing_error.rb +2 -22
- data/lib/anthropic/models/beta_billing_error_object.rb +28 -0
- data/lib/anthropic/models/beta_error.rb +2 -82
- data/lib/anthropic/models/beta_error_object.rb +88 -0
- data/lib/anthropic/models/beta_error_response.rb +3 -3
- data/lib/anthropic/models/beta_gateway_timeout_error.rb +2 -22
- data/lib/anthropic/models/beta_gateway_timeout_error_object.rb +28 -0
- data/lib/anthropic/models/beta_invalid_request_error.rb +2 -22
- data/lib/anthropic/models/beta_invalid_request_error_object.rb +28 -0
- data/lib/anthropic/models/beta_not_found_error.rb +2 -22
- data/lib/anthropic/models/beta_not_found_error_object.rb +28 -0
- data/lib/anthropic/models/beta_overloaded_error.rb +2 -22
- data/lib/anthropic/models/beta_overloaded_error_object.rb +28 -0
- data/lib/anthropic/models/beta_permission_error.rb +2 -22
- data/lib/anthropic/models/beta_permission_error_object.rb +28 -0
- data/lib/anthropic/models/beta_rate_limit_error.rb +2 -22
- data/lib/anthropic/models/beta_rate_limit_error_object.rb +28 -0
- data/lib/anthropic/models/billing_error.rb +2 -22
- data/lib/anthropic/models/billing_error_object.rb +28 -0
- data/lib/anthropic/models/code_execution_tool_result_block.rb +2 -2
- data/lib/anthropic/models/code_execution_tool_result_block_content.rb +2 -2
- data/lib/anthropic/models/code_execution_tool_result_error.rb +3 -15
- data/lib/anthropic/models/code_execution_tool_result_error_object.rb +21 -0
- data/lib/anthropic/models/content_block.rb +1 -1
- data/lib/anthropic/models/content_block_param.rb +1 -1
- data/lib/anthropic/models/contract_spend_limit_reached_error.rb +19 -0
- data/lib/anthropic/models/contract_spend_limit_reached_error_details.rb +17 -0
- data/lib/anthropic/models/error_details.rb +41 -2
- data/lib/anthropic/models/error_object.rb +18 -18
- data/lib/anthropic/models/error_response.rb +2 -2
- data/lib/anthropic/models/gateway_timeout_error.rb +2 -22
- data/lib/anthropic/models/gateway_timeout_error_object.rb +28 -0
- data/lib/anthropic/models/invalid_request_error.rb +2 -22
- data/lib/anthropic/models/invalid_request_error_object.rb +28 -0
- data/lib/anthropic/models/linked_organization_billing_unavailable_error.rb +21 -0
- data/lib/anthropic/models/linked_organization_billing_unavailable_error_details.rb +19 -0
- data/lib/anthropic/models/linked_organization_spend_limit_reached_error.rb +21 -0
- data/lib/anthropic/models/linked_organization_spend_limit_reached_error_details.rb +19 -0
- data/lib/anthropic/models/not_found_error.rb +2 -22
- data/lib/anthropic/models/not_found_error_object.rb +28 -0
- data/lib/anthropic/models/organization/aws_external_key_config.rb +1 -2
- data/lib/anthropic/models/organization/workspace.rb +7 -6
- data/lib/anthropic/models/organization/workspace_create_params.rb +7 -6
- data/lib/anthropic/models/organization/workspace_update_params.rb +7 -6
- data/lib/anthropic/models/overloaded_error.rb +2 -22
- data/lib/anthropic/models/overloaded_error_object.rb +28 -0
- data/lib/anthropic/models/permission_error.rb +2 -22
- data/lib/anthropic/models/permission_error_object.rb +28 -0
- data/lib/anthropic/models/rate_limit_error.rb +2 -22
- data/lib/anthropic/models/rate_limit_error_object.rb +28 -0
- data/lib/anthropic/models/raw_content_block_start_event.rb +1 -1
- data/lib/anthropic/models/text_editor_code_execution_tool_result_block.rb +4 -4
- data/lib/anthropic/models/text_editor_code_execution_tool_result_error.rb +3 -21
- data/lib/anthropic/models/text_editor_code_execution_tool_result_error_object.rb +27 -0
- data/lib/anthropic/models/tool_search_tool_result_block.rb +4 -4
- data/lib/anthropic/models/tool_search_tool_result_error.rb +2 -21
- data/lib/anthropic/models/tool_search_tool_result_error_object.rb +27 -0
- data/lib/anthropic/models/user_profile_billing_not_authorized_error.rb +21 -0
- data/lib/anthropic/models/user_profile_billing_not_authorized_error_details.rb +19 -0
- data/lib/anthropic/models/user_profile_not_billable_error.rb +20 -0
- data/lib/anthropic/models/user_profile_not_billable_error_details.rb +18 -0
- data/lib/anthropic/models/user_profile_required_error.rb +20 -0
- data/lib/anthropic/models/user_profile_required_error_details.rb +18 -0
- data/lib/anthropic/models/web_search_tool_request_error.rb +2 -15
- data/lib/anthropic/models/web_search_tool_request_error_object.rb +21 -0
- data/lib/anthropic/models/web_search_tool_result_block.rb +2 -2
- data/lib/anthropic/models/web_search_tool_result_block_content.rb +2 -2
- data/lib/anthropic/models/web_search_tool_result_block_param.rb +2 -2
- data/lib/anthropic/models/web_search_tool_result_block_param_content.rb +2 -2
- data/lib/anthropic/models/web_search_tool_result_error.rb +2 -15
- data/lib/anthropic/models/web_search_tool_result_error_object.rb +21 -0
- data/lib/anthropic/models.rb +76 -0
- data/lib/anthropic/resources/beta/environments/work.rb +21 -20
- data/lib/anthropic/resources/beta/messages.rb +60 -4
- data/lib/anthropic/resources/beta/organization/plugins.rb +6 -2
- data/lib/anthropic/resources/messages.rb +48 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +108 -0
- data/rbi/anthropic/errors.rbi +4 -0
- data/rbi/anthropic/internal/type/union.rbi +5 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/authentication_error.rbi +1 -29
- data/rbi/anthropic/models/authentication_error_object.rbi +38 -0
- data/rbi/anthropic/models/bash_code_execution_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/bash_code_execution_tool_result_error.rbi +2 -38
- data/rbi/anthropic/models/bash_code_execution_tool_result_error_object.rbi +44 -0
- data/rbi/anthropic/models/beta/beta_advisor_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_advisor_tool_result_error.rbi +2 -100
- data/rbi/anthropic/models/beta/beta_advisor_tool_result_error_object.rbi +110 -0
- data/rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rbi +2 -90
- data/rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_error_object.rbi +101 -0
- data/rbi/anthropic/models/beta/beta_bill_to.rbi +28 -0
- data/rbi/anthropic/models/beta/beta_billing_policy.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_error.rbi +2 -41
- data/rbi/anthropic/models/beta/beta_code_execution_tool_result_error_object.rbi +52 -0
- data/rbi/anthropic/models/beta/beta_content_block.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_dream.rbi +6 -4
- data/rbi/anthropic/models/beta/beta_dream_error.rbi +1 -36
- data/rbi/anthropic/models/beta/beta_dream_error_object.rbi +49 -0
- data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +1 -112
- data/rbi/anthropic/models/beta/beta_dreaming_error_object.rbi +124 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +14 -14
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +2 -141
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error_object.rbi +152 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +32 -32
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbi +16 -16
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbi +2 -22
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error_object.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbi +2 -30
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error_object.rbi +41 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbi +2 -22
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error_object.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbi +2 -30
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error_object.rbi +41 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbi +2 -30
- data/rbi/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error_object.rbi +41 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbi +2 -22
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error_object.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbi +2 -30
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_run_error_object.rbi +41 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbi +2 -21
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error_object.rbi +32 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbi +2 -29
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error_object.rbi +40 -0
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +6 -6
- data/rbi/anthropic/models/beta/beta_target_store_held_error.rbi +2 -36
- data/rbi/anthropic/models/beta/beta_target_store_held_error_object.rbi +46 -0
- data/rbi/anthropic/models/beta/beta_text_editor_code_execution_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error.rbi +2 -99
- data/rbi/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_object.rbi +110 -0
- data/rbi/anthropic/models/beta/beta_tool_search_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/beta/beta_tool_search_tool_result_error.rbi +2 -94
- data/rbi/anthropic/models/beta/beta_tool_search_tool_result_error_object.rbi +105 -0
- data/rbi/anthropic/models/beta/beta_web_search_tool_request_error.rbi +2 -39
- data/rbi/anthropic/models/beta/beta_web_search_tool_request_error_object.rbi +50 -0
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_content.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +3 -3
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_error.rbi +2 -41
- data/rbi/anthropic/models/beta/beta_web_search_tool_result_error_object.rbi +52 -0
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +13 -1
- data/rbi/anthropic/models/beta/beta_webhook_external_key_failed_event_data.rbi +51 -0
- data/rbi/anthropic/models/beta/beta_webhook_external_key_recovered_event_data.rbi +51 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbi +2 -28
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -144
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error_object.rbi +154 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +2 -82
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error_object.rbi +92 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +2 -38
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error_object.rbi +48 -0
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +23 -0
- data/rbi/anthropic/models/beta/message_create_params.rbi +29 -0
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +30 -0
- data/rbi/anthropic/models/beta/organization/beta_aws_external_key_config.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +1 -2
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/beta_plugin_content_scan.rbi +22 -4
- data/rbi/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error.rbi +2 -44
- data/rbi/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error_object.rbi +54 -0
- data/rbi/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rbi +3 -3
- data/rbi/anthropic/models/beta/organization/beta_workspace.rbi +14 -12
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +1 -2
- data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +1 -2
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/workspace_create_params.rbi +14 -12
- data/rbi/anthropic/models/beta/organization/workspace_update_params.rbi +14 -12
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +2 -137
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error_object.rbi +147 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error.rbi +2 -138
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error_object.rbi +148 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +2 -152
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error_object.rbi +162 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rbi +2 -34
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error_object.rbi +44 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +2 -143
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error_object.rbi +153 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +2 -143
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error_object.rbi +153 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +2 -136
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error_object.rbi +146 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +2 -135
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error_object.rbi +145 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +2 -135
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error_object.rbi +145 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rbi +2 -33
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error_object.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rbi +2 -149
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error_object.rbi +159 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rbi +2 -148
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error_object.rbi +158 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rbi +2 -148
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error_object.rbi +158 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rbi +2 -148
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error_object.rbi +158 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rbi +2 -148
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error_object.rbi +158 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +30 -30
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +21 -21
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +21 -21
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +21 -21
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rbi +2 -33
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error_object.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rbi +2 -33
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error_object.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error.rbi +2 -139
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error_object.rbi +149 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +2 -137
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error_object.rbi +147 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rbi +2 -33
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rbi +43 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rbi +2 -95
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rbi +7 -7
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_object.rbi +105 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rbi +6 -6
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rbi +2 -53
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error_object.rbi +63 -0
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_status_ended_event.rbi +1 -1
- data/rbi/anthropic/models/beta_api_error.rbi +1 -29
- data/rbi/anthropic/models/beta_api_error_object.rbi +35 -0
- data/rbi/anthropic/models/beta_authentication_error.rbi +1 -32
- data/rbi/anthropic/models/beta_authentication_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_billing_error.rbi +1 -29
- data/rbi/anthropic/models/beta_billing_error_object.rbi +35 -0
- data/rbi/anthropic/models/beta_error.rbi +1 -73
- data/rbi/anthropic/models/beta_error_object.rbi +97 -0
- data/rbi/anthropic/models/beta_error_response.rbi +11 -11
- data/rbi/anthropic/models/beta_gateway_timeout_error.rbi +1 -32
- data/rbi/anthropic/models/beta_gateway_timeout_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_invalid_request_error.rbi +1 -32
- data/rbi/anthropic/models/beta_invalid_request_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_not_found_error.rbi +1 -29
- data/rbi/anthropic/models/beta_not_found_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_overloaded_error.rbi +1 -29
- data/rbi/anthropic/models/beta_overloaded_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_permission_error.rbi +1 -29
- data/rbi/anthropic/models/beta_permission_error_object.rbi +38 -0
- data/rbi/anthropic/models/beta_rate_limit_error.rbi +1 -29
- data/rbi/anthropic/models/beta_rate_limit_error_object.rbi +38 -0
- data/rbi/anthropic/models/billing_error.rbi +1 -29
- data/rbi/anthropic/models/billing_error_object.rbi +35 -0
- data/rbi/anthropic/models/code_execution_tool_result_block.rbi +1 -1
- data/rbi/anthropic/models/code_execution_tool_result_block_content.rbi +1 -1
- data/rbi/anthropic/models/code_execution_tool_result_error.rbi +2 -36
- data/rbi/anthropic/models/code_execution_tool_result_error_object.rbi +42 -0
- data/rbi/anthropic/models/content_block.rbi +5 -5
- data/rbi/anthropic/models/content_block_param.rbi +1 -1
- data/rbi/anthropic/models/contract_spend_limit_reached_error.rbi +16 -0
- data/rbi/anthropic/models/contract_spend_limit_reached_error_details.rbi +27 -0
- data/rbi/anthropic/models/error_details.rbi +36 -0
- data/rbi/anthropic/models/error_object.rbi +8 -8
- data/rbi/anthropic/models/error_response.rbi +8 -8
- data/rbi/anthropic/models/gateway_timeout_error.rbi +1 -29
- data/rbi/anthropic/models/gateway_timeout_error_object.rbi +38 -0
- data/rbi/anthropic/models/invalid_request_error.rbi +1 -29
- data/rbi/anthropic/models/invalid_request_error_object.rbi +38 -0
- data/rbi/anthropic/models/linked_organization_billing_unavailable_error.rbi +20 -0
- data/rbi/anthropic/models/linked_organization_billing_unavailable_error_details.rbi +29 -0
- data/rbi/anthropic/models/linked_organization_spend_limit_reached_error.rbi +20 -0
- data/rbi/anthropic/models/linked_organization_spend_limit_reached_error_details.rbi +29 -0
- data/rbi/anthropic/models/not_found_error.rbi +1 -29
- data/rbi/anthropic/models/not_found_error_object.rbi +35 -0
- data/rbi/anthropic/models/organization/aws_external_key_config.rbi +2 -4
- data/rbi/anthropic/models/organization/external_key.rbi +1 -2
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +1 -2
- data/rbi/anthropic/models/organization/external_key_update_params.rbi +1 -2
- data/rbi/anthropic/models/organization/workspace.rbi +14 -12
- data/rbi/anthropic/models/organization/workspace_create_params.rbi +14 -12
- data/rbi/anthropic/models/organization/workspace_update_params.rbi +14 -12
- data/rbi/anthropic/models/overloaded_error.rbi +1 -29
- data/rbi/anthropic/models/overloaded_error_object.rbi +35 -0
- data/rbi/anthropic/models/permission_error.rbi +1 -29
- data/rbi/anthropic/models/permission_error_object.rbi +35 -0
- data/rbi/anthropic/models/rate_limit_error.rbi +1 -29
- data/rbi/anthropic/models/rate_limit_error_object.rbi +35 -0
- data/rbi/anthropic/models/raw_content_block_start_event.rbi +5 -5
- data/rbi/anthropic/models/text_editor_code_execution_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/text_editor_code_execution_tool_result_error.rbi +2 -50
- data/rbi/anthropic/models/text_editor_code_execution_tool_result_error_object.rbi +56 -0
- data/rbi/anthropic/models/tool_search_tool_result_block.rbi +2 -2
- data/rbi/anthropic/models/tool_search_tool_result_error.rbi +2 -44
- data/rbi/anthropic/models/tool_search_tool_result_error_object.rbi +50 -0
- data/rbi/anthropic/models/user_profile_billing_not_authorized_error.rbi +18 -0
- data/rbi/anthropic/models/user_profile_billing_not_authorized_error_details.rbi +29 -0
- data/rbi/anthropic/models/user_profile_not_billable_error.rbi +17 -0
- data/rbi/anthropic/models/user_profile_not_billable_error_details.rbi +28 -0
- data/rbi/anthropic/models/user_profile_required_error.rbi +17 -0
- data/rbi/anthropic/models/user_profile_required_error_details.rbi +28 -0
- data/rbi/anthropic/models/web_search_tool_request_error.rbi +2 -35
- data/rbi/anthropic/models/web_search_tool_request_error_object.rbi +41 -0
- data/rbi/anthropic/models/web_search_tool_result_block.rbi +1 -1
- data/rbi/anthropic/models/web_search_tool_result_block_content.rbi +1 -1
- data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +3 -3
- data/rbi/anthropic/models/web_search_tool_result_block_param_content.rbi +1 -1
- data/rbi/anthropic/models/web_search_tool_result_error.rbi +1 -35
- data/rbi/anthropic/models/web_search_tool_result_error_object.rbi +41 -0
- data/rbi/anthropic/models.rbi +91 -0
- data/rbi/anthropic/resources/beta/environments/work.rbi +21 -20
- data/rbi/anthropic/resources/beta/messages.rbi +50 -0
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +6 -2
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +15 -12
- data/rbi/anthropic/resources/organization/workspaces.rbi +14 -12
- data/sig/anthropic/errors.rbs +4 -0
- data/sig/anthropic/internal/type/union.rbs +4 -0
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/authentication_error.rbs +1 -11
- data/sig/anthropic/models/authentication_error_object.rbs +16 -0
- data/sig/anthropic/models/bash_code_execution_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/bash_code_execution_tool_result_error.rbs +1 -21
- data/sig/anthropic/models/bash_code_execution_tool_result_error_object.rbs +25 -0
- data/sig/anthropic/models/beta/beta_advisor_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_advisor_tool_result_error.rbs +1 -44
- data/sig/anthropic/models/beta/beta_advisor_tool_result_error_object.rbs +52 -0
- data/sig/anthropic/models/beta/beta_bash_code_execution_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rbs +1 -40
- data/sig/anthropic/models/beta/beta_bash_code_execution_tool_result_error_object.rbs +48 -0
- data/sig/anthropic/models/beta/beta_bill_to.rbs +18 -0
- data/sig/anthropic/models/beta/beta_billing_policy.rbs +33 -0
- data/sig/anthropic/models/beta/beta_code_execution_tool_result_block_content.rbs +1 -1
- data/sig/anthropic/models/beta/beta_code_execution_tool_result_error.rbs +1 -21
- data/sig/anthropic/models/beta/beta_code_execution_tool_result_error_object.rbs +29 -0
- data/sig/anthropic/models/beta/beta_dream.rbs +4 -4
- data/sig/anthropic/models/beta/beta_dream_error.rbs +1 -11
- data/sig/anthropic/models/beta/beta_dream_error_object.rbs +19 -0
- data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -92
- data/sig/anthropic/models/beta/beta_dreaming_error_object.rbs +101 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -2
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +1 -108
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error_object.rbs +116 -0
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +32 -32
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbs +4 -4
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbs +1 -18
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error_object.rbs +26 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbs +1 -18
- data/sig/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error_object.rbs +26 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbs +1 -18
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error_object.rbs +26 -0
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbs +1 -10
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error_object.rbs +18 -0
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/beta_target_store_held_error.rbs +1 -14
- data/sig/anthropic/models/beta/beta_target_store_held_error_object.rbs +22 -0
- data/sig/anthropic/models/beta/beta_text_editor_code_execution_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error.rbs +1 -45
- data/sig/anthropic/models/beta/beta_text_editor_code_execution_tool_result_error_object.rbs +53 -0
- data/sig/anthropic/models/beta/beta_tool_search_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/beta/beta_tool_search_tool_result_error.rbs +1 -43
- data/sig/anthropic/models/beta/beta_tool_search_tool_result_error_object.rbs +51 -0
- data/sig/anthropic/models/beta/beta_web_search_tool_request_error.rbs +1 -21
- data/sig/anthropic/models/beta/beta_web_search_tool_request_error_object.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_content.rbs +1 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param_content.rbs +1 -1
- data/sig/anthropic/models/beta/beta_web_search_tool_result_error.rbs +1 -21
- data/sig/anthropic/models/beta/beta_web_search_tool_result_error_object.rbs +29 -0
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +16 -0
- data/sig/anthropic/models/beta/beta_webhook_external_key_failed_event_data.rbs +30 -0
- data/sig/anthropic/models/beta/beta_webhook_external_key_recovered_event_data.rbs +30 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbs +1 -14
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error_object.rbs +22 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +1 -112
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error_object.rbs +120 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs +1 -37
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error_object.rbs +45 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbs +1 -20
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error_object.rbs +28 -0
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +5 -0
- data/sig/anthropic/models/beta/message_create_params.rbs +5 -0
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +5 -1
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +5 -1
- data/sig/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error.rbs +1 -18
- data/sig/anthropic/models/beta/organization/beta_plugin_marketplace_validation_plugin_error_object.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_plugin_marketplace_validation_report.rbs +4 -4
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +5 -1
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +5 -1
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_compaction_limit_reached_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +1 -74
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error_object.rbs +82 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error.rbs +1 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_max_workflow_runs_workflow_run_error_object.rbs +23 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_program_workflow_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rbs +1 -69
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error_object.rbs +77 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +60 -60
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -2
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -2
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -2
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_thread_limit_workflow_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_timeout_workflow_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_tool_use_limit_reached_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +1 -64
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error_object.rbs +72 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error.rbs +1 -12
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_workflow_run_error_object.rbs +20 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error.rbs +1 -58
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_event.rbs +4 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_error_object.rbs +66 -0
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result.rbs +4 -4
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error.rbs +1 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_workflow_run_result_error_object.rbs +29 -0
- data/sig/anthropic/models/beta_api_error.rbs +1 -11
- data/sig/anthropic/models/beta_api_error_object.rbs +15 -0
- data/sig/anthropic/models/beta_authentication_error.rbs +1 -12
- data/sig/anthropic/models/beta_authentication_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_billing_error.rbs +1 -11
- data/sig/anthropic/models/beta_billing_error_object.rbs +15 -0
- data/sig/anthropic/models/beta_error.rbs +1 -85
- data/sig/anthropic/models/beta_error_object.rbs +89 -0
- data/sig/anthropic/models/beta_error_response.rbs +4 -4
- data/sig/anthropic/models/beta_gateway_timeout_error.rbs +1 -11
- data/sig/anthropic/models/beta_gateway_timeout_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_invalid_request_error.rbs +1 -12
- data/sig/anthropic/models/beta_invalid_request_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_not_found_error.rbs +1 -11
- data/sig/anthropic/models/beta_not_found_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_overloaded_error.rbs +1 -11
- data/sig/anthropic/models/beta_overloaded_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_permission_error.rbs +1 -11
- data/sig/anthropic/models/beta_permission_error_object.rbs +16 -0
- data/sig/anthropic/models/beta_rate_limit_error.rbs +1 -11
- data/sig/anthropic/models/beta_rate_limit_error_object.rbs +16 -0
- data/sig/anthropic/models/billing_error.rbs +1 -11
- data/sig/anthropic/models/billing_error_object.rbs +15 -0
- data/sig/anthropic/models/code_execution_tool_result_block_content.rbs +1 -1
- data/sig/anthropic/models/code_execution_tool_result_error.rbs +1 -21
- data/sig/anthropic/models/code_execution_tool_result_error_object.rbs +25 -0
- data/sig/anthropic/models/contract_spend_limit_reached_error.rbs +9 -0
- data/sig/anthropic/models/contract_spend_limit_reached_error_details.rbs +14 -0
- data/sig/anthropic/models/error_details.rbs +40 -0
- data/sig/anthropic/models/error_object.rbs +16 -16
- data/sig/anthropic/models/gateway_timeout_error.rbs +1 -11
- data/sig/anthropic/models/gateway_timeout_error_object.rbs +16 -0
- data/sig/anthropic/models/invalid_request_error.rbs +1 -12
- data/sig/anthropic/models/invalid_request_error_object.rbs +16 -0
- data/sig/anthropic/models/linked_organization_billing_unavailable_error.rbs +9 -0
- data/sig/anthropic/models/linked_organization_billing_unavailable_error_details.rbs +16 -0
- data/sig/anthropic/models/linked_organization_spend_limit_reached_error.rbs +9 -0
- data/sig/anthropic/models/linked_organization_spend_limit_reached_error_details.rbs +16 -0
- data/sig/anthropic/models/not_found_error.rbs +1 -11
- data/sig/anthropic/models/not_found_error_object.rbs +15 -0
- data/sig/anthropic/models/overloaded_error.rbs +1 -11
- data/sig/anthropic/models/overloaded_error_object.rbs +15 -0
- data/sig/anthropic/models/permission_error.rbs +1 -11
- data/sig/anthropic/models/permission_error_object.rbs +15 -0
- data/sig/anthropic/models/rate_limit_error.rbs +1 -11
- data/sig/anthropic/models/rate_limit_error_object.rbs +15 -0
- data/sig/anthropic/models/text_editor_code_execution_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/text_editor_code_execution_tool_result_error.rbs +1 -26
- data/sig/anthropic/models/text_editor_code_execution_tool_result_error_object.rbs +30 -0
- data/sig/anthropic/models/tool_search_tool_result_block.rbs +1 -1
- data/sig/anthropic/models/tool_search_tool_result_error.rbs +1 -26
- data/sig/anthropic/models/tool_search_tool_result_error_object.rbs +30 -0
- data/sig/anthropic/models/user_profile_billing_not_authorized_error.rbs +9 -0
- data/sig/anthropic/models/user_profile_billing_not_authorized_error_details.rbs +16 -0
- data/sig/anthropic/models/user_profile_not_billable_error.rbs +9 -0
- data/sig/anthropic/models/user_profile_not_billable_error_details.rbs +14 -0
- data/sig/anthropic/models/user_profile_required_error.rbs +9 -0
- data/sig/anthropic/models/user_profile_required_error_details.rbs +14 -0
- data/sig/anthropic/models/web_search_tool_request_error.rbs +1 -21
- data/sig/anthropic/models/web_search_tool_request_error_object.rbs +25 -0
- data/sig/anthropic/models/web_search_tool_result_block_content.rbs +1 -1
- data/sig/anthropic/models/web_search_tool_result_block_param_content.rbs +1 -1
- data/sig/anthropic/models/web_search_tool_result_error.rbs +1 -21
- data/sig/anthropic/models/web_search_tool_result_error_object.rbs +25 -0
- data/sig/anthropic/models.rbs +72 -0
- data/sig/anthropic/resources/beta/messages.rbs +5 -0
- metadata +326 -2
|
@@ -4,7 +4,7 @@ module Anthropic
|
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
6
|
type beta_code_execution_tool_result_block_content =
|
|
7
|
-
Anthropic::Beta::
|
|
7
|
+
Anthropic::Beta::BetaCodeExecutionToolResultErrorObject
|
|
8
8
|
| Anthropic::Beta::BetaCodeExecutionResultBlock
|
|
9
9
|
| Anthropic::Beta::BetaEncryptedCodeExecutionResultBlock
|
|
10
10
|
|
|
@@ -3,27 +3,7 @@ module Anthropic
|
|
|
3
3
|
class BetaCodeExecutionToolResultError = Beta::BetaCodeExecutionToolResultError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
{
|
|
8
|
-
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
9
|
-
type: :code_execution_tool_result_error
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
class BetaCodeExecutionToolResultError < Anthropic::Internal::Type::BaseModel
|
|
13
|
-
attr_accessor error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code
|
|
14
|
-
|
|
15
|
-
attr_accessor type: :code_execution_tool_result_error
|
|
16
|
-
|
|
17
|
-
def initialize: (
|
|
18
|
-
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
19
|
-
?type: :code_execution_tool_result_error
|
|
20
|
-
) -> void
|
|
21
|
-
|
|
22
|
-
def to_hash: -> {
|
|
23
|
-
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
24
|
-
type: :code_execution_tool_result_error
|
|
25
|
-
}
|
|
26
|
-
end
|
|
6
|
+
class BetaCodeExecutionToolResultError = Anthropic::Models::Beta::BetaCodeExecutionToolResultErrorObject
|
|
27
7
|
end
|
|
28
8
|
end
|
|
29
9
|
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaCodeExecutionToolResultErrorObject = Beta::BetaCodeExecutionToolResultErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_code_execution_tool_result_error_object =
|
|
7
|
+
{
|
|
8
|
+
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
9
|
+
type: :code_execution_tool_result_error
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
class BetaCodeExecutionToolResultErrorObject < Anthropic::Internal::Type::BaseModel
|
|
13
|
+
attr_accessor error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code
|
|
14
|
+
|
|
15
|
+
attr_accessor type: :code_execution_tool_result_error
|
|
16
|
+
|
|
17
|
+
def initialize: (
|
|
18
|
+
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
19
|
+
?type: :code_execution_tool_result_error
|
|
20
|
+
) -> void
|
|
21
|
+
|
|
22
|
+
def to_hash: -> {
|
|
23
|
+
error_code: Anthropic::Models::Beta::beta_code_execution_tool_result_error_code,
|
|
24
|
+
type: :code_execution_tool_result_error
|
|
25
|
+
}
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -9,7 +9,7 @@ module Anthropic
|
|
|
9
9
|
archived_at: Time?,
|
|
10
10
|
created_at: Time,
|
|
11
11
|
ended_at: Time?,
|
|
12
|
-
error: Anthropic::Beta::
|
|
12
|
+
error: Anthropic::Beta::BetaDreamErrorObject?,
|
|
13
13
|
inputs: ::Array[Anthropic::Models::Beta::beta_dream_input],
|
|
14
14
|
instructions: String?,
|
|
15
15
|
model: Anthropic::Beta::BetaDreamModelConfig,
|
|
@@ -30,7 +30,7 @@ module Anthropic
|
|
|
30
30
|
|
|
31
31
|
attr_accessor ended_at: Time?
|
|
32
32
|
|
|
33
|
-
attr_accessor error: Anthropic::Beta::
|
|
33
|
+
attr_accessor error: Anthropic::Beta::BetaDreamErrorObject?
|
|
34
34
|
|
|
35
35
|
attr_accessor inputs: ::Array[Anthropic::Models::Beta::beta_dream_input]
|
|
36
36
|
|
|
@@ -55,7 +55,7 @@ module Anthropic
|
|
|
55
55
|
archived_at: Time?,
|
|
56
56
|
created_at: Time,
|
|
57
57
|
ended_at: Time?,
|
|
58
|
-
error: Anthropic::Beta::
|
|
58
|
+
error: Anthropic::Beta::BetaDreamErrorObject?,
|
|
59
59
|
inputs: ::Array[Anthropic::Models::Beta::beta_dream_input],
|
|
60
60
|
instructions: String?,
|
|
61
61
|
model: Anthropic::Beta::BetaDreamModelConfig,
|
|
@@ -72,7 +72,7 @@ module Anthropic
|
|
|
72
72
|
archived_at: Time?,
|
|
73
73
|
created_at: Time,
|
|
74
74
|
ended_at: Time?,
|
|
75
|
-
error: Anthropic::Beta::
|
|
75
|
+
error: Anthropic::Beta::BetaDreamErrorObject?,
|
|
76
76
|
inputs: ::Array[Anthropic::Models::Beta::beta_dream_input],
|
|
77
77
|
instructions: String?,
|
|
78
78
|
model: Anthropic::Beta::BetaDreamModelConfig,
|
|
@@ -3,17 +3,7 @@ module Anthropic
|
|
|
3
3
|
class BetaDreamError = Beta::BetaDreamError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
class BetaDreamError < Anthropic::Internal::Type::BaseModel
|
|
9
|
-
attr_accessor message: String
|
|
10
|
-
|
|
11
|
-
attr_accessor type: String
|
|
12
|
-
|
|
13
|
-
def initialize: (message: String, type: String) -> void
|
|
14
|
-
|
|
15
|
-
def to_hash: -> { message: String, type: String }
|
|
16
|
-
end
|
|
6
|
+
class BetaDreamError = Anthropic::Models::Beta::BetaDreamErrorObject
|
|
17
7
|
end
|
|
18
8
|
end
|
|
19
9
|
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaDreamErrorObject = Beta::BetaDreamErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_dream_error_object = { message: String, type: String }
|
|
7
|
+
|
|
8
|
+
class BetaDreamErrorObject < Anthropic::Internal::Type::BaseModel
|
|
9
|
+
attr_accessor message: String
|
|
10
|
+
|
|
11
|
+
attr_accessor type: String
|
|
12
|
+
|
|
13
|
+
def initialize: (message: String, type: String) -> void
|
|
14
|
+
|
|
15
|
+
def to_hash: -> { message: String, type: String }
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
@@ -3,98 +3,7 @@ module Anthropic
|
|
|
3
3
|
module BetaDreamingError = Beta::BetaDreamingError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
Anthropic::BetaInvalidRequestError
|
|
8
|
-
| Anthropic::BetaAuthenticationError
|
|
9
|
-
| Anthropic::BetaBillingError
|
|
10
|
-
| Anthropic::BetaPermissionError
|
|
11
|
-
| Anthropic::BetaNotFoundError
|
|
12
|
-
| Anthropic::BetaRateLimitError
|
|
13
|
-
| Anthropic::BetaGatewayTimeoutError
|
|
14
|
-
| Anthropic::BetaAPIError
|
|
15
|
-
| Anthropic::BetaOverloadedError
|
|
16
|
-
| Anthropic::Beta::BetaTargetStoreHeldError
|
|
17
|
-
|
|
18
|
-
module BetaDreamingError
|
|
19
|
-
extend Anthropic::Internal::Type::Union
|
|
20
|
-
|
|
21
|
-
type type_ =
|
|
22
|
-
:invalid_request_error
|
|
23
|
-
| :authentication_error
|
|
24
|
-
| :billing_error
|
|
25
|
-
| :permission_error
|
|
26
|
-
| :not_found_error
|
|
27
|
-
| :rate_limit_error
|
|
28
|
-
| :timeout_error
|
|
29
|
-
| :api_error
|
|
30
|
-
| :overloaded_error
|
|
31
|
-
| :conflict_error
|
|
32
|
-
|
|
33
|
-
module Type
|
|
34
|
-
extend Anthropic::Internal::Type::Enum
|
|
35
|
-
|
|
36
|
-
INVALID_REQUEST_ERROR: :invalid_request_error
|
|
37
|
-
AUTHENTICATION_ERROR: :authentication_error
|
|
38
|
-
BILLING_ERROR: :billing_error
|
|
39
|
-
PERMISSION_ERROR: :permission_error
|
|
40
|
-
NOT_FOUND_ERROR: :not_found_error
|
|
41
|
-
RATE_LIMIT_ERROR: :rate_limit_error
|
|
42
|
-
TIMEOUT_ERROR: :timeout_error
|
|
43
|
-
API_ERROR: :api_error
|
|
44
|
-
OVERLOADED_ERROR: :overloaded_error
|
|
45
|
-
CONFLICT_ERROR: :conflict_error
|
|
46
|
-
|
|
47
|
-
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaDreamingError::type_]
|
|
48
|
-
end
|
|
49
|
-
|
|
50
|
-
def self?.variants: -> ::Array[Anthropic::Models::Beta::beta_dreaming_error]
|
|
51
|
-
|
|
52
|
-
def self.new:
|
|
53
|
-
(
|
|
54
|
-
type: :invalid_request_error | "invalid_request_error",
|
|
55
|
-
message: String
|
|
56
|
-
) -> Anthropic::BetaInvalidRequestError
|
|
57
|
-
| (
|
|
58
|
-
type: :authentication_error | "authentication_error",
|
|
59
|
-
message: String
|
|
60
|
-
) -> Anthropic::BetaAuthenticationError
|
|
61
|
-
| (
|
|
62
|
-
type: :billing_error | "billing_error",
|
|
63
|
-
message: String
|
|
64
|
-
) -> Anthropic::BetaBillingError
|
|
65
|
-
| (
|
|
66
|
-
type: :permission_error | "permission_error",
|
|
67
|
-
message: String
|
|
68
|
-
) -> Anthropic::BetaPermissionError
|
|
69
|
-
| (
|
|
70
|
-
type: :not_found_error | "not_found_error",
|
|
71
|
-
message: String
|
|
72
|
-
) -> Anthropic::BetaNotFoundError
|
|
73
|
-
| (
|
|
74
|
-
type: :rate_limit_error | "rate_limit_error",
|
|
75
|
-
message: String
|
|
76
|
-
) -> Anthropic::BetaRateLimitError
|
|
77
|
-
| (
|
|
78
|
-
type: :timeout_error | "timeout_error",
|
|
79
|
-
message: String
|
|
80
|
-
) -> Anthropic::BetaGatewayTimeoutError
|
|
81
|
-
| (
|
|
82
|
-
type: :api_error | "api_error",
|
|
83
|
-
message: String
|
|
84
|
-
) -> Anthropic::BetaAPIError
|
|
85
|
-
| (
|
|
86
|
-
type: :overloaded_error | "overloaded_error",
|
|
87
|
-
message: String
|
|
88
|
-
) -> Anthropic::BetaOverloadedError
|
|
89
|
-
| (
|
|
90
|
-
type: :conflict_error | "conflict_error",
|
|
91
|
-
?message: String
|
|
92
|
-
) -> Anthropic::Beta::BetaTargetStoreHeldError
|
|
93
|
-
| (
|
|
94
|
-
type: Anthropic::Models::Beta::BetaDreamingError::type_ | String,
|
|
95
|
-
?message: String
|
|
96
|
-
) -> Anthropic::Models::Beta::beta_dreaming_error
|
|
97
|
-
end
|
|
6
|
+
module BetaDreamingError = Anthropic::Models::Beta::BetaDreamingErrorObject
|
|
98
7
|
end
|
|
99
8
|
end
|
|
100
9
|
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module BetaDreamingErrorObject = Beta::BetaDreamingErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_dreaming_error_object =
|
|
7
|
+
Anthropic::BetaInvalidRequestErrorObject
|
|
8
|
+
| Anthropic::BetaAuthenticationErrorObject
|
|
9
|
+
| Anthropic::BetaBillingErrorObject
|
|
10
|
+
| Anthropic::BetaPermissionErrorObject
|
|
11
|
+
| Anthropic::BetaNotFoundErrorObject
|
|
12
|
+
| Anthropic::BetaRateLimitErrorObject
|
|
13
|
+
| Anthropic::BetaGatewayTimeoutErrorObject
|
|
14
|
+
| Anthropic::BetaAPIErrorObject
|
|
15
|
+
| Anthropic::BetaOverloadedErrorObject
|
|
16
|
+
| Anthropic::Beta::BetaTargetStoreHeldErrorObject
|
|
17
|
+
|
|
18
|
+
module BetaDreamingErrorObject
|
|
19
|
+
extend Anthropic::Internal::Type::Union
|
|
20
|
+
|
|
21
|
+
type type_ =
|
|
22
|
+
:invalid_request_error
|
|
23
|
+
| :authentication_error
|
|
24
|
+
| :billing_error
|
|
25
|
+
| :permission_error
|
|
26
|
+
| :not_found_error
|
|
27
|
+
| :rate_limit_error
|
|
28
|
+
| :timeout_error
|
|
29
|
+
| :api_error
|
|
30
|
+
| :overloaded_error
|
|
31
|
+
| :conflict_error
|
|
32
|
+
|
|
33
|
+
module Type
|
|
34
|
+
extend Anthropic::Internal::Type::Enum
|
|
35
|
+
|
|
36
|
+
INVALID_REQUEST_ERROR: :invalid_request_error
|
|
37
|
+
AUTHENTICATION_ERROR: :authentication_error
|
|
38
|
+
BILLING_ERROR: :billing_error
|
|
39
|
+
PERMISSION_ERROR: :permission_error
|
|
40
|
+
NOT_FOUND_ERROR: :not_found_error
|
|
41
|
+
RATE_LIMIT_ERROR: :rate_limit_error
|
|
42
|
+
TIMEOUT_ERROR: :timeout_error
|
|
43
|
+
API_ERROR: :api_error
|
|
44
|
+
OVERLOADED_ERROR: :overloaded_error
|
|
45
|
+
CONFLICT_ERROR: :conflict_error
|
|
46
|
+
|
|
47
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaDreamingErrorObject::type_]
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::beta_dreaming_error_object]
|
|
51
|
+
|
|
52
|
+
def self.new:
|
|
53
|
+
(
|
|
54
|
+
type: :invalid_request_error | "invalid_request_error",
|
|
55
|
+
message: String
|
|
56
|
+
) -> Anthropic::BetaInvalidRequestErrorObject
|
|
57
|
+
| (
|
|
58
|
+
type: :authentication_error | "authentication_error",
|
|
59
|
+
message: String
|
|
60
|
+
) -> Anthropic::BetaAuthenticationErrorObject
|
|
61
|
+
| (
|
|
62
|
+
type: :billing_error | "billing_error",
|
|
63
|
+
message: String
|
|
64
|
+
) -> Anthropic::BetaBillingErrorObject
|
|
65
|
+
| (
|
|
66
|
+
type: :permission_error | "permission_error",
|
|
67
|
+
message: String
|
|
68
|
+
) -> Anthropic::BetaPermissionErrorObject
|
|
69
|
+
| (
|
|
70
|
+
type: :not_found_error | "not_found_error",
|
|
71
|
+
message: String
|
|
72
|
+
) -> Anthropic::BetaNotFoundErrorObject
|
|
73
|
+
| (
|
|
74
|
+
type: :rate_limit_error | "rate_limit_error",
|
|
75
|
+
message: String
|
|
76
|
+
) -> Anthropic::BetaRateLimitErrorObject
|
|
77
|
+
| (
|
|
78
|
+
type: :timeout_error | "timeout_error",
|
|
79
|
+
message: String
|
|
80
|
+
) -> Anthropic::BetaGatewayTimeoutErrorObject
|
|
81
|
+
| (
|
|
82
|
+
type: :api_error | "api_error",
|
|
83
|
+
message: String
|
|
84
|
+
) -> Anthropic::BetaAPIErrorObject
|
|
85
|
+
| (
|
|
86
|
+
type: :overloaded_error | "overloaded_error",
|
|
87
|
+
message: String
|
|
88
|
+
) -> Anthropic::BetaOverloadedErrorObject
|
|
89
|
+
| (
|
|
90
|
+
type: :conflict_error | "conflict_error",
|
|
91
|
+
?message: String
|
|
92
|
+
) -> Anthropic::Beta::BetaTargetStoreHeldErrorObject
|
|
93
|
+
| (
|
|
94
|
+
type: Anthropic::Models::Beta::BetaDreamingErrorObject::type_
|
|
95
|
+
| String,
|
|
96
|
+
?message: String
|
|
97
|
+
) -> Anthropic::Models::Beta::beta_dreaming_error_object
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbs
CHANGED
|
@@ -3,16 +3,7 @@ module Anthropic
|
|
|
3
3
|
class BetaManagedAgentsAgentArchivedDeploymentPausedReasonError = Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
{ type: :agent_archived_error }
|
|
8
|
-
|
|
9
|
-
class BetaManagedAgentsAgentArchivedDeploymentPausedReasonError < Anthropic::Internal::Type::BaseModel
|
|
10
|
-
attr_accessor type: :agent_archived_error
|
|
11
|
-
|
|
12
|
-
def initialize: (?type: :agent_archived_error) -> void
|
|
13
|
-
|
|
14
|
-
def to_hash: -> { type: :agent_archived_error }
|
|
15
|
-
end
|
|
6
|
+
class BetaManagedAgentsAgentArchivedDeploymentPausedReasonError = Anthropic::Models::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject
|
|
16
7
|
end
|
|
17
8
|
end
|
|
18
9
|
end
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject = Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_managed_agents_agent_archived_deployment_paused_reason_error_object =
|
|
7
|
+
{ type: :agent_archived_error }
|
|
8
|
+
|
|
9
|
+
class BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor type: :agent_archived_error
|
|
11
|
+
|
|
12
|
+
def initialize: (?type: :agent_archived_error) -> void
|
|
13
|
+
|
|
14
|
+
def to_hash: -> { type: :agent_archived_error }
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
end
|
|
@@ -3,18 +3,7 @@ module Anthropic
|
|
|
3
3
|
class BetaManagedAgentsAgentArchivedRunError = Beta::BetaManagedAgentsAgentArchivedRunError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
{ message: String, type: :agent_archived_error }
|
|
8
|
-
|
|
9
|
-
class BetaManagedAgentsAgentArchivedRunError < Anthropic::Internal::Type::BaseModel
|
|
10
|
-
attr_accessor message: String
|
|
11
|
-
|
|
12
|
-
attr_accessor type: :agent_archived_error
|
|
13
|
-
|
|
14
|
-
def initialize: (message: String, ?type: :agent_archived_error) -> void
|
|
15
|
-
|
|
16
|
-
def to_hash: -> { message: String, type: :agent_archived_error }
|
|
17
|
-
end
|
|
6
|
+
class BetaManagedAgentsAgentArchivedRunError = Anthropic::Models::Beta::BetaManagedAgentsAgentArchivedRunErrorObject
|
|
18
7
|
end
|
|
19
8
|
end
|
|
20
9
|
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
class BetaManagedAgentsAgentArchivedRunErrorObject = Beta::BetaManagedAgentsAgentArchivedRunErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_managed_agents_agent_archived_run_error_object =
|
|
7
|
+
{ message: String, type: :agent_archived_error }
|
|
8
|
+
|
|
9
|
+
class BetaManagedAgentsAgentArchivedRunErrorObject < Anthropic::Internal::Type::BaseModel
|
|
10
|
+
attr_accessor message: String
|
|
11
|
+
|
|
12
|
+
attr_accessor type: :agent_archived_error
|
|
13
|
+
|
|
14
|
+
def initialize: (message: String, ?type: :agent_archived_error) -> void
|
|
15
|
+
|
|
16
|
+
def to_hash: -> { message: String, type: :agent_archived_error }
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -29,12 +29,12 @@ module Anthropic
|
|
|
29
29
|
) -> Anthropic::Beta::BetaManagedAgentsManualDeploymentPausedReason
|
|
30
30
|
| (
|
|
31
31
|
type: :error | "error",
|
|
32
|
-
error: Anthropic::Models::Beta::
|
|
32
|
+
error: Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error_object
|
|
33
33
|
) -> Anthropic::Beta::BetaManagedAgentsErrorDeploymentPausedReason
|
|
34
34
|
| (
|
|
35
35
|
type: Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReason::type_
|
|
36
36
|
| String,
|
|
37
|
-
?error: Anthropic::Models::Beta::
|
|
37
|
+
?error: Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error_object
|
|
38
38
|
) -> Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason
|
|
39
39
|
end
|
|
40
40
|
end
|
|
@@ -3,114 +3,7 @@ module Anthropic
|
|
|
3
3
|
module BetaManagedAgentsDeploymentPausedReasonError = Beta::BetaManagedAgentsDeploymentPausedReasonError
|
|
4
4
|
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
Anthropic::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonError
|
|
8
|
-
| Anthropic::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonError
|
|
9
|
-
| Anthropic::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonError
|
|
10
|
-
| Anthropic::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonError
|
|
11
|
-
| Anthropic::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonError
|
|
12
|
-
| Anthropic::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonError
|
|
13
|
-
| Anthropic::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonError
|
|
14
|
-
| Anthropic::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError
|
|
15
|
-
| Anthropic::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError
|
|
16
|
-
| Anthropic::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonError
|
|
17
|
-
| Anthropic::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonError
|
|
18
|
-
| Anthropic::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonError
|
|
19
|
-
| Anthropic::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonError
|
|
20
|
-
| Anthropic::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonError
|
|
21
|
-
|
|
22
|
-
module BetaManagedAgentsDeploymentPausedReasonError
|
|
23
|
-
extend Anthropic::Internal::Type::Union
|
|
24
|
-
|
|
25
|
-
type type_ =
|
|
26
|
-
:environment_archived_error
|
|
27
|
-
| :agent_archived_error
|
|
28
|
-
| :environment_not_found_error
|
|
29
|
-
| :vault_not_found_error
|
|
30
|
-
| :file_not_found_error
|
|
31
|
-
| :session_resource_not_found_error
|
|
32
|
-
| :workspace_archived_error
|
|
33
|
-
| :organization_disabled_error
|
|
34
|
-
| :memory_store_archived_error
|
|
35
|
-
| :skill_not_found_error
|
|
36
|
-
| :vault_archived_error
|
|
37
|
-
| :unknown_error
|
|
38
|
-
| :self_hosted_resources_unsupported_error
|
|
39
|
-
| :mcp_egress_blocked_error
|
|
40
|
-
|
|
41
|
-
module Type
|
|
42
|
-
extend Anthropic::Internal::Type::Enum
|
|
43
|
-
|
|
44
|
-
ENVIRONMENT_ARCHIVED_ERROR: :environment_archived_error
|
|
45
|
-
AGENT_ARCHIVED_ERROR: :agent_archived_error
|
|
46
|
-
ENVIRONMENT_NOT_FOUND_ERROR: :environment_not_found_error
|
|
47
|
-
VAULT_NOT_FOUND_ERROR: :vault_not_found_error
|
|
48
|
-
FILE_NOT_FOUND_ERROR: :file_not_found_error
|
|
49
|
-
SESSION_RESOURCE_NOT_FOUND_ERROR: :session_resource_not_found_error
|
|
50
|
-
WORKSPACE_ARCHIVED_ERROR: :workspace_archived_error
|
|
51
|
-
ORGANIZATION_DISABLED_ERROR: :organization_disabled_error
|
|
52
|
-
MEMORY_STORE_ARCHIVED_ERROR: :memory_store_archived_error
|
|
53
|
-
SKILL_NOT_FOUND_ERROR: :skill_not_found_error
|
|
54
|
-
VAULT_ARCHIVED_ERROR: :vault_archived_error
|
|
55
|
-
UNKNOWN_ERROR: :unknown_error
|
|
56
|
-
SELF_HOSTED_RESOURCES_UNSUPPORTED_ERROR: :self_hosted_resources_unsupported_error
|
|
57
|
-
MCP_EGRESS_BLOCKED_ERROR: :mcp_egress_blocked_error
|
|
58
|
-
|
|
59
|
-
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonError::type_]
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
def self?.variants: -> ::Array[Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error]
|
|
63
|
-
|
|
64
|
-
def self.new:
|
|
65
|
-
(
|
|
66
|
-
type: :environment_archived_error | "environment_archived_error"
|
|
67
|
-
) -> Anthropic::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonError
|
|
68
|
-
| (
|
|
69
|
-
type: :agent_archived_error | "agent_archived_error"
|
|
70
|
-
) -> Anthropic::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonError
|
|
71
|
-
| (
|
|
72
|
-
type: :environment_not_found_error | "environment_not_found_error"
|
|
73
|
-
) -> Anthropic::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonError
|
|
74
|
-
| (
|
|
75
|
-
type: :vault_not_found_error | "vault_not_found_error"
|
|
76
|
-
) -> Anthropic::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonError
|
|
77
|
-
| (
|
|
78
|
-
type: :file_not_found_error | "file_not_found_error"
|
|
79
|
-
) -> Anthropic::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonError
|
|
80
|
-
| (
|
|
81
|
-
type: :session_resource_not_found_error
|
|
82
|
-
| "session_resource_not_found_error"
|
|
83
|
-
) -> Anthropic::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonError
|
|
84
|
-
| (
|
|
85
|
-
type: :workspace_archived_error | "workspace_archived_error"
|
|
86
|
-
) -> Anthropic::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonError
|
|
87
|
-
| (
|
|
88
|
-
type: :organization_disabled_error | "organization_disabled_error"
|
|
89
|
-
) -> Anthropic::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError
|
|
90
|
-
| (
|
|
91
|
-
type: :memory_store_archived_error | "memory_store_archived_error"
|
|
92
|
-
) -> Anthropic::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError
|
|
93
|
-
| (
|
|
94
|
-
type: :skill_not_found_error | "skill_not_found_error"
|
|
95
|
-
) -> Anthropic::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonError
|
|
96
|
-
| (
|
|
97
|
-
type: :vault_archived_error | "vault_archived_error"
|
|
98
|
-
) -> Anthropic::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonError
|
|
99
|
-
| (
|
|
100
|
-
type: :unknown_error | "unknown_error"
|
|
101
|
-
) -> Anthropic::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonError
|
|
102
|
-
| (
|
|
103
|
-
type: :self_hosted_resources_unsupported_error
|
|
104
|
-
| "self_hosted_resources_unsupported_error"
|
|
105
|
-
) -> Anthropic::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonError
|
|
106
|
-
| (
|
|
107
|
-
type: :mcp_egress_blocked_error | "mcp_egress_blocked_error"
|
|
108
|
-
) -> Anthropic::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonError
|
|
109
|
-
| (
|
|
110
|
-
type: Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonError::type_
|
|
111
|
-
| String
|
|
112
|
-
) -> Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error
|
|
113
|
-
end
|
|
6
|
+
module BetaManagedAgentsDeploymentPausedReasonError = Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonErrorObject
|
|
114
7
|
end
|
|
115
8
|
end
|
|
116
9
|
end
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module BetaManagedAgentsDeploymentPausedReasonErrorObject = Beta::BetaManagedAgentsDeploymentPausedReasonErrorObject
|
|
4
|
+
|
|
5
|
+
module Beta
|
|
6
|
+
type beta_managed_agents_deployment_paused_reason_error_object =
|
|
7
|
+
Anthropic::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonErrorObject
|
|
8
|
+
| Anthropic::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject
|
|
9
|
+
| Anthropic::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject
|
|
10
|
+
| Anthropic::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonErrorObject
|
|
11
|
+
| Anthropic::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject
|
|
12
|
+
| Anthropic::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonErrorObject
|
|
13
|
+
| Anthropic::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonErrorObject
|
|
14
|
+
| Anthropic::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject
|
|
15
|
+
| Anthropic::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject
|
|
16
|
+
| Anthropic::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonErrorObject
|
|
17
|
+
| Anthropic::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonErrorObject
|
|
18
|
+
| Anthropic::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonErrorObject
|
|
19
|
+
| Anthropic::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonErrorObject
|
|
20
|
+
| Anthropic::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject
|
|
21
|
+
|
|
22
|
+
module BetaManagedAgentsDeploymentPausedReasonErrorObject
|
|
23
|
+
extend Anthropic::Internal::Type::Union
|
|
24
|
+
|
|
25
|
+
type type_ =
|
|
26
|
+
:environment_archived_error
|
|
27
|
+
| :agent_archived_error
|
|
28
|
+
| :environment_not_found_error
|
|
29
|
+
| :vault_not_found_error
|
|
30
|
+
| :file_not_found_error
|
|
31
|
+
| :session_resource_not_found_error
|
|
32
|
+
| :workspace_archived_error
|
|
33
|
+
| :organization_disabled_error
|
|
34
|
+
| :memory_store_archived_error
|
|
35
|
+
| :skill_not_found_error
|
|
36
|
+
| :vault_archived_error
|
|
37
|
+
| :unknown_error
|
|
38
|
+
| :self_hosted_resources_unsupported_error
|
|
39
|
+
| :mcp_egress_blocked_error
|
|
40
|
+
|
|
41
|
+
module Type
|
|
42
|
+
extend Anthropic::Internal::Type::Enum
|
|
43
|
+
|
|
44
|
+
ENVIRONMENT_ARCHIVED_ERROR: :environment_archived_error
|
|
45
|
+
AGENT_ARCHIVED_ERROR: :agent_archived_error
|
|
46
|
+
ENVIRONMENT_NOT_FOUND_ERROR: :environment_not_found_error
|
|
47
|
+
VAULT_NOT_FOUND_ERROR: :vault_not_found_error
|
|
48
|
+
FILE_NOT_FOUND_ERROR: :file_not_found_error
|
|
49
|
+
SESSION_RESOURCE_NOT_FOUND_ERROR: :session_resource_not_found_error
|
|
50
|
+
WORKSPACE_ARCHIVED_ERROR: :workspace_archived_error
|
|
51
|
+
ORGANIZATION_DISABLED_ERROR: :organization_disabled_error
|
|
52
|
+
MEMORY_STORE_ARCHIVED_ERROR: :memory_store_archived_error
|
|
53
|
+
SKILL_NOT_FOUND_ERROR: :skill_not_found_error
|
|
54
|
+
VAULT_ARCHIVED_ERROR: :vault_archived_error
|
|
55
|
+
UNKNOWN_ERROR: :unknown_error
|
|
56
|
+
SELF_HOSTED_RESOURCES_UNSUPPORTED_ERROR: :self_hosted_resources_unsupported_error
|
|
57
|
+
MCP_EGRESS_BLOCKED_ERROR: :mcp_egress_blocked_error
|
|
58
|
+
|
|
59
|
+
def self?.values: -> ::Array[Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonErrorObject::type_]
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
def self?.variants: -> ::Array[Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error_object]
|
|
63
|
+
|
|
64
|
+
def self.new:
|
|
65
|
+
(
|
|
66
|
+
type: :environment_archived_error | "environment_archived_error"
|
|
67
|
+
) -> Anthropic::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonErrorObject
|
|
68
|
+
| (
|
|
69
|
+
type: :agent_archived_error | "agent_archived_error"
|
|
70
|
+
) -> Anthropic::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject
|
|
71
|
+
| (
|
|
72
|
+
type: :environment_not_found_error | "environment_not_found_error"
|
|
73
|
+
) -> Anthropic::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject
|
|
74
|
+
| (
|
|
75
|
+
type: :vault_not_found_error | "vault_not_found_error"
|
|
76
|
+
) -> Anthropic::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonErrorObject
|
|
77
|
+
| (
|
|
78
|
+
type: :file_not_found_error | "file_not_found_error"
|
|
79
|
+
) -> Anthropic::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject
|
|
80
|
+
| (
|
|
81
|
+
type: :session_resource_not_found_error
|
|
82
|
+
| "session_resource_not_found_error"
|
|
83
|
+
) -> Anthropic::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonErrorObject
|
|
84
|
+
| (
|
|
85
|
+
type: :workspace_archived_error | "workspace_archived_error"
|
|
86
|
+
) -> Anthropic::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonErrorObject
|
|
87
|
+
| (
|
|
88
|
+
type: :organization_disabled_error | "organization_disabled_error"
|
|
89
|
+
) -> Anthropic::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject
|
|
90
|
+
| (
|
|
91
|
+
type: :memory_store_archived_error | "memory_store_archived_error"
|
|
92
|
+
) -> Anthropic::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject
|
|
93
|
+
| (
|
|
94
|
+
type: :skill_not_found_error | "skill_not_found_error"
|
|
95
|
+
) -> Anthropic::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonErrorObject
|
|
96
|
+
| (
|
|
97
|
+
type: :vault_archived_error | "vault_archived_error"
|
|
98
|
+
) -> Anthropic::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonErrorObject
|
|
99
|
+
| (
|
|
100
|
+
type: :unknown_error | "unknown_error"
|
|
101
|
+
) -> Anthropic::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonErrorObject
|
|
102
|
+
| (
|
|
103
|
+
type: :self_hosted_resources_unsupported_error
|
|
104
|
+
| "self_hosted_resources_unsupported_error"
|
|
105
|
+
) -> Anthropic::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonErrorObject
|
|
106
|
+
| (
|
|
107
|
+
type: :mcp_egress_blocked_error | "mcp_egress_blocked_error"
|
|
108
|
+
) -> Anthropic::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject
|
|
109
|
+
| (
|
|
110
|
+
type: Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonErrorObject::type_
|
|
111
|
+
| String
|
|
112
|
+
) -> Anthropic::Models::Beta::beta_managed_agents_deployment_paused_reason_error_object
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
116
|
+
end
|