anthropic 1.81.0 → 2.0.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 +37 -0
- data/LICENSE +197 -4
- data/LICENSE-MIT +11 -0
- data/README.md +2 -2
- data/lib/anthropic/client.rb +65 -72
- data/lib/anthropic/credentials.rb +4 -4
- data/lib/anthropic/helpers/aws/client.rb +2 -2
- data/lib/anthropic/helpers/aws_auth.rb +3 -10
- data/lib/anthropic/helpers/bedrock/client.rb +7 -12
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +3 -11
- data/lib/anthropic/helpers/google_cloud/client.rb +6 -17
- data/lib/anthropic/helpers/tools/runner.rb +8 -6
- data/lib/anthropic/helpers/vertex/client.rb +7 -5
- data/lib/anthropic/internal/report_page_cursor.rb +1 -1
- data/lib/anthropic/internal/tracing.rb +10 -4
- data/lib/anthropic/internal/transport/base_client.rb +8 -5
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/assistant_message_param.rb +21 -0
- data/lib/anthropic/models/beta/agent_create_params.rb +3 -3
- data/lib/anthropic/models/beta/agent_update_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_assistant_message_param.rb +25 -0
- data/lib/anthropic/models/beta/beta_dream.rb +5 -15
- data/lib/anthropic/models/beta/beta_dream_input.rb +2 -2
- data/lib/anthropic/models/beta/beta_dream_memory_store_input.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_memory_store_output.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_output.rb +4 -14
- data/lib/anthropic/models/beta/beta_dream_sessions_input.rb +4 -14
- data/lib/anthropic/models/beta/beta_environment_delete_response.rb +4 -16
- data/lib/anthropic/models/beta/beta_managed_agents_advisor.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_advisor_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_message_preview.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_reference.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +8 -18
- data/lib/anthropic/models/beta/beta_managed_agents_always_allow_policy.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_always_ask_policy.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_branch_checkout.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_budget_limit.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_commit_checkout.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_skill.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_skill_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_custom_tool_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_session.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deleted_vault.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_delta_content.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_delta_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deployment.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +14 -38
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +20 -30
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +8 -18
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_effort_high.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_low.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_max.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_medium.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_effort_xhigh.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_file_resource_config.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_file_resource_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +7 -17
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +5 -5
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +6 -16
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_schedule.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_params.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent.rb +1 -1
- data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +6 -16
- data/lib/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +3 -3
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +10 -20
- data/lib/anthropic/models/beta/beta_managed_agents_session_updated_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_session_usage_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_start_event.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_system_content_block.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_system_message_event.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_unknown_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/beta_managed_agents_vault.rb +5 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rb +4 -15
- data/lib/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rb +4 -14
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +2 -2
- data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +2 -2
- data/lib/anthropic/models/beta/beta_message_content_param.rb +24 -0
- data/lib/anthropic/models/beta/beta_message_param.rb +37 -71
- data/lib/anthropic/models/beta/beta_output_behavior.rb +2 -2
- data/lib/anthropic/models/beta/beta_output_behavior_create_new.rb +4 -14
- data/lib/anthropic/models/beta/beta_output_behavior_update_existing.rb +4 -14
- data/lib/anthropic/models/beta/beta_system_message_param.rb +160 -0
- data/lib/anthropic/models/beta/beta_user_message_param.rb +25 -0
- data/lib/anthropic/models/beta/beta_user_profile.rb +4 -16
- data/lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb +4 -16
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +16 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb +43 -0
- data/lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rb +43 -0
- data/lib/anthropic/models/beta/deployment_create_params.rb +3 -3
- data/lib/anthropic/models/beta/deployment_update_params.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +3 -3
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rb +5 -16
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +3 -6
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +2 -2
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rb +5 -16
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rb +5 -15
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rb +4 -14
- data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rb +5 -15
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +4 -5
- data/lib/anthropic/models/beta/message_create_params.rb +5 -59
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +5 -59
- data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -15
- data/lib/anthropic/models/beta/organization/beta_api_key_workspace_scope.rb +3 -4
- data/lib/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +113 -0
- data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +6 -46
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +104 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rb +28 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rb +20 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +1 -12
- data/lib/anthropic/models/beta/organization/spend_limit_list_params.rb +16 -3
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +73 -0
- data/lib/anthropic/models/beta/organization/webhook_delete_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_list_params.rb +75 -0
- data/lib/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rb +39 -0
- data/lib/anthropic/models/beta/organization/webhook_retrieve_params.rb +38 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +105 -0
- data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +6 -47
- data/lib/anthropic/models/beta/session_create_params.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +6 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +9 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +8 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +10 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +7 -13
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_inline_agent.rb +5 -5
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +7 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rb +7 -30
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_authentication_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_checkout_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_clone_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_forbidden_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_repository_not_found_error.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +7 -7
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +12 -28
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +35 -62
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +3 -3
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +8 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +8 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rb +5 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rb +4 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +37 -64
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +37 -64
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_block.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rb +4 -14
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +7 -17
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +9 -20
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +6 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +7 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +9 -19
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +8 -18
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rb +5 -15
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rb +5 -16
- data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +9 -19
- data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +3 -3
- data/lib/anthropic/models/beta/sessions/resource_update_response.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +8 -21
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +2 -7
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +6 -22
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +3 -3
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +3 -12
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +2 -8
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rb +5 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rb +4 -14
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rb +5 -16
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rb +4 -15
- data/lib/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rb +4 -15
- data/lib/anthropic/models/beta/vaults/credential_create_params.rb +3 -6
- data/lib/anthropic/models/beta/vaults/credential_update_params.rb +3 -6
- data/lib/anthropic/models/message_content_param.rb +19 -0
- data/lib/anthropic/models/message_count_tokens_params.rb +4 -5
- data/lib/anthropic/models/message_create_params.rb +5 -59
- data/lib/anthropic/models/message_param.rb +33 -28
- data/lib/anthropic/models/messages/batch_create_params.rb +5 -59
- data/lib/anthropic/models/model_list_params.rb +1 -13
- data/lib/anthropic/models/model_retrieve_params.rb +1 -13
- data/lib/anthropic/models/organization/api_key.rb +1 -1
- data/lib/anthropic/models/organization/api_key_workspace_scope.rb +3 -4
- data/lib/anthropic/models/organization/organization_rate_limit.rb +5 -8
- data/lib/anthropic/models/organization/workspaces/workspace_rate_limit.rb +5 -8
- data/lib/anthropic/models/system_message_param.rb +36 -0
- data/lib/anthropic/models/user_message_param.rb +21 -0
- data/lib/anthropic/models.rb +8 -4
- data/lib/anthropic/resources/beta/messages.rb +8 -32
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +11 -7
- data/lib/anthropic/resources/beta/organization/webhooks.rb +287 -0
- data/lib/anthropic/resources/beta/organization.rb +4 -0
- data/lib/anthropic/resources/beta/sessions/resources.rb +3 -3
- data/lib/anthropic/resources/beta/webhooks.rb +1 -0
- data/lib/anthropic/resources/messages.rb +7 -25
- data/lib/anthropic/resources/models.rb +4 -11
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +22 -3
- data/rbi/anthropic/client.rbi +19 -7
- data/rbi/anthropic/helpers/bedrock/client.rbi +0 -5
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +0 -4
- data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
- data/rbi/anthropic/helpers/tools/runner.rbi +5 -1
- data/rbi/anthropic/helpers/vertex/client.rbi +0 -2
- data/rbi/anthropic/internal/tracing.rbi +8 -1
- data/rbi/anthropic/models/anthropic_beta.rbi +2 -0
- data/rbi/anthropic/models/assistant_message_param.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_assistant_message_param.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_dream.rbi +6 -24
- data/rbi/anthropic/models/beta/beta_dream_memory_store_input.rbi +6 -42
- data/rbi/anthropic/models/beta/beta_dream_memory_store_output.rbi +6 -42
- data/rbi/anthropic/models/beta/beta_dream_output.rbi +6 -38
- data/rbi/anthropic/models/beta/beta_dream_sessions_input.rbi +6 -38
- data/rbi/anthropic/models/beta/beta_environment_delete_response.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_advisor.rbi +4 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_advisor_params.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +6 -34
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_params.rbi +7 -46
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_reference.rbi +6 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbi +6 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_branch_checkout.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_budget_limit.rbi +4 -36
- data/rbi/anthropic/models/beta/beta_managed_agents_commit_checkout.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbi +6 -47
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_session.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_deleted_vault.rbi +4 -50
- data/rbi/anthropic/models/beta/beta_managed_agents_delta_content.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_delta_event.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_high.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_low.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_max.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_medium.rbi +4 -48
- data/rbi/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbi +4 -43
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_config.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_file_resource_params.rbi +6 -45
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbi +6 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule.rbi +6 -37
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_params.rbi +6 -47
- data/rbi/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +6 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +4 -39
- data/rbi/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_updated_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_session_usage_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_start_event.rbi +4 -35
- data/rbi/anthropic/models/beta/beta_managed_agents_system_content_block.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_system_message_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbi +7 -52
- data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/beta_managed_agents_vault.rbi +6 -34
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbi +4 -49
- data/rbi/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbi +4 -51
- data/rbi/anthropic/models/beta/beta_message_content_param.rbi +37 -0
- data/rbi/anthropic/models/beta/beta_message_param.rbi +49 -145
- data/rbi/anthropic/models/beta/beta_output_behavior_create_new.rbi +4 -42
- data/rbi/anthropic/models/beta/beta_output_behavior_update_existing.rbi +6 -49
- data/rbi/anthropic/models/beta/beta_system_message_param.rbi +300 -0
- data/rbi/anthropic/models/beta/beta_user_message_param.rbi +45 -0
- data/rbi/anthropic/models/beta/beta_user_profile.rbi +7 -32
- data/rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi +8 -48
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +19 -4
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbi +65 -0
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbi +7 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbi +4 -51
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbi +5 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbi +4 -51
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbi +6 -41
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbi +7 -50
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbi +4 -49
- data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbi +5 -50
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +29 -7
- data/rbi/anthropic/models/beta/message_create_params.rbi +29 -76
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +32 -79
- data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +3 -16
- data/rbi/anthropic/models/beta/organization/beta_api_key_workspace_scope.rbi +4 -6
- data/rbi/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +175 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +5 -86
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +164 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbi +37 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +0 -10
- data/rbi/anthropic/models/beta/organization/spend_limit_list_params.rbi +21 -2
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +151 -0
- data/rbi/anthropic/models/beta/organization/webhook_delete_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_list_params.rbi +153 -0
- data/rbi/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_retrieve_params.rbi +75 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +241 -0
- data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +5 -86
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +7 -46
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbi +8 -87
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbi +6 -47
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbi +6 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbi +4 -51
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbi +4 -49
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbi +5 -52
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbi +5 -52
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbi +7 -46
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +4 -39
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbi +4 -51
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +4 -39
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbi +6 -41
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbi +6 -47
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbi +7 -50
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbi +7 -48
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbi +6 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbi +7 -48
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbi +4 -49
- data/rbi/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbi +4 -49
- data/rbi/anthropic/models/message_content_param.rbi +28 -0
- data/rbi/anthropic/models/message_count_tokens_params.rbi +29 -7
- data/rbi/anthropic/models/message_create_params.rbi +29 -76
- data/rbi/anthropic/models/message_param.rbi +28 -52
- data/rbi/anthropic/models/messages/batch_create_params.rbi +32 -79
- data/rbi/anthropic/models/model_list_params.rbi +0 -19
- data/rbi/anthropic/models/model_retrieve_params.rbi +0 -19
- data/rbi/anthropic/models/organization/api_key.rbi +2 -3
- data/rbi/anthropic/models/organization/api_key_workspace_scope.rbi +4 -6
- data/rbi/anthropic/models/organization/organization_rate_limit.rbi +5 -8
- data/rbi/anthropic/models/organization/workspaces/workspace_rate_limit.rbi +5 -8
- data/rbi/anthropic/models/system_message_param.rbi +59 -0
- data/rbi/anthropic/models/user_message_param.rbi +35 -0
- data/rbi/anthropic/models.rbi +8 -4
- data/rbi/anthropic/resources/beta/messages.rbi +46 -124
- data/rbi/anthropic/resources/beta/organization/spend_limits.rbi +12 -4
- data/rbi/anthropic/resources/beta/organization/webhooks.rbi +248 -0
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/rbi/anthropic/resources/beta/sessions/resources.rbi +3 -4
- data/rbi/anthropic/resources/messages.rbi +36 -93
- data/rbi/anthropic/resources/models.rbi +0 -6
- data/sig/anthropic/client.rbs +2 -2
- data/sig/anthropic/helpers/bedrock/client.rbs +0 -4
- data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
- data/sig/anthropic/helpers/vertex/client.rbs +0 -2
- data/sig/anthropic/internal/tracing.rbs +6 -1
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/assistant_message_param.rbs +22 -0
- data/sig/anthropic/models/beta/beta_assistant_message_param.rbs +29 -0
- data/sig/anthropic/models/beta/beta_dream.rbs +5 -15
- data/sig/anthropic/models/beta/beta_dream_memory_store_input.rbs +4 -23
- data/sig/anthropic/models/beta/beta_dream_memory_store_output.rbs +4 -23
- data/sig/anthropic/models/beta/beta_dream_output.rbs +4 -24
- data/sig/anthropic/models/beta/beta_dream_sessions_input.rbs +4 -23
- data/sig/anthropic/models/beta/beta_environment_delete_response.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_advisor.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_advisor_params.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_agent_archived_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_message_preview.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_params.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_agent_reference.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_agent_thinking_preview.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset20260401_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_always_allow_policy.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_always_ask_policy.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_anthropic_skill_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_branch_checkout.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_budget_limit.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_commit_checkout.rbs +4 -24
- data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_cron_schedule_params.rbs +4 -22
- data/sig/anthropic/models/beta/beta_managed_agents_custom_skill.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_custom_skill_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_custom_tool.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_custom_tool_params.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_memory_store.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_session.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_deleted_vault.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_delta_content.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_delta_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_system_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_effort_high.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_low.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_max.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_medium.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_effort_xhigh.rbs +4 -19
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_environment_not_found_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_error_deployment_paused_reason.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_file_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_file_resource_config.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_file_resource_params.rbs +5 -23
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_manual_deployment_paused_reason.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_manual_trigger_context.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_egress_blocked_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_server_url_definition.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_params.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_config.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_memory_store_resource_param.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator_params.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_multiagent_self_params.rbs +4 -21
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_organization_disabled_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_outcome_evaluation_resource.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_schedule.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_schedule_params.rbs +4 -22
- data/sig/anthropic/models/beta/beta_managed_agents_schedule_trigger_context.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_deployment_paused_reason_error.rbs +4 -18
- data/sig/anthropic/models/beta/beta_managed_agents_self_hosted_resources_unsupported_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_creation_rejected_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_session_rate_limited_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_session_resource_not_found_run_error.rbs +4 -17
- data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_updated_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_session_usage_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_skill_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_start_event.rbs +4 -14
- data/sig/anthropic/models/beta/beta_managed_agents_system_content_block.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_system_message_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_unknown_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_url_mcp_server_params.rbs +4 -26
- data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_vault.rbs +5 -15
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_vault_archived_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_vault_not_found_run_error.rbs +4 -23
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_deployment_paused_reason_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_managed_agents_workspace_archived_run_error.rbs +4 -20
- data/sig/anthropic/models/beta/beta_message_content_param.rbs +18 -0
- data/sig/anthropic/models/beta/beta_message_param.rbs +30 -50
- data/sig/anthropic/models/beta/beta_output_behavior_create_new.rbs +4 -19
- data/sig/anthropic/models/beta/beta_output_behavior_update_existing.rbs +4 -20
- data/sig/anthropic/models/beta/beta_system_message_param.rbs +116 -0
- data/sig/anthropic/models/beta/beta_user_message_param.rbs +29 -0
- data/sig/anthropic/models/beta/beta_user_profile.rbs +5 -15
- data/sig/anthropic/models/beta/beta_user_profile_enrollment_url.rbs +5 -23
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +23 -2
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbs +39 -0
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_api_actor.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_conflict_error.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_content_sha256_precondition.rbs +5 -21
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_deleted_memory.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_path_conflict_error.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_precondition_failed_error.rbs +5 -18
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_prefix.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version.rbs +5 -15
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_precondition.rbs +5 -21
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_session_actor.rbs +4 -23
- data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_user_actor.rbs +4 -23
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +4 -4
- data/sig/anthropic/models/beta/message_create_params.rbs +4 -25
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +7 -28
- data/sig/anthropic/models/beta/organization/beta_api_key.rbs +2 -7
- data/sig/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +82 -0
- data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +0 -26
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +77 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_rbac_role.rbs +0 -5
- data/sig/anthropic/models/beta/organization/spend_limit_list_params.rbs +7 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +71 -0
- data/sig/anthropic/models/beta/organization/webhook_delete_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_list_params.rbs +67 -0
- data/sig/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_retrieve_params.rbs +39 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +102 -0
- data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +0 -26
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_custom_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thinking_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_context_compacted_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_use_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_document_source.rbs +4 -22
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_base64_image_source.rbs +4 -22
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_delete_session_resource.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +7 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_document_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_image_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_file_rubric_params.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_memory_store_resource.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_plain_text_document_source.rbs +7 -31
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_redacted_block.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_exhausted.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_retrying.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_retry_status_terminal.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_block.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_search_result_content.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_budget_reached.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_deleted_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_end_turn.rbs +4 -21
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_requires_action.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_retries_exhausted.rbs +4 -20
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_rescheduled_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_running_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_terminated_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_created_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_rescheduled_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_running_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_terminated_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_end_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_model_request_start_event.rbs +4 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_end_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_ongoing_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_span_outcome_evaluation_start_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_system_message_event_params.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_block.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_text_rubric_params.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_document_source.rbs +4 -23
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_url_image_source.rbs +4 -24
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_interrupt_event_params.rbs +5 -18
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +4 -14
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_confirmation_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_deleted_credential.rbs +4 -23
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +4 -14
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_create_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_update_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_params.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_limited_credential_networking_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_auth_response.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_create_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_update_params.rbs +5 -15
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_auth_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_create_params.rbs +4 -18
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_static_bearer_update_params.rbs +4 -23
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_basic_update_param.rbs +5 -21
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_none_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_param.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_response.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_token_endpoint_auth_post_update_param.rbs +5 -21
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_params.rbs +4 -20
- data/sig/anthropic/models/beta/vaults/beta_managed_agents_unrestricted_credential_networking_response.rbs +4 -20
- data/sig/anthropic/models/message_content_param.rbs +14 -0
- data/sig/anthropic/models/message_count_tokens_params.rbs +4 -4
- data/sig/anthropic/models/message_create_params.rbs +4 -25
- data/sig/anthropic/models/message_param.rbs +26 -28
- data/sig/anthropic/models/messages/batch_create_params.rbs +7 -28
- data/sig/anthropic/models/model_list_params.rbs +0 -9
- data/sig/anthropic/models/model_retrieve_params.rbs +1 -13
- data/sig/anthropic/models/system_message_param.rbs +32 -0
- data/sig/anthropic/models/user_message_param.rbs +22 -0
- data/sig/anthropic/models.rbs +9 -5
- data/sig/anthropic/resources/beta/messages.rbs +4 -13
- data/sig/anthropic/resources/beta/organization/spend_limits.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/webhooks.rbs +58 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- data/sig/anthropic/resources/beta/sessions/resources.rbs +1 -1
- data/sig/anthropic/resources/messages.rbs +4 -13
- data/sig/anthropic/resources/models.rbs +0 -2
- metadata +70 -12
- data/lib/anthropic/models/completion.rb +0 -67
- data/lib/anthropic/models/completion_create_params.rb +0 -159
- data/lib/anthropic/resources/completions.rb +0 -149
- data/rbi/anthropic/models/completion.rbi +0 -95
- data/rbi/anthropic/models/completion_create_params.rbi +0 -236
- data/rbi/anthropic/resources/completions.rbi +0 -218
- data/sig/anthropic/models/completion.rbs +0 -40
- data/sig/anthropic/models/completion_create_params.rbs +0 -87
- data/sig/anthropic/resources/completions.rbs +0 -35
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anthropic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthropic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-10-
|
|
11
|
+
date: 2026-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -88,6 +88,7 @@ files:
|
|
|
88
88
|
- ".ignore"
|
|
89
89
|
- CHANGELOG.md
|
|
90
90
|
- LICENSE
|
|
91
|
+
- LICENSE-MIT
|
|
91
92
|
- README.md
|
|
92
93
|
- SECURITY.md
|
|
93
94
|
- lib/anthropic.rb
|
|
@@ -174,6 +175,7 @@ files:
|
|
|
174
175
|
- lib/anthropic/models.rb
|
|
175
176
|
- lib/anthropic/models/anthropic_beta.rb
|
|
176
177
|
- lib/anthropic/models/api_error_object.rb
|
|
178
|
+
- lib/anthropic/models/assistant_message_param.rb
|
|
177
179
|
- lib/anthropic/models/authentication_error.rb
|
|
178
180
|
- lib/anthropic/models/base64_image_source.rb
|
|
179
181
|
- lib/anthropic/models/base64_pdf_source.rb
|
|
@@ -203,6 +205,7 @@ files:
|
|
|
203
205
|
- lib/anthropic/models/beta/beta_advisor_tool_result_error.rb
|
|
204
206
|
- lib/anthropic/models/beta/beta_advisor_tool_result_error_param.rb
|
|
205
207
|
- lib/anthropic/models/beta/beta_all_thinking_turns.rb
|
|
208
|
+
- lib/anthropic/models/beta/beta_assistant_message_param.rb
|
|
206
209
|
- lib/anthropic/models/beta/beta_base64_image_source.rb
|
|
207
210
|
- lib/anthropic/models/beta/beta_base64_pdf_block.rb
|
|
208
211
|
- lib/anthropic/models/beta/beta_base64_pdf_source.rb
|
|
@@ -717,6 +720,7 @@ files:
|
|
|
717
720
|
- lib/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rb
|
|
718
721
|
- lib/anthropic/models/beta/beta_memory_tool_20250818_view_command.rb
|
|
719
722
|
- lib/anthropic/models/beta/beta_message.rb
|
|
723
|
+
- lib/anthropic/models/beta/beta_message_content_param.rb
|
|
720
724
|
- lib/anthropic/models/beta/beta_message_delta_usage.rb
|
|
721
725
|
- lib/anthropic/models/beta/beta_message_iteration_usage.rb
|
|
722
726
|
- lib/anthropic/models/beta/beta_message_param.rb
|
|
@@ -776,6 +780,7 @@ files:
|
|
|
776
780
|
- lib/anthropic/models/beta/beta_stop_reason.rb
|
|
777
781
|
- lib/anthropic/models/beta/beta_summarize_compaction.rb
|
|
778
782
|
- lib/anthropic/models/beta/beta_system_message_output_config.rb
|
|
783
|
+
- lib/anthropic/models/beta/beta_system_message_param.rb
|
|
779
784
|
- lib/anthropic/models/beta/beta_target_store_held_error.rb
|
|
780
785
|
- lib/anthropic/models/beta/beta_text_block.rb
|
|
781
786
|
- lib/anthropic/models/beta/beta_text_block_param.rb
|
|
@@ -853,6 +858,7 @@ files:
|
|
|
853
858
|
- lib/anthropic/models/beta/beta_url_pdf_source.rb
|
|
854
859
|
- lib/anthropic/models/beta/beta_usage.rb
|
|
855
860
|
- lib/anthropic/models/beta/beta_user_location.rb
|
|
861
|
+
- lib/anthropic/models/beta/beta_user_message_param.rb
|
|
856
862
|
- lib/anthropic/models/beta/beta_user_profile.rb
|
|
857
863
|
- lib/anthropic/models/beta/beta_user_profile_enrollment_url.rb
|
|
858
864
|
- lib/anthropic/models/beta/beta_user_profile_external_user_details.rb
|
|
@@ -926,6 +932,8 @@ files:
|
|
|
926
932
|
- lib/anthropic/models/beta/beta_webhook_session_thread_idled_event_data.rb
|
|
927
933
|
- lib/anthropic/models/beta/beta_webhook_session_thread_terminated_event_data.rb
|
|
928
934
|
- lib/anthropic/models/beta/beta_webhook_session_updated_event_data.rb
|
|
935
|
+
- lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb
|
|
936
|
+
- lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rb
|
|
929
937
|
- lib/anthropic/models/beta/beta_webhook_vault_archived_event_data.rb
|
|
930
938
|
- lib/anthropic/models/beta/beta_webhook_vault_created_event_data.rb
|
|
931
939
|
- lib/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rb
|
|
@@ -1110,12 +1118,14 @@ files:
|
|
|
1110
1118
|
- lib/anthropic/models/beta/organization/beta_data_residency.rb
|
|
1111
1119
|
- lib/anthropic/models/beta/organization/beta_data_residency_create_config.rb
|
|
1112
1120
|
- lib/anthropic/models/beta/organization/beta_data_residency_update_config.rb
|
|
1121
|
+
- lib/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rb
|
|
1113
1122
|
- lib/anthropic/models/beta/organization/beta_deleted_plugin.rb
|
|
1114
1123
|
- lib/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rb
|
|
1115
1124
|
- lib/anthropic/models/beta/organization/beta_external_key.rb
|
|
1116
1125
|
- lib/anthropic/models/beta/organization/beta_external_key_attached_attachment.rb
|
|
1117
1126
|
- lib/anthropic/models/beta/organization/beta_external_key_unattached_attachment.rb
|
|
1118
1127
|
- lib/anthropic/models/beta/organization/beta_gcp_external_key_config.rb
|
|
1128
|
+
- lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb
|
|
1119
1129
|
- lib/anthropic/models/beta/organization/beta_no_billing_workspace_role.rb
|
|
1120
1130
|
- lib/anthropic/models/beta/organization/beta_organization_invite.rb
|
|
1121
1131
|
- lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb
|
|
@@ -1127,6 +1137,9 @@ files:
|
|
|
1127
1137
|
- lib/anthropic/models/beta/organization/beta_organization_rate_limit_value.rb
|
|
1128
1138
|
- lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb
|
|
1129
1139
|
- lib/anthropic/models/beta/organization/beta_organization_user.rb
|
|
1140
|
+
- lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb
|
|
1141
|
+
- lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rb
|
|
1142
|
+
- lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rb
|
|
1130
1143
|
- lib/anthropic/models/beta/organization/beta_plugin.rb
|
|
1131
1144
|
- lib/anthropic/models/beta/organization/beta_plugin_api_actor.rb
|
|
1132
1145
|
- lib/anthropic/models/beta/organization/beta_plugin_component.rb
|
|
@@ -1308,6 +1321,12 @@ files:
|
|
|
1308
1321
|
- lib/anthropic/models/beta/organization/user_remove_response.rb
|
|
1309
1322
|
- lib/anthropic/models/beta/organization/user_retrieve_params.rb
|
|
1310
1323
|
- lib/anthropic/models/beta/organization/user_update_params.rb
|
|
1324
|
+
- lib/anthropic/models/beta/organization/webhook_create_params.rb
|
|
1325
|
+
- lib/anthropic/models/beta/organization/webhook_delete_params.rb
|
|
1326
|
+
- lib/anthropic/models/beta/organization/webhook_list_params.rb
|
|
1327
|
+
- lib/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rb
|
|
1328
|
+
- lib/anthropic/models/beta/organization/webhook_retrieve_params.rb
|
|
1329
|
+
- lib/anthropic/models/beta/organization/webhook_update_params.rb
|
|
1311
1330
|
- lib/anthropic/models/beta/organization/workspace_archive_params.rb
|
|
1312
1331
|
- lib/anthropic/models/beta/organization/workspace_create_params.rb
|
|
1313
1332
|
- lib/anthropic/models/beta/organization/workspace_list_params.rb
|
|
@@ -1721,8 +1740,6 @@ files:
|
|
|
1721
1740
|
- lib/anthropic/models/code_execution_tool_result_error.rb
|
|
1722
1741
|
- lib/anthropic/models/code_execution_tool_result_error_code.rb
|
|
1723
1742
|
- lib/anthropic/models/code_execution_tool_result_error_param.rb
|
|
1724
|
-
- lib/anthropic/models/completion.rb
|
|
1725
|
-
- lib/anthropic/models/completion_create_params.rb
|
|
1726
1743
|
- lib/anthropic/models/computer_cursor_position_config.rb
|
|
1727
1744
|
- lib/anthropic/models/computer_cursor_position_input.rb
|
|
1728
1745
|
- lib/anthropic/models/computer_cursor_position_tool_use_block.rb
|
|
@@ -1818,6 +1835,7 @@ files:
|
|
|
1818
1835
|
- lib/anthropic/models/json_output_format.rb
|
|
1819
1836
|
- lib/anthropic/models/memory_tool_20250818.rb
|
|
1820
1837
|
- lib/anthropic/models/message.rb
|
|
1838
|
+
- lib/anthropic/models/message_content_param.rb
|
|
1821
1839
|
- lib/anthropic/models/message_count_tokens_params.rb
|
|
1822
1840
|
- lib/anthropic/models/message_count_tokens_tool.rb
|
|
1823
1841
|
- lib/anthropic/models/message_create_params.rb
|
|
@@ -2011,6 +2029,7 @@ files:
|
|
|
2011
2029
|
- lib/anthropic/models/skills/version_list_params.rb
|
|
2012
2030
|
- lib/anthropic/models/skills/version_retrieve_params.rb
|
|
2013
2031
|
- lib/anthropic/models/stop_reason.rb
|
|
2032
|
+
- lib/anthropic/models/system_message_param.rb
|
|
2014
2033
|
- lib/anthropic/models/text_block.rb
|
|
2015
2034
|
- lib/anthropic/models/text_block_param.rb
|
|
2016
2035
|
- lib/anthropic/models/text_citation.rb
|
|
@@ -2068,6 +2087,7 @@ files:
|
|
|
2068
2087
|
- lib/anthropic/models/url_pdf_source.rb
|
|
2069
2088
|
- lib/anthropic/models/usage.rb
|
|
2070
2089
|
- lib/anthropic/models/user_location.rb
|
|
2090
|
+
- lib/anthropic/models/user_message_param.rb
|
|
2071
2091
|
- lib/anthropic/models/user_profile.rb
|
|
2072
2092
|
- lib/anthropic/models/user_profile_access_type.rb
|
|
2073
2093
|
- lib/anthropic/models/user_profile_create_params.rb
|
|
@@ -2177,6 +2197,7 @@ files:
|
|
|
2177
2197
|
- lib/anthropic/resources/beta/organization/telemetry_destinations.rb
|
|
2178
2198
|
- lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb
|
|
2179
2199
|
- lib/anthropic/resources/beta/organization/users.rb
|
|
2200
|
+
- lib/anthropic/resources/beta/organization/webhooks.rb
|
|
2180
2201
|
- lib/anthropic/resources/beta/organization/workspaces.rb
|
|
2181
2202
|
- lib/anthropic/resources/beta/organization/workspaces/members.rb
|
|
2182
2203
|
- lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb
|
|
@@ -2195,7 +2216,6 @@ files:
|
|
|
2195
2216
|
- lib/anthropic/resources/beta/vaults.rb
|
|
2196
2217
|
- lib/anthropic/resources/beta/vaults/credentials.rb
|
|
2197
2218
|
- lib/anthropic/resources/beta/webhooks.rb
|
|
2198
|
-
- lib/anthropic/resources/completions.rb
|
|
2199
2219
|
- lib/anthropic/resources/files.rb
|
|
2200
2220
|
- lib/anthropic/resources/messages.rb
|
|
2201
2221
|
- lib/anthropic/resources/messages/batches.rb
|
|
@@ -2282,6 +2302,7 @@ files:
|
|
|
2282
2302
|
- rbi/anthropic/models.rbi
|
|
2283
2303
|
- rbi/anthropic/models/anthropic_beta.rbi
|
|
2284
2304
|
- rbi/anthropic/models/api_error_object.rbi
|
|
2305
|
+
- rbi/anthropic/models/assistant_message_param.rbi
|
|
2285
2306
|
- rbi/anthropic/models/authentication_error.rbi
|
|
2286
2307
|
- rbi/anthropic/models/base64_image_source.rbi
|
|
2287
2308
|
- rbi/anthropic/models/base64_pdf_source.rbi
|
|
@@ -2311,6 +2332,7 @@ files:
|
|
|
2311
2332
|
- rbi/anthropic/models/beta/beta_advisor_tool_result_error.rbi
|
|
2312
2333
|
- rbi/anthropic/models/beta/beta_advisor_tool_result_error_param.rbi
|
|
2313
2334
|
- rbi/anthropic/models/beta/beta_all_thinking_turns.rbi
|
|
2335
|
+
- rbi/anthropic/models/beta/beta_assistant_message_param.rbi
|
|
2314
2336
|
- rbi/anthropic/models/beta/beta_base64_image_source.rbi
|
|
2315
2337
|
- rbi/anthropic/models/beta/beta_base64_pdf_block.rbi
|
|
2316
2338
|
- rbi/anthropic/models/beta/beta_base64_pdf_source.rbi
|
|
@@ -2825,6 +2847,7 @@ files:
|
|
|
2825
2847
|
- rbi/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbi
|
|
2826
2848
|
- rbi/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbi
|
|
2827
2849
|
- rbi/anthropic/models/beta/beta_message.rbi
|
|
2850
|
+
- rbi/anthropic/models/beta/beta_message_content_param.rbi
|
|
2828
2851
|
- rbi/anthropic/models/beta/beta_message_delta_usage.rbi
|
|
2829
2852
|
- rbi/anthropic/models/beta/beta_message_iteration_usage.rbi
|
|
2830
2853
|
- rbi/anthropic/models/beta/beta_message_param.rbi
|
|
@@ -2884,6 +2907,7 @@ files:
|
|
|
2884
2907
|
- rbi/anthropic/models/beta/beta_stop_reason.rbi
|
|
2885
2908
|
- rbi/anthropic/models/beta/beta_summarize_compaction.rbi
|
|
2886
2909
|
- rbi/anthropic/models/beta/beta_system_message_output_config.rbi
|
|
2910
|
+
- rbi/anthropic/models/beta/beta_system_message_param.rbi
|
|
2887
2911
|
- rbi/anthropic/models/beta/beta_target_store_held_error.rbi
|
|
2888
2912
|
- rbi/anthropic/models/beta/beta_text_block.rbi
|
|
2889
2913
|
- rbi/anthropic/models/beta/beta_text_block_param.rbi
|
|
@@ -2961,6 +2985,7 @@ files:
|
|
|
2961
2985
|
- rbi/anthropic/models/beta/beta_url_pdf_source.rbi
|
|
2962
2986
|
- rbi/anthropic/models/beta/beta_usage.rbi
|
|
2963
2987
|
- rbi/anthropic/models/beta/beta_user_location.rbi
|
|
2988
|
+
- rbi/anthropic/models/beta/beta_user_message_param.rbi
|
|
2964
2989
|
- rbi/anthropic/models/beta/beta_user_profile.rbi
|
|
2965
2990
|
- rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi
|
|
2966
2991
|
- rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi
|
|
@@ -3034,6 +3059,8 @@ files:
|
|
|
3034
3059
|
- rbi/anthropic/models/beta/beta_webhook_session_thread_idled_event_data.rbi
|
|
3035
3060
|
- rbi/anthropic/models/beta/beta_webhook_session_thread_terminated_event_data.rbi
|
|
3036
3061
|
- rbi/anthropic/models/beta/beta_webhook_session_updated_event_data.rbi
|
|
3062
|
+
- rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbi
|
|
3063
|
+
- rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbi
|
|
3037
3064
|
- rbi/anthropic/models/beta/beta_webhook_vault_archived_event_data.rbi
|
|
3038
3065
|
- rbi/anthropic/models/beta/beta_webhook_vault_created_event_data.rbi
|
|
3039
3066
|
- rbi/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rbi
|
|
@@ -3218,12 +3245,14 @@ files:
|
|
|
3218
3245
|
- rbi/anthropic/models/beta/organization/beta_data_residency.rbi
|
|
3219
3246
|
- rbi/anthropic/models/beta/organization/beta_data_residency_create_config.rbi
|
|
3220
3247
|
- rbi/anthropic/models/beta/organization/beta_data_residency_update_config.rbi
|
|
3248
|
+
- rbi/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbi
|
|
3221
3249
|
- rbi/anthropic/models/beta/organization/beta_deleted_plugin.rbi
|
|
3222
3250
|
- rbi/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rbi
|
|
3223
3251
|
- rbi/anthropic/models/beta/organization/beta_external_key.rbi
|
|
3224
3252
|
- rbi/anthropic/models/beta/organization/beta_external_key_attached_attachment.rbi
|
|
3225
3253
|
- rbi/anthropic/models/beta/organization/beta_external_key_unattached_attachment.rbi
|
|
3226
3254
|
- rbi/anthropic/models/beta/organization/beta_gcp_external_key_config.rbi
|
|
3255
|
+
- rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi
|
|
3227
3256
|
- rbi/anthropic/models/beta/organization/beta_no_billing_workspace_role.rbi
|
|
3228
3257
|
- rbi/anthropic/models/beta/organization/beta_organization_invite.rbi
|
|
3229
3258
|
- rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi
|
|
@@ -3235,6 +3264,9 @@ files:
|
|
|
3235
3264
|
- rbi/anthropic/models/beta/organization/beta_organization_rate_limit_value.rbi
|
|
3236
3265
|
- rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi
|
|
3237
3266
|
- rbi/anthropic/models/beta/organization/beta_organization_user.rbi
|
|
3267
|
+
- rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi
|
|
3268
|
+
- rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbi
|
|
3269
|
+
- rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbi
|
|
3238
3270
|
- rbi/anthropic/models/beta/organization/beta_plugin.rbi
|
|
3239
3271
|
- rbi/anthropic/models/beta/organization/beta_plugin_api_actor.rbi
|
|
3240
3272
|
- rbi/anthropic/models/beta/organization/beta_plugin_component.rbi
|
|
@@ -3416,6 +3448,12 @@ files:
|
|
|
3416
3448
|
- rbi/anthropic/models/beta/organization/user_remove_response.rbi
|
|
3417
3449
|
- rbi/anthropic/models/beta/organization/user_retrieve_params.rbi
|
|
3418
3450
|
- rbi/anthropic/models/beta/organization/user_update_params.rbi
|
|
3451
|
+
- rbi/anthropic/models/beta/organization/webhook_create_params.rbi
|
|
3452
|
+
- rbi/anthropic/models/beta/organization/webhook_delete_params.rbi
|
|
3453
|
+
- rbi/anthropic/models/beta/organization/webhook_list_params.rbi
|
|
3454
|
+
- rbi/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbi
|
|
3455
|
+
- rbi/anthropic/models/beta/organization/webhook_retrieve_params.rbi
|
|
3456
|
+
- rbi/anthropic/models/beta/organization/webhook_update_params.rbi
|
|
3419
3457
|
- rbi/anthropic/models/beta/organization/workspace_archive_params.rbi
|
|
3420
3458
|
- rbi/anthropic/models/beta/organization/workspace_create_params.rbi
|
|
3421
3459
|
- rbi/anthropic/models/beta/organization/workspace_list_params.rbi
|
|
@@ -3829,8 +3867,6 @@ files:
|
|
|
3829
3867
|
- rbi/anthropic/models/code_execution_tool_result_error.rbi
|
|
3830
3868
|
- rbi/anthropic/models/code_execution_tool_result_error_code.rbi
|
|
3831
3869
|
- rbi/anthropic/models/code_execution_tool_result_error_param.rbi
|
|
3832
|
-
- rbi/anthropic/models/completion.rbi
|
|
3833
|
-
- rbi/anthropic/models/completion_create_params.rbi
|
|
3834
3870
|
- rbi/anthropic/models/computer_cursor_position_config.rbi
|
|
3835
3871
|
- rbi/anthropic/models/computer_cursor_position_input.rbi
|
|
3836
3872
|
- rbi/anthropic/models/computer_cursor_position_tool_use_block.rbi
|
|
@@ -3926,6 +3962,7 @@ files:
|
|
|
3926
3962
|
- rbi/anthropic/models/json_output_format.rbi
|
|
3927
3963
|
- rbi/anthropic/models/memory_tool_20250818.rbi
|
|
3928
3964
|
- rbi/anthropic/models/message.rbi
|
|
3965
|
+
- rbi/anthropic/models/message_content_param.rbi
|
|
3929
3966
|
- rbi/anthropic/models/message_count_tokens_params.rbi
|
|
3930
3967
|
- rbi/anthropic/models/message_count_tokens_tool.rbi
|
|
3931
3968
|
- rbi/anthropic/models/message_create_params.rbi
|
|
@@ -4119,6 +4156,7 @@ files:
|
|
|
4119
4156
|
- rbi/anthropic/models/skills/version_list_params.rbi
|
|
4120
4157
|
- rbi/anthropic/models/skills/version_retrieve_params.rbi
|
|
4121
4158
|
- rbi/anthropic/models/stop_reason.rbi
|
|
4159
|
+
- rbi/anthropic/models/system_message_param.rbi
|
|
4122
4160
|
- rbi/anthropic/models/text_block.rbi
|
|
4123
4161
|
- rbi/anthropic/models/text_block_param.rbi
|
|
4124
4162
|
- rbi/anthropic/models/text_citation.rbi
|
|
@@ -4176,6 +4214,7 @@ files:
|
|
|
4176
4214
|
- rbi/anthropic/models/url_pdf_source.rbi
|
|
4177
4215
|
- rbi/anthropic/models/usage.rbi
|
|
4178
4216
|
- rbi/anthropic/models/user_location.rbi
|
|
4217
|
+
- rbi/anthropic/models/user_message_param.rbi
|
|
4179
4218
|
- rbi/anthropic/models/user_profile.rbi
|
|
4180
4219
|
- rbi/anthropic/models/user_profile_access_type.rbi
|
|
4181
4220
|
- rbi/anthropic/models/user_profile_create_params.rbi
|
|
@@ -4285,6 +4324,7 @@ files:
|
|
|
4285
4324
|
- rbi/anthropic/resources/beta/organization/telemetry_destinations.rbi
|
|
4286
4325
|
- rbi/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rbi
|
|
4287
4326
|
- rbi/anthropic/resources/beta/organization/users.rbi
|
|
4327
|
+
- rbi/anthropic/resources/beta/organization/webhooks.rbi
|
|
4288
4328
|
- rbi/anthropic/resources/beta/organization/workspaces.rbi
|
|
4289
4329
|
- rbi/anthropic/resources/beta/organization/workspaces/members.rbi
|
|
4290
4330
|
- rbi/anthropic/resources/beta/organization/workspaces/rate_limits.rbi
|
|
@@ -4303,7 +4343,6 @@ files:
|
|
|
4303
4343
|
- rbi/anthropic/resources/beta/vaults.rbi
|
|
4304
4344
|
- rbi/anthropic/resources/beta/vaults/credentials.rbi
|
|
4305
4345
|
- rbi/anthropic/resources/beta/webhooks.rbi
|
|
4306
|
-
- rbi/anthropic/resources/completions.rbi
|
|
4307
4346
|
- rbi/anthropic/resources/files.rbi
|
|
4308
4347
|
- rbi/anthropic/resources/messages.rbi
|
|
4309
4348
|
- rbi/anthropic/resources/messages/batches.rbi
|
|
@@ -4374,6 +4413,7 @@ files:
|
|
|
4374
4413
|
- sig/anthropic/models.rbs
|
|
4375
4414
|
- sig/anthropic/models/anthropic_beta.rbs
|
|
4376
4415
|
- sig/anthropic/models/api_error_object.rbs
|
|
4416
|
+
- sig/anthropic/models/assistant_message_param.rbs
|
|
4377
4417
|
- sig/anthropic/models/authentication_error.rbs
|
|
4378
4418
|
- sig/anthropic/models/base64_image_source.rbs
|
|
4379
4419
|
- sig/anthropic/models/base64_pdf_source.rbs
|
|
@@ -4403,6 +4443,7 @@ files:
|
|
|
4403
4443
|
- sig/anthropic/models/beta/beta_advisor_tool_result_error.rbs
|
|
4404
4444
|
- sig/anthropic/models/beta/beta_advisor_tool_result_error_param.rbs
|
|
4405
4445
|
- sig/anthropic/models/beta/beta_all_thinking_turns.rbs
|
|
4446
|
+
- sig/anthropic/models/beta/beta_assistant_message_param.rbs
|
|
4406
4447
|
- sig/anthropic/models/beta/beta_base64_image_source.rbs
|
|
4407
4448
|
- sig/anthropic/models/beta/beta_base64_pdf_block.rbs
|
|
4408
4449
|
- sig/anthropic/models/beta/beta_base64_pdf_source.rbs
|
|
@@ -4917,6 +4958,7 @@ files:
|
|
|
4917
4958
|
- sig/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbs
|
|
4918
4959
|
- sig/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbs
|
|
4919
4960
|
- sig/anthropic/models/beta/beta_message.rbs
|
|
4961
|
+
- sig/anthropic/models/beta/beta_message_content_param.rbs
|
|
4920
4962
|
- sig/anthropic/models/beta/beta_message_delta_usage.rbs
|
|
4921
4963
|
- sig/anthropic/models/beta/beta_message_iteration_usage.rbs
|
|
4922
4964
|
- sig/anthropic/models/beta/beta_message_param.rbs
|
|
@@ -4976,6 +5018,7 @@ files:
|
|
|
4976
5018
|
- sig/anthropic/models/beta/beta_stop_reason.rbs
|
|
4977
5019
|
- sig/anthropic/models/beta/beta_summarize_compaction.rbs
|
|
4978
5020
|
- sig/anthropic/models/beta/beta_system_message_output_config.rbs
|
|
5021
|
+
- sig/anthropic/models/beta/beta_system_message_param.rbs
|
|
4979
5022
|
- sig/anthropic/models/beta/beta_target_store_held_error.rbs
|
|
4980
5023
|
- sig/anthropic/models/beta/beta_text_block.rbs
|
|
4981
5024
|
- sig/anthropic/models/beta/beta_text_block_param.rbs
|
|
@@ -5053,6 +5096,7 @@ files:
|
|
|
5053
5096
|
- sig/anthropic/models/beta/beta_url_pdf_source.rbs
|
|
5054
5097
|
- sig/anthropic/models/beta/beta_usage.rbs
|
|
5055
5098
|
- sig/anthropic/models/beta/beta_user_location.rbs
|
|
5099
|
+
- sig/anthropic/models/beta/beta_user_message_param.rbs
|
|
5056
5100
|
- sig/anthropic/models/beta/beta_user_profile.rbs
|
|
5057
5101
|
- sig/anthropic/models/beta/beta_user_profile_enrollment_url.rbs
|
|
5058
5102
|
- sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs
|
|
@@ -5126,6 +5170,8 @@ files:
|
|
|
5126
5170
|
- sig/anthropic/models/beta/beta_webhook_session_thread_idled_event_data.rbs
|
|
5127
5171
|
- sig/anthropic/models/beta/beta_webhook_session_thread_terminated_event_data.rbs
|
|
5128
5172
|
- sig/anthropic/models/beta/beta_webhook_session_updated_event_data.rbs
|
|
5173
|
+
- sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs
|
|
5174
|
+
- sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbs
|
|
5129
5175
|
- sig/anthropic/models/beta/beta_webhook_vault_archived_event_data.rbs
|
|
5130
5176
|
- sig/anthropic/models/beta/beta_webhook_vault_created_event_data.rbs
|
|
5131
5177
|
- sig/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rbs
|
|
@@ -5310,12 +5356,14 @@ files:
|
|
|
5310
5356
|
- sig/anthropic/models/beta/organization/beta_data_residency.rbs
|
|
5311
5357
|
- sig/anthropic/models/beta/organization/beta_data_residency_create_config.rbs
|
|
5312
5358
|
- sig/anthropic/models/beta/organization/beta_data_residency_update_config.rbs
|
|
5359
|
+
- sig/anthropic/models/beta/organization/beta_deleted_organization_webhook_endpoint.rbs
|
|
5313
5360
|
- sig/anthropic/models/beta/organization/beta_deleted_plugin.rbs
|
|
5314
5361
|
- sig/anthropic/models/beta/organization/beta_deleted_telemetry_destination.rbs
|
|
5315
5362
|
- sig/anthropic/models/beta/organization/beta_external_key.rbs
|
|
5316
5363
|
- sig/anthropic/models/beta/organization/beta_external_key_attached_attachment.rbs
|
|
5317
5364
|
- sig/anthropic/models/beta/organization/beta_external_key_unattached_attachment.rbs
|
|
5318
5365
|
- sig/anthropic/models/beta/organization/beta_gcp_external_key_config.rbs
|
|
5366
|
+
- sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs
|
|
5319
5367
|
- sig/anthropic/models/beta/organization/beta_no_billing_workspace_role.rbs
|
|
5320
5368
|
- sig/anthropic/models/beta/organization/beta_organization_invite.rbs
|
|
5321
5369
|
- sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs
|
|
@@ -5327,6 +5375,9 @@ files:
|
|
|
5327
5375
|
- sig/anthropic/models/beta/organization/beta_organization_rate_limit_value.rbs
|
|
5328
5376
|
- sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs
|
|
5329
5377
|
- sig/anthropic/models/beta/organization/beta_organization_user.rbs
|
|
5378
|
+
- sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs
|
|
5379
|
+
- sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_signing_secret.rbs
|
|
5380
|
+
- sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint_state.rbs
|
|
5330
5381
|
- sig/anthropic/models/beta/organization/beta_plugin.rbs
|
|
5331
5382
|
- sig/anthropic/models/beta/organization/beta_plugin_api_actor.rbs
|
|
5332
5383
|
- sig/anthropic/models/beta/organization/beta_plugin_component.rbs
|
|
@@ -5508,6 +5559,12 @@ files:
|
|
|
5508
5559
|
- sig/anthropic/models/beta/organization/user_remove_response.rbs
|
|
5509
5560
|
- sig/anthropic/models/beta/organization/user_retrieve_params.rbs
|
|
5510
5561
|
- sig/anthropic/models/beta/organization/user_update_params.rbs
|
|
5562
|
+
- sig/anthropic/models/beta/organization/webhook_create_params.rbs
|
|
5563
|
+
- sig/anthropic/models/beta/organization/webhook_delete_params.rbs
|
|
5564
|
+
- sig/anthropic/models/beta/organization/webhook_list_params.rbs
|
|
5565
|
+
- sig/anthropic/models/beta/organization/webhook_regenerate_signing_secret_params.rbs
|
|
5566
|
+
- sig/anthropic/models/beta/organization/webhook_retrieve_params.rbs
|
|
5567
|
+
- sig/anthropic/models/beta/organization/webhook_update_params.rbs
|
|
5511
5568
|
- sig/anthropic/models/beta/organization/workspace_archive_params.rbs
|
|
5512
5569
|
- sig/anthropic/models/beta/organization/workspace_create_params.rbs
|
|
5513
5570
|
- sig/anthropic/models/beta/organization/workspace_list_params.rbs
|
|
@@ -5921,8 +5978,6 @@ files:
|
|
|
5921
5978
|
- sig/anthropic/models/code_execution_tool_result_error.rbs
|
|
5922
5979
|
- sig/anthropic/models/code_execution_tool_result_error_code.rbs
|
|
5923
5980
|
- sig/anthropic/models/code_execution_tool_result_error_param.rbs
|
|
5924
|
-
- sig/anthropic/models/completion.rbs
|
|
5925
|
-
- sig/anthropic/models/completion_create_params.rbs
|
|
5926
5981
|
- sig/anthropic/models/computer_cursor_position_config.rbs
|
|
5927
5982
|
- sig/anthropic/models/computer_cursor_position_input.rbs
|
|
5928
5983
|
- sig/anthropic/models/computer_cursor_position_tool_use_block.rbs
|
|
@@ -6018,6 +6073,7 @@ files:
|
|
|
6018
6073
|
- sig/anthropic/models/json_output_format.rbs
|
|
6019
6074
|
- sig/anthropic/models/memory_tool_20250818.rbs
|
|
6020
6075
|
- sig/anthropic/models/message.rbs
|
|
6076
|
+
- sig/anthropic/models/message_content_param.rbs
|
|
6021
6077
|
- sig/anthropic/models/message_count_tokens_params.rbs
|
|
6022
6078
|
- sig/anthropic/models/message_count_tokens_tool.rbs
|
|
6023
6079
|
- sig/anthropic/models/message_create_params.rbs
|
|
@@ -6211,6 +6267,7 @@ files:
|
|
|
6211
6267
|
- sig/anthropic/models/skills/version_list_params.rbs
|
|
6212
6268
|
- sig/anthropic/models/skills/version_retrieve_params.rbs
|
|
6213
6269
|
- sig/anthropic/models/stop_reason.rbs
|
|
6270
|
+
- sig/anthropic/models/system_message_param.rbs
|
|
6214
6271
|
- sig/anthropic/models/text_block.rbs
|
|
6215
6272
|
- sig/anthropic/models/text_block_param.rbs
|
|
6216
6273
|
- sig/anthropic/models/text_citation.rbs
|
|
@@ -6268,6 +6325,7 @@ files:
|
|
|
6268
6325
|
- sig/anthropic/models/url_pdf_source.rbs
|
|
6269
6326
|
- sig/anthropic/models/usage.rbs
|
|
6270
6327
|
- sig/anthropic/models/user_location.rbs
|
|
6328
|
+
- sig/anthropic/models/user_message_param.rbs
|
|
6271
6329
|
- sig/anthropic/models/user_profile.rbs
|
|
6272
6330
|
- sig/anthropic/models/user_profile_access_type.rbs
|
|
6273
6331
|
- sig/anthropic/models/user_profile_create_params.rbs
|
|
@@ -6377,6 +6435,7 @@ files:
|
|
|
6377
6435
|
- sig/anthropic/resources/beta/organization/telemetry_destinations.rbs
|
|
6378
6436
|
- sig/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rbs
|
|
6379
6437
|
- sig/anthropic/resources/beta/organization/users.rbs
|
|
6438
|
+
- sig/anthropic/resources/beta/organization/webhooks.rbs
|
|
6380
6439
|
- sig/anthropic/resources/beta/organization/workspaces.rbs
|
|
6381
6440
|
- sig/anthropic/resources/beta/organization/workspaces/members.rbs
|
|
6382
6441
|
- sig/anthropic/resources/beta/organization/workspaces/rate_limits.rbs
|
|
@@ -6395,7 +6454,6 @@ files:
|
|
|
6395
6454
|
- sig/anthropic/resources/beta/vaults.rbs
|
|
6396
6455
|
- sig/anthropic/resources/beta/vaults/credentials.rbs
|
|
6397
6456
|
- sig/anthropic/resources/beta/webhooks.rbs
|
|
6398
|
-
- sig/anthropic/resources/completions.rbs
|
|
6399
6457
|
- sig/anthropic/resources/files.rbs
|
|
6400
6458
|
- sig/anthropic/resources/messages.rbs
|
|
6401
6459
|
- sig/anthropic/resources/messages/batches.rbs
|
|
@@ -6426,7 +6484,7 @@ files:
|
|
|
6426
6484
|
- sig/anthropic/vertex.rbs
|
|
6427
6485
|
homepage: https://gemdocs.org/gems/anthropic
|
|
6428
6486
|
licenses:
|
|
6429
|
-
-
|
|
6487
|
+
- Apache-2.0
|
|
6430
6488
|
metadata:
|
|
6431
6489
|
homepage_uri: https://gemdocs.org/gems/anthropic
|
|
6432
6490
|
source_code_uri: https://github.com/anthropics/anthropic-sdk-ruby
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
# @see Anthropic::Resources::Completions#create
|
|
6
|
-
#
|
|
7
|
-
# @see Anthropic::Resources::Completions#create_streaming
|
|
8
|
-
class Completion < Anthropic::Internal::Type::BaseModel
|
|
9
|
-
# @!attribute id
|
|
10
|
-
# Unique object identifier.
|
|
11
|
-
#
|
|
12
|
-
# The format and length of IDs may change over time.
|
|
13
|
-
#
|
|
14
|
-
# @return [String]
|
|
15
|
-
required :id, String
|
|
16
|
-
|
|
17
|
-
# @!attribute completion
|
|
18
|
-
# The resulting completion up to and excluding the stop sequences.
|
|
19
|
-
#
|
|
20
|
-
# @return [String]
|
|
21
|
-
required :completion, String
|
|
22
|
-
|
|
23
|
-
# @!attribute model
|
|
24
|
-
# The model that will complete your prompt.
|
|
25
|
-
#
|
|
26
|
-
# See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
27
|
-
# details and options.
|
|
28
|
-
#
|
|
29
|
-
# @return [Symbol, String, Anthropic::Models::Model]
|
|
30
|
-
required :model, union: -> { Anthropic::Model }
|
|
31
|
-
|
|
32
|
-
# @!attribute stop_reason
|
|
33
|
-
# The reason that we stopped.
|
|
34
|
-
#
|
|
35
|
-
# This may be one the following values:
|
|
36
|
-
#
|
|
37
|
-
# - `"stop_sequence"`: we reached a stop sequence — either provided by you via the
|
|
38
|
-
# `stop_sequences` parameter, or a stop sequence built into the model
|
|
39
|
-
# - `"max_tokens"`: we exceeded `max_tokens_to_sample` or the model's maximum
|
|
40
|
-
#
|
|
41
|
-
# @return [String, nil]
|
|
42
|
-
required :stop_reason, String, nil?: true
|
|
43
|
-
|
|
44
|
-
# @!attribute type
|
|
45
|
-
# Object type.
|
|
46
|
-
#
|
|
47
|
-
# For Text Completions, this is always `"completion"`.
|
|
48
|
-
#
|
|
49
|
-
# @return [Symbol, :completion]
|
|
50
|
-
required :type, const: :completion
|
|
51
|
-
|
|
52
|
-
# @!method initialize(id:, completion:, model:, stop_reason:, type: :completion)
|
|
53
|
-
# Some parameter documentations has been truncated, see
|
|
54
|
-
# {Anthropic::Models::Completion} for more details.
|
|
55
|
-
#
|
|
56
|
-
# @param id [String] Unique object identifier.
|
|
57
|
-
#
|
|
58
|
-
# @param completion [String] The resulting completion up to and excluding the stop sequences.
|
|
59
|
-
#
|
|
60
|
-
# @param model [Symbol, String, Anthropic::Models::Model] The model that will complete your prompt.
|
|
61
|
-
#
|
|
62
|
-
# @param stop_reason [String, nil] The reason that we stopped.
|
|
63
|
-
#
|
|
64
|
-
# @param type [Symbol, :completion] Object type.
|
|
65
|
-
end
|
|
66
|
-
end
|
|
67
|
-
end
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
# @see Anthropic::Resources::Completions#create
|
|
6
|
-
#
|
|
7
|
-
# @see Anthropic::Resources::Completions#create_streaming
|
|
8
|
-
class CompletionCreateParams < Anthropic::Internal::Type::BaseModel
|
|
9
|
-
extend Anthropic::Internal::Type::RequestParameters::Converter
|
|
10
|
-
include Anthropic::Internal::Type::RequestParameters
|
|
11
|
-
|
|
12
|
-
# @!attribute max_tokens_to_sample
|
|
13
|
-
# The maximum number of tokens to generate before stopping.
|
|
14
|
-
#
|
|
15
|
-
# Note that our models may stop _before_ reaching this maximum. This parameter
|
|
16
|
-
# only specifies the absolute maximum number of tokens to generate.
|
|
17
|
-
#
|
|
18
|
-
# @return [Integer]
|
|
19
|
-
required :max_tokens_to_sample, Integer
|
|
20
|
-
|
|
21
|
-
# @!attribute model
|
|
22
|
-
# The model that will complete your prompt.
|
|
23
|
-
#
|
|
24
|
-
# See [models](https://docs.anthropic.com/en/docs/models-overview) for additional
|
|
25
|
-
# details and options.
|
|
26
|
-
#
|
|
27
|
-
# @return [Symbol, String, Anthropic::Models::Model]
|
|
28
|
-
required :model, union: -> { Anthropic::Model }
|
|
29
|
-
|
|
30
|
-
# @!attribute prompt
|
|
31
|
-
# The prompt that you want Claude to complete.
|
|
32
|
-
#
|
|
33
|
-
# For proper response generation you will need to format your prompt using
|
|
34
|
-
# alternating `\n\nHuman:` and `\n\nAssistant:` conversational turns. For example:
|
|
35
|
-
#
|
|
36
|
-
# ```
|
|
37
|
-
# "\n\nHuman: {userQuestion}\n\nAssistant:"
|
|
38
|
-
# ```
|
|
39
|
-
#
|
|
40
|
-
# See
|
|
41
|
-
# [prompt validation](https://platform.claude.com/docs/en/build-with-claude/working-with-messages)
|
|
42
|
-
# and our guide to
|
|
43
|
-
# [prompt design](https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/overview)
|
|
44
|
-
# for more details.
|
|
45
|
-
#
|
|
46
|
-
# @return [String]
|
|
47
|
-
required :prompt, String
|
|
48
|
-
|
|
49
|
-
# @!attribute metadata
|
|
50
|
-
# An object describing metadata about the request.
|
|
51
|
-
#
|
|
52
|
-
# @return [Anthropic::Models::Metadata, nil]
|
|
53
|
-
optional :metadata, -> { Anthropic::Metadata }
|
|
54
|
-
|
|
55
|
-
# @!attribute stop_sequences
|
|
56
|
-
# Sequences that will cause the model to stop generating.
|
|
57
|
-
#
|
|
58
|
-
# Our models stop on `"\n\nHuman:"`, and may include additional built-in stop
|
|
59
|
-
# sequences in the future. By providing the stop_sequences parameter, you may
|
|
60
|
-
# include additional strings that will cause the model to stop generating.
|
|
61
|
-
#
|
|
62
|
-
# @return [Array<String>, nil]
|
|
63
|
-
optional :stop_sequences, Anthropic::Internal::Type::ArrayOf[String]
|
|
64
|
-
|
|
65
|
-
# @!attribute temperature
|
|
66
|
-
# @deprecated Deprecated. Models released after Claude Opus 4.6 do not support setting
|
|
67
|
-
# temperature. A value of 1.0 will be accepted for backwards compatibility, all
|
|
68
|
-
# other values will be rejected with a 400 error.
|
|
69
|
-
#
|
|
70
|
-
# Amount of randomness injected into the response.
|
|
71
|
-
#
|
|
72
|
-
# Defaults to `1.0`. Ranges from `0.0` to `1.0`. Use `temperature` closer to `0.0`
|
|
73
|
-
# for analytical / multiple choice, and closer to `1.0` for creative and
|
|
74
|
-
# generative tasks.
|
|
75
|
-
#
|
|
76
|
-
# Note that even with `temperature` of `0.0`, the results will not be fully
|
|
77
|
-
# deterministic.
|
|
78
|
-
#
|
|
79
|
-
# @return [Float, nil]
|
|
80
|
-
optional :temperature, Float
|
|
81
|
-
|
|
82
|
-
# @!attribute top_k
|
|
83
|
-
# @deprecated Deprecated. Models released after Claude Opus 4.6 do not accept top_k; any value
|
|
84
|
-
# will be rejected with a 400 error.
|
|
85
|
-
#
|
|
86
|
-
# Only sample from the top K options for each subsequent token.
|
|
87
|
-
#
|
|
88
|
-
# Used to remove "long tail" low probability responses.
|
|
89
|
-
# [Learn more technical details here](https://towardsdatascience.com/how-to-sample-from-language-models-682bceb97277).
|
|
90
|
-
#
|
|
91
|
-
# Recommended for advanced use cases only.
|
|
92
|
-
#
|
|
93
|
-
# @return [Integer, nil]
|
|
94
|
-
optional :top_k, Integer
|
|
95
|
-
|
|
96
|
-
# @!attribute top_p
|
|
97
|
-
# @deprecated Deprecated. Models released after Claude Opus 4.6 do not support setting top_p.
|
|
98
|
-
# A value >= 0.99 will be accepted for backwards compatibility, all other values
|
|
99
|
-
# will be rejected with a 400 error.
|
|
100
|
-
#
|
|
101
|
-
# Use nucleus sampling.
|
|
102
|
-
#
|
|
103
|
-
# In nucleus sampling, we compute the cumulative distribution over all the options
|
|
104
|
-
# for each subsequent token in decreasing probability order and cut it off once it
|
|
105
|
-
# reaches a particular probability specified by `top_p`.
|
|
106
|
-
#
|
|
107
|
-
# Recommended for advanced use cases only.
|
|
108
|
-
#
|
|
109
|
-
# @return [Float, nil]
|
|
110
|
-
optional :top_p, Float
|
|
111
|
-
|
|
112
|
-
# @!attribute betas
|
|
113
|
-
# @deprecated Deprecated. This parameter has no effect on this method and will be removed in a
|
|
114
|
-
# future release.
|
|
115
|
-
#
|
|
116
|
-
# Optional header to specify the beta version(s) you want to use.
|
|
117
|
-
#
|
|
118
|
-
# @return [Array<Symbol, String, Anthropic::Models::AnthropicBeta>, nil]
|
|
119
|
-
optional :betas, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::AnthropicBeta] }
|
|
120
|
-
|
|
121
|
-
# @!attribute workspace_id
|
|
122
|
-
# Optional header to select the Workspace for this request. The value is a
|
|
123
|
-
# Workspace ID (for example, `wrkspc_011CZkZaBF1tNoB5wlCeusgy`).
|
|
124
|
-
#
|
|
125
|
-
# Only needed for credentials that can act on more than one Workspace. A
|
|
126
|
-
# credential that belongs to a specific Workspace may omit it; if sent, it must
|
|
127
|
-
# match that Workspace.
|
|
128
|
-
#
|
|
129
|
-
# @return [String, nil]
|
|
130
|
-
optional :workspace_id, String
|
|
131
|
-
|
|
132
|
-
# @!method initialize(max_tokens_to_sample:, model:, prompt:, metadata: nil, stop_sequences: nil, temperature: nil, top_k: nil, top_p: nil, betas: nil, workspace_id: nil, request_options: {})
|
|
133
|
-
# Some parameter documentations has been truncated, see
|
|
134
|
-
# {Anthropic::Models::CompletionCreateParams} for more details.
|
|
135
|
-
#
|
|
136
|
-
# @param max_tokens_to_sample [Integer] The maximum number of tokens to generate before stopping.
|
|
137
|
-
#
|
|
138
|
-
# @param model [Symbol, String, Anthropic::Models::Model] The model that will complete your prompt.
|
|
139
|
-
#
|
|
140
|
-
# @param prompt [String] The prompt that you want Claude to complete.
|
|
141
|
-
#
|
|
142
|
-
# @param metadata [Anthropic::Models::Metadata] An object describing metadata about the request.
|
|
143
|
-
#
|
|
144
|
-
# @param stop_sequences [Array<String>] Sequences that will cause the model to stop generating.
|
|
145
|
-
#
|
|
146
|
-
# @param temperature [Float] Amount of randomness injected into the response.
|
|
147
|
-
#
|
|
148
|
-
# @param top_k [Integer] Only sample from the top K options for each subsequent token.
|
|
149
|
-
#
|
|
150
|
-
# @param top_p [Float] Use nucleus sampling.
|
|
151
|
-
#
|
|
152
|
-
# @param betas [Array<Symbol, String, Anthropic::Models::AnthropicBeta>] Optional header to specify the beta version(s) you want to use.
|
|
153
|
-
#
|
|
154
|
-
# @param workspace_id [String] Optional header to select the Workspace for this request. The value is a Workspa
|
|
155
|
-
#
|
|
156
|
-
# @param request_options [Anthropic::RequestOptions, Hash{Symbol=>Object}]
|
|
157
|
-
end
|
|
158
|
-
end
|
|
159
|
-
end
|