anthropic 1.71.0 → 1.72.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.
Files changed (630) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/anthropic/helpers/bedrock/event_stream.rb +14 -4
  5. data/lib/anthropic/models/beta/agent_create_params.rb +1 -1
  6. data/lib/anthropic/models/beta/agent_update_params.rb +1 -1
  7. data/lib/anthropic/models/beta/beta_browser_state_change.rb +1 -1
  8. data/lib/anthropic/models/beta/beta_citations_delta.rb +1 -1
  9. data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +1 -1
  10. data/lib/anthropic/models/beta/beta_cloud_config.rb +1 -1
  11. data/lib/anthropic/models/beta/beta_cloud_config_params.rb +1 -1
  12. data/lib/anthropic/models/beta/beta_content_block.rb +1 -1
  13. data/lib/anthropic/models/beta/beta_content_block_param.rb +1 -1
  14. data/lib/anthropic/models/beta/beta_content_block_source_content.rb +1 -1
  15. data/lib/anthropic/models/beta/beta_context_management_config.rb +1 -1
  16. data/lib/anthropic/models/beta/beta_context_management_response.rb +1 -1
  17. data/lib/anthropic/models/beta/beta_diagnostics.rb +1 -1
  18. data/lib/anthropic/models/beta/beta_document_block.rb +1 -1
  19. data/lib/anthropic/models/beta/beta_dream_input.rb +1 -1
  20. data/lib/anthropic/models/beta/beta_dream_status.rb +15 -0
  21. data/lib/anthropic/models/beta/beta_dreaming_error.rb +1 -1
  22. data/lib/anthropic/models/beta/beta_environment.rb +1 -1
  23. data/lib/anthropic/models/beta/beta_fallback_credit_usage.rb +1 -1
  24. data/lib/anthropic/models/beta/beta_fallback_param.rb +1 -1
  25. data/lib/anthropic/models/beta/beta_image_block_param.rb +1 -1
  26. data/lib/anthropic/models/beta/beta_input_transformation.rb +1 -1
  27. data/lib/anthropic/models/beta/beta_iterations_usage.rb +1 -1
  28. data/lib/anthropic/models/beta/beta_managed_agents_agent.rb +2 -2
  29. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config.rb +1 -1
  30. data/lib/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rb +1 -1
  31. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rb +1 -1
  32. data/lib/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rb +1 -1
  33. data/lib/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rb +1 -1
  34. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config.rb +1 -1
  35. data/lib/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rb +1 -1
  36. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rb +1 -1
  37. data/lib/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rb +1 -1
  38. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rb +1 -1
  39. data/lib/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rb +1 -1
  40. data/lib/anthropic/models/beta/beta_managed_agents_deployment_run.rb +1 -1
  41. data/lib/anthropic/models/beta/beta_managed_agents_deployment_status.rb +3 -0
  42. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rb +1 -1
  43. data/lib/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rb +1 -1
  44. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config.rb +1 -1
  45. data/lib/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rb +1 -1
  46. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rb +1 -1
  47. data/lib/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rb +1 -1
  48. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config.rb +1 -1
  49. data/lib/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rb +1 -1
  50. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config.rb +1 -1
  51. data/lib/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rb +1 -1
  52. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rb +1 -1
  53. data/lib/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rb +1 -1
  54. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rb +1 -1
  55. data/lib/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rb +1 -1
  56. data/lib/anthropic/models/beta/beta_managed_agents_model_config.rb +1 -1
  57. data/lib/anthropic/models/beta/beta_managed_agents_model_config_params.rb +9 -0
  58. data/lib/anthropic/models/beta/beta_managed_agents_multiagent.rb +1 -1
  59. data/lib/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rb +1 -1
  60. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config.rb +1 -1
  61. data/lib/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rb +1 -1
  62. data/lib/anthropic/models/beta/beta_managed_agents_session.rb +7 -0
  63. data/lib/anthropic/models/beta/beta_managed_agents_session_agent.rb +2 -2
  64. data/lib/anthropic/models/beta/beta_managed_agents_session_agent_update.rb +1 -1
  65. data/lib/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rb +1 -1
  66. data/lib/anthropic/models/beta/beta_managed_agents_session_resource_config.rb +1 -1
  67. data/lib/anthropic/models/beta/beta_managed_agents_session_thread_agent.rb +2 -2
  68. data/lib/anthropic/models/beta/beta_managed_agents_skill_params.rb +1 -1
  69. data/lib/anthropic/models/beta/beta_managed_agents_start_event_preview.rb +1 -1
  70. data/lib/anthropic/models/beta/beta_managed_agents_trigger_context.rb +1 -1
  71. data/lib/anthropic/models/beta/beta_managed_agents_trigger_type.rb +3 -0
  72. data/lib/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rb +1 -1
  73. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rb +1 -1
  74. data/lib/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rb +1 -1
  75. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rb +1 -1
  76. data/lib/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rb +1 -1
  77. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config.rb +1 -1
  78. data/lib/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rb +1 -1
  79. data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +1 -1
  80. data/lib/anthropic/models/beta/beta_output_behavior.rb +1 -1
  81. data/lib/anthropic/models/beta/beta_raw_content_block_delta.rb +1 -1
  82. data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +1 -1
  83. data/lib/anthropic/models/beta/beta_raw_message_stream_event.rb +1 -1
  84. data/lib/anthropic/models/beta/beta_request_document_block.rb +1 -1
  85. data/lib/anthropic/models/beta/beta_request_tool_addition_block.rb +2 -2
  86. data/lib/anthropic/models/beta/beta_request_tool_removal_block.rb +2 -2
  87. data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -1
  88. data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -1
  89. data/lib/anthropic/models/beta/beta_text_citation.rb +1 -1
  90. data/lib/anthropic/models/beta/beta_text_citation_param.rb +1 -1
  91. data/lib/anthropic/models/beta/beta_thinking_config_param.rb +1 -1
  92. data/lib/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rb +1 -1
  93. data/lib/anthropic/models/beta/beta_tool_choice.rb +1 -1
  94. data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +1 -1
  95. data/lib/anthropic/models/beta/beta_tool_use_block.rb +1 -1
  96. data/lib/anthropic/models/beta/beta_tool_use_block_param.rb +1 -1
  97. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +1 -1
  98. data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +1 -1
  99. data/lib/anthropic/models/beta/beta_web_fetch_url_sources.rb +3 -3
  100. data/lib/anthropic/models/beta/beta_web_search_tool_result_block.rb +1 -1
  101. data/lib/anthropic/models/beta/beta_web_search_tool_result_block_param.rb +1 -1
  102. data/lib/anthropic/models/beta/beta_webhook_event_data.rb +1 -1
  103. data/lib/anthropic/models/beta/deployment_create_params.rb +1 -1
  104. data/lib/anthropic/models/beta/deployment_update_params.rb +1 -1
  105. data/lib/anthropic/models/beta/environment_create_params.rb +1 -1
  106. data/lib/anthropic/models/beta/environment_update_params.rb +1 -1
  107. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rb +1 -1
  108. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_error.rb +1 -1
  109. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rb +1 -1
  110. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rb +5 -0
  111. data/lib/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rb +3 -0
  112. data/lib/anthropic/models/beta/messages/beta_message_batch_result.rb +1 -1
  113. data/lib/anthropic/models/beta/organization/beta_api_key.rb +2 -2
  114. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state.rb +1 -1
  115. data/lib/anthropic/models/beta/organization/beta_compliance_settings_state_param.rb +1 -1
  116. data/lib/anthropic/models/beta/organization/beta_external_key.rb +2 -2
  117. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit.rb +103 -10
  118. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rb +34 -0
  119. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rb +34 -0
  120. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rb +43 -0
  121. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rb +34 -0
  122. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rb +34 -0
  123. data/lib/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rb +34 -0
  124. data/lib/anthropic/models/beta/organization/external_key_create_params.rb +1 -1
  125. data/lib/anthropic/models/beta/organization/external_key_update_params.rb +1 -1
  126. data/lib/anthropic/models/beta/organization/federation/beta_federation_issuer.rb +1 -1
  127. data/lib/anthropic/models/beta/organization/federation/issuer_create_params.rb +1 -1
  128. data/lib/anthropic/models/beta/organization/federation/issuer_update_params.rb +1 -1
  129. data/lib/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rb +102 -10
  130. data/lib/anthropic/models/beta/session_create_params.rb +2 -2
  131. data/lib/anthropic/models/beta/session_list_params.rb +7 -0
  132. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rb +1 -1
  133. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rb +1 -1
  134. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rb +1 -1
  135. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rb +1 -1
  136. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rb +1 -1
  137. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rb +1 -1
  138. data/lib/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rb +1 -1
  139. data/lib/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rb +1 -1
  140. data/lib/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rb +1 -1
  141. data/lib/anthropic/models/beta/sessions/beta_managed_agents_document_block.rb +1 -1
  142. data/lib/anthropic/models/beta/sessions/beta_managed_agents_event_params.rb +1 -1
  143. data/lib/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rb +1 -1
  144. data/lib/anthropic/models/beta/sessions/beta_managed_agents_image_block.rb +1 -1
  145. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rb +1 -1
  146. data/lib/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rb +1 -1
  147. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rb +1 -1
  148. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rb +1 -1
  149. data/lib/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rb +1 -1
  150. data/lib/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rb +1 -1
  151. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rb +1 -1
  152. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_event.rb +1 -1
  153. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rb +1 -1
  154. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rb +1 -1
  155. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rb +1 -1
  156. data/lib/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rb +1 -1
  157. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rb +1 -1
  158. data/lib/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rb +1 -1
  159. data/lib/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rb +1 -1
  160. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rb +1 -1
  161. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rb +1 -1
  162. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rb +1 -1
  163. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rb +1 -1
  164. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rb +1 -1
  165. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rb +1 -1
  166. data/lib/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rb +1 -1
  167. data/lib/anthropic/models/beta/sessions/resource_retrieve_response.rb +1 -1
  168. data/lib/anthropic/models/beta/sessions/resource_update_response.rb +1 -1
  169. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential.rb +1 -1
  170. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rb +1 -1
  171. data/lib/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rb +5 -0
  172. data/lib/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rb +1 -1
  173. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rb +1 -1
  174. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rb +1 -1
  175. data/lib/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rb +1 -1
  176. data/lib/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rb +7 -0
  177. data/lib/anthropic/models/beta/vaults/credential_create_params.rb +1 -1
  178. data/lib/anthropic/models/beta/vaults/credential_update_params.rb +1 -1
  179. data/lib/anthropic/models/beta_error.rb +1 -1
  180. data/lib/anthropic/models/browser_state_change.rb +1 -1
  181. data/lib/anthropic/models/citations_delta.rb +1 -1
  182. data/lib/anthropic/models/content_block.rb +1 -1
  183. data/lib/anthropic/models/content_block_param.rb +1 -1
  184. data/lib/anthropic/models/content_block_source_content.rb +1 -1
  185. data/lib/anthropic/models/document_block.rb +1 -1
  186. data/lib/anthropic/models/document_block_param.rb +1 -1
  187. data/lib/anthropic/models/error_object.rb +1 -1
  188. data/lib/anthropic/models/image_block_param.rb +1 -1
  189. data/lib/anthropic/models/messages/message_batch_result.rb +1 -1
  190. data/lib/anthropic/models/raw_content_block_delta.rb +1 -1
  191. data/lib/anthropic/models/raw_content_block_start_event.rb +1 -1
  192. data/lib/anthropic/models/raw_message_stream_event.rb +1 -1
  193. data/lib/anthropic/models/server_tool_use_block.rb +1 -1
  194. data/lib/anthropic/models/server_tool_use_block_param.rb +1 -1
  195. data/lib/anthropic/models/text_citation.rb +1 -1
  196. data/lib/anthropic/models/text_citation_param.rb +1 -1
  197. data/lib/anthropic/models/thinking_config_param.rb +1 -1
  198. data/lib/anthropic/models/tool_choice.rb +1 -1
  199. data/lib/anthropic/models/tool_result_block_param.rb +1 -1
  200. data/lib/anthropic/models/tool_use_block.rb +1 -1
  201. data/lib/anthropic/models/tool_use_block_param.rb +1 -1
  202. data/lib/anthropic/models/web_fetch_tool_result_block.rb +1 -1
  203. data/lib/anthropic/models/web_fetch_tool_result_block_param.rb +1 -1
  204. data/lib/anthropic/models/web_fetch_url_sources.rb +3 -3
  205. data/lib/anthropic/models/web_search_tool_result_block.rb +1 -1
  206. data/lib/anthropic/models/web_search_tool_result_block_param.rb +1 -1
  207. data/lib/anthropic/resources/beta/agents/versions.rb +1 -1
  208. data/lib/anthropic/resources/beta/agents.rb +3 -3
  209. data/lib/anthropic/resources/beta/deployment_runs.rb +1 -1
  210. data/lib/anthropic/resources/beta/deployments.rb +6 -6
  211. data/lib/anthropic/resources/beta/memory_stores.rb +4 -4
  212. data/lib/anthropic/resources/beta/tunnels/certificates.rb +6 -6
  213. data/lib/anthropic/resources/beta/tunnels.rb +4 -4
  214. data/lib/anthropic/resources/beta/vaults/credentials.rb +12 -12
  215. data/lib/anthropic/resources/beta/vaults.rb +4 -4
  216. data/lib/anthropic/version.rb +1 -1
  217. data/lib/anthropic.rb +6 -0
  218. data/rbi/anthropic/models/beta/agent_create_params.rbi +1 -1
  219. data/rbi/anthropic/models/beta/agent_update_params.rbi +1 -1
  220. data/rbi/anthropic/models/beta/beta_browser_state_change.rbi +1 -1
  221. data/rbi/anthropic/models/beta/beta_citations_delta.rbi +2 -1
  222. data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +5 -1
  223. data/rbi/anthropic/models/beta/beta_cloud_config.rbi +2 -1
  224. data/rbi/anthropic/models/beta/beta_cloud_config_params.rbi +2 -1
  225. data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -1
  226. data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -1
  227. data/rbi/anthropic/models/beta/beta_content_block_source_content.rbi +2 -1
  228. data/rbi/anthropic/models/beta/beta_context_management_config.rbi +2 -1
  229. data/rbi/anthropic/models/beta/beta_context_management_response.rbi +2 -1
  230. data/rbi/anthropic/models/beta/beta_diagnostics.rbi +2 -1
  231. data/rbi/anthropic/models/beta/beta_document_block.rbi +1 -1
  232. data/rbi/anthropic/models/beta/beta_dream_input.rbi +1 -1
  233. data/rbi/anthropic/models/beta/beta_dream_status.rbi +15 -0
  234. data/rbi/anthropic/models/beta/beta_dreaming_error.rbi +4 -3
  235. data/rbi/anthropic/models/beta/beta_environment.rbi +1 -1
  236. data/rbi/anthropic/models/beta/beta_fallback_credit_usage.rbi +2 -1
  237. data/rbi/anthropic/models/beta/beta_fallback_param.rbi +2 -1
  238. data/rbi/anthropic/models/beta/beta_image_block_param.rbi +2 -1
  239. data/rbi/anthropic/models/beta/beta_input_transformation.rbi +1 -1
  240. data/rbi/anthropic/models/beta/beta_iterations_usage.rbi +1 -1
  241. data/rbi/anthropic/models/beta/beta_managed_agents_agent.rbi +4 -2
  242. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbi +2 -1
  243. data/rbi/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbi +2 -1
  244. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbi +4 -1
  245. data/rbi/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbi +4 -1
  246. data/rbi/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbi +2 -1
  247. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbi +4 -1
  248. data/rbi/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbi +4 -1
  249. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbi +2 -1
  250. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbi +2 -1
  251. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbi +2 -1
  252. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbi +4 -1
  253. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_run.rbi +5 -1
  254. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_status.rbi +3 -0
  255. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbi +2 -1
  256. data/rbi/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbi +2 -1
  257. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbi +4 -1
  258. data/rbi/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbi +4 -1
  259. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbi +2 -1
  260. data/rbi/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbi +2 -1
  261. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbi +4 -1
  262. data/rbi/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbi +4 -1
  263. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbi +4 -1
  264. data/rbi/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbi +4 -1
  265. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbi +4 -1
  266. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbi +4 -1
  267. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbi +4 -1
  268. data/rbi/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbi +4 -1
  269. data/rbi/anthropic/models/beta/beta_managed_agents_model_config.rbi +4 -1
  270. data/rbi/anthropic/models/beta/beta_managed_agents_model_config_params.rbi +9 -0
  271. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent.rbi +2 -1
  272. data/rbi/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbi +2 -1
  273. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config.rbi +4 -1
  274. data/rbi/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbi +4 -1
  275. data/rbi/anthropic/models/beta/beta_managed_agents_session.rbi +7 -0
  276. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent.rbi +4 -2
  277. data/rbi/anthropic/models/beta/beta_managed_agents_session_agent_update.rbi +2 -1
  278. data/rbi/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbi +2 -1
  279. data/rbi/anthropic/models/beta/beta_managed_agents_session_resource_config.rbi +2 -1
  280. data/rbi/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbi +4 -2
  281. data/rbi/anthropic/models/beta/beta_managed_agents_skill_params.rbi +1 -1
  282. data/rbi/anthropic/models/beta/beta_managed_agents_start_event_preview.rbi +5 -1
  283. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_context.rbi +5 -3
  284. data/rbi/anthropic/models/beta/beta_managed_agents_trigger_type.rbi +3 -0
  285. data/rbi/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbi +2 -1
  286. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbi +4 -1
  287. data/rbi/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbi +4 -1
  288. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbi +4 -1
  289. data/rbi/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbi +4 -1
  290. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config.rbi +4 -1
  291. data/rbi/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbi +4 -1
  292. data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +2 -1
  293. data/rbi/anthropic/models/beta/beta_output_behavior.rbi +4 -3
  294. data/rbi/anthropic/models/beta/beta_raw_content_block_delta.rbi +1 -1
  295. data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -1
  296. data/rbi/anthropic/models/beta/beta_raw_message_stream_event.rbi +1 -1
  297. data/rbi/anthropic/models/beta/beta_request_document_block.rbi +2 -1
  298. data/rbi/anthropic/models/beta/beta_request_tool_addition_block.rbi +2 -1
  299. data/rbi/anthropic/models/beta/beta_request_tool_removal_block.rbi +2 -1
  300. data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +5 -3
  301. data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -1
  302. data/rbi/anthropic/models/beta/beta_text_citation.rbi +1 -1
  303. data/rbi/anthropic/models/beta/beta_text_citation_param.rbi +1 -1
  304. data/rbi/anthropic/models/beta/beta_thinking_config_param.rbi +1 -1
  305. data/rbi/anthropic/models/beta/beta_tool_change_mcp_tool_reference.rbi +1 -1
  306. data/rbi/anthropic/models/beta/beta_tool_choice.rbi +1 -1
  307. data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -1
  308. data/rbi/anthropic/models/beta/beta_tool_use_block.rbi +4 -3
  309. data/rbi/anthropic/models/beta/beta_tool_use_block_param.rbi +5 -3
  310. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +5 -1
  311. data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +5 -1
  312. data/rbi/anthropic/models/beta/beta_web_fetch_url_sources.rbi +8 -3
  313. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block.rbi +5 -1
  314. data/rbi/anthropic/models/beta/beta_web_search_tool_result_block_param.rbi +5 -1
  315. data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +1 -1
  316. data/rbi/anthropic/models/beta/deployment_create_params.rbi +2 -1
  317. data/rbi/anthropic/models/beta/deployment_update_params.rbi +2 -1
  318. data/rbi/anthropic/models/beta/environment_create_params.rbi +2 -1
  319. data/rbi/anthropic/models/beta/environment_update_params.rbi +2 -1
  320. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbi +2 -1
  321. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbi +2 -1
  322. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbi +2 -1
  323. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbi +5 -0
  324. data/rbi/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbi +3 -0
  325. data/rbi/anthropic/models/beta/messages/beta_message_batch_result.rbi +2 -1
  326. data/rbi/anthropic/models/beta/organization/beta_api_key.rbi +7 -2
  327. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state.rbi +4 -1
  328. data/rbi/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbi +4 -1
  329. data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +6 -2
  330. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit.rbi +145 -11
  331. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbi +44 -0
  332. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbi +44 -0
  333. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbi +58 -0
  334. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbi +44 -0
  335. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbi +44 -0
  336. data/rbi/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbi +44 -0
  337. data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +2 -1
  338. data/rbi/anthropic/models/beta/organization/external_key_update_params.rbi +2 -1
  339. data/rbi/anthropic/models/beta/organization/federation/beta_federation_issuer.rbi +2 -1
  340. data/rbi/anthropic/models/beta/organization/federation/issuer_create_params.rbi +2 -1
  341. data/rbi/anthropic/models/beta/organization/federation/issuer_update_params.rbi +2 -1
  342. data/rbi/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbi +143 -11
  343. data/rbi/anthropic/models/beta/session_create_params.rbi +4 -2
  344. data/rbi/anthropic/models/beta/session_list_params.rbi +7 -0
  345. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbi +5 -1
  346. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbi +2 -1
  347. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbi +5 -1
  348. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbi +2 -1
  349. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbi +2 -1
  350. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbi +2 -1
  351. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbi +2 -1
  352. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbi +4 -1
  353. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbi +4 -1
  354. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbi +2 -1
  355. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbi +2 -1
  356. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbi +2 -1
  357. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbi +2 -1
  358. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbi +4 -1
  359. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbi +4 -1
  360. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbi +4 -1
  361. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbi +4 -1
  362. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbi +4 -1
  363. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbi +2 -1
  364. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbi +2 -1
  365. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbi +2 -1
  366. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbi +2 -1
  367. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbi +2 -1
  368. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbi +2 -1
  369. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbi +2 -1
  370. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbi +2 -1
  371. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbi +2 -1
  372. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbi +4 -1
  373. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbi +2 -1
  374. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbi +2 -1
  375. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbi +2 -1
  376. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbi +2 -1
  377. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbi +2 -1
  378. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbi +2 -1
  379. data/rbi/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbi +2 -1
  380. data/rbi/anthropic/models/beta/sessions/resource_retrieve_response.rbi +2 -1
  381. data/rbi/anthropic/models/beta/sessions/resource_update_response.rbi +2 -1
  382. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential.rbi +2 -1
  383. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbi +2 -1
  384. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbi +5 -0
  385. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbi +2 -1
  386. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbi +2 -1
  387. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbi +4 -1
  388. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbi +2 -1
  389. data/rbi/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbi +7 -0
  390. data/rbi/anthropic/models/beta/vaults/credential_create_params.rbi +2 -1
  391. data/rbi/anthropic/models/beta/vaults/credential_update_params.rbi +2 -1
  392. data/rbi/anthropic/models/beta_error.rbi +4 -3
  393. data/rbi/anthropic/models/browser_state_change.rbi +1 -1
  394. data/rbi/anthropic/models/citations_delta.rbi +1 -1
  395. data/rbi/anthropic/models/content_block.rbi +1 -1
  396. data/rbi/anthropic/models/content_block_param.rbi +1 -1
  397. data/rbi/anthropic/models/content_block_source_content.rbi +1 -1
  398. data/rbi/anthropic/models/document_block.rbi +1 -1
  399. data/rbi/anthropic/models/document_block_param.rbi +1 -1
  400. data/rbi/anthropic/models/error_object.rbi +4 -3
  401. data/rbi/anthropic/models/image_block_param.rbi +1 -1
  402. data/rbi/anthropic/models/messages/message_batch_result.rbi +1 -1
  403. data/rbi/anthropic/models/raw_content_block_delta.rbi +1 -1
  404. data/rbi/anthropic/models/raw_content_block_start_event.rbi +2 -1
  405. data/rbi/anthropic/models/raw_message_stream_event.rbi +1 -1
  406. data/rbi/anthropic/models/server_tool_use_block.rbi +4 -3
  407. data/rbi/anthropic/models/server_tool_use_block_param.rbi +4 -3
  408. data/rbi/anthropic/models/text_citation.rbi +1 -1
  409. data/rbi/anthropic/models/text_citation_param.rbi +1 -1
  410. data/rbi/anthropic/models/thinking_config_param.rbi +1 -1
  411. data/rbi/anthropic/models/tool_choice.rbi +1 -1
  412. data/rbi/anthropic/models/tool_result_block_param.rbi +2 -1
  413. data/rbi/anthropic/models/tool_use_block.rbi +4 -3
  414. data/rbi/anthropic/models/tool_use_block_param.rbi +4 -3
  415. data/rbi/anthropic/models/web_fetch_tool_result_block.rbi +4 -3
  416. data/rbi/anthropic/models/web_fetch_tool_result_block_param.rbi +5 -3
  417. data/rbi/anthropic/models/web_fetch_url_sources.rbi +7 -5
  418. data/rbi/anthropic/models/web_search_tool_result_block.rbi +4 -3
  419. data/rbi/anthropic/models/web_search_tool_result_block_param.rbi +5 -3
  420. data/rbi/anthropic/resources/beta/agents/versions.rbi +1 -1
  421. data/rbi/anthropic/resources/beta/agents.rbi +3 -3
  422. data/rbi/anthropic/resources/beta/deployment_runs.rbi +1 -1
  423. data/rbi/anthropic/resources/beta/deployments.rbi +6 -6
  424. data/rbi/anthropic/resources/beta/memory_stores.rbi +11 -4
  425. data/rbi/anthropic/resources/beta/tunnels/certificates.rbi +6 -6
  426. data/rbi/anthropic/resources/beta/tunnels.rbi +4 -4
  427. data/rbi/anthropic/resources/beta/vaults/credentials.rbi +12 -12
  428. data/rbi/anthropic/resources/beta/vaults.rbi +4 -4
  429. data/sig/anthropic/models/beta/agent_create_params.rbs +2 -1
  430. data/sig/anthropic/models/beta/agent_update_params.rbs +2 -1
  431. data/sig/anthropic/models/beta/beta_browser_state_change.rbs +2 -1
  432. data/sig/anthropic/models/beta/beta_citations_delta.rbs +2 -1
  433. data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +2 -1
  434. data/sig/anthropic/models/beta/beta_cloud_config.rbs +2 -1
  435. data/sig/anthropic/models/beta/beta_cloud_config_params.rbs +2 -1
  436. data/sig/anthropic/models/beta/beta_content_block.rbs +1 -1
  437. data/sig/anthropic/models/beta/beta_content_block_param.rbs +2 -1
  438. data/sig/anthropic/models/beta/beta_content_block_source_content.rbs +2 -1
  439. data/sig/anthropic/models/beta/beta_context_management_config.rbs +2 -1
  440. data/sig/anthropic/models/beta/beta_context_management_response.rbs +2 -1
  441. data/sig/anthropic/models/beta/beta_diagnostics.rbs +2 -1
  442. data/sig/anthropic/models/beta/beta_document_block.rbs +2 -1
  443. data/sig/anthropic/models/beta/beta_dream_input.rbs +1 -1
  444. data/sig/anthropic/models/beta/beta_dream_status.rbs +15 -0
  445. data/sig/anthropic/models/beta/beta_dreaming_error.rbs +1 -1
  446. data/sig/anthropic/models/beta/beta_environment.rbs +2 -1
  447. data/sig/anthropic/models/beta/beta_fallback_credit_usage.rbs +2 -1
  448. data/sig/anthropic/models/beta/beta_fallback_param.rbs +2 -1
  449. data/sig/anthropic/models/beta/beta_image_block_param.rbs +2 -1
  450. data/sig/anthropic/models/beta/beta_input_transformation.rbs +2 -1
  451. data/sig/anthropic/models/beta/beta_iterations_usage.rbs +2 -1
  452. data/sig/anthropic/models/beta/beta_managed_agents_agent.rbs +4 -2
  453. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config.rbs +2 -1
  454. data/sig/anthropic/models/beta/beta_managed_agents_agent_tool_config_params.rbs +2 -1
  455. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config.rbs +2 -1
  456. data/sig/anthropic/models/beta/beta_managed_agents_agent_toolset_default_config_params.rbs +2 -1
  457. data/sig/anthropic/models/beta/beta_managed_agents_agent_with_overrides_params.rbs +2 -1
  458. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config.rbs +2 -1
  459. data/sig/anthropic/models/beta/beta_managed_agents_bash_tool_config_params.rbs +2 -1
  460. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event.rbs +2 -1
  461. data/sig/anthropic/models/beta/beta_managed_agents_deployment_initial_event_params.rbs +2 -1
  462. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason.rbs +2 -1
  463. data/sig/anthropic/models/beta/beta_managed_agents_deployment_paused_reason_error.rbs +2 -1
  464. data/sig/anthropic/models/beta/beta_managed_agents_deployment_run.rbs +2 -1
  465. data/sig/anthropic/models/beta/beta_managed_agents_deployment_status.rbs +3 -0
  466. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_define_outcome_event.rbs +2 -1
  467. data/sig/anthropic/models/beta/beta_managed_agents_deployment_user_message_event.rbs +2 -1
  468. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config.rbs +2 -1
  469. data/sig/anthropic/models/beta/beta_managed_agents_edit_tool_config_params.rbs +2 -1
  470. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_config.rbs +2 -1
  471. data/sig/anthropic/models/beta/beta_managed_agents_github_repository_resource_params.rbs +2 -1
  472. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config.rbs +2 -1
  473. data/sig/anthropic/models/beta/beta_managed_agents_glob_tool_config_params.rbs +2 -1
  474. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config.rbs +2 -1
  475. data/sig/anthropic/models/beta/beta_managed_agents_grep_tool_config_params.rbs +2 -1
  476. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config.rbs +2 -1
  477. data/sig/anthropic/models/beta/beta_managed_agents_mcp_tool_config_params.rbs +2 -1
  478. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config.rbs +2 -1
  479. data/sig/anthropic/models/beta/beta_managed_agents_mcp_toolset_default_config_params.rbs +2 -1
  480. data/sig/anthropic/models/beta/beta_managed_agents_model_config.rbs +2 -1
  481. data/sig/anthropic/models/beta/beta_managed_agents_model_config_params.rbs +9 -0
  482. data/sig/anthropic/models/beta/beta_managed_agents_multiagent.rbs +2 -1
  483. data/sig/anthropic/models/beta/beta_managed_agents_multiagent_coordinator.rbs +2 -1
  484. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config.rbs +2 -1
  485. data/sig/anthropic/models/beta/beta_managed_agents_read_tool_config_params.rbs +2 -1
  486. data/sig/anthropic/models/beta/beta_managed_agents_session.rbs +7 -0
  487. data/sig/anthropic/models/beta/beta_managed_agents_session_agent.rbs +4 -2
  488. data/sig/anthropic/models/beta/beta_managed_agents_session_agent_update.rbs +2 -1
  489. data/sig/anthropic/models/beta/beta_managed_agents_session_multiagent_coordinator.rbs +2 -1
  490. data/sig/anthropic/models/beta/beta_managed_agents_session_resource_config.rbs +2 -1
  491. data/sig/anthropic/models/beta/beta_managed_agents_session_thread_agent.rbs +4 -2
  492. data/sig/anthropic/models/beta/beta_managed_agents_skill_params.rbs +2 -1
  493. data/sig/anthropic/models/beta/beta_managed_agents_start_event_preview.rbs +2 -1
  494. data/sig/anthropic/models/beta/beta_managed_agents_trigger_context.rbs +2 -1
  495. data/sig/anthropic/models/beta/beta_managed_agents_trigger_type.rbs +3 -0
  496. data/sig/anthropic/models/beta/beta_managed_agents_user_tool_result_event.rbs +2 -1
  497. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config.rbs +2 -1
  498. data/sig/anthropic/models/beta/beta_managed_agents_web_fetch_tool_config_params.rbs +2 -1
  499. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config.rbs +2 -1
  500. data/sig/anthropic/models/beta/beta_managed_agents_web_search_tool_config_params.rbs +2 -1
  501. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config.rbs +2 -1
  502. data/sig/anthropic/models/beta/beta_managed_agents_write_tool_config_params.rbs +2 -1
  503. data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +2 -1
  504. data/sig/anthropic/models/beta/beta_output_behavior.rbs +1 -1
  505. data/sig/anthropic/models/beta/beta_raw_content_block_delta.rbs +2 -1
  506. data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +2 -1
  507. data/sig/anthropic/models/beta/beta_raw_message_stream_event.rbs +2 -1
  508. data/sig/anthropic/models/beta/beta_request_document_block.rbs +2 -1
  509. data/sig/anthropic/models/beta/beta_request_tool_addition_block.rbs +2 -1
  510. data/sig/anthropic/models/beta/beta_request_tool_removal_block.rbs +2 -1
  511. data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -1
  512. data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -1
  513. data/sig/anthropic/models/beta/beta_text_citation.rbs +1 -1
  514. data/sig/anthropic/models/beta/beta_text_citation_param.rbs +2 -1
  515. data/sig/anthropic/models/beta/beta_thinking_config_param.rbs +2 -1
  516. data/sig/anthropic/models/beta/beta_tool_choice.rbs +1 -1
  517. data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +2 -1
  518. data/sig/anthropic/models/beta/beta_tool_use_block.rbs +2 -1
  519. data/sig/anthropic/models/beta/beta_tool_use_block_param.rbs +2 -1
  520. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +2 -1
  521. data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +2 -1
  522. data/sig/anthropic/models/beta/beta_web_fetch_url_sources.rbs +6 -3
  523. data/sig/anthropic/models/beta/beta_web_search_tool_result_block.rbs +2 -1
  524. data/sig/anthropic/models/beta/beta_web_search_tool_result_block_param.rbs +2 -1
  525. data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +1 -1
  526. data/sig/anthropic/models/beta/deployment_create_params.rbs +2 -1
  527. data/sig/anthropic/models/beta/deployment_update_params.rbs +2 -1
  528. data/sig/anthropic/models/beta/environment_create_params.rbs +2 -1
  529. data/sig/anthropic/models/beta/environment_update_params.rbs +2 -1
  530. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_actor.rbs +2 -1
  531. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_error.rbs +2 -1
  532. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_list_item.rbs +2 -1
  533. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_version_operation.rbs +5 -0
  534. data/sig/anthropic/models/beta/memory_stores/beta_managed_agents_memory_view.rbs +3 -0
  535. data/sig/anthropic/models/beta/messages/beta_message_batch_result.rbs +2 -1
  536. data/sig/anthropic/models/beta/organization/beta_api_key.rbs +4 -2
  537. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state.rbs +2 -1
  538. data/sig/anthropic/models/beta/organization/beta_compliance_settings_state_param.rbs +2 -1
  539. data/sig/anthropic/models/beta/organization/beta_external_key.rbs +4 -2
  540. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit.rbs +73 -0
  541. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_batch_group.rbs +20 -0
  542. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_files_group.rbs +20 -0
  543. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_model_group.rbs +30 -0
  544. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_skills_group.rbs +20 -0
  545. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_token_count_group.rbs +20 -0
  546. data/sig/anthropic/models/beta/organization/beta_organization_rate_limit_web_search_group.rbs +20 -0
  547. data/sig/anthropic/models/beta/organization/external_key_create_params.rbs +2 -1
  548. data/sig/anthropic/models/beta/organization/external_key_update_params.rbs +2 -1
  549. data/sig/anthropic/models/beta/organization/federation/beta_federation_issuer.rbs +2 -1
  550. data/sig/anthropic/models/beta/organization/federation/issuer_create_params.rbs +2 -1
  551. data/sig/anthropic/models/beta/organization/federation/issuer_update_params.rbs +2 -1
  552. data/sig/anthropic/models/beta/organization/workspaces/beta_workspace_rate_limit.rbs +73 -0
  553. data/sig/anthropic/models/beta/session_create_params.rbs +4 -2
  554. data/sig/anthropic/models/beta/session_list_params.rbs +7 -0
  555. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_auto_evaluated_permission.rbs +2 -1
  556. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_mcp_tool_result_event.rbs +2 -1
  557. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_message_event.rbs +2 -1
  558. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_received_event.rbs +2 -1
  559. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_thread_message_sent_event.rbs +2 -1
  560. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_evaluation.rbs +2 -1
  561. data/sig/anthropic/models/beta/sessions/beta_managed_agents_agent_tool_result_event.rbs +2 -1
  562. data/sig/anthropic/models/beta/sessions/beta_managed_agents_billing_error.rbs +2 -1
  563. data/sig/anthropic/models/beta/sessions/beta_managed_agents_credential_host_unreachable_error.rbs +2 -1
  564. data/sig/anthropic/models/beta/sessions/beta_managed_agents_document_block.rbs +2 -1
  565. data/sig/anthropic/models/beta/sessions/beta_managed_agents_event_params.rbs +2 -1
  566. data/sig/anthropic/models/beta/sessions/beta_managed_agents_github_repository_resource.rbs +2 -1
  567. data/sig/anthropic/models/beta/sessions/beta_managed_agents_image_block.rbs +2 -1
  568. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_authentication_failed_error.rbs +2 -1
  569. data/sig/anthropic/models/beta/sessions/beta_managed_agents_mcp_connection_failed_error.rbs +2 -1
  570. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_overloaded_error.rbs +2 -1
  571. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_rate_limited_error.rbs +2 -1
  572. data/sig/anthropic/models/beta/sessions/beta_managed_agents_model_request_failed_error.rbs +2 -1
  573. data/sig/anthropic/models/beta/sessions/beta_managed_agents_send_session_events.rbs +2 -1
  574. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_error_event.rbs +2 -1
  575. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_event.rbs +2 -1
  576. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_resource.rbs +2 -1
  577. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_status_idle_event.rbs +2 -1
  578. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread.rbs +2 -1
  579. data/sig/anthropic/models/beta/sessions/beta_managed_agents_session_thread_status_idle_event.rbs +2 -1
  580. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_events.rbs +2 -1
  581. data/sig/anthropic/models/beta/sessions/beta_managed_agents_stream_session_thread_events.rbs +2 -1
  582. data/sig/anthropic/models/beta/sessions/beta_managed_agents_unknown_error.rbs +2 -1
  583. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event.rbs +2 -1
  584. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_custom_tool_result_event_params.rbs +2 -1
  585. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event.rbs +2 -1
  586. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_define_outcome_event_params.rbs +2 -1
  587. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event.rbs +2 -1
  588. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_message_event_params.rbs +2 -1
  589. data/sig/anthropic/models/beta/sessions/beta_managed_agents_user_tool_result_event_params.rbs +2 -1
  590. data/sig/anthropic/models/beta/sessions/resource_retrieve_response.rbs +2 -1
  591. data/sig/anthropic/models/beta/sessions/resource_update_response.rbs +2 -1
  592. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential.rbs +2 -1
  593. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_networking_params.rbs +2 -1
  594. data/sig/anthropic/models/beta/vaults/beta_managed_agents_credential_validation_status.rbs +5 -0
  595. data/sig/anthropic/models/beta/vaults/beta_managed_agents_environment_variable_auth_response.rbs +2 -1
  596. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_params.rbs +2 -1
  597. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_response.rbs +2 -1
  598. data/sig/anthropic/models/beta/vaults/beta_managed_agents_mcp_oauth_refresh_update_params.rbs +2 -1
  599. data/sig/anthropic/models/beta/vaults/beta_managed_agents_refresh_object.rbs +7 -0
  600. data/sig/anthropic/models/beta/vaults/credential_create_params.rbs +2 -1
  601. data/sig/anthropic/models/beta/vaults/credential_update_params.rbs +2 -1
  602. data/sig/anthropic/models/beta_error.rbs +1 -1
  603. data/sig/anthropic/models/browser_state_change.rbs +1 -1
  604. data/sig/anthropic/models/citations_delta.rbs +1 -1
  605. data/sig/anthropic/models/content_block.rbs +1 -1
  606. data/sig/anthropic/models/content_block_param.rbs +1 -1
  607. data/sig/anthropic/models/content_block_source_content.rbs +1 -1
  608. data/sig/anthropic/models/document_block.rbs +1 -1
  609. data/sig/anthropic/models/document_block_param.rbs +1 -1
  610. data/sig/anthropic/models/error_object.rbs +1 -1
  611. data/sig/anthropic/models/image_block_param.rbs +1 -1
  612. data/sig/anthropic/models/messages/message_batch_result.rbs +2 -1
  613. data/sig/anthropic/models/raw_content_block_delta.rbs +1 -1
  614. data/sig/anthropic/models/raw_content_block_start_event.rbs +2 -1
  615. data/sig/anthropic/models/raw_message_stream_event.rbs +1 -1
  616. data/sig/anthropic/models/server_tool_use_block.rbs +1 -1
  617. data/sig/anthropic/models/server_tool_use_block_param.rbs +2 -1
  618. data/sig/anthropic/models/text_citation.rbs +1 -1
  619. data/sig/anthropic/models/text_citation_param.rbs +1 -1
  620. data/sig/anthropic/models/thinking_config_param.rbs +1 -1
  621. data/sig/anthropic/models/tool_choice.rbs +1 -1
  622. data/sig/anthropic/models/tool_result_block_param.rbs +2 -1
  623. data/sig/anthropic/models/tool_use_block.rbs +1 -1
  624. data/sig/anthropic/models/tool_use_block_param.rbs +1 -1
  625. data/sig/anthropic/models/web_fetch_tool_result_block.rbs +2 -1
  626. data/sig/anthropic/models/web_fetch_tool_result_block_param.rbs +2 -1
  627. data/sig/anthropic/models/web_fetch_url_sources.rbs +6 -3
  628. data/sig/anthropic/models/web_search_tool_result_block.rbs +2 -1
  629. data/sig/anthropic/models/web_search_tool_result_block_param.rbs +2 -1
  630. metadata +20 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ab8d0a99df492276cdb94f8f3c392a571e30e73231906566c6d959088bf3aa4
4
- data.tar.gz: 834e8acc9a1e059f0209904e7ba60ddfcc0ed67e1be8c60fcf7614656b3c24ce
3
+ metadata.gz: 0e7aa200569945cdf76744a8c251b760350a75834328da86c44930b40f741b31
4
+ data.tar.gz: 780bb11d38658bb95e1142b1c389fc82e49ad04d20cdc4c01a9c4ed54b7038dd
5
5
  SHA512:
6
- metadata.gz: 27e026c0567165a897bf257fcc9d7081b99ad1e29ce0f37fb3916688ff11f311fbc0ff081ccdef87d0a03ca793fff379a1a445aa3d206d65369dedb49f0cfcad
7
- data.tar.gz: dece25375e30a2d43c8bab81bb3fcaf4cf6ed5cceda10b0aa77ac428b21a2476149e989ddcb8165e3a9695207de69d3a69bf2af23a173eef36157c5ae70a5016
6
+ metadata.gz: 3de8eca81334145eaf72e0bfd8e142143ce8742e341db711085acac170f16132308f3c02fdaf424bdbc7e51d0832bc1de7a79e2abed18a2d80e57a92697c3b8c
7
+ data.tar.gz: 5994156c894b26d1cd0d504888f2cebc5409e4ff41bf81aa17f36f643e7de6c863ee831a34dc2ba49415f9fa531ab4456c33851d7655cb6461f36b7b39192074
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.72.0 (2026-09-18)
4
+
5
+ Full Changelog: [v1.71.0...v1.72.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.71.0...v1.72.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** add group with display_name to rate limits, deprecate group_type ([8155b1d](https://github.com/anthropics/anthropic-sdk-ruby/commit/8155b1d0d17408a7ca0b04e774d5ff087d9aa438))
10
+ * **ruby:** accept the discriminator enum in union .new signatures ([f31077a](https://github.com/anthropics/anthropic-sdk-ruby/commit/f31077a956e382b5453fbde900b8f03641bd8cbb))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * **bedrock:** skip typeless chunks and raise on event-stream error frames ([#254](https://github.com/anthropics/anthropic-sdk-ruby/issues/254)) ([ae8f6e2](https://github.com/anthropics/anthropic-sdk-ruby/commit/ae8f6e2296396528ff52249f3049fffb3b176434))
16
+
17
+
18
+ ### Chores
19
+
20
+ * **docs:** add descriptions for enum values and path parameters ([929b51e](https://github.com/anthropics/anthropic-sdk-ruby/commit/929b51ebe061ef833b593f03b912c08a021be7ca))
21
+ * **docs:** clarify the compaction tool_changes and tool change descriptions ([4bc6c5f](https://github.com/anthropics/anthropic-sdk-ruby/commit/4bc6c5f7c0c8cf4a98277ee74ca04c9a46ef2864))
22
+ * **internal:** update CLAUDE.md branch guidance ([#261](https://github.com/anthropics/anthropic-sdk-ruby/issues/261)) ([1931e53](https://github.com/anthropics/anthropic-sdk-ruby/commit/1931e537da142e3b6f33aa6ea2781c8f8659375c))
23
+
3
24
  ## 1.71.0 (2026-09-15)
4
25
 
5
26
  Full Changelog: [v1.70.0...v1.71.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.70.0...v1.71.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ Add to your application's Gemfile:
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "anthropic", "~> 1.71.0"
18
+ gem "anthropic", "~> 1.72.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -61,8 +61,10 @@ module Anthropic
61
61
  #
62
62
  # `:message-type: event` frames carry a JSON payload
63
63
  # `{"bytes": "<base64>"}` wrapping the Anthropic event; emit it as
64
- # an `event:`/`data:` pair. `:message-type: exception` frames carry an
65
- # error payload and a `:exception-type` header re-emit as the same
64
+ # an `event:`/`data:` pair, skipping chunks with no `type`.
65
+ # `:message-type: exception` frames (error payload plus an
66
+ # `:exception-type` header) and `:message-type: error` frames
67
+ # (`:error-code`/`:error-message` headers) are re-emitted as the same
66
68
  # `event: error` / `data: {"type":"error",...}` SSE shape the API
67
69
  # would have sent, so the stream consumer's existing error path fires.
68
70
  #
@@ -74,13 +76,21 @@ module Anthropic
74
76
  in "event"
75
77
  payload = JSON.parse(msg.payload.read, symbolize_names: true)
76
78
  inner = Base64.decode64(payload.fetch(:bytes))
77
- type = JSON.parse(inner, symbolize_names: true).fetch(:type)
78
- y << "event: #{type}\ndata: #{inner}\n\n"
79
+ case JSON.parse(inner, symbolize_names: true)
80
+ in {type: String => type}
81
+ y << "event: #{type}\ndata: #{inner}\n\n"
82
+ else
83
+ end
79
84
  in "exception"
80
85
  exc_type = msg.headers[":exception-type"]&.value
81
86
  body = msg.payload.read
82
87
  data = JSON.generate(type: "error", error: {type: exc_type, message: body})
83
88
  y << "event: error\ndata: #{data}\n\n"
89
+ in "error"
90
+ code = msg.headers[":error-code"]&.value
91
+ message = msg.headers[":error-message"]&.value
92
+ data = JSON.generate(type: "error", error: {type: code, message: message})
93
+ y << "event: error\ndata: #{data}\n\n"
84
94
  else
85
95
  # Unknown message-type — drop. AWS may add prelude/metadata frames.
86
96
  end
@@ -167,7 +167,7 @@ module Anthropic
167
167
  # Some parameter documentations has been truncated, see
168
168
  # {Anthropic::Models::Beta::AgentCreateParams::Tool} for more details.
169
169
  #
170
- # @param type [Symbol, String]
170
+ # @param type [Symbol, Anthropic::Models::Beta::AgentCreateParams::Tool::Type, String]
171
171
  #
172
172
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
173
173
  #
@@ -195,7 +195,7 @@ module Anthropic
195
195
  # Some parameter documentations has been truncated, see
196
196
  # {Anthropic::Models::Beta::AgentUpdateParams::Tool} for more details.
197
197
  #
198
- # @param type [Symbol, String]
198
+ # @param type [Symbol, Anthropic::Models::Beta::AgentUpdateParams::Tool::Type, String]
199
199
  #
200
200
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
201
201
  #
@@ -50,7 +50,7 @@ module Anthropic
50
50
  # Some parameter documentations has been truncated, see
51
51
  # {Anthropic::Models::Beta::BetaBrowserStateChange} for more details.
52
52
  #
53
- # @param type [Symbol, String]
53
+ # @param type [Symbol, Anthropic::Models::Beta::BetaBrowserStateChange::Type, String]
54
54
  #
55
55
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
56
56
  #
@@ -56,7 +56,7 @@ module Anthropic
56
56
  # Some parameter documentations has been truncated, see
57
57
  # {Anthropic::Models::Beta::BetaCitationsDelta::Citation} for more details.
58
58
  #
59
- # @param type [Symbol, String]
59
+ # @param type [Symbol, Anthropic::Models::Beta::BetaCitationsDelta::Citation::Type, String]
60
60
  #
61
61
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
62
62
  #
@@ -103,7 +103,7 @@ module Anthropic
103
103
  # Creates a new instance of the variant class whose `type` matches the given
104
104
  # value, passing the remaining arguments to its constructor.
105
105
  #
106
- # @param type [Symbol, String]
106
+ # @param type [Symbol, Anthropic::Models::Beta::BetaClearToolUses20250919Edit::Trigger::Type, String]
107
107
  #
108
108
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
109
109
  #
@@ -64,7 +64,7 @@ module Anthropic
64
64
  # Some parameter documentations has been truncated, see
65
65
  # {Anthropic::Models::Beta::BetaCloudConfig::Networking} for more details.
66
66
  #
67
- # @param type [Symbol, String]
67
+ # @param type [Symbol, Anthropic::Models::Beta::BetaCloudConfig::Networking::Type, String]
68
68
  #
69
69
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
70
70
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Some parameter documentations has been truncated, see
80
80
  # {Anthropic::Models::Beta::BetaCloudConfigParams::Networking} for more details.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaCloudConfigParams::Networking::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -94,7 +94,7 @@ module Anthropic
94
94
  # Some parameter documentations has been truncated, see
95
95
  # {Anthropic::Models::Beta::BetaContentBlock} for more details.
96
96
  #
97
- # @param type [Symbol, String]
97
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlock::Type, String]
98
98
  #
99
99
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
100
100
  #
@@ -136,7 +136,7 @@ module Anthropic
136
136
  # Some parameter documentations has been truncated, see
137
137
  # {Anthropic::Models::Beta::BetaContentBlockParam} for more details.
138
138
  #
139
- # @param type [Symbol, String]
139
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlockParam::Type, String]
140
140
  #
141
141
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
142
142
  #
@@ -31,7 +31,7 @@ module Anthropic
31
31
  # Some parameter documentations has been truncated, see
32
32
  # {Anthropic::Models::Beta::BetaContentBlockSourceContent} for more details.
33
33
  #
34
- # @param type [Symbol, String]
34
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContentBlockSourceContent::Type, String]
35
35
  #
36
36
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
37
37
  #
@@ -46,7 +46,7 @@ module Anthropic
46
46
  # Some parameter documentations has been truncated, see
47
47
  # {Anthropic::Models::Beta::BetaContextManagementConfig::Edit} for more details.
48
48
  #
49
- # @param type [Symbol, String]
49
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContextManagementConfig::Edit::Type, String]
50
50
  #
51
51
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
52
52
  #
@@ -39,7 +39,7 @@ module Anthropic
39
39
  # Creates a new instance of the variant class whose `type` matches the given
40
40
  # value, passing the remaining arguments to its constructor.
41
41
  #
42
- # @param type [Symbol, String]
42
+ # @param type [Symbol, Anthropic::Models::Beta::BetaContextManagementResponse::AppliedEdit::Type, String]
43
43
  #
44
44
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
45
45
  #
@@ -72,7 +72,7 @@ module Anthropic
72
72
  # Some parameter documentations has been truncated, see
73
73
  # {Anthropic::Models::Beta::BetaDiagnostics::CacheMissReason} for more details.
74
74
  #
75
- # @param type [Symbol, String]
75
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDiagnostics::CacheMissReason::Type, String]
76
76
  #
77
77
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
78
78
  #
@@ -61,7 +61,7 @@ module Anthropic
61
61
  # Creates a new instance of the variant class whose `type` matches the given
62
62
  # value, passing the remaining arguments to its constructor.
63
63
  #
64
- # @param type [Symbol, String]
64
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDocumentBlock::Source::Type, String]
65
65
  #
66
66
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
67
67
  #
@@ -30,7 +30,7 @@ module Anthropic
30
30
  # Creates a new instance of the variant class whose `type` matches the given
31
31
  # value, passing the remaining arguments to its constructor.
32
32
  #
33
- # @param type [Symbol, String]
33
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDreamInput::Type, String]
34
34
  #
35
35
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
36
36
  #
@@ -7,10 +7,25 @@ module Anthropic
7
7
  module BetaDreamStatus
8
8
  extend Anthropic::Internal::Type::Enum
9
9
 
10
+ # The dream is waiting to start and hasn't read its inputs yet.
11
+ #
12
+ # `outputs` is empty and every `usage` count is zero.
10
13
  PENDING = :pending
14
+
15
+ # The dream is reading its inputs and writing its result.
16
+ #
17
+ # `usage` updates while the dream has this status.
11
18
  RUNNING = :running
19
+
20
+ # The dream finished and its output memory store holds the complete result.
12
21
  COMPLETED = :completed
22
+
23
+ # The dream stopped with an error, which `error` describes.
24
+ #
25
+ # If `outputs` references a memory store, that memory store keeps what the dream wrote before it stopped.
13
26
  FAILED = :failed
27
+
28
+ # The caller canceled the dream before it completed.
14
29
  CANCELED = :canceled
15
30
 
16
31
  # @!method self.values
@@ -56,7 +56,7 @@ module Anthropic
56
56
  # Some parameter documentations has been truncated, see
57
57
  # {Anthropic::Models::Beta::BetaDreamingError} for more details.
58
58
  #
59
- # @param type [Symbol, String]
59
+ # @param type [Symbol, Anthropic::Models::Beta::BetaDreamingError::Type, String]
60
60
  #
61
61
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
62
62
  #
@@ -122,7 +122,7 @@ module Anthropic
122
122
  # Creates a new instance of the variant class whose `type` matches the given
123
123
  # value, passing the remaining arguments to its constructor.
124
124
  #
125
- # @param type [Symbol, String]
125
+ # @param type [Symbol, Anthropic::Models::Beta::BetaEnvironment::Config::Type, String]
126
126
  #
127
127
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
128
128
  #
@@ -62,7 +62,7 @@ module Anthropic
62
62
  # Some parameter documentations has been truncated, see
63
63
  # {Anthropic::Models::Beta::BetaFallbackCreditUsage::Status} for more details.
64
64
  #
65
- # @param type [Symbol, String]
65
+ # @param type [Symbol, Anthropic::Models::Beta::BetaFallbackCreditUsage::Status::Type, String]
66
66
  #
67
67
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
68
68
  #
@@ -104,7 +104,7 @@ module Anthropic
104
104
  # Some parameter documentations has been truncated, see
105
105
  # {Anthropic::Models::Beta::BetaFallbackParam::Thinking} for more details.
106
106
  #
107
- # @param type [Symbol, String]
107
+ # @param type [Symbol, Anthropic::Models::Beta::BetaFallbackParam::Thinking::Type, String]
108
108
  #
109
109
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
110
110
  #
@@ -70,7 +70,7 @@ module Anthropic
70
70
  # Creates a new instance of the variant class whose `type` matches the given
71
71
  # value, passing the remaining arguments to its constructor.
72
72
  #
73
- # @param type [Symbol, String]
73
+ # @param type [Symbol, Anthropic::Models::Beta::BetaImageBlockParam::Source::Type, String]
74
74
  #
75
75
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
76
76
  #
@@ -34,7 +34,7 @@ module Anthropic
34
34
  # Some parameter documentations has been truncated, see
35
35
  # {Anthropic::Models::Beta::BetaInputTransformation} for more details.
36
36
  #
37
- # @param type [Symbol, String]
37
+ # @param type [Symbol, Anthropic::Models::Beta::BetaInputTransformation::Type, String]
38
38
  #
39
39
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
40
40
  #
@@ -48,7 +48,7 @@ module Anthropic
48
48
  # Some parameter documentations has been truncated, see
49
49
  # {Anthropic::Models::Beta::BetaIterationsUsageItem} for more details.
50
50
  #
51
- # @param type [Symbol, String]
51
+ # @param type [Symbol, Anthropic::Models::Beta::BetaIterationsUsageItem::Type, String]
52
52
  #
53
53
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
54
54
  #
@@ -154,7 +154,7 @@ module Anthropic
154
154
  # Creates a new instance of the variant class whose `type` matches the given
155
155
  # value, passing the remaining arguments to its constructor.
156
156
  #
157
- # @param type [Symbol, String]
157
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgent::Skill::Type, String]
158
158
  #
159
159
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
160
160
  #
@@ -206,7 +206,7 @@ module Anthropic
206
206
  # Creates a new instance of the variant class whose `type` matches the given
207
207
  # value, passing the remaining arguments to its constructor.
208
208
  #
209
- # @param type [Symbol, String]
209
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgent::Tool::Type, String]
210
210
  #
211
211
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
212
212
  #
@@ -55,7 +55,7 @@ module Anthropic
55
55
  # Creates a new instance of the variant class whose `type` matches the given
56
56
  # value, passing the remaining arguments to its constructor.
57
57
  #
58
- # @param type [Symbol, String]
58
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentToolConfig::Type, String]
59
59
  #
60
60
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
61
61
  #
@@ -59,7 +59,7 @@ module Anthropic
59
59
  # {Anthropic::Models::Beta::BetaManagedAgentsAgentToolConfigParams} for more
60
60
  # details.
61
61
  #
62
- # @param type [Symbol, String]
62
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentToolConfigParams::Type, String]
63
63
  #
64
64
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
65
65
  #
@@ -57,7 +57,7 @@ module Anthropic
57
57
  # Creates a new instance of the variant class whose `type` matches the given
58
58
  # value, passing the remaining arguments to its constructor.
59
59
  #
60
- # @param type [Symbol, String]
60
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfig::PermissionPolicy::Type, String]
61
61
  #
62
62
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
63
63
  #
@@ -66,7 +66,7 @@ module Anthropic
66
66
  # Creates a new instance of the variant class whose `type` matches the given
67
67
  # value, passing the remaining arguments to its constructor.
68
68
  #
69
- # @param type [Symbol, String]
69
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentToolsetDefaultConfigParams::PermissionPolicy::Type, String]
70
70
  #
71
71
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
72
72
  #
@@ -149,7 +149,7 @@ module Anthropic
149
149
  # {Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams::Tool} for
150
150
  # more details.
151
151
  #
152
- # @param type [Symbol, String]
152
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsAgentWithOverridesParams::Tool::Type, String]
153
153
  #
154
154
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
155
155
  #
@@ -71,7 +71,7 @@ module Anthropic
71
71
  # Creates a new instance of the variant class whose `type` matches the given
72
72
  # value, passing the remaining arguments to its constructor.
73
73
  #
74
- # @param type [Symbol, String]
74
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsBashToolConfig::PermissionPolicy::Type, String]
75
75
  #
76
76
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
77
77
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Creates a new instance of the variant class whose `type` matches the given
80
80
  # value, passing the remaining arguments to its constructor.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsBashToolConfigParams::PermissionPolicy::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -36,7 +36,7 @@ module Anthropic
36
36
  # Creates a new instance of the variant class whose `type` matches the given
37
37
  # value, passing the remaining arguments to its constructor.
38
38
  #
39
- # @param type [Symbol, String]
39
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentInitialEvent::Type, String]
40
40
  #
41
41
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
42
42
  #
@@ -37,7 +37,7 @@ module Anthropic
37
37
  # Creates a new instance of the variant class whose `type` matches the given
38
38
  # value, passing the remaining arguments to its constructor.
39
39
  #
40
- # @param type [Symbol, String]
40
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentInitialEventParams::Type, String]
41
41
  #
42
42
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
43
43
  #
@@ -31,7 +31,7 @@ module Anthropic
31
31
  # Creates a new instance of the variant class whose `type` matches the given
32
32
  # value, passing the remaining arguments to its constructor.
33
33
  #
34
- # @param type [Symbol, String]
34
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReason::Type, String]
35
35
  #
36
36
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
37
37
  #
@@ -92,7 +92,7 @@ module Anthropic
92
92
  # Creates a new instance of the variant class whose `type` matches the given
93
93
  # value, passing the remaining arguments to its constructor.
94
94
  #
95
- # @param type [Symbol, String]
95
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentPausedReasonError::Type, String]
96
96
  #
97
97
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
98
98
  #
@@ -168,7 +168,7 @@ module Anthropic
168
168
  # Creates a new instance of the variant class whose `type` matches the given
169
169
  # value, passing the remaining arguments to its constructor.
170
170
  #
171
- # @param type [Symbol, String]
171
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentRun::Error::Type, String]
172
172
  #
173
173
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
174
174
  #
@@ -7,7 +7,10 @@ module Anthropic
7
7
  module BetaManagedAgentsDeploymentStatus
8
8
  extend Anthropic::Internal::Type::Enum
9
9
 
10
+ # The deployment is active and can run sessions. Archived deployments also report this status; check `archived_at` to distinguish them.
10
11
  ACTIVE = :active
12
+
13
+ # The deployment is paused. Autonomous triggers are suppressed; manual runs are still permitted.
11
14
  PAUSED = :paused
12
15
 
13
16
  # @!method self.values
@@ -68,7 +68,7 @@ module Anthropic
68
68
  # Creates a new instance of the variant class whose `type` matches the given
69
69
  # value, passing the remaining arguments to its constructor.
70
70
  #
71
- # @param type [Symbol, String]
71
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentUserDefineOutcomeEvent::Rubric::Type, String]
72
72
  #
73
73
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
74
74
  #
@@ -59,7 +59,7 @@ module Anthropic
59
59
  # Creates a new instance of the variant class whose `type` matches the given
60
60
  # value, passing the remaining arguments to its constructor.
61
61
  #
62
- # @param type [Symbol, String]
62
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsDeploymentUserMessageEvent::Content::Type, String]
63
63
  #
64
64
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
65
65
  #
@@ -71,7 +71,7 @@ module Anthropic
71
71
  # Creates a new instance of the variant class whose `type` matches the given
72
72
  # value, passing the remaining arguments to its constructor.
73
73
  #
74
- # @param type [Symbol, String]
74
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsEditToolConfig::PermissionPolicy::Type, String]
75
75
  #
76
76
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
77
77
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Creates a new instance of the variant class whose `type` matches the given
80
80
  # value, passing the remaining arguments to its constructor.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsEditToolConfigParams::PermissionPolicy::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Creates a new instance of the variant class whose `type` matches the given
80
80
  # value, passing the remaining arguments to its constructor.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceConfig::Checkout::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -91,7 +91,7 @@ module Anthropic
91
91
  # Creates a new instance of the variant class whose `type` matches the given
92
92
  # value, passing the remaining arguments to its constructor.
93
93
  #
94
- # @param type [Symbol, String]
94
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGitHubRepositoryResourceParams::Checkout::Type, String]
95
95
  #
96
96
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
97
97
  #
@@ -71,7 +71,7 @@ module Anthropic
71
71
  # Creates a new instance of the variant class whose `type` matches the given
72
72
  # value, passing the remaining arguments to its constructor.
73
73
  #
74
- # @param type [Symbol, String]
74
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGlobToolConfig::PermissionPolicy::Type, String]
75
75
  #
76
76
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
77
77
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Creates a new instance of the variant class whose `type` matches the given
80
80
  # value, passing the remaining arguments to its constructor.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGlobToolConfigParams::PermissionPolicy::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -71,7 +71,7 @@ module Anthropic
71
71
  # Creates a new instance of the variant class whose `type` matches the given
72
72
  # value, passing the remaining arguments to its constructor.
73
73
  #
74
- # @param type [Symbol, String]
74
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGrepToolConfig::PermissionPolicy::Type, String]
75
75
  #
76
76
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
77
77
  #
@@ -79,7 +79,7 @@ module Anthropic
79
79
  # Creates a new instance of the variant class whose `type` matches the given
80
80
  # value, passing the remaining arguments to its constructor.
81
81
  #
82
- # @param type [Symbol, String]
82
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsGrepToolConfigParams::PermissionPolicy::Type, String]
83
83
  #
84
84
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
85
85
  #
@@ -64,7 +64,7 @@ module Anthropic
64
64
  # Creates a new instance of the variant class whose `type` matches the given
65
65
  # value, passing the remaining arguments to its constructor.
66
66
  #
67
- # @param type [Symbol, String]
67
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfig::PermissionPolicy::Type, String]
68
68
  #
69
69
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
70
70
  #
@@ -67,7 +67,7 @@ module Anthropic
67
67
  # Creates a new instance of the variant class whose `type` matches the given
68
68
  # value, passing the remaining arguments to its constructor.
69
69
  #
70
- # @param type [Symbol, String]
70
+ # @param type [Symbol, Anthropic::Models::Beta::BetaManagedAgentsMCPToolConfigParams::PermissionPolicy::Type, String]
71
71
  #
72
72
  # @param args [Hash{Symbol=>Object}] Attributes for the chosen variant.
73
73
  #