anthropic 1.48.0 → 1.48.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c61f95540e8d3612cb88a43f2542ad1b719242c3b361334c59fc855efb98eba8
4
- data.tar.gz: dd005ff2ea32f5948a0e3af5b21083ec2e11d3c04fc4192c2c90bc93ad17cd0d
3
+ metadata.gz: 0d9658d2e43fdcfc11701082172ce0b076645519a1245c12cc7aa36971d62184
4
+ data.tar.gz: 2c40246a6be022f5fa0527144933b5f5cd7928c02ba216f412d7f1eb90856e41
5
5
  SHA512:
6
- metadata.gz: 5639638d74a7c10d6a50d1f3fb884d3050d69cff2e23752ab01b5ff5240ff58b44f1d8a7dfc10c10504aa3a72fe82794717febf99c8ea35b784089f844e4a905
7
- data.tar.gz: 31acfb7d9839cfb5864b94dd3ecbca8f6be1cbc1399b62541d871caba4e520e684ccc22292bba403ad9e0c0e07025593aae14dc15035059e2eeb283888ba0ffa
6
+ metadata.gz: 3df9ec3734487252ad82aa9ba9995f825b1232d944ea3e0cb716002709ce4d4007d36a9cb020477a237edf839c74390379d474f6e7c2cd2f0378061b411799fd
7
+ data.tar.gz: 933cc3016a9750c7a69e8890aafefb7bfd4c8745d60b52ac6931c4be254e16a25397e4454d7ff0c11faa24c40f0b73456d7b4e97f5f88ce61f98c59d17fd8c8e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.48.1 (2026-06-09)
4
+
5
+ Full Changelog: [v1.48.0...v1.48.1](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.48.0...v1.48.1)
6
+
7
+ ### Bug Fixes
8
+
9
+ * **api:** add `frontier_llm` refusal category ([5fb7044](https://github.com/anthropics/anthropic-sdk-ruby/commit/5fb704475d5296d37065cec77a18867f2ccdee16))
10
+
3
11
  ## 1.48.0 (2026-06-09)
4
12
 
5
13
  Full Changelog: [v1.47.0...v1.48.0](https://github.com/anthropics/anthropic-sdk-ruby/compare/v1.47.0...v1.48.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ Add to your application's Gemfile:
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "anthropic", "~> 1.48.0"
18
+ gem "anthropic", "~> 1.48.1"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -110,6 +110,7 @@ module Anthropic
110
110
 
111
111
  CYBER = :cyber
112
112
  BIO = :bio
113
+ FRONTIER_LLM = :frontier_llm
113
114
  REASONING_EXTRACTION = :reasoning_extraction
114
115
 
115
116
  # @!method self.values
@@ -47,6 +47,7 @@ module Anthropic
47
47
 
48
48
  CYBER = :cyber
49
49
  BIO = :bio
50
+ FRONTIER_LLM = :frontier_llm
50
51
  REASONING_EXTRACTION = :reasoning_extraction
51
52
 
52
53
  # @!method self.values
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Anthropic
4
- VERSION = "1.48.0"
4
+ VERSION = "1.48.1"
5
5
  end
@@ -198,6 +198,11 @@ module Anthropic
198
198
  :bio,
199
199
  Anthropic::Beta::BetaRefusalStopDetails::Category::TaggedSymbol
200
200
  )
201
+ FRONTIER_LLM =
202
+ T.let(
203
+ :frontier_llm,
204
+ Anthropic::Beta::BetaRefusalStopDetails::Category::TaggedSymbol
205
+ )
201
206
  REASONING_EXTRACTION =
202
207
  T.let(
203
208
  :reasoning_extraction,
@@ -79,6 +79,11 @@ module Anthropic
79
79
  CYBER =
80
80
  T.let(:cyber, Anthropic::RefusalStopDetails::Category::TaggedSymbol)
81
81
  BIO = T.let(:bio, Anthropic::RefusalStopDetails::Category::TaggedSymbol)
82
+ FRONTIER_LLM =
83
+ T.let(
84
+ :frontier_llm,
85
+ Anthropic::RefusalStopDetails::Category::TaggedSymbol
86
+ )
82
87
  REASONING_EXTRACTION =
83
88
  T.let(
84
89
  :reasoning_extraction,
@@ -44,13 +44,14 @@ module Anthropic
44
44
  type: :refusal
45
45
  }
46
46
 
47
- type category = :cyber | :bio | :reasoning_extraction
47
+ type category = :cyber | :bio | :frontier_llm | :reasoning_extraction
48
48
 
49
49
  module Category
50
50
  extend Anthropic::Internal::Type::Enum
51
51
 
52
52
  CYBER: :cyber
53
53
  BIO: :bio
54
+ FRONTIER_LLM: :frontier_llm
54
55
  REASONING_EXTRACTION: :reasoning_extraction
55
56
 
56
57
  def self?.values: -> ::Array[Anthropic::Models::Beta::BetaRefusalStopDetails::category]
@@ -26,13 +26,14 @@ module Anthropic
26
26
  type: :refusal
27
27
  }
28
28
 
29
- type category = :cyber | :bio | :reasoning_extraction
29
+ type category = :cyber | :bio | :frontier_llm | :reasoning_extraction
30
30
 
31
31
  module Category
32
32
  extend Anthropic::Internal::Type::Enum
33
33
 
34
34
  CYBER: :cyber
35
35
  BIO: :bio
36
+ FRONTIER_LLM: :frontier_llm
36
37
  REASONING_EXTRACTION: :reasoning_extraction
37
38
 
38
39
  def self?.values: -> ::Array[Anthropic::Models::RefusalStopDetails::category]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anthropic
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.48.0
4
+ version: 1.48.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthropic