anthropic 1.82.0 → 2.1.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 +33 -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/tracing.rb +3 -4
- data/lib/anthropic/internal/transport/base_client.rb +8 -5
- 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/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_organization_rate_limit.rb +6 -46
- 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/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/user_profile.rb +26 -1
- data/lib/anthropic/models/user_profile_enforcement_action.rb +66 -0
- data/lib/anthropic/models/user_profile_enforcement_action_ban.rb +62 -0
- data/lib/anthropic/models/user_profile_enforcement_action_next_step.rb +17 -0
- data/lib/anthropic/models/user_profile_enforcement_action_reason.rb +23 -0
- data/lib/anthropic/models/user_profile_enforcement_action_restriction.rb +67 -0
- data/lib/anthropic/models/user_profile_enforcement_status.rb +20 -0
- data/lib/anthropic/models/user_profile_list_params.rb +17 -1
- data/lib/anthropic/models.rb +20 -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/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/resources/user_profiles.rb +5 -3
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +14 -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 +0 -1
- 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/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_organization_rate_limit.rbi +5 -86
- 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/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/user_profile.rbi +42 -0
- data/rbi/anthropic/models/user_profile_enforcement_action.rbi +95 -0
- data/rbi/anthropic/models/user_profile_enforcement_action_ban.rbi +96 -0
- data/rbi/anthropic/models/user_profile_enforcement_action_next_step.rbi +34 -0
- data/rbi/anthropic/models/user_profile_enforcement_action_reason.rbi +58 -0
- data/rbi/anthropic/models/user_profile_enforcement_action_restriction.rbi +106 -0
- data/rbi/anthropic/models/user_profile_enforcement_status.rbi +39 -0
- data/rbi/anthropic/models/user_profile_list_params.rbi +36 -0
- data/rbi/anthropic/models.rbi +24 -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/sessions/resources.rbi +3 -4
- data/rbi/anthropic/resources/messages.rbi +36 -93
- data/rbi/anthropic/resources/models.rbi +0 -6
- data/rbi/anthropic/resources/user_profiles.rbi +12 -0
- 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 +0 -1
- 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/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_organization_rate_limit.rbs +0 -26
- 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/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/user_profile.rbs +10 -0
- data/sig/anthropic/models/user_profile_enforcement_action.rbs +50 -0
- data/sig/anthropic/models/user_profile_enforcement_action_ban.rbs +45 -0
- data/sig/anthropic/models/user_profile_enforcement_action_next_step.rbs +13 -0
- data/sig/anthropic/models/user_profile_enforcement_action_reason.rbs +24 -0
- data/sig/anthropic/models/user_profile_enforcement_action_restriction.rbs +45 -0
- data/sig/anthropic/models/user_profile_enforcement_status.rbs +17 -0
- data/sig/anthropic/models/user_profile_list_params.rbs +9 -0
- data/sig/anthropic/models.rbs +21 -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/sessions/resources.rbs +1 -1
- data/sig/anthropic/resources/messages.rbs +4 -13
- data/sig/anthropic/resources/models.rbs +0 -2
- data/sig/anthropic/resources/user_profiles.rbs +1 -0
- metadata +47 -13
- 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
data/sig/anthropic/models.rbs
CHANGED
|
@@ -3,6 +3,8 @@ module Anthropic
|
|
|
3
3
|
|
|
4
4
|
class APIErrorObject = Anthropic::Models::APIErrorObject
|
|
5
5
|
|
|
6
|
+
class AssistantMessageParam = Anthropic::Models::AssistantMessageParam
|
|
7
|
+
|
|
6
8
|
class AuthenticationError = Anthropic::Models::AuthenticationError
|
|
7
9
|
|
|
8
10
|
class Base64ImageSource = Anthropic::Models::Base64ImageSource
|
|
@@ -351,10 +353,6 @@ module Anthropic
|
|
|
351
353
|
|
|
352
354
|
class CodeExecutionToolResultErrorParam = Anthropic::Models::CodeExecutionToolResultErrorParam
|
|
353
355
|
|
|
354
|
-
class Completion = Anthropic::Models::Completion
|
|
355
|
-
|
|
356
|
-
class CompletionCreateParams = Anthropic::Models::CompletionCreateParams
|
|
357
|
-
|
|
358
356
|
class ComputerCursorPositionConfig = Anthropic::Models::ComputerCursorPositionConfig
|
|
359
357
|
|
|
360
358
|
class ComputerCursorPositionInput = Anthropic::Models::ComputerCursorPositionInput
|
|
@@ -545,6 +543,8 @@ module Anthropic
|
|
|
545
543
|
|
|
546
544
|
class Message = Anthropic::Models::Message
|
|
547
545
|
|
|
546
|
+
module MessageContentParam = Anthropic::Models::MessageContentParam
|
|
547
|
+
|
|
548
548
|
class MessageCountTokensParams = Anthropic::Models::MessageCountTokensParams
|
|
549
549
|
|
|
550
550
|
module MessageCountTokensTool = Anthropic::Models::MessageCountTokensTool
|
|
@@ -555,7 +555,7 @@ module Anthropic
|
|
|
555
555
|
|
|
556
556
|
class MessageDeltaUsage = Anthropic::Models::MessageDeltaUsage
|
|
557
557
|
|
|
558
|
-
|
|
558
|
+
module MessageParam = Anthropic::Models::MessageParam
|
|
559
559
|
|
|
560
560
|
module Messages = Anthropic::Models::Messages
|
|
561
561
|
|
|
@@ -653,6 +653,8 @@ module Anthropic
|
|
|
653
653
|
|
|
654
654
|
module StopReason = Anthropic::Models::StopReason
|
|
655
655
|
|
|
656
|
+
class SystemMessageParam = Anthropic::Models::SystemMessageParam
|
|
657
|
+
|
|
656
658
|
class TextBlock = Anthropic::Models::TextBlock
|
|
657
659
|
|
|
658
660
|
class TextBlockParam = Anthropic::Models::TextBlockParam
|
|
@@ -767,6 +769,8 @@ module Anthropic
|
|
|
767
769
|
|
|
768
770
|
class UserLocation = Anthropic::Models::UserLocation
|
|
769
771
|
|
|
772
|
+
class UserMessageParam = Anthropic::Models::UserMessageParam
|
|
773
|
+
|
|
770
774
|
class UserProfile = Anthropic::Models::UserProfile
|
|
771
775
|
|
|
772
776
|
module UserProfileAccessType = Anthropic::Models::UserProfileAccessType
|
|
@@ -785,6 +789,18 @@ module Anthropic
|
|
|
785
789
|
|
|
786
790
|
class UserProfileEfsProgram = Anthropic::Models::UserProfileEfsProgram
|
|
787
791
|
|
|
792
|
+
module UserProfileEnforcementAction = Anthropic::Models::UserProfileEnforcementAction
|
|
793
|
+
|
|
794
|
+
class UserProfileEnforcementActionBan = Anthropic::Models::UserProfileEnforcementActionBan
|
|
795
|
+
|
|
796
|
+
module UserProfileEnforcementActionNextStep = Anthropic::Models::UserProfileEnforcementActionNextStep
|
|
797
|
+
|
|
798
|
+
module UserProfileEnforcementActionReason = Anthropic::Models::UserProfileEnforcementActionReason
|
|
799
|
+
|
|
800
|
+
class UserProfileEnforcementActionRestriction = Anthropic::Models::UserProfileEnforcementActionRestriction
|
|
801
|
+
|
|
802
|
+
module UserProfileEnforcementStatus = Anthropic::Models::UserProfileEnforcementStatus
|
|
803
|
+
|
|
788
804
|
module UserProfileExternalUserAccountStatus = Anthropic::Models::UserProfileExternalUserAccountStatus
|
|
789
805
|
|
|
790
806
|
class UserProfileExternalUserDetails = Anthropic::Models::UserProfileExternalUserDetails
|
|
@@ -6,7 +6,7 @@ module Anthropic
|
|
|
6
6
|
|
|
7
7
|
def create: (
|
|
8
8
|
max_tokens: Integer,
|
|
9
|
-
messages: ::Array[Anthropic::Beta::
|
|
9
|
+
messages: ::Array[Anthropic::Models::Beta::beta_message_param],
|
|
10
10
|
model: Anthropic::Models::model,
|
|
11
11
|
?cache_control: Anthropic::Beta::BetaCacheControlEphemeral?,
|
|
12
12
|
?compaction: Anthropic::Beta::BetaCompactionConfig?,
|
|
@@ -24,12 +24,9 @@ module Anthropic
|
|
|
24
24
|
?speed: Anthropic::Models::Beta::MessageCreateParams::speed?,
|
|
25
25
|
?stop_sequences: ::Array[String],
|
|
26
26
|
?system_: Anthropic::Models::Beta::MessageCreateParams::system_,
|
|
27
|
-
?temperature: Float,
|
|
28
27
|
?thinking: Anthropic::Models::Beta::beta_thinking_config_param,
|
|
29
28
|
?tool_choice: Anthropic::Models::Beta::beta_tool_choice,
|
|
30
29
|
?tools: ::Array[Anthropic::Models::Beta::beta_tool_union],
|
|
31
|
-
?top_k: Integer,
|
|
32
|
-
?top_p: Float,
|
|
33
30
|
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
34
31
|
?user_profile_id: String,
|
|
35
32
|
?workspace_id: String,
|
|
@@ -38,7 +35,7 @@ module Anthropic
|
|
|
38
35
|
|
|
39
36
|
def stream_raw: (
|
|
40
37
|
max_tokens: Integer,
|
|
41
|
-
messages: ::Array[Anthropic::Beta::
|
|
38
|
+
messages: ::Array[Anthropic::Models::Beta::beta_message_param],
|
|
42
39
|
model: Anthropic::Models::model,
|
|
43
40
|
?cache_control: Anthropic::Beta::BetaCacheControlEphemeral?,
|
|
44
41
|
?compaction: Anthropic::Beta::BetaCompactionConfig?,
|
|
@@ -56,12 +53,9 @@ module Anthropic
|
|
|
56
53
|
?speed: Anthropic::Models::Beta::MessageCreateParams::speed?,
|
|
57
54
|
?stop_sequences: ::Array[String],
|
|
58
55
|
?system_: Anthropic::Models::Beta::MessageCreateParams::system_,
|
|
59
|
-
?temperature: Float,
|
|
60
56
|
?thinking: Anthropic::Models::Beta::beta_thinking_config_param,
|
|
61
57
|
?tool_choice: Anthropic::Models::Beta::beta_tool_choice,
|
|
62
58
|
?tools: ::Array[Anthropic::Models::Beta::beta_tool_union],
|
|
63
|
-
?top_k: Integer,
|
|
64
|
-
?top_p: Float,
|
|
65
59
|
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
66
60
|
?user_profile_id: String,
|
|
67
61
|
?workspace_id: String,
|
|
@@ -69,7 +63,7 @@ module Anthropic
|
|
|
69
63
|
) -> Anthropic::Internal::Type::BaseStream[bot, Anthropic::Models::Beta::beta_raw_message_stream_event]
|
|
70
64
|
|
|
71
65
|
def count_tokens: (
|
|
72
|
-
messages: ::Array[Anthropic::Beta::
|
|
66
|
+
messages: ::Array[Anthropic::Models::Beta::beta_message_param],
|
|
73
67
|
model: Anthropic::Models::model,
|
|
74
68
|
?cache_control: Anthropic::Beta::BetaCacheControlEphemeral?,
|
|
75
69
|
?compaction: Anthropic::Beta::BetaCompactionConfig?,
|
|
@@ -90,7 +84,7 @@ module Anthropic
|
|
|
90
84
|
|
|
91
85
|
def stream: (
|
|
92
86
|
max_tokens: Integer,
|
|
93
|
-
messages: ::Array[Anthropic::Beta::
|
|
87
|
+
messages: ::Array[Anthropic::Models::Beta::beta_message_param],
|
|
94
88
|
model: Anthropic::Models::model,
|
|
95
89
|
?cache_control: Anthropic::Beta::BetaCacheControlEphemeral?,
|
|
96
90
|
?compaction: Anthropic::Beta::BetaCompactionConfig?,
|
|
@@ -108,12 +102,9 @@ module Anthropic
|
|
|
108
102
|
?speed: Anthropic::Models::Beta::MessageCreateParams::speed?,
|
|
109
103
|
?stop_sequences: ::Array[String],
|
|
110
104
|
?system_: Anthropic::Models::Beta::MessageCreateParams::system_,
|
|
111
|
-
?temperature: Float,
|
|
112
105
|
?thinking: Anthropic::Models::Beta::beta_thinking_config_param,
|
|
113
106
|
?tool_choice: Anthropic::Models::Beta::beta_tool_choice,
|
|
114
107
|
?tools: ::Array[Anthropic::Models::Beta::beta_tool_union],
|
|
115
|
-
?top_k: Integer,
|
|
116
|
-
?top_p: Float,
|
|
117
108
|
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
118
109
|
?user_profile_id: String,
|
|
119
110
|
?workspace_id: String,
|
|
@@ -16,6 +16,7 @@ module Anthropic
|
|
|
16
16
|
?limit: Integer,
|
|
17
17
|
?page: String?,
|
|
18
18
|
?scope_type: ::Array[Anthropic::Models::Beta::Organization::SpendLimitListParams::scope_type]?,
|
|
19
|
+
?workspace_id: String?,
|
|
19
20
|
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
20
21
|
?request_options: Anthropic::request_opts
|
|
21
22
|
) -> Anthropic::Internal::PageCursor[Anthropic::Beta::Organization::BetaSpendLimit]
|
|
@@ -40,10 +40,10 @@ module Anthropic
|
|
|
40
40
|
def add: (
|
|
41
41
|
String session_id,
|
|
42
42
|
file_id: String,
|
|
43
|
-
type: Anthropic::Models::Beta::BetaManagedAgentsFileResourceParams::type_,
|
|
44
43
|
?mount_path: String?,
|
|
45
44
|
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
46
45
|
?workspace_id: String,
|
|
46
|
+
?type: :file,
|
|
47
47
|
?request_options: Anthropic::request_opts
|
|
48
48
|
) -> Anthropic::Beta::Sessions::BetaManagedAgentsFileResource
|
|
49
49
|
|
|
@@ -5,7 +5,7 @@ module Anthropic
|
|
|
5
5
|
|
|
6
6
|
def create: (
|
|
7
7
|
max_tokens: Integer,
|
|
8
|
-
messages: ::Array[Anthropic::
|
|
8
|
+
messages: ::Array[Anthropic::Models::message_param],
|
|
9
9
|
model: Anthropic::Models::model,
|
|
10
10
|
?cache_control: Anthropic::CacheControlEphemeral?,
|
|
11
11
|
?container: Anthropic::Models::message_create_params_container?,
|
|
@@ -17,12 +17,9 @@ module Anthropic
|
|
|
17
17
|
?speed: Anthropic::Models::MessageCreateParams::speed?,
|
|
18
18
|
?stop_sequences: ::Array[String],
|
|
19
19
|
?system_: Anthropic::Models::MessageCreateParams::system_,
|
|
20
|
-
?temperature: Float,
|
|
21
20
|
?thinking: Anthropic::Models::thinking_config_param,
|
|
22
21
|
?tool_choice: Anthropic::Models::tool_choice,
|
|
23
22
|
?tools: ::Array[Anthropic::Models::tool_union],
|
|
24
|
-
?top_k: Integer,
|
|
25
|
-
?top_p: Float,
|
|
26
23
|
?user_profile_id: String,
|
|
27
24
|
?workspace_id: String,
|
|
28
25
|
?request_options: Anthropic::request_opts
|
|
@@ -30,7 +27,7 @@ module Anthropic
|
|
|
30
27
|
|
|
31
28
|
def stream_raw: (
|
|
32
29
|
max_tokens: Integer,
|
|
33
|
-
messages: ::Array[Anthropic::
|
|
30
|
+
messages: ::Array[Anthropic::Models::message_param],
|
|
34
31
|
model: Anthropic::Models::model,
|
|
35
32
|
?cache_control: Anthropic::CacheControlEphemeral?,
|
|
36
33
|
?container: Anthropic::Models::message_create_params_container?,
|
|
@@ -42,19 +39,16 @@ module Anthropic
|
|
|
42
39
|
?speed: Anthropic::Models::MessageCreateParams::speed?,
|
|
43
40
|
?stop_sequences: ::Array[String],
|
|
44
41
|
?system_: Anthropic::Models::MessageCreateParams::system_,
|
|
45
|
-
?temperature: Float,
|
|
46
42
|
?thinking: Anthropic::Models::thinking_config_param,
|
|
47
43
|
?tool_choice: Anthropic::Models::tool_choice,
|
|
48
44
|
?tools: ::Array[Anthropic::Models::tool_union],
|
|
49
|
-
?top_k: Integer,
|
|
50
|
-
?top_p: Float,
|
|
51
45
|
?user_profile_id: String,
|
|
52
46
|
?workspace_id: String,
|
|
53
47
|
?request_options: Anthropic::request_opts
|
|
54
48
|
) -> Anthropic::Internal::Type::BaseStream[bot, Anthropic::Models::raw_message_stream_event]
|
|
55
49
|
|
|
56
50
|
def count_tokens: (
|
|
57
|
-
messages: ::Array[Anthropic::
|
|
51
|
+
messages: ::Array[Anthropic::Models::message_param],
|
|
58
52
|
model: Anthropic::Models::model,
|
|
59
53
|
?cache_control: Anthropic::CacheControlEphemeral?,
|
|
60
54
|
?output_config: Anthropic::OutputConfig,
|
|
@@ -70,7 +64,7 @@ module Anthropic
|
|
|
70
64
|
|
|
71
65
|
def stream: (
|
|
72
66
|
max_tokens: Integer,
|
|
73
|
-
messages: ::Array[Anthropic::
|
|
67
|
+
messages: ::Array[Anthropic::Models::message_param],
|
|
74
68
|
model: Anthropic::Models::model,
|
|
75
69
|
?cache_control: Anthropic::CacheControlEphemeral?,
|
|
76
70
|
?container: Anthropic::Models::message_create_params_container?,
|
|
@@ -82,12 +76,9 @@ module Anthropic
|
|
|
82
76
|
?speed: Anthropic::Models::MessageCreateParams::speed?,
|
|
83
77
|
?stop_sequences: ::Array[String],
|
|
84
78
|
?system_: Anthropic::Models::MessageCreateParams::system_,
|
|
85
|
-
?temperature: Float,
|
|
86
79
|
?thinking: Anthropic::Models::thinking_config_param,
|
|
87
80
|
?tool_choice: Anthropic::Models::tool_choice,
|
|
88
81
|
?tools: ::Array[Anthropic::Models::tool_union],
|
|
89
|
-
?top_k: Integer,
|
|
90
|
-
?top_p: Float,
|
|
91
82
|
?user_profile_id: String,
|
|
92
83
|
?workspace_id: String,
|
|
93
84
|
?request_options: Anthropic::request_opts
|
|
@@ -3,7 +3,6 @@ module Anthropic
|
|
|
3
3
|
class Models
|
|
4
4
|
def retrieve: (
|
|
5
5
|
String model_id,
|
|
6
|
-
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
7
6
|
?workspace_id: String,
|
|
8
7
|
?request_options: Anthropic::request_opts
|
|
9
8
|
) -> Anthropic::ModelInfo
|
|
@@ -13,7 +12,6 @@ module Anthropic
|
|
|
13
12
|
?before_id: String,
|
|
14
13
|
?lifecycle: ::Array[Anthropic::Models::ModelListParams::lifecycle],
|
|
15
14
|
?limit: Integer,
|
|
16
|
-
?betas: ::Array[Anthropic::Models::anthropic_beta],
|
|
17
15
|
?workspace_id: String,
|
|
18
16
|
?request_options: Anthropic::request_opts
|
|
19
17
|
) -> Anthropic::Internal::Page[Anthropic::ModelInfo]
|
|
@@ -29,6 +29,7 @@ module Anthropic
|
|
|
29
29
|
) -> Anthropic::UserProfile
|
|
30
30
|
|
|
31
31
|
def list: (
|
|
32
|
+
?enforcement_status: ::Array[Anthropic::Models::user_profile_enforcement_status],
|
|
32
33
|
?limit: Integer,
|
|
33
34
|
?order: Anthropic::Models::user_profile_list_order,
|
|
34
35
|
?order_by: Anthropic::Models::user_profile_list_order_by,
|
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: 1.
|
|
4
|
+
version: 2.1.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
|
|
@@ -1734,8 +1740,6 @@ files:
|
|
|
1734
1740
|
- lib/anthropic/models/code_execution_tool_result_error.rb
|
|
1735
1741
|
- lib/anthropic/models/code_execution_tool_result_error_code.rb
|
|
1736
1742
|
- lib/anthropic/models/code_execution_tool_result_error_param.rb
|
|
1737
|
-
- lib/anthropic/models/completion.rb
|
|
1738
|
-
- lib/anthropic/models/completion_create_params.rb
|
|
1739
1743
|
- lib/anthropic/models/computer_cursor_position_config.rb
|
|
1740
1744
|
- lib/anthropic/models/computer_cursor_position_input.rb
|
|
1741
1745
|
- lib/anthropic/models/computer_cursor_position_tool_use_block.rb
|
|
@@ -1831,6 +1835,7 @@ files:
|
|
|
1831
1835
|
- lib/anthropic/models/json_output_format.rb
|
|
1832
1836
|
- lib/anthropic/models/memory_tool_20250818.rb
|
|
1833
1837
|
- lib/anthropic/models/message.rb
|
|
1838
|
+
- lib/anthropic/models/message_content_param.rb
|
|
1834
1839
|
- lib/anthropic/models/message_count_tokens_params.rb
|
|
1835
1840
|
- lib/anthropic/models/message_count_tokens_tool.rb
|
|
1836
1841
|
- lib/anthropic/models/message_create_params.rb
|
|
@@ -2024,6 +2029,7 @@ files:
|
|
|
2024
2029
|
- lib/anthropic/models/skills/version_list_params.rb
|
|
2025
2030
|
- lib/anthropic/models/skills/version_retrieve_params.rb
|
|
2026
2031
|
- lib/anthropic/models/stop_reason.rb
|
|
2032
|
+
- lib/anthropic/models/system_message_param.rb
|
|
2027
2033
|
- lib/anthropic/models/text_block.rb
|
|
2028
2034
|
- lib/anthropic/models/text_block_param.rb
|
|
2029
2035
|
- lib/anthropic/models/text_citation.rb
|
|
@@ -2081,6 +2087,7 @@ files:
|
|
|
2081
2087
|
- lib/anthropic/models/url_pdf_source.rb
|
|
2082
2088
|
- lib/anthropic/models/usage.rb
|
|
2083
2089
|
- lib/anthropic/models/user_location.rb
|
|
2090
|
+
- lib/anthropic/models/user_message_param.rb
|
|
2084
2091
|
- lib/anthropic/models/user_profile.rb
|
|
2085
2092
|
- lib/anthropic/models/user_profile_access_type.rb
|
|
2086
2093
|
- lib/anthropic/models/user_profile_create_params.rb
|
|
@@ -2090,6 +2097,12 @@ files:
|
|
|
2090
2097
|
- lib/anthropic/models/user_profile_delete_params.rb
|
|
2091
2098
|
- lib/anthropic/models/user_profile_efs_feature.rb
|
|
2092
2099
|
- lib/anthropic/models/user_profile_efs_program.rb
|
|
2100
|
+
- lib/anthropic/models/user_profile_enforcement_action.rb
|
|
2101
|
+
- lib/anthropic/models/user_profile_enforcement_action_ban.rb
|
|
2102
|
+
- lib/anthropic/models/user_profile_enforcement_action_next_step.rb
|
|
2103
|
+
- lib/anthropic/models/user_profile_enforcement_action_reason.rb
|
|
2104
|
+
- lib/anthropic/models/user_profile_enforcement_action_restriction.rb
|
|
2105
|
+
- lib/anthropic/models/user_profile_enforcement_status.rb
|
|
2093
2106
|
- lib/anthropic/models/user_profile_external_user_account_status.rb
|
|
2094
2107
|
- lib/anthropic/models/user_profile_external_user_details.rb
|
|
2095
2108
|
- lib/anthropic/models/user_profile_external_user_details_params.rb
|
|
@@ -2209,7 +2222,6 @@ files:
|
|
|
2209
2222
|
- lib/anthropic/resources/beta/vaults.rb
|
|
2210
2223
|
- lib/anthropic/resources/beta/vaults/credentials.rb
|
|
2211
2224
|
- lib/anthropic/resources/beta/webhooks.rb
|
|
2212
|
-
- lib/anthropic/resources/completions.rb
|
|
2213
2225
|
- lib/anthropic/resources/files.rb
|
|
2214
2226
|
- lib/anthropic/resources/messages.rb
|
|
2215
2227
|
- lib/anthropic/resources/messages/batches.rb
|
|
@@ -2296,6 +2308,7 @@ files:
|
|
|
2296
2308
|
- rbi/anthropic/models.rbi
|
|
2297
2309
|
- rbi/anthropic/models/anthropic_beta.rbi
|
|
2298
2310
|
- rbi/anthropic/models/api_error_object.rbi
|
|
2311
|
+
- rbi/anthropic/models/assistant_message_param.rbi
|
|
2299
2312
|
- rbi/anthropic/models/authentication_error.rbi
|
|
2300
2313
|
- rbi/anthropic/models/base64_image_source.rbi
|
|
2301
2314
|
- rbi/anthropic/models/base64_pdf_source.rbi
|
|
@@ -2325,6 +2338,7 @@ files:
|
|
|
2325
2338
|
- rbi/anthropic/models/beta/beta_advisor_tool_result_error.rbi
|
|
2326
2339
|
- rbi/anthropic/models/beta/beta_advisor_tool_result_error_param.rbi
|
|
2327
2340
|
- rbi/anthropic/models/beta/beta_all_thinking_turns.rbi
|
|
2341
|
+
- rbi/anthropic/models/beta/beta_assistant_message_param.rbi
|
|
2328
2342
|
- rbi/anthropic/models/beta/beta_base64_image_source.rbi
|
|
2329
2343
|
- rbi/anthropic/models/beta/beta_base64_pdf_block.rbi
|
|
2330
2344
|
- rbi/anthropic/models/beta/beta_base64_pdf_source.rbi
|
|
@@ -2839,6 +2853,7 @@ files:
|
|
|
2839
2853
|
- rbi/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbi
|
|
2840
2854
|
- rbi/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbi
|
|
2841
2855
|
- rbi/anthropic/models/beta/beta_message.rbi
|
|
2856
|
+
- rbi/anthropic/models/beta/beta_message_content_param.rbi
|
|
2842
2857
|
- rbi/anthropic/models/beta/beta_message_delta_usage.rbi
|
|
2843
2858
|
- rbi/anthropic/models/beta/beta_message_iteration_usage.rbi
|
|
2844
2859
|
- rbi/anthropic/models/beta/beta_message_param.rbi
|
|
@@ -2898,6 +2913,7 @@ files:
|
|
|
2898
2913
|
- rbi/anthropic/models/beta/beta_stop_reason.rbi
|
|
2899
2914
|
- rbi/anthropic/models/beta/beta_summarize_compaction.rbi
|
|
2900
2915
|
- rbi/anthropic/models/beta/beta_system_message_output_config.rbi
|
|
2916
|
+
- rbi/anthropic/models/beta/beta_system_message_param.rbi
|
|
2901
2917
|
- rbi/anthropic/models/beta/beta_target_store_held_error.rbi
|
|
2902
2918
|
- rbi/anthropic/models/beta/beta_text_block.rbi
|
|
2903
2919
|
- rbi/anthropic/models/beta/beta_text_block_param.rbi
|
|
@@ -2975,6 +2991,7 @@ files:
|
|
|
2975
2991
|
- rbi/anthropic/models/beta/beta_url_pdf_source.rbi
|
|
2976
2992
|
- rbi/anthropic/models/beta/beta_usage.rbi
|
|
2977
2993
|
- rbi/anthropic/models/beta/beta_user_location.rbi
|
|
2994
|
+
- rbi/anthropic/models/beta/beta_user_message_param.rbi
|
|
2978
2995
|
- rbi/anthropic/models/beta/beta_user_profile.rbi
|
|
2979
2996
|
- rbi/anthropic/models/beta/beta_user_profile_enrollment_url.rbi
|
|
2980
2997
|
- rbi/anthropic/models/beta/beta_user_profile_external_user_details.rbi
|
|
@@ -3856,8 +3873,6 @@ files:
|
|
|
3856
3873
|
- rbi/anthropic/models/code_execution_tool_result_error.rbi
|
|
3857
3874
|
- rbi/anthropic/models/code_execution_tool_result_error_code.rbi
|
|
3858
3875
|
- rbi/anthropic/models/code_execution_tool_result_error_param.rbi
|
|
3859
|
-
- rbi/anthropic/models/completion.rbi
|
|
3860
|
-
- rbi/anthropic/models/completion_create_params.rbi
|
|
3861
3876
|
- rbi/anthropic/models/computer_cursor_position_config.rbi
|
|
3862
3877
|
- rbi/anthropic/models/computer_cursor_position_input.rbi
|
|
3863
3878
|
- rbi/anthropic/models/computer_cursor_position_tool_use_block.rbi
|
|
@@ -3953,6 +3968,7 @@ files:
|
|
|
3953
3968
|
- rbi/anthropic/models/json_output_format.rbi
|
|
3954
3969
|
- rbi/anthropic/models/memory_tool_20250818.rbi
|
|
3955
3970
|
- rbi/anthropic/models/message.rbi
|
|
3971
|
+
- rbi/anthropic/models/message_content_param.rbi
|
|
3956
3972
|
- rbi/anthropic/models/message_count_tokens_params.rbi
|
|
3957
3973
|
- rbi/anthropic/models/message_count_tokens_tool.rbi
|
|
3958
3974
|
- rbi/anthropic/models/message_create_params.rbi
|
|
@@ -4146,6 +4162,7 @@ files:
|
|
|
4146
4162
|
- rbi/anthropic/models/skills/version_list_params.rbi
|
|
4147
4163
|
- rbi/anthropic/models/skills/version_retrieve_params.rbi
|
|
4148
4164
|
- rbi/anthropic/models/stop_reason.rbi
|
|
4165
|
+
- rbi/anthropic/models/system_message_param.rbi
|
|
4149
4166
|
- rbi/anthropic/models/text_block.rbi
|
|
4150
4167
|
- rbi/anthropic/models/text_block_param.rbi
|
|
4151
4168
|
- rbi/anthropic/models/text_citation.rbi
|
|
@@ -4203,6 +4220,7 @@ files:
|
|
|
4203
4220
|
- rbi/anthropic/models/url_pdf_source.rbi
|
|
4204
4221
|
- rbi/anthropic/models/usage.rbi
|
|
4205
4222
|
- rbi/anthropic/models/user_location.rbi
|
|
4223
|
+
- rbi/anthropic/models/user_message_param.rbi
|
|
4206
4224
|
- rbi/anthropic/models/user_profile.rbi
|
|
4207
4225
|
- rbi/anthropic/models/user_profile_access_type.rbi
|
|
4208
4226
|
- rbi/anthropic/models/user_profile_create_params.rbi
|
|
@@ -4212,6 +4230,12 @@ files:
|
|
|
4212
4230
|
- rbi/anthropic/models/user_profile_delete_params.rbi
|
|
4213
4231
|
- rbi/anthropic/models/user_profile_efs_feature.rbi
|
|
4214
4232
|
- rbi/anthropic/models/user_profile_efs_program.rbi
|
|
4233
|
+
- rbi/anthropic/models/user_profile_enforcement_action.rbi
|
|
4234
|
+
- rbi/anthropic/models/user_profile_enforcement_action_ban.rbi
|
|
4235
|
+
- rbi/anthropic/models/user_profile_enforcement_action_next_step.rbi
|
|
4236
|
+
- rbi/anthropic/models/user_profile_enforcement_action_reason.rbi
|
|
4237
|
+
- rbi/anthropic/models/user_profile_enforcement_action_restriction.rbi
|
|
4238
|
+
- rbi/anthropic/models/user_profile_enforcement_status.rbi
|
|
4215
4239
|
- rbi/anthropic/models/user_profile_external_user_account_status.rbi
|
|
4216
4240
|
- rbi/anthropic/models/user_profile_external_user_details.rbi
|
|
4217
4241
|
- rbi/anthropic/models/user_profile_external_user_details_params.rbi
|
|
@@ -4331,7 +4355,6 @@ files:
|
|
|
4331
4355
|
- rbi/anthropic/resources/beta/vaults.rbi
|
|
4332
4356
|
- rbi/anthropic/resources/beta/vaults/credentials.rbi
|
|
4333
4357
|
- rbi/anthropic/resources/beta/webhooks.rbi
|
|
4334
|
-
- rbi/anthropic/resources/completions.rbi
|
|
4335
4358
|
- rbi/anthropic/resources/files.rbi
|
|
4336
4359
|
- rbi/anthropic/resources/messages.rbi
|
|
4337
4360
|
- rbi/anthropic/resources/messages/batches.rbi
|
|
@@ -4402,6 +4425,7 @@ files:
|
|
|
4402
4425
|
- sig/anthropic/models.rbs
|
|
4403
4426
|
- sig/anthropic/models/anthropic_beta.rbs
|
|
4404
4427
|
- sig/anthropic/models/api_error_object.rbs
|
|
4428
|
+
- sig/anthropic/models/assistant_message_param.rbs
|
|
4405
4429
|
- sig/anthropic/models/authentication_error.rbs
|
|
4406
4430
|
- sig/anthropic/models/base64_image_source.rbs
|
|
4407
4431
|
- sig/anthropic/models/base64_pdf_source.rbs
|
|
@@ -4431,6 +4455,7 @@ files:
|
|
|
4431
4455
|
- sig/anthropic/models/beta/beta_advisor_tool_result_error.rbs
|
|
4432
4456
|
- sig/anthropic/models/beta/beta_advisor_tool_result_error_param.rbs
|
|
4433
4457
|
- sig/anthropic/models/beta/beta_all_thinking_turns.rbs
|
|
4458
|
+
- sig/anthropic/models/beta/beta_assistant_message_param.rbs
|
|
4434
4459
|
- sig/anthropic/models/beta/beta_base64_image_source.rbs
|
|
4435
4460
|
- sig/anthropic/models/beta/beta_base64_pdf_block.rbs
|
|
4436
4461
|
- sig/anthropic/models/beta/beta_base64_pdf_source.rbs
|
|
@@ -4945,6 +4970,7 @@ files:
|
|
|
4945
4970
|
- sig/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbs
|
|
4946
4971
|
- sig/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbs
|
|
4947
4972
|
- sig/anthropic/models/beta/beta_message.rbs
|
|
4973
|
+
- sig/anthropic/models/beta/beta_message_content_param.rbs
|
|
4948
4974
|
- sig/anthropic/models/beta/beta_message_delta_usage.rbs
|
|
4949
4975
|
- sig/anthropic/models/beta/beta_message_iteration_usage.rbs
|
|
4950
4976
|
- sig/anthropic/models/beta/beta_message_param.rbs
|
|
@@ -5004,6 +5030,7 @@ files:
|
|
|
5004
5030
|
- sig/anthropic/models/beta/beta_stop_reason.rbs
|
|
5005
5031
|
- sig/anthropic/models/beta/beta_summarize_compaction.rbs
|
|
5006
5032
|
- sig/anthropic/models/beta/beta_system_message_output_config.rbs
|
|
5033
|
+
- sig/anthropic/models/beta/beta_system_message_param.rbs
|
|
5007
5034
|
- sig/anthropic/models/beta/beta_target_store_held_error.rbs
|
|
5008
5035
|
- sig/anthropic/models/beta/beta_text_block.rbs
|
|
5009
5036
|
- sig/anthropic/models/beta/beta_text_block_param.rbs
|
|
@@ -5081,6 +5108,7 @@ files:
|
|
|
5081
5108
|
- sig/anthropic/models/beta/beta_url_pdf_source.rbs
|
|
5082
5109
|
- sig/anthropic/models/beta/beta_usage.rbs
|
|
5083
5110
|
- sig/anthropic/models/beta/beta_user_location.rbs
|
|
5111
|
+
- sig/anthropic/models/beta/beta_user_message_param.rbs
|
|
5084
5112
|
- sig/anthropic/models/beta/beta_user_profile.rbs
|
|
5085
5113
|
- sig/anthropic/models/beta/beta_user_profile_enrollment_url.rbs
|
|
5086
5114
|
- sig/anthropic/models/beta/beta_user_profile_external_user_details.rbs
|
|
@@ -5962,8 +5990,6 @@ files:
|
|
|
5962
5990
|
- sig/anthropic/models/code_execution_tool_result_error.rbs
|
|
5963
5991
|
- sig/anthropic/models/code_execution_tool_result_error_code.rbs
|
|
5964
5992
|
- sig/anthropic/models/code_execution_tool_result_error_param.rbs
|
|
5965
|
-
- sig/anthropic/models/completion.rbs
|
|
5966
|
-
- sig/anthropic/models/completion_create_params.rbs
|
|
5967
5993
|
- sig/anthropic/models/computer_cursor_position_config.rbs
|
|
5968
5994
|
- sig/anthropic/models/computer_cursor_position_input.rbs
|
|
5969
5995
|
- sig/anthropic/models/computer_cursor_position_tool_use_block.rbs
|
|
@@ -6059,6 +6085,7 @@ files:
|
|
|
6059
6085
|
- sig/anthropic/models/json_output_format.rbs
|
|
6060
6086
|
- sig/anthropic/models/memory_tool_20250818.rbs
|
|
6061
6087
|
- sig/anthropic/models/message.rbs
|
|
6088
|
+
- sig/anthropic/models/message_content_param.rbs
|
|
6062
6089
|
- sig/anthropic/models/message_count_tokens_params.rbs
|
|
6063
6090
|
- sig/anthropic/models/message_count_tokens_tool.rbs
|
|
6064
6091
|
- sig/anthropic/models/message_create_params.rbs
|
|
@@ -6252,6 +6279,7 @@ files:
|
|
|
6252
6279
|
- sig/anthropic/models/skills/version_list_params.rbs
|
|
6253
6280
|
- sig/anthropic/models/skills/version_retrieve_params.rbs
|
|
6254
6281
|
- sig/anthropic/models/stop_reason.rbs
|
|
6282
|
+
- sig/anthropic/models/system_message_param.rbs
|
|
6255
6283
|
- sig/anthropic/models/text_block.rbs
|
|
6256
6284
|
- sig/anthropic/models/text_block_param.rbs
|
|
6257
6285
|
- sig/anthropic/models/text_citation.rbs
|
|
@@ -6309,6 +6337,7 @@ files:
|
|
|
6309
6337
|
- sig/anthropic/models/url_pdf_source.rbs
|
|
6310
6338
|
- sig/anthropic/models/usage.rbs
|
|
6311
6339
|
- sig/anthropic/models/user_location.rbs
|
|
6340
|
+
- sig/anthropic/models/user_message_param.rbs
|
|
6312
6341
|
- sig/anthropic/models/user_profile.rbs
|
|
6313
6342
|
- sig/anthropic/models/user_profile_access_type.rbs
|
|
6314
6343
|
- sig/anthropic/models/user_profile_create_params.rbs
|
|
@@ -6318,6 +6347,12 @@ files:
|
|
|
6318
6347
|
- sig/anthropic/models/user_profile_delete_params.rbs
|
|
6319
6348
|
- sig/anthropic/models/user_profile_efs_feature.rbs
|
|
6320
6349
|
- sig/anthropic/models/user_profile_efs_program.rbs
|
|
6350
|
+
- sig/anthropic/models/user_profile_enforcement_action.rbs
|
|
6351
|
+
- sig/anthropic/models/user_profile_enforcement_action_ban.rbs
|
|
6352
|
+
- sig/anthropic/models/user_profile_enforcement_action_next_step.rbs
|
|
6353
|
+
- sig/anthropic/models/user_profile_enforcement_action_reason.rbs
|
|
6354
|
+
- sig/anthropic/models/user_profile_enforcement_action_restriction.rbs
|
|
6355
|
+
- sig/anthropic/models/user_profile_enforcement_status.rbs
|
|
6321
6356
|
- sig/anthropic/models/user_profile_external_user_account_status.rbs
|
|
6322
6357
|
- sig/anthropic/models/user_profile_external_user_details.rbs
|
|
6323
6358
|
- sig/anthropic/models/user_profile_external_user_details_params.rbs
|
|
@@ -6437,7 +6472,6 @@ files:
|
|
|
6437
6472
|
- sig/anthropic/resources/beta/vaults.rbs
|
|
6438
6473
|
- sig/anthropic/resources/beta/vaults/credentials.rbs
|
|
6439
6474
|
- sig/anthropic/resources/beta/webhooks.rbs
|
|
6440
|
-
- sig/anthropic/resources/completions.rbs
|
|
6441
6475
|
- sig/anthropic/resources/files.rbs
|
|
6442
6476
|
- sig/anthropic/resources/messages.rbs
|
|
6443
6477
|
- sig/anthropic/resources/messages/batches.rbs
|
|
@@ -6468,7 +6502,7 @@ files:
|
|
|
6468
6502
|
- sig/anthropic/vertex.rbs
|
|
6469
6503
|
homepage: https://gemdocs.org/gems/anthropic
|
|
6470
6504
|
licenses:
|
|
6471
|
-
-
|
|
6505
|
+
- Apache-2.0
|
|
6472
6506
|
metadata:
|
|
6473
6507
|
homepage_uri: https://gemdocs.org/gems/anthropic
|
|
6474
6508
|
source_code_uri: https://github.com/anthropics/anthropic-sdk-ruby
|
|
@@ -6488,7 +6522,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
6488
6522
|
- !ruby/object:Gem::Version
|
|
6489
6523
|
version: '0'
|
|
6490
6524
|
requirements: []
|
|
6491
|
-
rubygems_version: 3.4.
|
|
6525
|
+
rubygems_version: 3.4.19
|
|
6492
6526
|
signing_key:
|
|
6493
6527
|
specification_version: 4
|
|
6494
6528
|
summary: Ruby library to access the Anthropic API
|
|
@@ -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
|