anthropic 2.6.0 → 2.8.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 +49 -0
- data/README.md +1 -1
- data/lib/anthropic/error_classes.rb +1 -1
- data/lib/anthropic/helpers/aws/client.rb +6 -0
- data/lib/anthropic/helpers/bedrock/client.rb +17 -5
- data/lib/anthropic/helpers/bedrock/mantle_client.rb +6 -0
- data/lib/anthropic/helpers/google_cloud/client.rb +4 -1
- data/lib/anthropic/helpers/streaming/message_stream.rb +6 -4
- data/lib/anthropic/helpers/vertex/client.rb +26 -12
- data/lib/anthropic/models/beta/beta_managed_agents_model.rb +5 -0
- data/lib/anthropic/models/beta/beta_webhook_event.rb +2 -2
- data/lib/anthropic/models/beta/beta_webhook_event_data.rb +8 -2
- data/lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb +35 -0
- data/lib/anthropic/models/beta/environments/work_heartbeat_params.rb +2 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rb +10 -1
- data/lib/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rb +1 -0
- data/lib/anthropic/models/beta/organization/analytics/cost_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/analytics/usage_list_params.rb +12 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb +42 -0
- data/lib/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/beta/organization/beta_analytics_user_activity.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rb +2 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb +68 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb +22 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb +21 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb +23 -0
- data/lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb +14 -1
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb +20 -3
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_create.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_claude_tag_settings_update.rb +22 -2
- data/lib/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rb +1 -0
- data/lib/anthropic/models/beta/organization/beta_rbac_role.rb +4 -4
- data/lib/anthropic/models/beta/organization/external_key_create_params.rb +7 -5
- data/lib/anthropic/models/beta/organization/webhook_create_params.rb +1 -0
- data/lib/anthropic/models/beta/organization/webhook_update_params.rb +1 -0
- data/lib/anthropic/models/error_details.rb +9 -9
- data/lib/anthropic/models/model.rb +10 -0
- data/lib/anthropic/models/organization/analytics_claude_tag_metrics.rb +39 -0
- data/lib/anthropic/models/organization/analytics_single_day_activity_summary.rb +43 -1
- data/lib/anthropic/models/organization/analytics_user_activity.rb +12 -1
- data/lib/anthropic/models/organization/external_key_create_params.rb +7 -5
- data/lib/anthropic/models/organization/rbac_role.rb +4 -4
- data/lib/anthropic/models/sandbox_egress_restricted_error.rb +21 -0
- data/lib/anthropic/models/sandbox_egress_restricted_error_details.rb +19 -0
- data/lib/anthropic/models/thread_unsupported_feature_name.rb +0 -1
- data/lib/anthropic/models.rb +4 -0
- data/lib/anthropic/resources/beta/organization/analytics/cost.rb +5 -1
- data/lib/anthropic/resources/beta/organization/analytics/usage.rb +5 -1
- data/lib/anthropic/resources/beta/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/beta/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/beta/organization/external_keys.rb +6 -1
- data/lib/anthropic/resources/beta/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/beta/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/beta/organization/invites.rb +3 -0
- data/lib/anthropic/resources/beta/organization/plugins/versions.rb +4 -5
- data/lib/anthropic/resources/beta/organization/plugins.rb +13 -12
- data/lib/anthropic/resources/beta/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/beta/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/beta/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/beta/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/beta/organization/spend_limits.rb +2 -2
- data/lib/anthropic/resources/beta/organization/users.rb +8 -4
- data/lib/anthropic/resources/beta/organization/webhooks.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/beta/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/beta/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/beta/organization/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/api_keys.rb +1 -0
- data/lib/anthropic/resources/organization/compliance_settings.rb +2 -0
- data/lib/anthropic/resources/organization/external_keys.rb +6 -1
- data/lib/anthropic/resources/organization/federation/issuers.rb +6 -0
- data/lib/anthropic/resources/organization/federation/rules/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/federation/rules.rb +6 -0
- data/lib/anthropic/resources/organization/invites.rb +3 -0
- data/lib/anthropic/resources/organization/rbac_groups/members.rb +2 -0
- data/lib/anthropic/resources/organization/rbac_groups.rb +5 -0
- data/lib/anthropic/resources/organization/service_accounts/workspaces.rb +4 -0
- data/lib/anthropic/resources/organization/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/spend_limits/increase_requests.rb +4 -0
- data/lib/anthropic/resources/organization/users.rb +3 -0
- data/lib/anthropic/resources/organization/workspaces/members.rb +4 -0
- data/lib/anthropic/resources/organization/workspaces/rate_limits.rb +2 -0
- data/lib/anthropic/resources/organization/workspaces/service_accounts.rb +6 -0
- data/lib/anthropic/resources/organization/workspaces.rb +4 -0
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +10 -2
- data/rbi/anthropic/helpers/aws/client.rbi +5 -0
- data/rbi/anthropic/helpers/bedrock/mantle_client.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_managed_agents_model.rbi +7 -0
- data/rbi/anthropic/models/beta/beta_webhook_event.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_webhook_event_data.rbi +7 -1
- data/rbi/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbi +51 -0
- data/rbi/anthropic/models/beta/environments/work_heartbeat_params.rbi +4 -2
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbi +10 -0
- data/rbi/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/analytics/cost_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/analytics/usage_list_params.rbi +14 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi +69 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/beta/organization/beta_analytics_user_activity.rbi +36 -0
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_cannot_sign_out_managed_member_error_details.rbi +2 -2
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi +92 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi +32 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi +31 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi +33 -0
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi +30 -1
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi +39 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbi +56 -5
- data/rbi/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/beta_rbac_role.rbi +6 -6
- data/rbi/anthropic/models/beta/organization/external_key_create_params.rbi +12 -8
- data/rbi/anthropic/models/beta/organization/webhook_create_params.rbi +5 -0
- data/rbi/anthropic/models/beta/organization/webhook_update_params.rbi +5 -0
- data/rbi/anthropic/models/error_details.rbi +6 -6
- data/rbi/anthropic/models/model.rbi +8 -0
- data/rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi +67 -0
- data/rbi/anthropic/models/organization/analytics_single_day_activity_summary.rbi +60 -0
- data/rbi/anthropic/models/organization/analytics_user_activity.rbi +30 -0
- data/rbi/anthropic/models/organization/external_key_create_params.rbi +12 -8
- data/rbi/anthropic/models/organization/rbac_role.rbi +6 -6
- data/rbi/anthropic/models/sandbox_egress_restricted_error.rbi +18 -0
- data/rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi +29 -0
- data/rbi/anthropic/models/thread_unsupported_feature_name.rbi +0 -1
- data/rbi/anthropic/models.rbi +5 -0
- data/rbi/anthropic/resources/beta/environments/work.rbi +2 -1
- data/rbi/anthropic/resources/beta/organization/analytics/cost.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/analytics/usage.rbi +7 -0
- data/rbi/anthropic/resources/beta/organization/external_keys.rbi +6 -4
- data/rbi/anthropic/resources/beta/organization/plugins/versions.rbi +4 -5
- data/rbi/anthropic/resources/beta/organization/plugins.rbi +13 -12
- data/rbi/anthropic/resources/beta/organization/users.rbi +4 -4
- data/rbi/anthropic/resources/organization/external_keys.rbi +6 -4
- data/sig/anthropic/models/beta/beta_managed_agents_model.rbs +5 -1
- data/sig/anthropic/models/beta/beta_webhook_event_data.rbs +9 -0
- data/sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs +34 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_cost_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/beta_analytics_usage_group_by.rbs +2 -0
- data/sig/anthropic/models/beta/organization/analytics/cost_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/analytics/usage_list_params.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs +26 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/beta/organization/beta_analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs +50 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs +17 -0
- data/sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_create.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_claude_tag_settings_update.rbs +8 -3
- data/sig/anthropic/models/beta/organization/beta_new_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/beta_organization_webhook_endpoint.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_create_params.rbs +2 -0
- data/sig/anthropic/models/beta/organization/webhook_update_params.rbs +2 -0
- data/sig/anthropic/models/error_details.rbs +6 -6
- data/sig/anthropic/models/model.rbs +9 -1
- data/sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs +24 -0
- data/sig/anthropic/models/organization/analytics_single_day_activity_summary.rbs +15 -0
- data/sig/anthropic/models/organization/analytics_user_activity.rbs +5 -0
- data/sig/anthropic/models/sandbox_egress_restricted_error.rbs +9 -0
- data/sig/anthropic/models/sandbox_egress_restricted_error_details.rbs +14 -0
- data/sig/anthropic/models/thread_unsupported_feature_name.rbs +0 -2
- data/sig/anthropic/models.rbs +4 -0
- data/sig/anthropic/resources/beta/organization/analytics/cost.rbs +1 -0
- data/sig/anthropic/resources/beta/organization/analytics/usage.rbs +1 -0
- metadata +32 -8
- data/lib/anthropic/models/beta/beta_billing_frozen_error.rb +0 -22
- data/lib/anthropic/models/beta/beta_billing_frozen_error_details.rb +0 -22
- data/rbi/anthropic/models/beta/beta_billing_frozen_error.rbi +0 -19
- data/rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi +0 -32
- data/sig/anthropic/models/beta/beta_billing_frozen_error.rbs +0 -11
- data/sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs +0 -17
|
@@ -8,7 +8,8 @@ module Anthropic
|
|
|
8
8
|
environment_id: String?,
|
|
9
9
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
10
10
|
instructions: String?,
|
|
11
|
-
model: String
|
|
11
|
+
model: String?,
|
|
12
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
12
13
|
}
|
|
13
14
|
|
|
14
15
|
class BetaClaudeTagSettingsUpdate < Anthropic::Internal::Type::BaseModel
|
|
@@ -22,12 +23,15 @@ module Anthropic
|
|
|
22
23
|
|
|
23
24
|
attr_accessor model: String?
|
|
24
25
|
|
|
26
|
+
attr_accessor reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
27
|
+
|
|
25
28
|
def initialize: (
|
|
26
29
|
?enabled: bool?,
|
|
27
30
|
?environment_id: String?,
|
|
28
31
|
?guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
29
32
|
?instructions: String?,
|
|
30
|
-
?model: String
|
|
33
|
+
?model: String?,
|
|
34
|
+
?reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
31
35
|
) -> void
|
|
32
36
|
|
|
33
37
|
def to_hash: -> {
|
|
@@ -35,7 +39,8 @@ module Anthropic
|
|
|
35
39
|
environment_id: String?,
|
|
36
40
|
guest_policy: Anthropic::Models::Beta::Organization::beta_claude_tag_guest_policy?,
|
|
37
41
|
instructions: String?,
|
|
38
|
-
model: String
|
|
42
|
+
model: String?,
|
|
43
|
+
reply_mode: Anthropic::Models::Beta::Organization::beta_claude_tag_reply_mode?
|
|
39
44
|
}
|
|
40
45
|
end
|
|
41
46
|
end
|
|
@@ -66,12 +66,14 @@ module Anthropic
|
|
|
66
66
|
type enabled_event =
|
|
67
67
|
:"user_profile.enforcement_action_opened"
|
|
68
68
|
| :"user_profile.enforcement_action_resolved"
|
|
69
|
+
| :"user_profile.program_status_updated"
|
|
69
70
|
|
|
70
71
|
module EnabledEvent
|
|
71
72
|
extend Anthropic::Internal::Type::Enum
|
|
72
73
|
|
|
73
74
|
USER_PROFILE_ENFORCEMENT_ACTION_OPENED: :"user_profile.enforcement_action_opened"
|
|
74
75
|
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED: :"user_profile.enforcement_action_resolved"
|
|
76
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED: :"user_profile.program_status_updated"
|
|
75
77
|
|
|
76
78
|
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaNewOrganizationWebhookEndpoint::enabled_event]
|
|
77
79
|
end
|
|
@@ -61,12 +61,14 @@ module Anthropic
|
|
|
61
61
|
type enabled_event =
|
|
62
62
|
:"user_profile.enforcement_action_opened"
|
|
63
63
|
| :"user_profile.enforcement_action_resolved"
|
|
64
|
+
| :"user_profile.program_status_updated"
|
|
64
65
|
|
|
65
66
|
module EnabledEvent
|
|
66
67
|
extend Anthropic::Internal::Type::Enum
|
|
67
68
|
|
|
68
69
|
USER_PROFILE_ENFORCEMENT_ACTION_OPENED: :"user_profile.enforcement_action_opened"
|
|
69
70
|
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED: :"user_profile.enforcement_action_resolved"
|
|
71
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED: :"user_profile.program_status_updated"
|
|
70
72
|
|
|
71
73
|
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::BetaOrganizationWebhookEndpoint::enabled_event]
|
|
72
74
|
end
|
|
@@ -55,12 +55,14 @@ module Anthropic
|
|
|
55
55
|
type enabled_event =
|
|
56
56
|
:"user_profile.enforcement_action_opened"
|
|
57
57
|
| :"user_profile.enforcement_action_resolved"
|
|
58
|
+
| :"user_profile.program_status_updated"
|
|
58
59
|
|
|
59
60
|
module EnabledEvent
|
|
60
61
|
extend Anthropic::Internal::Type::Enum
|
|
61
62
|
|
|
62
63
|
USER_PROFILE_ENFORCEMENT_ACTION_OPENED: :"user_profile.enforcement_action_opened"
|
|
63
64
|
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED: :"user_profile.enforcement_action_resolved"
|
|
65
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED: :"user_profile.program_status_updated"
|
|
64
66
|
|
|
65
67
|
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::WebhookCreateParams::enabled_event]
|
|
66
68
|
end
|
|
@@ -75,12 +75,14 @@ module Anthropic
|
|
|
75
75
|
type enabled_event =
|
|
76
76
|
:"user_profile.enforcement_action_opened"
|
|
77
77
|
| :"user_profile.enforcement_action_resolved"
|
|
78
|
+
| :"user_profile.program_status_updated"
|
|
78
79
|
|
|
79
80
|
module EnabledEvent
|
|
80
81
|
extend Anthropic::Internal::Type::Enum
|
|
81
82
|
|
|
82
83
|
USER_PROFILE_ENFORCEMENT_ACTION_OPENED: :"user_profile.enforcement_action_opened"
|
|
83
84
|
USER_PROFILE_ENFORCEMENT_ACTION_RESOLVED: :"user_profile.enforcement_action_resolved"
|
|
85
|
+
USER_PROFILE_PROGRAM_STATUS_UPDATED: :"user_profile.program_status_updated"
|
|
84
86
|
|
|
85
87
|
def self?.values: -> ::Array[Anthropic::Models::Beta::Organization::WebhookUpdateParams::enabled_event]
|
|
86
88
|
end
|
|
@@ -36,6 +36,7 @@ module Anthropic
|
|
|
36
36
|
| Anthropic::CMEKContextUnavailableErrorDetails
|
|
37
37
|
| Anthropic::Organization::OrgAPIKeyLimitExceededErrorDetails
|
|
38
38
|
| Anthropic::Organization::WorkspaceAPIKeyLimitExceededErrorDetails
|
|
39
|
+
| Anthropic::SandboxEgressRestrictedErrorDetails
|
|
39
40
|
| Anthropic::UserProfileNotFoundErrorDetails
|
|
40
41
|
| Anthropic::Organization::ExternalKeyInWorkspacePolicyErrorDetails
|
|
41
42
|
| Anthropic::Organization::AlreadyMemberErrorDetails
|
|
@@ -67,7 +68,6 @@ module Anthropic
|
|
|
67
68
|
| Anthropic::Beta::Organization::BetaCannotSignOutMembershipAdminErrorDetails
|
|
68
69
|
| Anthropic::Beta::Organization::BetaCannotSignOutOwnerErrorDetails
|
|
69
70
|
| Anthropic::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails
|
|
70
|
-
| Anthropic::Beta::BetaBillingFrozenErrorDetails
|
|
71
71
|
| Anthropic::Beta::Organization::BetaSpendLimitsAdminAPIWritesNotEnabledErrorDetails
|
|
72
72
|
| Anthropic::BetaUnsupportedCharsetErrorDetails
|
|
73
73
|
| Anthropic::Beta::Organization::BetaPluginNameTakenErrorDetails
|
|
@@ -123,6 +123,7 @@ module Anthropic
|
|
|
123
123
|
| :cmek_context_unavailable
|
|
124
124
|
| :org_api_key_limit_exceeded
|
|
125
125
|
| :workspace_api_key_limit_exceeded
|
|
126
|
+
| :sandbox_egress_restricted
|
|
126
127
|
| :user_profile_not_found
|
|
127
128
|
| :external_key_in_workspace_policy
|
|
128
129
|
| :already_member
|
|
@@ -154,7 +155,6 @@ module Anthropic
|
|
|
154
155
|
| :cannot_sign_out_membership_admin
|
|
155
156
|
| :cannot_sign_out_owner
|
|
156
157
|
| :cannot_sign_out_privileged_member
|
|
157
|
-
| :billing_frozen
|
|
158
158
|
| :spend_limits_admin_api_writes_not_enabled
|
|
159
159
|
| :unsupported_charset
|
|
160
160
|
| :plugin_name_taken
|
|
@@ -209,6 +209,7 @@ module Anthropic
|
|
|
209
209
|
CMEK_CONTEXT_UNAVAILABLE: :cmek_context_unavailable
|
|
210
210
|
ORG_API_KEY_LIMIT_EXCEEDED: :org_api_key_limit_exceeded
|
|
211
211
|
WORKSPACE_API_KEY_LIMIT_EXCEEDED: :workspace_api_key_limit_exceeded
|
|
212
|
+
SANDBOX_EGRESS_RESTRICTED: :sandbox_egress_restricted
|
|
212
213
|
USER_PROFILE_NOT_FOUND: :user_profile_not_found
|
|
213
214
|
EXTERNAL_KEY_IN_WORKSPACE_POLICY: :external_key_in_workspace_policy
|
|
214
215
|
ALREADY_MEMBER: :already_member
|
|
@@ -240,7 +241,6 @@ module Anthropic
|
|
|
240
241
|
CANNOT_SIGN_OUT_MEMBERSHIP_ADMIN: :cannot_sign_out_membership_admin
|
|
241
242
|
CANNOT_SIGN_OUT_OWNER: :cannot_sign_out_owner
|
|
242
243
|
CANNOT_SIGN_OUT_PRIVILEGED_MEMBER: :cannot_sign_out_privileged_member
|
|
243
|
-
BILLING_FROZEN: :billing_frozen
|
|
244
244
|
SPEND_LIMITS_ADMIN_API_WRITES_NOT_ENABLED: :spend_limits_admin_api_writes_not_enabled
|
|
245
245
|
UNSUPPORTED_CHARSET: :unsupported_charset
|
|
246
246
|
PLUGIN_NAME_TAKEN: :plugin_name_taken
|
|
@@ -386,6 +386,9 @@ module Anthropic
|
|
|
386
386
|
error_code: :workspace_api_key_limit_exceeded
|
|
387
387
|
| "workspace_api_key_limit_exceeded"
|
|
388
388
|
) -> Anthropic::Organization::WorkspaceAPIKeyLimitExceededErrorDetails
|
|
389
|
+
| (
|
|
390
|
+
error_code: :sandbox_egress_restricted | "sandbox_egress_restricted"
|
|
391
|
+
) -> Anthropic::SandboxEgressRestrictedErrorDetails
|
|
389
392
|
| (
|
|
390
393
|
error_code: :user_profile_not_found | "user_profile_not_found"
|
|
391
394
|
) -> Anthropic::UserProfileNotFoundErrorDetails
|
|
@@ -499,9 +502,6 @@ module Anthropic
|
|
|
499
502
|
error_code: :cannot_sign_out_privileged_member
|
|
500
503
|
| "cannot_sign_out_privileged_member"
|
|
501
504
|
) -> Anthropic::Beta::Organization::BetaCannotSignOutPrivilegedMemberErrorDetails
|
|
502
|
-
| (
|
|
503
|
-
error_code: :billing_frozen | "billing_frozen"
|
|
504
|
-
) -> Anthropic::Beta::BetaBillingFrozenErrorDetails
|
|
505
505
|
| (
|
|
506
506
|
error_code: :spend_limits_admin_api_writes_not_enabled
|
|
507
507
|
| "spend_limits_admin_api_writes_not_enabled"
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
module Anthropic
|
|
2
2
|
module Models
|
|
3
3
|
type model =
|
|
4
|
-
:"claude-
|
|
4
|
+
:"claude-fable-5-2"
|
|
5
|
+
| :"claude-mythos-5-2"
|
|
6
|
+
| :"claude-haiku-5-5"
|
|
5
7
|
| :"claude-sonnet-5-5"
|
|
6
8
|
| :"claude-fable-5-1"
|
|
7
9
|
| :"claude-opus-5-5"
|
|
@@ -28,6 +30,12 @@ module Anthropic
|
|
|
28
30
|
|
|
29
31
|
def self?.variants: -> ::Array[Anthropic::Models::model]
|
|
30
32
|
|
|
33
|
+
# Built for the most ambitious work in coding, enterprise workflows, and the sciences
|
|
34
|
+
CLAUDE_FABLE_5_2: :"claude-fable-5-2"
|
|
35
|
+
|
|
36
|
+
# Built for the most demanding cybersecurity and life sciences research, available through verification programs
|
|
37
|
+
CLAUDE_MYTHOS_5_2: :"claude-mythos-5-2"
|
|
38
|
+
|
|
31
39
|
# Fastest model for high-volume, real-time tasks
|
|
32
40
|
CLAUDE_HAIKU_5_5: :"claude-haiku-5-5"
|
|
33
41
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
module Organization
|
|
4
|
+
type analytics_claude_tag_metrics =
|
|
5
|
+
{ active_day_count: Integer?, active_message_count: Integer? }
|
|
6
|
+
|
|
7
|
+
class AnalyticsClaudeTagMetrics < Anthropic::Internal::Type::BaseModel
|
|
8
|
+
attr_accessor active_day_count: Integer?
|
|
9
|
+
|
|
10
|
+
attr_accessor active_message_count: Integer?
|
|
11
|
+
|
|
12
|
+
def initialize: (
|
|
13
|
+
active_day_count: Integer?,
|
|
14
|
+
active_message_count: Integer?
|
|
15
|
+
) -> void
|
|
16
|
+
|
|
17
|
+
def to_hash: -> {
|
|
18
|
+
active_day_count: Integer?,
|
|
19
|
+
active_message_count: Integer?
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -28,6 +28,9 @@ module Anthropic
|
|
|
28
28
|
claude_design_daily_active_user_count: Integer?,
|
|
29
29
|
claude_design_monthly_active_user_count: Integer?,
|
|
30
30
|
claude_design_weekly_active_user_count: Integer?,
|
|
31
|
+
claude_tag_daily_active_user_count: Integer?,
|
|
32
|
+
claude_tag_monthly_active_user_count: Integer?,
|
|
33
|
+
claude_tag_weekly_active_user_count: Integer?,
|
|
31
34
|
office_agent_daily_active_user_count: Integer?,
|
|
32
35
|
office_agent_monthly_active_user_count: Integer?,
|
|
33
36
|
office_agent_weekly_active_user_count: Integer?,
|
|
@@ -88,6 +91,12 @@ module Anthropic
|
|
|
88
91
|
|
|
89
92
|
attr_accessor claude_design_weekly_active_user_count: Integer?
|
|
90
93
|
|
|
94
|
+
attr_accessor claude_tag_daily_active_user_count: Integer?
|
|
95
|
+
|
|
96
|
+
attr_accessor claude_tag_monthly_active_user_count: Integer?
|
|
97
|
+
|
|
98
|
+
attr_accessor claude_tag_weekly_active_user_count: Integer?
|
|
99
|
+
|
|
91
100
|
attr_accessor office_agent_daily_active_user_count: Integer?
|
|
92
101
|
|
|
93
102
|
attr_accessor office_agent_monthly_active_user_count: Integer?
|
|
@@ -128,6 +137,9 @@ module Anthropic
|
|
|
128
137
|
?claude_design_daily_active_user_count: Integer?,
|
|
129
138
|
?claude_design_monthly_active_user_count: Integer?,
|
|
130
139
|
?claude_design_weekly_active_user_count: Integer?,
|
|
140
|
+
?claude_tag_daily_active_user_count: Integer?,
|
|
141
|
+
?claude_tag_monthly_active_user_count: Integer?,
|
|
142
|
+
?claude_tag_weekly_active_user_count: Integer?,
|
|
131
143
|
?office_agent_daily_active_user_count: Integer?,
|
|
132
144
|
?office_agent_monthly_active_user_count: Integer?,
|
|
133
145
|
?office_agent_weekly_active_user_count: Integer?,
|
|
@@ -163,6 +175,9 @@ module Anthropic
|
|
|
163
175
|
claude_design_daily_active_user_count: Integer?,
|
|
164
176
|
claude_design_monthly_active_user_count: Integer?,
|
|
165
177
|
claude_design_weekly_active_user_count: Integer?,
|
|
178
|
+
claude_tag_daily_active_user_count: Integer?,
|
|
179
|
+
claude_tag_monthly_active_user_count: Integer?,
|
|
180
|
+
claude_tag_weekly_active_user_count: Integer?,
|
|
166
181
|
office_agent_daily_active_user_count: Integer?,
|
|
167
182
|
office_agent_monthly_active_user_count: Integer?,
|
|
168
183
|
office_agent_weekly_active_user_count: Integer?,
|
|
@@ -13,6 +13,7 @@ module Anthropic
|
|
|
13
13
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
14
14
|
web_search_count: Integer,
|
|
15
15
|
chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
16
|
+
claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
16
17
|
last_activity_date: Date?,
|
|
17
18
|
rbac_group_id: String?,
|
|
18
19
|
rbac_group_name: String?
|
|
@@ -39,6 +40,8 @@ module Anthropic
|
|
|
39
40
|
|
|
40
41
|
attr_accessor chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?
|
|
41
42
|
|
|
43
|
+
attr_accessor claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?
|
|
44
|
+
|
|
42
45
|
attr_accessor last_activity_date: Date?
|
|
43
46
|
|
|
44
47
|
attr_accessor rbac_group_id: String?
|
|
@@ -56,6 +59,7 @@ module Anthropic
|
|
|
56
59
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
57
60
|
web_search_count: Integer,
|
|
58
61
|
?chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
62
|
+
?claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
59
63
|
?last_activity_date: Date?,
|
|
60
64
|
?rbac_group_id: String?,
|
|
61
65
|
?rbac_group_name: String?
|
|
@@ -72,6 +76,7 @@ module Anthropic
|
|
|
72
76
|
user: Anthropic::Organization::AnalyticsUser?,
|
|
73
77
|
web_search_count: Integer,
|
|
74
78
|
chat_cowork_unified_metrics: Anthropic::Organization::AnalyticsChatCoworkUnifiedMetrics?,
|
|
79
|
+
claude_tag_metrics: Anthropic::Organization::AnalyticsClaudeTagMetrics?,
|
|
75
80
|
last_activity_date: Date?,
|
|
76
81
|
rbac_group_id: String?,
|
|
77
82
|
rbac_group_name: String?
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
module Anthropic
|
|
2
|
+
module Models
|
|
3
|
+
type sandbox_egress_restricted_error_details =
|
|
4
|
+
{ error_code: :sandbox_egress_restricted }
|
|
5
|
+
|
|
6
|
+
class SandboxEgressRestrictedErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor error_code: :sandbox_egress_restricted
|
|
8
|
+
|
|
9
|
+
def initialize: (?error_code: :sandbox_egress_restricted) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { error_code: :sandbox_egress_restricted }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
@@ -7,7 +7,6 @@ module Anthropic
|
|
|
7
7
|
| :hipaa
|
|
8
8
|
| :inference_hooks
|
|
9
9
|
| :thinking
|
|
10
|
-
| :zdr
|
|
11
10
|
|
|
12
11
|
module ThreadUnsupportedFeatureName
|
|
13
12
|
extend Anthropic::Internal::Type::Enum
|
|
@@ -18,7 +17,6 @@ module Anthropic
|
|
|
18
17
|
HIPAA: :hipaa
|
|
19
18
|
INFERENCE_HOOKS: :inference_hooks
|
|
20
19
|
THINKING: :thinking
|
|
21
|
-
ZDR: :zdr
|
|
22
20
|
|
|
23
21
|
def self?.values: -> ::Array[Anthropic::Models::thread_unsupported_feature_name]
|
|
24
22
|
end
|
data/sig/anthropic/models.rbs
CHANGED
|
@@ -737,6 +737,10 @@ module Anthropic
|
|
|
737
737
|
|
|
738
738
|
class RequestBodyTooLargeAfterDecodingErrorDetails = Anthropic::Models::RequestBodyTooLargeAfterDecodingErrorDetails
|
|
739
739
|
|
|
740
|
+
class SandboxEgressRestrictedError = Anthropic::Models::SandboxEgressRestrictedError
|
|
741
|
+
|
|
742
|
+
class SandboxEgressRestrictedErrorDetails = Anthropic::Models::SandboxEgressRestrictedErrorDetails
|
|
743
|
+
|
|
740
744
|
class SearchResultBlockParam = Anthropic::Models::SearchResultBlockParam
|
|
741
745
|
|
|
742
746
|
class ServerToolCaller = Anthropic::Models::ServerToolCaller
|
|
@@ -23,6 +23,7 @@ module Anthropic
|
|
|
23
23
|
?models: ::Array[String]?,
|
|
24
24
|
?order: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_sort_order,
|
|
25
25
|
?order_by: Anthropic::Models::Beta::Organization::Analytics::beta_analytics_cost_order_by,
|
|
26
|
+
?organization_ids: ::Array[String]?,
|
|
26
27
|
?page: String?,
|
|
27
28
|
?products: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_product_filter]?,
|
|
28
29
|
?rbac_group_ids: ::Array[String]?,
|
|
@@ -23,6 +23,7 @@ module Anthropic
|
|
|
23
23
|
?models: ::Array[String]?,
|
|
24
24
|
?order: Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_sort_order,
|
|
25
25
|
?order_by: Anthropic::Models::Beta::Organization::Analytics::beta_analytics_usage_order_by,
|
|
26
|
+
?organization_ids: ::Array[String]?,
|
|
26
27
|
?page: String?,
|
|
27
28
|
?products: ::Array[Anthropic::Models::Beta::Organization::beta_analytics_usage_cost_product_filter]?,
|
|
28
29
|
?rbac_group_ids: ::Array[String]?,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anthropic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthropic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-11-
|
|
11
|
+
date: 2026-11-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: base64
|
|
@@ -223,8 +223,6 @@ files:
|
|
|
223
223
|
- lib/anthropic/models/beta/beta_bash_code_execution_tool_result_block_param.rb
|
|
224
224
|
- lib/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rb
|
|
225
225
|
- lib/anthropic/models/beta/beta_bash_code_execution_tool_result_error_param.rb
|
|
226
|
-
- lib/anthropic/models/beta/beta_billing_frozen_error.rb
|
|
227
|
-
- lib/anthropic/models/beta/beta_billing_frozen_error_details.rb
|
|
228
226
|
- lib/anthropic/models/beta/beta_browser_click_target.rb
|
|
229
227
|
- lib/anthropic/models/beta/beta_browser_close_tab_config.rb
|
|
230
228
|
- lib/anthropic/models/beta/beta_browser_close_tab_input.rb
|
|
@@ -957,6 +955,7 @@ files:
|
|
|
957
955
|
- lib/anthropic/models/beta/beta_webhook_session_updated_event_data.rb
|
|
958
956
|
- lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rb
|
|
959
957
|
- lib/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rb
|
|
958
|
+
- lib/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rb
|
|
960
959
|
- lib/anthropic/models/beta/beta_webhook_vault_archived_event_data.rb
|
|
961
960
|
- lib/anthropic/models/beta/beta_webhook_vault_created_event_data.rb
|
|
962
961
|
- lib/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rb
|
|
@@ -1097,6 +1096,7 @@ files:
|
|
|
1097
1096
|
- lib/anthropic/models/beta/organization/beta_analytics_chat_metrics.rb
|
|
1098
1097
|
- lib/anthropic/models/beta/organization/beta_analytics_claude_code_metrics.rb
|
|
1099
1098
|
- lib/anthropic/models/beta/organization/beta_analytics_claude_tag_category.rb
|
|
1099
|
+
- lib/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rb
|
|
1100
1100
|
- lib/anthropic/models/beta/organization/beta_analytics_connector_activity.rb
|
|
1101
1101
|
- lib/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rb
|
|
1102
1102
|
- lib/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_metrics.rb
|
|
@@ -1194,6 +1194,11 @@ files:
|
|
|
1194
1194
|
- lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rb
|
|
1195
1195
|
- lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rb
|
|
1196
1196
|
- lib/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rb
|
|
1197
|
+
- lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rb
|
|
1198
|
+
- lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rb
|
|
1199
|
+
- lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rb
|
|
1200
|
+
- lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rb
|
|
1201
|
+
- lib/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rb
|
|
1197
1202
|
- lib/anthropic/models/beta/organization/beta_claude_tag_setting_source.rb
|
|
1198
1203
|
- lib/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rb
|
|
1199
1204
|
- lib/anthropic/models/beta/organization/beta_claude_tag_settings.rb
|
|
@@ -2080,6 +2085,7 @@ files:
|
|
|
2080
2085
|
- lib/anthropic/models/organization/analytics_chat_cowork_unified_sessions_metrics.rb
|
|
2081
2086
|
- lib/anthropic/models/organization/analytics_chat_metrics.rb
|
|
2082
2087
|
- lib/anthropic/models/organization/analytics_claude_code_metrics.rb
|
|
2088
|
+
- lib/anthropic/models/organization/analytics_claude_tag_metrics.rb
|
|
2083
2089
|
- lib/anthropic/models/organization/analytics_connector_activity.rb
|
|
2084
2090
|
- lib/anthropic/models/organization/analytics_connector_chat_cowork_unified_chat_metrics.rb
|
|
2085
2091
|
- lib/anthropic/models/organization/analytics_connector_chat_cowork_unified_metrics.rb
|
|
@@ -2348,6 +2354,8 @@ files:
|
|
|
2348
2354
|
- lib/anthropic/models/request_body_encoding_unsupported_error_details.rb
|
|
2349
2355
|
- lib/anthropic/models/request_body_too_large_after_decoding_error.rb
|
|
2350
2356
|
- lib/anthropic/models/request_body_too_large_after_decoding_error_details.rb
|
|
2357
|
+
- lib/anthropic/models/sandbox_egress_restricted_error.rb
|
|
2358
|
+
- lib/anthropic/models/sandbox_egress_restricted_error_details.rb
|
|
2351
2359
|
- lib/anthropic/models/search_result_block_param.rb
|
|
2352
2360
|
- lib/anthropic/models/server_tool_caller.rb
|
|
2353
2361
|
- lib/anthropic/models/server_tool_caller_20260120.rb
|
|
@@ -2742,8 +2750,6 @@ files:
|
|
|
2742
2750
|
- rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_block_param.rbi
|
|
2743
2751
|
- rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rbi
|
|
2744
2752
|
- rbi/anthropic/models/beta/beta_bash_code_execution_tool_result_error_param.rbi
|
|
2745
|
-
- rbi/anthropic/models/beta/beta_billing_frozen_error.rbi
|
|
2746
|
-
- rbi/anthropic/models/beta/beta_billing_frozen_error_details.rbi
|
|
2747
2753
|
- rbi/anthropic/models/beta/beta_browser_click_target.rbi
|
|
2748
2754
|
- rbi/anthropic/models/beta/beta_browser_close_tab_config.rbi
|
|
2749
2755
|
- rbi/anthropic/models/beta/beta_browser_close_tab_input.rbi
|
|
@@ -3476,6 +3482,7 @@ files:
|
|
|
3476
3482
|
- rbi/anthropic/models/beta/beta_webhook_session_updated_event_data.rbi
|
|
3477
3483
|
- rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbi
|
|
3478
3484
|
- rbi/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbi
|
|
3485
|
+
- rbi/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbi
|
|
3479
3486
|
- rbi/anthropic/models/beta/beta_webhook_vault_archived_event_data.rbi
|
|
3480
3487
|
- rbi/anthropic/models/beta/beta_webhook_vault_created_event_data.rbi
|
|
3481
3488
|
- rbi/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rbi
|
|
@@ -3616,6 +3623,7 @@ files:
|
|
|
3616
3623
|
- rbi/anthropic/models/beta/organization/beta_analytics_chat_metrics.rbi
|
|
3617
3624
|
- rbi/anthropic/models/beta/organization/beta_analytics_claude_code_metrics.rbi
|
|
3618
3625
|
- rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_category.rbi
|
|
3626
|
+
- rbi/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbi
|
|
3619
3627
|
- rbi/anthropic/models/beta/organization/beta_analytics_connector_activity.rbi
|
|
3620
3628
|
- rbi/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rbi
|
|
3621
3629
|
- rbi/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_metrics.rbi
|
|
@@ -3713,6 +3721,11 @@ files:
|
|
|
3713
3721
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbi
|
|
3714
3722
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbi
|
|
3715
3723
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbi
|
|
3724
|
+
- rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbi
|
|
3725
|
+
- rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbi
|
|
3726
|
+
- rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbi
|
|
3727
|
+
- rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbi
|
|
3728
|
+
- rbi/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbi
|
|
3716
3729
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbi
|
|
3717
3730
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbi
|
|
3718
3731
|
- rbi/anthropic/models/beta/organization/beta_claude_tag_settings.rbi
|
|
@@ -4599,6 +4612,7 @@ files:
|
|
|
4599
4612
|
- rbi/anthropic/models/organization/analytics_chat_cowork_unified_sessions_metrics.rbi
|
|
4600
4613
|
- rbi/anthropic/models/organization/analytics_chat_metrics.rbi
|
|
4601
4614
|
- rbi/anthropic/models/organization/analytics_claude_code_metrics.rbi
|
|
4615
|
+
- rbi/anthropic/models/organization/analytics_claude_tag_metrics.rbi
|
|
4602
4616
|
- rbi/anthropic/models/organization/analytics_connector_activity.rbi
|
|
4603
4617
|
- rbi/anthropic/models/organization/analytics_connector_chat_cowork_unified_chat_metrics.rbi
|
|
4604
4618
|
- rbi/anthropic/models/organization/analytics_connector_chat_cowork_unified_metrics.rbi
|
|
@@ -4867,6 +4881,8 @@ files:
|
|
|
4867
4881
|
- rbi/anthropic/models/request_body_encoding_unsupported_error_details.rbi
|
|
4868
4882
|
- rbi/anthropic/models/request_body_too_large_after_decoding_error.rbi
|
|
4869
4883
|
- rbi/anthropic/models/request_body_too_large_after_decoding_error_details.rbi
|
|
4884
|
+
- rbi/anthropic/models/sandbox_egress_restricted_error.rbi
|
|
4885
|
+
- rbi/anthropic/models/sandbox_egress_restricted_error_details.rbi
|
|
4870
4886
|
- rbi/anthropic/models/search_result_block_param.rbi
|
|
4871
4887
|
- rbi/anthropic/models/server_tool_caller.rbi
|
|
4872
4888
|
- rbi/anthropic/models/server_tool_caller_20260120.rbi
|
|
@@ -5246,8 +5262,6 @@ files:
|
|
|
5246
5262
|
- sig/anthropic/models/beta/beta_bash_code_execution_tool_result_block_param.rbs
|
|
5247
5263
|
- sig/anthropic/models/beta/beta_bash_code_execution_tool_result_error.rbs
|
|
5248
5264
|
- sig/anthropic/models/beta/beta_bash_code_execution_tool_result_error_param.rbs
|
|
5249
|
-
- sig/anthropic/models/beta/beta_billing_frozen_error.rbs
|
|
5250
|
-
- sig/anthropic/models/beta/beta_billing_frozen_error_details.rbs
|
|
5251
5265
|
- sig/anthropic/models/beta/beta_browser_click_target.rbs
|
|
5252
5266
|
- sig/anthropic/models/beta/beta_browser_close_tab_config.rbs
|
|
5253
5267
|
- sig/anthropic/models/beta/beta_browser_close_tab_input.rbs
|
|
@@ -5980,6 +5994,7 @@ files:
|
|
|
5980
5994
|
- sig/anthropic/models/beta/beta_webhook_session_updated_event_data.rbs
|
|
5981
5995
|
- sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_opened_event_data.rbs
|
|
5982
5996
|
- sig/anthropic/models/beta/beta_webhook_user_profile_enforcement_action_resolved_event_data.rbs
|
|
5997
|
+
- sig/anthropic/models/beta/beta_webhook_user_profile_program_status_updated_event_data.rbs
|
|
5983
5998
|
- sig/anthropic/models/beta/beta_webhook_vault_archived_event_data.rbs
|
|
5984
5999
|
- sig/anthropic/models/beta/beta_webhook_vault_created_event_data.rbs
|
|
5985
6000
|
- sig/anthropic/models/beta/beta_webhook_vault_credential_archived_event_data.rbs
|
|
@@ -6120,6 +6135,7 @@ files:
|
|
|
6120
6135
|
- sig/anthropic/models/beta/organization/beta_analytics_chat_metrics.rbs
|
|
6121
6136
|
- sig/anthropic/models/beta/organization/beta_analytics_claude_code_metrics.rbs
|
|
6122
6137
|
- sig/anthropic/models/beta/organization/beta_analytics_claude_tag_category.rbs
|
|
6138
|
+
- sig/anthropic/models/beta/organization/beta_analytics_claude_tag_metrics.rbs
|
|
6123
6139
|
- sig/anthropic/models/beta/organization/beta_analytics_connector_activity.rbs
|
|
6124
6140
|
- sig/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_chat_metrics.rbs
|
|
6125
6141
|
- sig/anthropic/models/beta/organization/beta_analytics_connector_chat_cowork_unified_metrics.rbs
|
|
@@ -6217,6 +6233,11 @@ files:
|
|
|
6217
6233
|
- sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_allow.rbs
|
|
6218
6234
|
- sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_channel_only.rbs
|
|
6219
6235
|
- sig/anthropic/models/beta/organization/beta_claude_tag_guest_policy_restrict.rbs
|
|
6236
|
+
- sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode.rbs
|
|
6237
|
+
- sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_always_awake.rbs
|
|
6238
|
+
- sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_automatic.rbs
|
|
6239
|
+
- sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_mention_only.rbs
|
|
6240
|
+
- sig/anthropic/models/beta/organization/beta_claude_tag_reply_mode_thread.rbs
|
|
6220
6241
|
- sig/anthropic/models/beta/organization/beta_claude_tag_setting_source.rbs
|
|
6221
6242
|
- sig/anthropic/models/beta/organization/beta_claude_tag_setting_sources.rbs
|
|
6222
6243
|
- sig/anthropic/models/beta/organization/beta_claude_tag_settings.rbs
|
|
@@ -7103,6 +7124,7 @@ files:
|
|
|
7103
7124
|
- sig/anthropic/models/organization/analytics_chat_cowork_unified_sessions_metrics.rbs
|
|
7104
7125
|
- sig/anthropic/models/organization/analytics_chat_metrics.rbs
|
|
7105
7126
|
- sig/anthropic/models/organization/analytics_claude_code_metrics.rbs
|
|
7127
|
+
- sig/anthropic/models/organization/analytics_claude_tag_metrics.rbs
|
|
7106
7128
|
- sig/anthropic/models/organization/analytics_connector_activity.rbs
|
|
7107
7129
|
- sig/anthropic/models/organization/analytics_connector_chat_cowork_unified_chat_metrics.rbs
|
|
7108
7130
|
- sig/anthropic/models/organization/analytics_connector_chat_cowork_unified_metrics.rbs
|
|
@@ -7371,6 +7393,8 @@ files:
|
|
|
7371
7393
|
- sig/anthropic/models/request_body_encoding_unsupported_error_details.rbs
|
|
7372
7394
|
- sig/anthropic/models/request_body_too_large_after_decoding_error.rbs
|
|
7373
7395
|
- sig/anthropic/models/request_body_too_large_after_decoding_error_details.rbs
|
|
7396
|
+
- sig/anthropic/models/sandbox_egress_restricted_error.rbs
|
|
7397
|
+
- sig/anthropic/models/sandbox_egress_restricted_error_details.rbs
|
|
7374
7398
|
- sig/anthropic/models/search_result_block_param.rbs
|
|
7375
7399
|
- sig/anthropic/models/server_tool_caller.rbs
|
|
7376
7400
|
- sig/anthropic/models/server_tool_caller_20260120.rbs
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
module Beta
|
|
6
|
-
# Anthropic has temporarily disabled billing changes for the user account the
|
|
7
|
-
# credential belongs to. Contact support.
|
|
8
|
-
class BetaBillingFrozenError < Anthropic::Errors::PermissionDeniedError
|
|
9
|
-
# @!method error_code
|
|
10
|
-
# @return [Symbol, :billing_frozen]
|
|
11
|
-
|
|
12
|
-
# @return [Anthropic::Models::Beta::BetaBillingFrozenErrorDetails]
|
|
13
|
-
def details
|
|
14
|
-
Anthropic::Internal::Type::Converter.coerce(
|
|
15
|
-
Anthropic::Beta::BetaBillingFrozenErrorDetails,
|
|
16
|
-
Anthropic::Internal::Util.dig(body, [:error, :details])
|
|
17
|
-
)
|
|
18
|
-
end
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
module Beta
|
|
6
|
-
class BetaBillingFrozenErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
7
|
-
# @!attribute error_code
|
|
8
|
-
#
|
|
9
|
-
# @return [Symbol, :billing_frozen]
|
|
10
|
-
required :error_code, const: :billing_frozen
|
|
11
|
-
|
|
12
|
-
# @!method initialize(error_code: :billing_frozen)
|
|
13
|
-
# Anthropic has temporarily disabled billing changes for the user account the
|
|
14
|
-
# credential belongs to. Contact support.
|
|
15
|
-
#
|
|
16
|
-
# @param error_code [Symbol, :billing_frozen]
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
|
|
20
|
-
BetaBillingFrozenErrorDetails = Beta::BetaBillingFrozenErrorDetails
|
|
21
|
-
end
|
|
22
|
-
end
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
module Beta
|
|
6
|
-
# Anthropic has temporarily disabled billing changes for the user account the
|
|
7
|
-
# credential belongs to. Contact support.
|
|
8
|
-
class BetaBillingFrozenError < Anthropic::Errors::PermissionDeniedError
|
|
9
|
-
sig { returns(Symbol) }
|
|
10
|
-
def error_code
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
sig { returns(Anthropic::Beta::BetaBillingFrozenErrorDetails) }
|
|
14
|
-
def details
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|
|
18
|
-
end
|
|
19
|
-
end
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
# typed: strong
|
|
2
|
-
|
|
3
|
-
module Anthropic
|
|
4
|
-
module Models
|
|
5
|
-
BetaBillingFrozenErrorDetails = Beta::BetaBillingFrozenErrorDetails
|
|
6
|
-
|
|
7
|
-
module Beta
|
|
8
|
-
class BetaBillingFrozenErrorDetails < Anthropic::Internal::Type::BaseModel
|
|
9
|
-
OrHash =
|
|
10
|
-
T.type_alias do
|
|
11
|
-
T.any(
|
|
12
|
-
Anthropic::Beta::BetaBillingFrozenErrorDetails,
|
|
13
|
-
Anthropic::Internal::AnyHash
|
|
14
|
-
)
|
|
15
|
-
end
|
|
16
|
-
|
|
17
|
-
sig { returns(Symbol) }
|
|
18
|
-
attr_accessor :error_code
|
|
19
|
-
|
|
20
|
-
# Anthropic has temporarily disabled billing changes for the user account the
|
|
21
|
-
# credential belongs to. Contact support.
|
|
22
|
-
sig { params(error_code: Symbol).returns(T.attached_class) }
|
|
23
|
-
def self.new(error_code: :billing_frozen)
|
|
24
|
-
end
|
|
25
|
-
|
|
26
|
-
sig { override.returns({ error_code: Symbol }) }
|
|
27
|
-
def to_hash
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
end
|
|
31
|
-
end
|
|
32
|
-
end
|