anthropic 2.8.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 +72 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +11 -0
- data/lib/anthropic/errors.rb +4 -0
- data/lib/anthropic/helpers/bedrock/client.rb +6 -6
- data/lib/anthropic/helpers/threads/beta_message_thread.rb +30 -6
- data/lib/anthropic/helpers/tools/runner.rb +21 -4
- data/lib/anthropic/helpers/tracing/streamed_message.rb +8 -1
- data/lib/anthropic/internal/tracing.rb +1 -0
- data/lib/anthropic/internal/type/file_input.rb +11 -0
- data/lib/anthropic/internal/type/union.rb +26 -0
- data/lib/anthropic/internal/util.rb +46 -12
- data/lib/anthropic/models/anthropic_beta.rb +47 -30
- 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_agent_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_auto_policy.rb +3 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
- 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_edit_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
- 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_glob_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
- 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_mcp_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
- 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_multiagent_coordinator_params.rb +3 -2
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- 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_read_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
- 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_web_fetch_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
- 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_managed_agents_write_tool_config.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
- 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_bundle_attachment_not_supported_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error.rb +24 -0
- data/lib/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -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_rbac_role.rb +14 -5
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source.rb +52 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rb +25 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role_source_custom.rb +20 -0
- data/lib/anthropic/models/beta/organization/beta_workspace.rb +7 -6
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +15 -2
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_update_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +3 -2
- data/lib/anthropic/models/beta/organization/plugin_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugin_retrieve_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/installation_setting_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/share_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_download_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_list_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/plugins/version_retrieve_params.rb +2 -1
- 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 +9 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rb +7 -4
- 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 +67 -3
- 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/external_key.rb +2 -2
- data/lib/anthropic/models/organization/external_key_create_params.rb +3 -2
- data/lib/anthropic/models/organization/key_profile_mismatch_error.rb +3 -3
- data/lib/anthropic/models/organization/key_profile_mismatch_error_details.rb +3 -3
- data/lib/anthropic/models/organization/rbac_role.rb +14 -5
- data/lib/anthropic/models/organization/rbac_role_source.rb +50 -0
- data/lib/anthropic/models/organization/rbac_role_source_built_in.rb +22 -0
- data/lib/anthropic/models/organization/rbac_role_source_custom.rb +18 -0
- 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 +9 -7
- data/lib/anthropic/models/overloaded_error.rb +2 -22
- data/lib/anthropic/models/overloaded_error_object.rb +28 -0
- data/lib/anthropic/models/parent_organization_required_error.rb +20 -0
- data/lib/anthropic/models/parent_organization_required_error_details.rb +18 -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/rbac_role_not_found_error.rb +19 -0
- data/lib/anthropic/models/rbac_role_not_found_error_details.rb +17 -0
- 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 +84 -0
- data/lib/anthropic/resources/beta/environments/work.rb +21 -20
- data/lib/anthropic/resources/beta/messages/batches.rb +6 -6
- data/lib/anthropic/resources/beta/messages.rb +65 -5
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +51 -0
- data/lib/anthropic/resources/beta/organization/plugins.rb +6 -2
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/resources/messages.rb +48 -0
- data/lib/anthropic/resources/organization/rbac_roles/permissions.rb +4 -0
- data/lib/anthropic/resources/organization/rbac_roles.rb +7 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +123 -0
- data/rbi/anthropic/errors.rbi +4 -0
- data/rbi/anthropic/helpers/bedrock/client.rbi +6 -2
- data/rbi/anthropic/helpers/bedrock/event_stream.rbi +12 -3
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +3 -1
- data/rbi/anthropic/helpers/google_cloud/client.rbi +3 -1
- data/rbi/anthropic/helpers/refusal_fallback.rbi +12 -4
- data/rbi/anthropic/helpers/vertex/client.rbi +6 -2
- data/rbi/anthropic/internal/tracing.rbi +2 -0
- data/rbi/anthropic/internal/type/union.rbi +5 -0
- data/rbi/anthropic/internal/util.rbi +2 -2
- data/rbi/anthropic/models/anthropic_beta.rbi +46 -41
- 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_auto_policy.rbi +3 -1
- 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_multiagent_coordinator_params.rbi +3 -2
- 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_bundle_attachment_not_supported_error.rbi +25 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error.rbi +23 -0
- data/rbi/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +5 -6
- 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_rbac_role.rbi +23 -6
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbi +34 -0
- data/rbi/anthropic/models/beta/organization/beta_workspace.rbi +14 -12
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +11 -1
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbi +88 -0
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +7 -6
- data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +1 -2
- data/rbi/anthropic/models/beta/organization/plugin_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_marketplace_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugin_retrieve_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/installation_setting_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/share_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_download_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_list_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/plugins/version_retrieve_params.rbi +4 -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 +18 -14
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission_deny.rbi +10 -6
- 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 +61 -1
- 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 +5 -6
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +7 -6
- data/rbi/anthropic/models/organization/external_key_update_params.rbi +1 -2
- data/rbi/anthropic/models/organization/key_profile_mismatch_error.rbi +3 -3
- data/rbi/anthropic/models/organization/key_profile_mismatch_error_details.rbi +3 -3
- data/rbi/anthropic/models/organization/rbac_role.rbi +20 -6
- data/rbi/anthropic/models/organization/rbac_role_source.rbi +68 -0
- data/rbi/anthropic/models/organization/rbac_role_source_built_in.rbi +34 -0
- data/rbi/anthropic/models/organization/rbac_role_source_custom.rbi +32 -0
- 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 +18 -14
- data/rbi/anthropic/models/overloaded_error.rbi +1 -29
- data/rbi/anthropic/models/overloaded_error_object.rbi +35 -0
- data/rbi/anthropic/models/parent_organization_required_error.rbi +17 -0
- data/rbi/anthropic/models/parent_organization_required_error_details.rbi +28 -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/rbac_role_not_found_error.rbi +16 -0
- data/rbi/anthropic/models/rbac_role_not_found_error_details.rbi +27 -0
- 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 +101 -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/claude_tag/bundles.rbi +30 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +3 -2
- data/rbi/anthropic/resources/beta/organization/plugin_marketplaces.rbi +4 -2
- data/rbi/anthropic/resources/beta/organization/plugins/installation_settings.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/shares.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +6 -3
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +10 -4
- data/rbi/anthropic/resources/beta/organization/workspaces.rbi +17 -13
- data/rbi/anthropic/resources/organization/external_keys.rbi +3 -2
- data/rbi/anthropic/resources/organization/workspaces.rbi +16 -13
- data/rbi/lib/anthropic/helpers/stainless_helper_header.rbi +6 -1
- data/sig/anthropic/errors.rbs +4 -0
- data/sig/anthropic/helpers/sessions/event_accumulator.rbs +6 -2
- data/sig/anthropic/internal/tracing.rbs +1 -0
- data/sig/anthropic/internal/type/union.rbs +4 -0
- data/sig/anthropic/internal/util.rbs +1 -1
- data/sig/anthropic/models/anthropic_beta.rbs +23 -21
- 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_bundle_attachment_not_supported_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_attachment_not_supported_error_details.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error.rbs +13 -0
- data/sig/anthropic/models/beta/organization/beta_bundle_on_call_error_details.rbs +17 -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/beta_rbac_role.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source.rbs +40 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_built_in.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role_source_custom.rbs +17 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +5 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_update_params.rbs +46 -0
- 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 +66 -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/organization/rbac_role.rbs +5 -0
- data/sig/anthropic/models/organization/rbac_role_source.rbs +38 -0
- data/sig/anthropic/models/organization/rbac_role_source_built_in.rbs +15 -0
- data/sig/anthropic/models/organization/rbac_role_source_custom.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/parent_organization_required_error.rbs +9 -0
- data/sig/anthropic/models/parent_organization_required_error_details.rbs +14 -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/rbac_role_not_found_error.rbs +9 -0
- data/sig/anthropic/models/rbac_role_not_found_error_details.rbs +14 -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 +80 -0
- data/sig/anthropic/resources/beta/messages.rbs +5 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +7 -0
- metadata +371 -2
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :environment_not_found_error]
|
|
10
|
+
required :type, const: :environment_not_found_error
|
|
11
|
+
|
|
12
|
+
# @!method initialize(type: :environment_not_found_error)
|
|
13
|
+
# The deployment's environment no longer exists.
|
|
14
|
+
#
|
|
15
|
+
# @param type [Symbol, :environment_not_found_error]
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject =
|
|
20
|
+
Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -3,25 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :message, String
|
|
12
|
-
|
|
13
|
-
# @!attribute type
|
|
14
|
-
#
|
|
15
|
-
# @return [Symbol, :environment_not_found_error]
|
|
16
|
-
required :type, const: :environment_not_found_error
|
|
17
|
-
|
|
18
|
-
# @!method initialize(message:, type: :environment_not_found_error)
|
|
19
|
-
# The deployment's environment no longer exists.
|
|
20
|
-
#
|
|
21
|
-
# @param message [String] Human-readable error description.
|
|
22
|
-
#
|
|
23
|
-
# @param type [Symbol, :environment_not_found_error]
|
|
24
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsEnvironmentNotFoundRunError has been renamed to
|
|
7
|
+
# BetaManagedAgentsEnvironmentNotFoundRunErrorObject
|
|
8
|
+
BetaManagedAgentsEnvironmentNotFoundRunError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsEnvironmentNotFoundRunErrorObject
|
|
25
10
|
end
|
|
26
11
|
|
|
27
12
|
BetaManagedAgentsEnvironmentNotFoundRunError = Beta::BetaManagedAgentsEnvironmentNotFoundRunError
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsEnvironmentNotFoundRunErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute message
|
|
8
|
+
# Human-readable error description.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :message, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :environment_not_found_error]
|
|
16
|
+
required :type, const: :environment_not_found_error
|
|
17
|
+
|
|
18
|
+
# @!method initialize(message:, type: :environment_not_found_error)
|
|
19
|
+
# The deployment's environment no longer exists.
|
|
20
|
+
#
|
|
21
|
+
# @param message [String] Human-readable error description.
|
|
22
|
+
#
|
|
23
|
+
# @param type [Symbol, :environment_not_found_error]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
BetaManagedAgentsEnvironmentNotFoundRunErrorObject =
|
|
28
|
+
Beta::BetaManagedAgentsEnvironmentNotFoundRunErrorObject
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -7,8 +7,8 @@ module Anthropic
|
|
|
7
7
|
# @!attribute error
|
|
8
8
|
# The failed run's error.
|
|
9
9
|
#
|
|
10
|
-
# @return [Anthropic::Models::Beta::
|
|
11
|
-
required :error, union: -> { Anthropic::Beta::
|
|
10
|
+
# @return [Anthropic::Models::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject]
|
|
11
|
+
required :error, union: -> { Anthropic::Beta::BetaManagedAgentsDeploymentPausedReasonErrorObject }
|
|
12
12
|
|
|
13
13
|
# @!attribute type
|
|
14
14
|
#
|
|
@@ -18,7 +18,7 @@ module Anthropic
|
|
|
18
18
|
# @!method initialize(error:, type: :error)
|
|
19
19
|
# A scheduled fire recorded a failed run whose error auto-pauses the deployment.
|
|
20
20
|
#
|
|
21
|
-
# @param error [Anthropic::Models::Beta::
|
|
21
|
+
# @param error [Anthropic::Models::Beta::BetaManagedAgentsEnvironmentArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsAgentArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsEnvironmentNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsVaultNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSessionResourceNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsWorkspaceArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSkillNotFoundDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsVaultArchivedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsUnknownDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsSelfHostedResourcesUnsupportedDeploymentPausedReasonErrorObject, Anthropic::Models::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject] The failed run's error.
|
|
22
22
|
#
|
|
23
23
|
# @param type [Symbol, :error]
|
|
24
24
|
end
|
data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rb
CHANGED
|
@@ -3,17 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
required :type, const: :file_not_found_error
|
|
11
|
-
|
|
12
|
-
# @!method initialize(type: :file_not_found_error)
|
|
13
|
-
# A file resource referenced by the deployment no longer exists.
|
|
14
|
-
#
|
|
15
|
-
# @param type [Symbol, :file_not_found_error]
|
|
16
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsFileNotFoundDeploymentPausedReasonError has been renamed to
|
|
7
|
+
# BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject
|
|
8
|
+
BetaManagedAgentsFileNotFoundDeploymentPausedReasonError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject
|
|
17
10
|
end
|
|
18
11
|
|
|
19
12
|
BetaManagedAgentsFileNotFoundDeploymentPausedReasonError =
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :file_not_found_error]
|
|
10
|
+
required :type, const: :file_not_found_error
|
|
11
|
+
|
|
12
|
+
# @!method initialize(type: :file_not_found_error)
|
|
13
|
+
# A file resource referenced by the deployment no longer exists.
|
|
14
|
+
#
|
|
15
|
+
# @param type [Symbol, :file_not_found_error]
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject =
|
|
20
|
+
Beta::BetaManagedAgentsFileNotFoundDeploymentPausedReasonErrorObject
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -3,25 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :message, String
|
|
12
|
-
|
|
13
|
-
# @!attribute type
|
|
14
|
-
#
|
|
15
|
-
# @return [Symbol, :file_not_found_error]
|
|
16
|
-
required :type, const: :file_not_found_error
|
|
17
|
-
|
|
18
|
-
# @!method initialize(message:, type: :file_not_found_error)
|
|
19
|
-
# A file resource referenced by the deployment no longer exists.
|
|
20
|
-
#
|
|
21
|
-
# @param message [String] Human-readable error description.
|
|
22
|
-
#
|
|
23
|
-
# @param type [Symbol, :file_not_found_error]
|
|
24
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsFileNotFoundRunError has been renamed to
|
|
7
|
+
# BetaManagedAgentsFileNotFoundRunErrorObject
|
|
8
|
+
BetaManagedAgentsFileNotFoundRunError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsFileNotFoundRunErrorObject
|
|
25
10
|
end
|
|
26
11
|
|
|
27
12
|
BetaManagedAgentsFileNotFoundRunError = Beta::BetaManagedAgentsFileNotFoundRunError
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsFileNotFoundRunErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute message
|
|
8
|
+
# Human-readable error description.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :message, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :file_not_found_error]
|
|
16
|
+
required :type, const: :file_not_found_error
|
|
17
|
+
|
|
18
|
+
# @!method initialize(message:, type: :file_not_found_error)
|
|
19
|
+
# A file resource referenced by the deployment no longer exists.
|
|
20
|
+
#
|
|
21
|
+
# @param message [String] Human-readable error description.
|
|
22
|
+
#
|
|
23
|
+
# @param type [Symbol, :file_not_found_error]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
BetaManagedAgentsFileNotFoundRunErrorObject = Beta::BetaManagedAgentsFileNotFoundRunErrorObject
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -51,7 +51,7 @@ module Anthropic
|
|
|
51
51
|
# Tool calls require user confirmation before execution.
|
|
52
52
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
53
53
|
|
|
54
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
54
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
55
55
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
56
56
|
|
|
57
57
|
module Type
|
|
@@ -61,7 +61,7 @@ module Anthropic
|
|
|
61
61
|
# Tool calls require user confirmation before execution.
|
|
62
62
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
63
63
|
|
|
64
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
64
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
65
65
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
66
66
|
|
|
67
67
|
module Type
|
|
@@ -3,18 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
required :type, const: :mcp_egress_blocked_error
|
|
11
|
-
|
|
12
|
-
# @!method initialize(type: :mcp_egress_blocked_error)
|
|
13
|
-
# An MCP server host used by the deployment's agent is blocked by the
|
|
14
|
-
# environment's network policy.
|
|
15
|
-
#
|
|
16
|
-
# @param type [Symbol, :mcp_egress_blocked_error]
|
|
17
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonError has been renamed to
|
|
7
|
+
# BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject
|
|
8
|
+
BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject
|
|
18
10
|
end
|
|
19
11
|
|
|
20
12
|
BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonError =
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :mcp_egress_blocked_error]
|
|
10
|
+
required :type, const: :mcp_egress_blocked_error
|
|
11
|
+
|
|
12
|
+
# @!method initialize(type: :mcp_egress_blocked_error)
|
|
13
|
+
# An MCP server host used by the deployment's agent is blocked by the
|
|
14
|
+
# environment's network policy.
|
|
15
|
+
#
|
|
16
|
+
# @param type [Symbol, :mcp_egress_blocked_error]
|
|
17
|
+
end
|
|
18
|
+
end
|
|
19
|
+
|
|
20
|
+
BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject =
|
|
21
|
+
Beta::BetaManagedAgentsMCPEgressBlockedDeploymentPausedReasonErrorObject
|
|
22
|
+
end
|
|
23
|
+
end
|
|
@@ -3,26 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :message, String
|
|
12
|
-
|
|
13
|
-
# @!attribute type
|
|
14
|
-
#
|
|
15
|
-
# @return [Symbol, :mcp_egress_blocked_error]
|
|
16
|
-
required :type, const: :mcp_egress_blocked_error
|
|
17
|
-
|
|
18
|
-
# @!method initialize(message:, type: :mcp_egress_blocked_error)
|
|
19
|
-
# An MCP server host used by the deployment's agent is blocked by the
|
|
20
|
-
# environment's network policy.
|
|
21
|
-
#
|
|
22
|
-
# @param message [String] Human-readable error description.
|
|
23
|
-
#
|
|
24
|
-
# @param type [Symbol, :mcp_egress_blocked_error]
|
|
25
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsMCPEgressBlockedRunError has been renamed to
|
|
7
|
+
# BetaManagedAgentsMCPEgressBlockedRunErrorObject
|
|
8
|
+
BetaManagedAgentsMCPEgressBlockedRunError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsMCPEgressBlockedRunErrorObject
|
|
26
10
|
end
|
|
27
11
|
|
|
28
12
|
BetaManagedAgentsMCPEgressBlockedRunError = Beta::BetaManagedAgentsMCPEgressBlockedRunError
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsMCPEgressBlockedRunErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute message
|
|
8
|
+
# Human-readable error description.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :message, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :mcp_egress_blocked_error]
|
|
16
|
+
required :type, const: :mcp_egress_blocked_error
|
|
17
|
+
|
|
18
|
+
# @!method initialize(message:, type: :mcp_egress_blocked_error)
|
|
19
|
+
# An MCP server host used by the deployment's agent is blocked by the
|
|
20
|
+
# environment's network policy.
|
|
21
|
+
#
|
|
22
|
+
# @param message [String] Human-readable error description.
|
|
23
|
+
#
|
|
24
|
+
# @param type [Symbol, :mcp_egress_blocked_error]
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
BetaManagedAgentsMCPEgressBlockedRunErrorObject = Beta::BetaManagedAgentsMCPEgressBlockedRunErrorObject
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -44,7 +44,7 @@ module Anthropic
|
|
|
44
44
|
# Tool calls require user confirmation before execution.
|
|
45
45
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
46
46
|
|
|
47
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
47
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
48
48
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
49
49
|
|
|
50
50
|
module Type
|
|
@@ -47,7 +47,7 @@ module Anthropic
|
|
|
47
47
|
# Tool calls require user confirmation before execution.
|
|
48
48
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
49
49
|
|
|
50
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
50
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
51
51
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
52
52
|
|
|
53
53
|
module Type
|
|
@@ -37,7 +37,7 @@ module Anthropic
|
|
|
37
37
|
# Tool calls require user confirmation before execution.
|
|
38
38
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
39
39
|
|
|
40
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
40
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
41
41
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
42
42
|
|
|
43
43
|
module Type
|
|
@@ -41,7 +41,7 @@ module Anthropic
|
|
|
41
41
|
# Tool calls require user confirmation before execution.
|
|
42
42
|
variant :always_ask, -> { Anthropic::Beta::BetaManagedAgentsAlwaysAskPolicy }
|
|
43
43
|
|
|
44
|
-
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask.
|
|
44
|
+
# The server decides each tool call individually: it judges, from the tool, its input, and the session content so far, whether the call is safe to execute or high-risk, and evaluates it to allow when judged safe and to deny when judged high-risk. A call the server cannot reach a judgement on evaluates to ask, or for some causes to deny, for example when the organization is out of credits or has reached a spend limit.
|
|
45
45
|
variant :auto, -> { Anthropic::Beta::BetaManagedAgentsAutoPolicy }
|
|
46
46
|
|
|
47
47
|
module Type
|
|
@@ -3,17 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
required :type, const: :memory_store_archived_error
|
|
11
|
-
|
|
12
|
-
# @!method initialize(type: :memory_store_archived_error)
|
|
13
|
-
# A memory store referenced by the deployment is archived.
|
|
14
|
-
#
|
|
15
|
-
# @param type [Symbol, :memory_store_archived_error]
|
|
16
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError has been renamed
|
|
7
|
+
# to BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject
|
|
8
|
+
BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject
|
|
17
10
|
end
|
|
18
11
|
|
|
19
12
|
BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonError =
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :memory_store_archived_error]
|
|
10
|
+
required :type, const: :memory_store_archived_error
|
|
11
|
+
|
|
12
|
+
# @!method initialize(type: :memory_store_archived_error)
|
|
13
|
+
# A memory store referenced by the deployment is archived.
|
|
14
|
+
#
|
|
15
|
+
# @param type [Symbol, :memory_store_archived_error]
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject =
|
|
20
|
+
Beta::BetaManagedAgentsMemoryStoreArchivedDeploymentPausedReasonErrorObject
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -3,25 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :message, String
|
|
12
|
-
|
|
13
|
-
# @!attribute type
|
|
14
|
-
#
|
|
15
|
-
# @return [Symbol, :memory_store_archived_error]
|
|
16
|
-
required :type, const: :memory_store_archived_error
|
|
17
|
-
|
|
18
|
-
# @!method initialize(message:, type: :memory_store_archived_error)
|
|
19
|
-
# A memory store referenced by the deployment is archived.
|
|
20
|
-
#
|
|
21
|
-
# @param message [String] Human-readable error description.
|
|
22
|
-
#
|
|
23
|
-
# @param type [Symbol, :memory_store_archived_error]
|
|
24
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsMemoryStoreArchivedRunError has been renamed to
|
|
7
|
+
# BetaManagedAgentsMemoryStoreArchivedRunErrorObject
|
|
8
|
+
BetaManagedAgentsMemoryStoreArchivedRunError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsMemoryStoreArchivedRunErrorObject
|
|
25
10
|
end
|
|
26
11
|
|
|
27
12
|
BetaManagedAgentsMemoryStoreArchivedRunError = Beta::BetaManagedAgentsMemoryStoreArchivedRunError
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsMemoryStoreArchivedRunErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute message
|
|
8
|
+
# Human-readable error description.
|
|
9
|
+
#
|
|
10
|
+
# @return [String]
|
|
11
|
+
required :message, String
|
|
12
|
+
|
|
13
|
+
# @!attribute type
|
|
14
|
+
#
|
|
15
|
+
# @return [Symbol, :memory_store_archived_error]
|
|
16
|
+
required :type, const: :memory_store_archived_error
|
|
17
|
+
|
|
18
|
+
# @!method initialize(message:, type: :memory_store_archived_error)
|
|
19
|
+
# A memory store referenced by the deployment is archived.
|
|
20
|
+
#
|
|
21
|
+
# @param message [String] Human-readable error description.
|
|
22
|
+
#
|
|
23
|
+
# @param type [Symbol, :memory_store_archived_error]
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
BetaManagedAgentsMemoryStoreArchivedRunErrorObject =
|
|
28
|
+
Beta::BetaManagedAgentsMemoryStoreArchivedRunErrorObject
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -22,8 +22,9 @@ module Anthropic
|
|
|
22
22
|
required :type, const: :coordinator
|
|
23
23
|
|
|
24
24
|
# @!method initialize(agents:, type: :coordinator)
|
|
25
|
-
#
|
|
26
|
-
#
|
|
25
|
+
# Recommendation: use `multiagent_20261001` instead of `coordinator`. A
|
|
26
|
+
# coordinator topology: the session's primary thread orchestrates work by spawning
|
|
27
|
+
# session threads, each running an agent drawn from the `agents` roster.
|
|
27
28
|
#
|
|
28
29
|
# Some parameter documentations has been truncated, see
|
|
29
30
|
# {Anthropic::Models::Beta::BetaManagedAgentsMultiagentCoordinatorParams} for more
|
|
@@ -9,7 +9,7 @@ module Anthropic
|
|
|
9
9
|
|
|
10
10
|
discriminator :type
|
|
11
11
|
|
|
12
|
-
# A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
|
|
12
|
+
# Recommendation: use `multiagent_20261001` instead of `coordinator`. A coordinator topology: the session's primary thread orchestrates work by spawning session threads, each running an agent drawn from the `agents` roster.
|
|
13
13
|
variant :coordinator, -> { Anthropic::Beta::BetaManagedAgentsMultiagentCoordinatorParams }
|
|
14
14
|
|
|
15
15
|
# Multiagent configuration with three members, each enabled or disabled on its own. On an update, if the agent's stored `multiagent` also has type `multiagent_20261001`, this configuration is merged into the stored one, level by level, instead of replacing it. A key that the update omits keeps its stored value. A key sent as null takes its default, on create as well, so `"workflows": null` enables workflows. An object sent with a `type` other than the stored one replaces the stored object, and the keys that it omits take their defaults. A `predefined_agents` list that is sent replaces the stored list. Every object that is sent needs its `type`, and an enabled `advisor` needs its `model`. Other validation applies to the merged result.
|
|
@@ -3,17 +3,11 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
# @!method initialize(type: :organization_disabled_error)
|
|
13
|
-
# The deployment's organization is disabled.
|
|
14
|
-
#
|
|
15
|
-
# @param type [Symbol, :organization_disabled_error]
|
|
16
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError has been
|
|
7
|
+
# renamed to
|
|
8
|
+
# BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject
|
|
9
|
+
BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError =
|
|
10
|
+
Anthropic::Models::Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject
|
|
17
11
|
end
|
|
18
12
|
|
|
19
13
|
BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonError =
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
class BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
# @!attribute type
|
|
8
|
+
#
|
|
9
|
+
# @return [Symbol, :organization_disabled_error]
|
|
10
|
+
required :type, const: :organization_disabled_error
|
|
11
|
+
|
|
12
|
+
# @!method initialize(type: :organization_disabled_error)
|
|
13
|
+
# The deployment's organization is disabled.
|
|
14
|
+
#
|
|
15
|
+
# @param type [Symbol, :organization_disabled_error]
|
|
16
|
+
end
|
|
17
|
+
end
|
|
18
|
+
|
|
19
|
+
BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject =
|
|
20
|
+
Beta::BetaManagedAgentsOrganizationDisabledDeploymentPausedReasonErrorObject
|
|
21
|
+
end
|
|
22
|
+
end
|
|
@@ -3,25 +3,10 @@
|
|
|
3
3
|
module Anthropic
|
|
4
4
|
module Models
|
|
5
5
|
module Beta
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
# @return [String]
|
|
11
|
-
required :message, String
|
|
12
|
-
|
|
13
|
-
# @!attribute type
|
|
14
|
-
#
|
|
15
|
-
# @return [Symbol, :organization_disabled_error]
|
|
16
|
-
required :type, const: :organization_disabled_error
|
|
17
|
-
|
|
18
|
-
# @!method initialize(message:, type: :organization_disabled_error)
|
|
19
|
-
# The deployment's organization is disabled.
|
|
20
|
-
#
|
|
21
|
-
# @param message [String] Human-readable error description.
|
|
22
|
-
#
|
|
23
|
-
# @param type [Symbol, :organization_disabled_error]
|
|
24
|
-
end
|
|
6
|
+
# @deprecated BetaManagedAgentsOrganizationDisabledRunError has been renamed to
|
|
7
|
+
# BetaManagedAgentsOrganizationDisabledRunErrorObject
|
|
8
|
+
BetaManagedAgentsOrganizationDisabledRunError =
|
|
9
|
+
Anthropic::Models::Beta::BetaManagedAgentsOrganizationDisabledRunErrorObject
|
|
25
10
|
end
|
|
26
11
|
|
|
27
12
|
BetaManagedAgentsOrganizationDisabledRunError = Beta::BetaManagedAgentsOrganizationDisabledRunError
|