anthropic 2.2.0 → 2.3.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 +34 -0
- data/README.md +2 -2
- data/lib/anthropic/client.rb +1 -1
- data/lib/anthropic/helpers/bedrock/client.rb +6 -3
- data/lib/anthropic/helpers/google_cloud/client.rb +9 -25
- data/lib/anthropic/helpers/refusal_fallback.rb +1 -2
- data/lib/anthropic/helpers/stainless_helper_header.rb +3 -2
- data/lib/anthropic/internal/tracing.rb +20 -0
- data/lib/anthropic/internal/transport/base_client.rb +16 -2
- data/lib/anthropic/models/anthropic_beta.rb +3 -0
- data/lib/anthropic/models/beta/beta_code_execution_tool_20260120.rb +10 -2
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_content.rb +5 -1
- data/lib/anthropic/models/beta/beta_code_execution_tool_result_block_param_content.rb +1 -1
- data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block.rb +9 -1
- data/lib/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rb +2 -1
- data/lib/anthropic/models/beta/beta_response_tool_union.rb +5 -1
- data/lib/anthropic/models/beta/beta_skill_params.rb +1 -1
- data/lib/anthropic/models/beta/beta_tool_union.rb +5 -1
- data/lib/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rb +7 -2
- data/lib/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rb +2 -4
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +5 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rb +63 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_source.rb +87 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +72 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +70 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +67 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +67 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rb +37 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rb +31 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rb +30 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rb +29 -0
- data/lib/anthropic/models/beta/organization/beta_external_key.rb +3 -3
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rb +66 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rb +32 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rb +87 -0
- data/lib/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rb +86 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_list_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rb +76 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rb +70 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rb +34 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rb +57 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rb +38 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rb +57 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rb +38 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rb +43 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rb +59 -0
- data/lib/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rb +53 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rb +50 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rb +41 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rb +79 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rb +52 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rb +49 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rb +70 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rb +52 -0
- data/lib/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rb +49 -0
- data/lib/anthropic/models/code_execution_tool_20260120.rb +10 -2
- data/lib/anthropic/models/code_execution_tool_result_block_content.rb +5 -1
- data/lib/anthropic/models/code_execution_tool_result_block_param_content.rb +1 -1
- data/lib/anthropic/models/encrypted_code_execution_result_block.rb +9 -1
- data/lib/anthropic/models/encrypted_code_execution_result_block_param.rb +2 -1
- data/lib/anthropic/models/message_count_tokens_tool.rb +5 -1
- data/lib/anthropic/models/organization/external_key.rb +3 -3
- data/lib/anthropic/models/skill_params.rb +1 -1
- data/lib/anthropic/models/tool_union.rb +5 -1
- data/lib/anthropic/resources/beta/agents/versions.rb +2 -1
- data/lib/anthropic/resources/beta/agents.rb +10 -5
- data/lib/anthropic/resources/beta/deployment_runs.rb +4 -2
- data/lib/anthropic/resources/beta/deployments.rb +16 -8
- data/lib/anthropic/resources/beta/dreams.rb +10 -5
- data/lib/anthropic/resources/beta/environments/work.rb +16 -8
- data/lib/anthropic/resources/beta/environments.rb +12 -6
- data/lib/anthropic/resources/beta/files.rb +10 -5
- data/lib/anthropic/resources/beta/memory_stores/memories.rb +10 -5
- data/lib/anthropic/resources/beta/memory_stores/memory_versions.rb +6 -11
- data/lib/anthropic/resources/beta/memory_stores.rb +12 -6
- data/lib/anthropic/resources/beta/messages/batches.rb +12 -6
- data/lib/anthropic/resources/beta/messages.rb +6 -3
- data/lib/anthropic/resources/beta/models.rb +4 -2
- data/lib/anthropic/resources/beta/organization/analytics/apps/chat/projects.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/artifacts.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/connectors.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/cost_report.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/plugins.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/skills.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/summaries.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage_report.rb +2 -1
- data/lib/anthropic/resources/beta/organization/analytics/user_cost_report.rb +5 -4
- data/lib/anthropic/resources/beta/organization/analytics/user_usage_report.rb +5 -4
- data/lib/anthropic/resources/beta/organization/analytics/users.rb +2 -1
- data/lib/anthropic/resources/beta/organization/api_keys.rb +6 -3
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles/targets.rb +204 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/bundles.rb +102 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_channels.rb +263 -0
- data/lib/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rb +162 -0
- data/lib/anthropic/resources/beta/organization/claude_tag.rb +31 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +4 -2
- data/lib/anthropic/resources/beta/organization/external_keys.rb +12 -6
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +10 -5
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +10 -5
- data/lib/anthropic/resources/beta/organization/invites.rb +8 -4
- data/lib/anthropic/resources/beta/organization/plugin_marketplaces.rb +10 -5
- data/lib/anthropic/resources/beta/organization/plugins/installation_settings.rb +6 -11
- data/lib/anthropic/resources/beta/organization/plugins/shares.rb +2 -1
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +8 -4
- data/lib/anthropic/resources/beta/organization/plugins.rb +10 -5
- data/lib/anthropic/resources/beta/organization/rate_limits.rb +2 -1
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +6 -3
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +10 -5
- data/lib/anthropic/resources/beta/organization/rbac_roles/permissions.rb +2 -1
- data/lib/anthropic/resources/beta/organization/rbac_roles.rb +4 -2
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +10 -5
- data/lib/anthropic/resources/beta/organization/spend_limits/effective.rb +2 -1
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +8 -4
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +8 -4
- data/lib/anthropic/resources/beta/organization/telemetry_destinations/workspaces.rb +6 -3
- data/lib/anthropic/resources/beta/organization/telemetry_destinations.rb +12 -6
- data/lib/anthropic/resources/beta/organization/users.rb +8 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +12 -9
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +10 -5
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +4 -6
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +10 -5
- data/lib/anthropic/resources/beta/organization/workspaces.rb +10 -5
- data/lib/anthropic/resources/beta/organization.rb +6 -1
- data/lib/anthropic/resources/beta/sessions/events.rb +6 -3
- data/lib/anthropic/resources/beta/sessions/resources.rb +10 -5
- data/lib/anthropic/resources/beta/sessions/threads/events.rb +4 -2
- data/lib/anthropic/resources/beta/sessions/threads.rb +6 -3
- data/lib/anthropic/resources/beta/sessions.rb +12 -6
- data/lib/anthropic/resources/beta/skills/versions.rb +10 -5
- data/lib/anthropic/resources/beta/skills.rb +8 -4
- data/lib/anthropic/resources/beta/tunnels/certificates.rb +8 -4
- data/lib/anthropic/resources/beta/tunnels.rb +12 -6
- data/lib/anthropic/resources/beta/user_profiles/action_urls.rb +2 -1
- data/lib/anthropic/resources/beta/user_profiles.rb +12 -6
- data/lib/anthropic/resources/beta/vaults/credentials.rb +14 -7
- data/lib/anthropic/resources/beta/vaults.rb +12 -6
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +47 -0
- data/rbi/anthropic/helpers/google_cloud/client.rbi +0 -4
- data/rbi/anthropic/internal/tracing.rbi +28 -0
- data/rbi/anthropic/internal/transport/base_client.rbi +5 -1
- data/rbi/anthropic/internal/type/base_page.rbi +2 -0
- data/rbi/anthropic/internal/type/base_stream.rbi +2 -0
- data/rbi/anthropic/internal/type/request_parameters.rbi +4 -0
- data/rbi/anthropic/models/anthropic_beta.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_code_execution_tool_20260120.rbi +10 -2
- data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block.rbi +9 -1
- data/rbi/anthropic/models/beta/beta_encrypted_code_execution_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_skill_params.rbi +1 -1
- data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_heartbeat_response.rbi +4 -2
- data/rbi/anthropic/models/beta/environments/beta_self_hosted_work_queue_stats.rbi +2 -4
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbi +87 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbi +115 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +178 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +108 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +110 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +110 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbi +50 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbi +67 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbi +44 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/beta_external_key.rbi +4 -4
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbi +87 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbi +41 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbi +154 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbi +151 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbi +102 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbi +43 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbi +51 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbi +82 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbi +94 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbi +104 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbi +94 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbi +118 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbi +78 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbi +134 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbi +95 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbi +100 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbi +124 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbi +95 -0
- data/rbi/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbi +100 -0
- data/rbi/anthropic/models/code_execution_tool_20260120.rbi +10 -2
- data/rbi/anthropic/models/encrypted_code_execution_result_block.rbi +9 -1
- data/rbi/anthropic/models/encrypted_code_execution_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/organization/external_key.rbi +4 -4
- data/rbi/anthropic/models/skill_params.rbi +1 -1
- data/rbi/anthropic/resources/beta/organization/analytics/user_cost_report.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/analytics/user_usage_report.rbi +3 -3
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbi +140 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/bundles.rbi +75 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/slack_channels.rbi +203 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbi +123 -0
- data/rbi/anthropic/resources/beta/organization/claude_tag.rbi +37 -0
- data/rbi/anthropic/resources/beta/organization.rbi +3 -0
- data/sig/anthropic/helpers/google_cloud/client.rbs +0 -2
- data/sig/anthropic/internal/tracing.rbs +14 -0
- data/sig/anthropic/internal/transport/base_client.rbs +3 -0
- data/sig/anthropic/internal/type/request_parameters.rbs +2 -0
- data/sig/anthropic/models/anthropic_beta.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_default_setting_source.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy.rbs +45 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbs +73 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +44 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_identifiers.rbs +20 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_channel_setting_source.rbs +23 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_default_setting_source.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_grid_channel_setting_source.rbs +29 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_parent_channel_setting_source.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_identifiers.rbs +18 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_slack_workspace_setting_source.rbs +23 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_bundle.rbs +51 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_deleted_slack_channel.rbs +22 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_channel.rbs +56 -0
- data/sig/anthropic/models/beta/organization/claude_tag/beta_claude_tag_slack_workspace.rbs +56 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_list_params.rbs +50 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundle_retrieve_params.rbs +41 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target.rbs +54 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_bundle_target_create.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_deleted_bundle_target.rbs +27 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_channel_bundle_target_create.rbs +27 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/beta_claude_tag_slack_workspace_bundle_target_create.rbs +30 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_create_params.rbs +43 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_delete_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_list_params.rbs +57 -0
- data/sig/anthropic/models/beta/organization/claude_tag/bundles/target_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_create_params.rbs +50 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_delete_params.rbs +38 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_list_params.rbs +69 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_channel_update_params.rbs +46 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_list_params.rbs +64 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_retrieve_params.rbs +48 -0
- data/sig/anthropic/models/beta/organization/claude_tag/slack_workspace_update_params.rbs +46 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles/targets.rbs +44 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/bundles.rbs +28 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/slack_channels.rbs +50 -0
- data/sig/anthropic/resources/beta/organization/claude_tag/slack_workspaces.rbs +36 -0
- data/sig/anthropic/resources/beta/organization/claude_tag.rbs +17 -0
- data/sig/anthropic/resources/beta/organization.rbs +2 -0
- metadata +142 -1
|
@@ -237,6 +237,11 @@ module Anthropic
|
|
|
237
237
|
:"analytics-usage-cost-2026-08-24",
|
|
238
238
|
Anthropic::AnthropicBeta::TaggedSymbol
|
|
239
239
|
)
|
|
240
|
+
EXPERIMENTAL_CLAUDE_TAG_2026_10_21 =
|
|
241
|
+
T.let(
|
|
242
|
+
:"experimental-claude-tag-2026-10-21",
|
|
243
|
+
Anthropic::AnthropicBeta::TaggedSymbol
|
|
244
|
+
)
|
|
240
245
|
end
|
|
241
246
|
end
|
|
242
247
|
end
|
|
@@ -71,8 +71,16 @@ module Anthropic
|
|
|
71
71
|
sig { params(strict: T::Boolean).void }
|
|
72
72
|
attr_writer :strict
|
|
73
73
|
|
|
74
|
-
#
|
|
75
|
-
#
|
|
74
|
+
# A `tools` entry for the code execution tool, version `code_execution_20260120`.
|
|
75
|
+
# It adds REPL state persistence to version `code_execution_20250825`.
|
|
76
|
+
#
|
|
77
|
+
# REPL state persistence applies with programmatic tool calling. With it, the
|
|
78
|
+
# Python interpreter state, such as variable bindings, persists across requests
|
|
79
|
+
# that reuse the container.
|
|
80
|
+
#
|
|
81
|
+
# See the
|
|
82
|
+
# [code execution tool guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/code-execution-tool#tool-versions)
|
|
83
|
+
# to learn what each tool version adds.
|
|
76
84
|
sig do
|
|
77
85
|
params(
|
|
78
86
|
allowed_callers:
|
|
@@ -30,7 +30,15 @@ module Anthropic
|
|
|
30
30
|
sig { returns(Symbol) }
|
|
31
31
|
attr_accessor :type
|
|
32
32
|
|
|
33
|
-
#
|
|
33
|
+
# The output and exit code of Python code that Claude ran with the code execution
|
|
34
|
+
# tool, with standard output in encrypted form.
|
|
35
|
+
#
|
|
36
|
+
# The API returns this block in place of `code_execution_result` when the code
|
|
37
|
+
# called the web search tool.
|
|
38
|
+
#
|
|
39
|
+
# See the
|
|
40
|
+
# [programmatic tool calling guide](https://platform.claude.com/docs/en/agents-and-tools/tool-use/programmatic-tool-calling)
|
|
41
|
+
# to learn more about programmatic tool calling.
|
|
34
42
|
sig do
|
|
35
43
|
params(
|
|
36
44
|
content:
|
|
@@ -32,7 +32,8 @@ module Anthropic
|
|
|
32
32
|
sig { returns(Symbol) }
|
|
33
33
|
attr_accessor :type
|
|
34
34
|
|
|
35
|
-
#
|
|
35
|
+
# The output and exit code of Python code that Claude ran with the code execution
|
|
36
|
+
# tool, with standard output in encrypted form, sent back in a later request.
|
|
36
37
|
sig do
|
|
37
38
|
params(
|
|
38
39
|
content:
|
|
@@ -29,7 +29,7 @@ module Anthropic
|
|
|
29
29
|
sig { params(version: String).void }
|
|
30
30
|
attr_writer :version
|
|
31
31
|
|
|
32
|
-
# Specification for a skill to be loaded in a container
|
|
32
|
+
# Specification for a skill to be loaded in a container.
|
|
33
33
|
sig do
|
|
34
34
|
params(
|
|
35
35
|
skill_id: String,
|
|
@@ -13,7 +13,8 @@ module Anthropic
|
|
|
13
13
|
)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
# RFC 3339 timestamp of the
|
|
16
|
+
# RFC 3339 timestamp of the most recent heartbeat recorded for this work item, or
|
|
17
|
+
# an empty string if none has been recorded
|
|
17
18
|
sig { returns(String) }
|
|
18
19
|
attr_accessor :last_heartbeat
|
|
19
20
|
|
|
@@ -49,7 +50,8 @@ module Anthropic
|
|
|
49
50
|
).returns(T.attached_class)
|
|
50
51
|
end
|
|
51
52
|
def self.new(
|
|
52
|
-
# RFC 3339 timestamp of the
|
|
53
|
+
# RFC 3339 timestamp of the most recent heartbeat recorded for this work item, or
|
|
54
|
+
# an empty string if none has been recorded
|
|
53
55
|
last_heartbeat:,
|
|
54
56
|
# Whether the heartbeat succeeded in extending the lease
|
|
55
57
|
lease_extended:,
|
|
@@ -13,7 +13,7 @@ module Anthropic
|
|
|
13
13
|
)
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
-
# Number of work items waiting to be picked up
|
|
16
|
+
# Number of work items waiting to be picked up
|
|
17
17
|
sig { returns(Integer) }
|
|
18
18
|
attr_accessor :depth
|
|
19
19
|
|
|
@@ -36,8 +36,6 @@ module Anthropic
|
|
|
36
36
|
attr_accessor :workers_polling
|
|
37
37
|
|
|
38
38
|
# Statistics about the work queue for an environment.
|
|
39
|
-
#
|
|
40
|
-
# Uses Redis Stream consumer group metrics for O(1) queries.
|
|
41
39
|
sig do
|
|
42
40
|
params(
|
|
43
41
|
depth: Integer,
|
|
@@ -48,7 +46,7 @@ module Anthropic
|
|
|
48
46
|
).returns(T.attached_class)
|
|
49
47
|
end
|
|
50
48
|
def self.new(
|
|
51
|
-
# Number of work items waiting to be picked up
|
|
49
|
+
# Number of work items waiting to be picked up
|
|
52
50
|
depth:,
|
|
53
51
|
# RFC 3339 timestamp of oldest item in the work stream (includes both queued and
|
|
54
52
|
# pending items), null if stream empty
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaClaudeTagDefaultSettingSource < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { returns(Symbol) }
|
|
17
|
+
attr_accessor :type
|
|
18
|
+
|
|
19
|
+
# No settings level sets a value, and the built-in default applies.
|
|
20
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(type: :default)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ type: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# What Claude does in a channel while a Slack guest is in it, for everyone in the
|
|
8
|
+
# channel. It changes nothing in a channel without Slack guests. More types can be
|
|
9
|
+
# added.
|
|
10
|
+
module BetaClaudeTagGuestPolicy
|
|
11
|
+
extend Anthropic::Internal::Type::Union
|
|
12
|
+
|
|
13
|
+
Variants =
|
|
14
|
+
T.type_alias do
|
|
15
|
+
T.any(
|
|
16
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyAllow,
|
|
17
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyRestrict,
|
|
18
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyChannelOnly
|
|
19
|
+
)
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
module Type
|
|
23
|
+
extend Anthropic::Internal::Type::Enum
|
|
24
|
+
|
|
25
|
+
TaggedSymbol =
|
|
26
|
+
T.type_alias do
|
|
27
|
+
T.all(
|
|
28
|
+
Symbol,
|
|
29
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type
|
|
30
|
+
)
|
|
31
|
+
end
|
|
32
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
33
|
+
|
|
34
|
+
ALLOW =
|
|
35
|
+
T.let(
|
|
36
|
+
:allow,
|
|
37
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type::TaggedSymbol
|
|
38
|
+
)
|
|
39
|
+
RESTRICT =
|
|
40
|
+
T.let(
|
|
41
|
+
:restrict,
|
|
42
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type::TaggedSymbol
|
|
43
|
+
)
|
|
44
|
+
CHANNEL_ONLY =
|
|
45
|
+
T.let(
|
|
46
|
+
:channel_only,
|
|
47
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type::TaggedSymbol
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
sig do
|
|
51
|
+
override.returns(
|
|
52
|
+
T::Array[
|
|
53
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type::TaggedSymbol
|
|
54
|
+
]
|
|
55
|
+
)
|
|
56
|
+
end
|
|
57
|
+
def self.values
|
|
58
|
+
end
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
sig do
|
|
62
|
+
override.returns(
|
|
63
|
+
T::Array[
|
|
64
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Variants
|
|
65
|
+
]
|
|
66
|
+
)
|
|
67
|
+
end
|
|
68
|
+
def self.variants
|
|
69
|
+
end
|
|
70
|
+
|
|
71
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
72
|
+
# value, passing the remaining arguments to its constructor.
|
|
73
|
+
sig do
|
|
74
|
+
params(
|
|
75
|
+
type:
|
|
76
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Type::OrSymbol
|
|
77
|
+
).returns(
|
|
78
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicy::Variants
|
|
79
|
+
)
|
|
80
|
+
end
|
|
81
|
+
def self.new(type:)
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaClaudeTagGuestPolicyAllow < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyAllow,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { returns(Symbol) }
|
|
17
|
+
attr_accessor :type
|
|
18
|
+
|
|
19
|
+
# Claude answers in the channel.
|
|
20
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(type: :allow)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ type: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaClaudeTagGuestPolicyChannelOnly < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyChannelOnly,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { returns(Symbol) }
|
|
17
|
+
attr_accessor :type
|
|
18
|
+
|
|
19
|
+
# Claude answers with only the Bundles attached to the channel itself.
|
|
20
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(type: :channel_only)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ type: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaClaudeTagGuestPolicyRestrict < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaClaudeTagGuestPolicyRestrict,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
sig { returns(Symbol) }
|
|
17
|
+
attr_accessor :type
|
|
18
|
+
|
|
19
|
+
# Claude does not answer in the channel.
|
|
20
|
+
sig { params(type: Symbol).returns(T.attached_class) }
|
|
21
|
+
def self.new(type: :restrict)
|
|
22
|
+
end
|
|
23
|
+
|
|
24
|
+
sig { override.returns({ type: Symbol }) }
|
|
25
|
+
def to_hash
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
# The settings level a value comes from. More types can be added.
|
|
8
|
+
module BetaClaudeTagSettingSource
|
|
9
|
+
extend Anthropic::Internal::Type::Union
|
|
10
|
+
|
|
11
|
+
Variants =
|
|
12
|
+
T.type_alias do
|
|
13
|
+
T.any(
|
|
14
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource,
|
|
15
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource,
|
|
16
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource,
|
|
17
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource,
|
|
18
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource,
|
|
19
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource
|
|
20
|
+
)
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
module Type
|
|
24
|
+
extend Anthropic::Internal::Type::Enum
|
|
25
|
+
|
|
26
|
+
TaggedSymbol =
|
|
27
|
+
T.type_alias do
|
|
28
|
+
T.all(
|
|
29
|
+
Symbol,
|
|
30
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type
|
|
31
|
+
)
|
|
32
|
+
end
|
|
33
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
34
|
+
|
|
35
|
+
SLACK_CHANNEL =
|
|
36
|
+
T.let(
|
|
37
|
+
:slack_channel,
|
|
38
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
39
|
+
)
|
|
40
|
+
SLACK_WORKSPACE =
|
|
41
|
+
T.let(
|
|
42
|
+
:slack_workspace,
|
|
43
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
44
|
+
)
|
|
45
|
+
SLACK_PARENT_CHANNEL =
|
|
46
|
+
T.let(
|
|
47
|
+
:slack_parent_channel,
|
|
48
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
49
|
+
)
|
|
50
|
+
SLACK_DEFAULT =
|
|
51
|
+
T.let(
|
|
52
|
+
:slack_default,
|
|
53
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
54
|
+
)
|
|
55
|
+
DEFAULT =
|
|
56
|
+
T.let(
|
|
57
|
+
:default,
|
|
58
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
59
|
+
)
|
|
60
|
+
SLACK_GRID_CHANNEL =
|
|
61
|
+
T.let(
|
|
62
|
+
:slack_grid_channel,
|
|
63
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
64
|
+
)
|
|
65
|
+
|
|
66
|
+
sig do
|
|
67
|
+
override.returns(
|
|
68
|
+
T::Array[
|
|
69
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::TaggedSymbol
|
|
70
|
+
]
|
|
71
|
+
)
|
|
72
|
+
end
|
|
73
|
+
def self.values
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
sig do
|
|
78
|
+
override.returns(
|
|
79
|
+
T::Array[
|
|
80
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
81
|
+
]
|
|
82
|
+
)
|
|
83
|
+
end
|
|
84
|
+
def self.variants
|
|
85
|
+
end
|
|
86
|
+
|
|
87
|
+
# Creates a new instance of the variant class whose `type` matches the given
|
|
88
|
+
# value, passing the remaining arguments to its constructor.
|
|
89
|
+
sig do
|
|
90
|
+
params(
|
|
91
|
+
type:
|
|
92
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Type::OrSymbol,
|
|
93
|
+
slack_channel_id: String,
|
|
94
|
+
slack_workspace_id: String,
|
|
95
|
+
slack:
|
|
96
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelIdentifiers::OrHash
|
|
97
|
+
).returns(
|
|
98
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
99
|
+
)
|
|
100
|
+
end
|
|
101
|
+
def self.new(
|
|
102
|
+
type:,
|
|
103
|
+
# The channel's identifier, starting with `slch_`.
|
|
104
|
+
slack_channel_id: nil,
|
|
105
|
+
# The workspace's identifier, starting with `slws_`.
|
|
106
|
+
slack_workspace_id: nil,
|
|
107
|
+
# Slack's own identifiers for the channel under that other workspace.
|
|
108
|
+
slack: nil
|
|
109
|
+
)
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
115
|
+
end
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
# typed: strong
|
|
2
|
+
|
|
3
|
+
module Anthropic
|
|
4
|
+
module Models
|
|
5
|
+
module Beta
|
|
6
|
+
module Organization
|
|
7
|
+
class BetaClaudeTagSettingSources < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
OrHash =
|
|
9
|
+
T.type_alias do
|
|
10
|
+
T.any(
|
|
11
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSources,
|
|
12
|
+
Anthropic::Internal::AnyHash
|
|
13
|
+
)
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
# The settings level `enabled` comes from.
|
|
17
|
+
sig do
|
|
18
|
+
returns(
|
|
19
|
+
T.nilable(
|
|
20
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
21
|
+
)
|
|
22
|
+
)
|
|
23
|
+
end
|
|
24
|
+
attr_accessor :enabled
|
|
25
|
+
|
|
26
|
+
# The settings level `environment_id` comes from.
|
|
27
|
+
sig do
|
|
28
|
+
returns(
|
|
29
|
+
T.nilable(
|
|
30
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
31
|
+
)
|
|
32
|
+
)
|
|
33
|
+
end
|
|
34
|
+
attr_accessor :environment_id
|
|
35
|
+
|
|
36
|
+
# The settings level `guest_policy` comes from.
|
|
37
|
+
sig do
|
|
38
|
+
returns(
|
|
39
|
+
T.nilable(
|
|
40
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
41
|
+
)
|
|
42
|
+
)
|
|
43
|
+
end
|
|
44
|
+
attr_accessor :guest_policy
|
|
45
|
+
|
|
46
|
+
# Every settings level that contributes text to `instructions`, broadest first, in
|
|
47
|
+
# the order their text is joined. Empty when none does.
|
|
48
|
+
sig do
|
|
49
|
+
returns(
|
|
50
|
+
T::Array[
|
|
51
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
52
|
+
]
|
|
53
|
+
)
|
|
54
|
+
end
|
|
55
|
+
attr_accessor :instructions
|
|
56
|
+
|
|
57
|
+
# The settings level `model` comes from.
|
|
58
|
+
sig do
|
|
59
|
+
returns(
|
|
60
|
+
T.nilable(
|
|
61
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
62
|
+
)
|
|
63
|
+
)
|
|
64
|
+
end
|
|
65
|
+
attr_accessor :model
|
|
66
|
+
|
|
67
|
+
# For each setting, the settings level its value in `settings` comes from. Without
|
|
68
|
+
# `include_inherited`, a setting the channel or workspace stores has a source that
|
|
69
|
+
# names the channel or workspace itself, and one it does not store has null, or an
|
|
70
|
+
# empty list for `instructions`. With `include_inherited=true` no member is null:
|
|
71
|
+
# a value that no settings level sets has the source `default`.
|
|
72
|
+
sig do
|
|
73
|
+
params(
|
|
74
|
+
enabled:
|
|
75
|
+
T.nilable(
|
|
76
|
+
T.any(
|
|
77
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource::OrHash,
|
|
78
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource::OrHash,
|
|
79
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource::OrHash,
|
|
80
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource::OrHash,
|
|
81
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource::OrHash,
|
|
82
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource::OrHash
|
|
83
|
+
)
|
|
84
|
+
),
|
|
85
|
+
environment_id:
|
|
86
|
+
T.nilable(
|
|
87
|
+
T.any(
|
|
88
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource::OrHash,
|
|
89
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource::OrHash,
|
|
90
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource::OrHash,
|
|
91
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource::OrHash,
|
|
92
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource::OrHash,
|
|
93
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource::OrHash
|
|
94
|
+
)
|
|
95
|
+
),
|
|
96
|
+
guest_policy:
|
|
97
|
+
T.nilable(
|
|
98
|
+
T.any(
|
|
99
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource::OrHash,
|
|
100
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource::OrHash,
|
|
101
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource::OrHash,
|
|
102
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource::OrHash,
|
|
103
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource::OrHash,
|
|
104
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource::OrHash
|
|
105
|
+
)
|
|
106
|
+
),
|
|
107
|
+
instructions:
|
|
108
|
+
T::Array[
|
|
109
|
+
T.any(
|
|
110
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource::OrHash,
|
|
111
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource::OrHash,
|
|
112
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource::OrHash,
|
|
113
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource::OrHash,
|
|
114
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource::OrHash,
|
|
115
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource::OrHash
|
|
116
|
+
)
|
|
117
|
+
],
|
|
118
|
+
model:
|
|
119
|
+
T.nilable(
|
|
120
|
+
T.any(
|
|
121
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackChannelSettingSource::OrHash,
|
|
122
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackWorkspaceSettingSource::OrHash,
|
|
123
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackParentChannelSettingSource::OrHash,
|
|
124
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackDefaultSettingSource::OrHash,
|
|
125
|
+
Anthropic::Beta::Organization::BetaClaudeTagDefaultSettingSource::OrHash,
|
|
126
|
+
Anthropic::Beta::Organization::BetaClaudeTagSlackGridChannelSettingSource::OrHash
|
|
127
|
+
)
|
|
128
|
+
)
|
|
129
|
+
).returns(T.attached_class)
|
|
130
|
+
end
|
|
131
|
+
def self.new(
|
|
132
|
+
# The settings level `enabled` comes from.
|
|
133
|
+
enabled:,
|
|
134
|
+
# The settings level `environment_id` comes from.
|
|
135
|
+
environment_id:,
|
|
136
|
+
# The settings level `guest_policy` comes from.
|
|
137
|
+
guest_policy:,
|
|
138
|
+
# Every settings level that contributes text to `instructions`, broadest first, in
|
|
139
|
+
# the order their text is joined. Empty when none does.
|
|
140
|
+
instructions:,
|
|
141
|
+
# The settings level `model` comes from.
|
|
142
|
+
model:
|
|
143
|
+
)
|
|
144
|
+
end
|
|
145
|
+
|
|
146
|
+
sig do
|
|
147
|
+
override.returns(
|
|
148
|
+
{
|
|
149
|
+
enabled:
|
|
150
|
+
T.nilable(
|
|
151
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
152
|
+
),
|
|
153
|
+
environment_id:
|
|
154
|
+
T.nilable(
|
|
155
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
156
|
+
),
|
|
157
|
+
guest_policy:
|
|
158
|
+
T.nilable(
|
|
159
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
160
|
+
),
|
|
161
|
+
instructions:
|
|
162
|
+
T::Array[
|
|
163
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
164
|
+
],
|
|
165
|
+
model:
|
|
166
|
+
T.nilable(
|
|
167
|
+
Anthropic::Beta::Organization::BetaClaudeTagSettingSource::Variants
|
|
168
|
+
)
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
end
|
|
172
|
+
def to_hash
|
|
173
|
+
end
|
|
174
|
+
end
|
|
175
|
+
end
|
|
176
|
+
end
|
|
177
|
+
end
|
|
178
|
+
end
|