anthropic 1.8.0 → 1.10.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 +42 -0
- data/README.md +12 -12
- data/lib/anthropic/errors.rb +25 -11
- data/lib/anthropic/internal/page.rb +1 -1
- data/lib/anthropic/internal/stream.rb +1 -0
- data/lib/anthropic/internal/transport/base_client.rb +11 -7
- data/lib/anthropic/internal/type/base_page.rb +1 -1
- data/lib/anthropic/internal/type/base_stream.rb +9 -1
- data/lib/anthropic/internal/util.rb +3 -2
- data/lib/anthropic/models/beta/beta_citation_config.rb +19 -0
- data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb +98 -0
- data/lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rb +38 -0
- data/lib/anthropic/models/beta/beta_content_block.rb +3 -1
- data/lib/anthropic/models/beta/beta_content_block_param.rb +3 -1
- data/lib/anthropic/models/beta/beta_context_management_config.rb +22 -0
- data/lib/anthropic/models/beta/beta_context_management_response.rb +23 -0
- data/lib/anthropic/models/beta/beta_count_tokens_context_management_response.rb +20 -0
- data/lib/anthropic/models/beta/beta_document_block.rb +56 -0
- data/lib/anthropic/models/beta/beta_input_tokens_clear_at_least.rb +25 -0
- data/lib/anthropic/models/beta/beta_input_tokens_trigger.rb +25 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818.rb +40 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb +30 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_create_command.rb +36 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rb +28 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rb +44 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rb +36 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rb +44 -0
- data/lib/anthropic/models/beta/beta_memory_tool_20250818_view_command.rb +36 -0
- data/lib/anthropic/models/beta/beta_message.rb +11 -3
- data/lib/anthropic/models/beta/beta_message_param.rb +3 -3
- data/lib/anthropic/models/beta/beta_message_tokens_count.rb +13 -1
- data/lib/anthropic/models/beta/beta_raw_content_block_start_event.rb +5 -3
- data/lib/anthropic/models/beta/beta_raw_message_delta_event.rb +9 -1
- data/lib/anthropic/models/beta/beta_request_document_block.rb +2 -2
- data/lib/anthropic/models/beta/beta_server_tool_usage.rb +9 -1
- data/lib/anthropic/models/beta/beta_server_tool_use_block.rb +1 -0
- data/lib/anthropic/models/beta/beta_server_tool_use_block_param.rb +1 -0
- data/lib/anthropic/models/beta/beta_stop_reason.rb +1 -0
- data/lib/anthropic/models/beta/beta_tool_result_block_param.rb +6 -4
- data/lib/anthropic/models/beta/beta_tool_union.rb +5 -1
- data/lib/anthropic/models/beta/beta_tool_uses_keep.rb +25 -0
- data/lib/anthropic/models/beta/beta_tool_uses_trigger.rb +25 -0
- data/lib/anthropic/models/beta/beta_web_fetch_block.rb +42 -0
- data/lib/anthropic/models/beta/beta_web_fetch_block_param.rb +42 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb +82 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb +43 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb +53 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rb +25 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rb +25 -0
- data/lib/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rb +25 -0
- data/lib/anthropic/models/beta/message_count_tokens_params.rb +16 -4
- data/lib/anthropic/models/beta/message_create_params.rb +11 -3
- data/lib/anthropic/models/beta/messages/batch_create_params.rb +11 -3
- data/lib/anthropic/models/document_block_param.rb +2 -2
- data/lib/anthropic/models/model.rb +10 -0
- data/lib/anthropic/models/stop_reason.rb +1 -0
- data/lib/anthropic/models/tool_result_block_param.rb +6 -4
- data/lib/anthropic/resources/beta/messages.rb +12 -6
- data/lib/anthropic/version.rb +1 -1
- data/lib/anthropic.rb +27 -0
- data/rbi/anthropic/errors.rbi +29 -2
- data/rbi/anthropic/internal/transport/base_client.rbi +4 -5
- data/rbi/anthropic/internal/type/base_page.rbi +1 -1
- data/rbi/anthropic/internal/type/base_stream.rbi +16 -1
- data/rbi/anthropic/internal/util.rbi +1 -1
- data/rbi/anthropic/models/beta/beta_citation_config.rbi +30 -0
- data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi +183 -0
- data/rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rbi +62 -0
- data/rbi/anthropic/models/beta/beta_content_block.rbi +1 -0
- data/rbi/anthropic/models/beta/beta_content_block_param.rbi +1 -0
- data/rbi/anthropic/models/beta/beta_context_management_config.rbi +56 -0
- data/rbi/anthropic/models/beta/beta_context_management_response.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_count_tokens_context_management_response.rbi +35 -0
- data/rbi/anthropic/models/beta/beta_document_block.rbi +95 -0
- data/rbi/anthropic/models/beta/beta_input_tokens_clear_at_least.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_input_tokens_trigger.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818.rbi +72 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbi +53 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbi +41 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rbi +69 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rbi +55 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbi +64 -0
- data/rbi/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbi +59 -0
- data/rbi/anthropic/models/beta/beta_message.rbi +21 -0
- data/rbi/anthropic/models/beta/beta_message_tokens_count.rbi +40 -2
- data/rbi/anthropic/models/beta/beta_raw_content_block_start_event.rbi +2 -0
- data/rbi/anthropic/models/beta/beta_raw_message_delta_event.rbi +20 -0
- data/rbi/anthropic/models/beta/beta_request_document_block.rbi +5 -3
- data/rbi/anthropic/models/beta/beta_server_tool_usage.rbi +17 -2
- data/rbi/anthropic/models/beta/beta_server_tool_use_block.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_server_tool_use_block_param.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_stop_reason.rbi +5 -0
- data/rbi/anthropic/models/beta/beta_tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/models/beta/beta_tool_union.rbi +3 -1
- data/rbi/anthropic/models/beta/beta_tool_uses_keep.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_tool_uses_trigger.rbi +33 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_block.rbi +67 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_block_param.rbi +71 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi +125 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi +81 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi +109 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rbi +51 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rbi +50 -0
- data/rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbi +70 -0
- data/rbi/anthropic/models/beta/message_count_tokens_params.rbi +33 -5
- data/rbi/anthropic/models/beta/message_create_params.rbi +30 -4
- data/rbi/anthropic/models/beta/messages/batch_create_params.rbi +36 -4
- data/rbi/anthropic/models/document_block_param.rbi +7 -3
- data/rbi/anthropic/models/model.rbi +8 -0
- data/rbi/anthropic/models/stop_reason.rbi +5 -0
- data/rbi/anthropic/models/tool_result_block_param.rbi +2 -1
- data/rbi/anthropic/resources/beta/messages.rbi +21 -3
- data/sig/anthropic/errors.rbs +7 -0
- data/sig/anthropic/internal/type/base_stream.rbs +5 -0
- data/sig/anthropic/models/beta/beta_citation_config.rbs +17 -0
- data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs +77 -0
- data/sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rbs +34 -0
- data/sig/anthropic/models/beta/beta_content_block.rbs +1 -0
- data/sig/anthropic/models/beta/beta_content_block_param.rbs +1 -0
- data/sig/anthropic/models/beta/beta_context_management_config.rbs +26 -0
- data/sig/anthropic/models/beta/beta_context_management_response.rbs +24 -0
- data/sig/anthropic/models/beta/beta_count_tokens_context_management_response.rbs +18 -0
- data/sig/anthropic/models/beta/beta_document_block.rbs +49 -0
- data/sig/anthropic/models/beta/beta_input_tokens_clear_at_least.rbs +20 -0
- data/sig/anthropic/models/beta/beta_input_tokens_trigger.rbs +19 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818.rbs +34 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs +21 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbs +26 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbs +20 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rbs +39 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rbs +26 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbs +39 -0
- data/sig/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbs +32 -0
- data/sig/anthropic/models/beta/beta_message.rbs +5 -0
- data/sig/anthropic/models/beta/beta_message_tokens_count.rbs +15 -3
- data/sig/anthropic/models/beta/beta_raw_content_block_start_event.rbs +1 -0
- data/sig/anthropic/models/beta/beta_raw_message_delta_event.rbs +5 -0
- data/sig/anthropic/models/beta/beta_request_document_block.rbs +4 -8
- data/sig/anthropic/models/beta/beta_server_tool_usage.rbs +12 -3
- data/sig/anthropic/models/beta/beta_server_tool_use_block.rbs +2 -0
- data/sig/anthropic/models/beta/beta_server_tool_use_block_param.rbs +2 -0
- data/sig/anthropic/models/beta/beta_stop_reason.rbs +2 -0
- data/sig/anthropic/models/beta/beta_tool_result_block_param.rbs +1 -0
- data/sig/anthropic/models/beta/beta_tool_union.rbs +2 -0
- data/sig/anthropic/models/beta/beta_tool_uses_keep.rbs +19 -0
- data/sig/anthropic/models/beta/beta_tool_uses_trigger.rbs +19 -0
- data/sig/anthropic/models/beta/beta_web_fetch_block.rbs +39 -0
- data/sig/anthropic/models/beta/beta_web_fetch_block_param.rbs +39 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs +59 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs +44 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs +49 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rbs +29 -0
- data/sig/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbs +32 -0
- data/sig/anthropic/models/beta/message_count_tokens_params.rbs +7 -0
- data/sig/anthropic/models/beta/message_create_params.rbs +5 -0
- data/sig/anthropic/models/beta/messages/batch_create_params.rbs +5 -0
- data/sig/anthropic/models/document_block_param.rbs +4 -8
- data/sig/anthropic/models/model.rbs +8 -0
- data/sig/anthropic/models/stop_reason.rbs +2 -0
- data/sig/anthropic/models/tool_result_block_param.rbs +1 -0
- data/sig/anthropic/resources/beta/messages.rbs +3 -0
- metadata +83 -2
|
@@ -8,6 +8,8 @@ module Anthropic
|
|
|
8
8
|
| :"claude-sonnet-4-20250514"
|
|
9
9
|
| :"claude-sonnet-4-0"
|
|
10
10
|
| :"claude-4-sonnet-20250514"
|
|
11
|
+
| :"claude-sonnet-4-5"
|
|
12
|
+
| :"claude-sonnet-4-5-20250929"
|
|
11
13
|
| :"claude-3-5-sonnet-latest"
|
|
12
14
|
| :"claude-3-5-sonnet-20241022"
|
|
13
15
|
| :"claude-3-5-sonnet-20240620"
|
|
@@ -46,6 +48,12 @@ module Anthropic
|
|
|
46
48
|
# High-performance model with extended thinking
|
|
47
49
|
CLAUDE_4_SONNET_20250514: :"claude-4-sonnet-20250514"
|
|
48
50
|
|
|
51
|
+
# Our best model for real-world agents and coding
|
|
52
|
+
CLAUDE_SONNET_4_5: :"claude-sonnet-4-5"
|
|
53
|
+
|
|
54
|
+
# Our best model for real-world agents and coding
|
|
55
|
+
CLAUDE_SONNET_4_5_20250929: :"claude-sonnet-4-5-20250929"
|
|
56
|
+
|
|
49
57
|
# Our previous most intelligent model
|
|
50
58
|
CLAUDE_3_5_SONNET_LATEST: :"claude-3-5-sonnet-latest"
|
|
51
59
|
|
|
@@ -7,6 +7,7 @@ module Anthropic
|
|
|
7
7
|
| :tool_use
|
|
8
8
|
| :pause_turn
|
|
9
9
|
| :refusal
|
|
10
|
+
| :model_context_window_exceeded
|
|
10
11
|
|
|
11
12
|
module StopReason
|
|
12
13
|
extend Anthropic::Internal::Type::Enum
|
|
@@ -17,6 +18,7 @@ module Anthropic
|
|
|
17
18
|
TOOL_USE: :tool_use
|
|
18
19
|
PAUSE_TURN: :pause_turn
|
|
19
20
|
REFUSAL: :refusal
|
|
21
|
+
MODEL_CONTEXT_WINDOW_EXCEEDED: :model_context_window_exceeded
|
|
20
22
|
|
|
21
23
|
def self?.values: -> ::Array[Anthropic::Models::stop_reason]
|
|
22
24
|
end
|
|
@@ -9,6 +9,7 @@ module Anthropic
|
|
|
9
9
|
messages: ::Array[Anthropic::Beta::BetaMessageParam],
|
|
10
10
|
model: Anthropic::Models::model,
|
|
11
11
|
?container: String?,
|
|
12
|
+
?context_management: Anthropic::Beta::BetaContextManagementConfig?,
|
|
12
13
|
?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
|
|
13
14
|
?metadata: Anthropic::Beta::BetaMetadata,
|
|
14
15
|
?service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
|
|
@@ -29,6 +30,7 @@ module Anthropic
|
|
|
29
30
|
messages: ::Array[Anthropic::Beta::BetaMessageParam],
|
|
30
31
|
model: Anthropic::Models::model,
|
|
31
32
|
?container: String?,
|
|
33
|
+
?context_management: Anthropic::Beta::BetaContextManagementConfig?,
|
|
32
34
|
?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
|
|
33
35
|
?metadata: Anthropic::Beta::BetaMetadata,
|
|
34
36
|
?service_tier: Anthropic::Models::Beta::MessageCreateParams::service_tier,
|
|
@@ -47,6 +49,7 @@ module Anthropic
|
|
|
47
49
|
def count_tokens: (
|
|
48
50
|
messages: ::Array[Anthropic::Beta::BetaMessageParam],
|
|
49
51
|
model: Anthropic::Models::model,
|
|
52
|
+
?context_management: Anthropic::Beta::BetaContextManagementConfig?,
|
|
50
53
|
?mcp_servers: ::Array[Anthropic::Beta::BetaRequestMCPServerURLDefinition],
|
|
51
54
|
?system_: Anthropic::Models::Beta::MessageCountTokensParams::system_,
|
|
52
55
|
?thinking: Anthropic::Models::Beta::beta_thinking_config_param,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: anthropic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.10.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Anthropic
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-09-
|
|
11
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: connection_pool
|
|
@@ -95,6 +95,7 @@ files:
|
|
|
95
95
|
- lib/anthropic/models/beta/beta_cache_creation.rb
|
|
96
96
|
- lib/anthropic/models/beta/beta_citation_char_location.rb
|
|
97
97
|
- lib/anthropic/models/beta/beta_citation_char_location_param.rb
|
|
98
|
+
- lib/anthropic/models/beta/beta_citation_config.rb
|
|
98
99
|
- lib/anthropic/models/beta/beta_citation_content_block_location.rb
|
|
99
100
|
- lib/anthropic/models/beta/beta_citation_content_block_location_param.rb
|
|
100
101
|
- lib/anthropic/models/beta/beta_citation_page_location.rb
|
|
@@ -105,6 +106,8 @@ files:
|
|
|
105
106
|
- lib/anthropic/models/beta/beta_citations_config_param.rb
|
|
106
107
|
- lib/anthropic/models/beta/beta_citations_delta.rb
|
|
107
108
|
- lib/anthropic/models/beta/beta_citations_web_search_result_location.rb
|
|
109
|
+
- lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rb
|
|
110
|
+
- lib/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rb
|
|
108
111
|
- lib/anthropic/models/beta/beta_code_execution_output_block.rb
|
|
109
112
|
- lib/anthropic/models/beta/beta_code_execution_output_block_param.rb
|
|
110
113
|
- lib/anthropic/models/beta/beta_code_execution_result_block.rb
|
|
@@ -125,13 +128,27 @@ files:
|
|
|
125
128
|
- lib/anthropic/models/beta/beta_content_block_param.rb
|
|
126
129
|
- lib/anthropic/models/beta/beta_content_block_source.rb
|
|
127
130
|
- lib/anthropic/models/beta/beta_content_block_source_content.rb
|
|
131
|
+
- lib/anthropic/models/beta/beta_context_management_config.rb
|
|
132
|
+
- lib/anthropic/models/beta/beta_context_management_response.rb
|
|
133
|
+
- lib/anthropic/models/beta/beta_count_tokens_context_management_response.rb
|
|
134
|
+
- lib/anthropic/models/beta/beta_document_block.rb
|
|
128
135
|
- lib/anthropic/models/beta/beta_file_document_source.rb
|
|
129
136
|
- lib/anthropic/models/beta/beta_file_image_source.rb
|
|
130
137
|
- lib/anthropic/models/beta/beta_image_block_param.rb
|
|
131
138
|
- lib/anthropic/models/beta/beta_input_json_delta.rb
|
|
139
|
+
- lib/anthropic/models/beta/beta_input_tokens_clear_at_least.rb
|
|
140
|
+
- lib/anthropic/models/beta/beta_input_tokens_trigger.rb
|
|
132
141
|
- lib/anthropic/models/beta/beta_mcp_tool_result_block.rb
|
|
133
142
|
- lib/anthropic/models/beta/beta_mcp_tool_use_block.rb
|
|
134
143
|
- lib/anthropic/models/beta/beta_mcp_tool_use_block_param.rb
|
|
144
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818.rb
|
|
145
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_command.rb
|
|
146
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_create_command.rb
|
|
147
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rb
|
|
148
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rb
|
|
149
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rb
|
|
150
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rb
|
|
151
|
+
- lib/anthropic/models/beta/beta_memory_tool_20250818_view_command.rb
|
|
135
152
|
- lib/anthropic/models/beta/beta_message.rb
|
|
136
153
|
- lib/anthropic/models/beta/beta_message_delta_usage.rb
|
|
137
154
|
- lib/anthropic/models/beta/beta_message_param.rb
|
|
@@ -198,9 +215,19 @@ files:
|
|
|
198
215
|
- lib/anthropic/models/beta/beta_tool_union.rb
|
|
199
216
|
- lib/anthropic/models/beta/beta_tool_use_block.rb
|
|
200
217
|
- lib/anthropic/models/beta/beta_tool_use_block_param.rb
|
|
218
|
+
- lib/anthropic/models/beta/beta_tool_uses_keep.rb
|
|
219
|
+
- lib/anthropic/models/beta/beta_tool_uses_trigger.rb
|
|
201
220
|
- lib/anthropic/models/beta/beta_url_image_source.rb
|
|
202
221
|
- lib/anthropic/models/beta/beta_url_pdf_source.rb
|
|
203
222
|
- lib/anthropic/models/beta/beta_usage.rb
|
|
223
|
+
- lib/anthropic/models/beta/beta_web_fetch_block.rb
|
|
224
|
+
- lib/anthropic/models/beta/beta_web_fetch_block_param.rb
|
|
225
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_20250910.rb
|
|
226
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_result_block.rb
|
|
227
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rb
|
|
228
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rb
|
|
229
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rb
|
|
230
|
+
- lib/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rb
|
|
204
231
|
- lib/anthropic/models/beta/beta_web_search_result_block.rb
|
|
205
232
|
- lib/anthropic/models/beta/beta_web_search_result_block_param.rb
|
|
206
233
|
- lib/anthropic/models/beta/beta_web_search_tool_20250305.rb
|
|
@@ -431,6 +458,7 @@ files:
|
|
|
431
458
|
- rbi/anthropic/models/beta/beta_cache_creation.rbi
|
|
432
459
|
- rbi/anthropic/models/beta/beta_citation_char_location.rbi
|
|
433
460
|
- rbi/anthropic/models/beta/beta_citation_char_location_param.rbi
|
|
461
|
+
- rbi/anthropic/models/beta/beta_citation_config.rbi
|
|
434
462
|
- rbi/anthropic/models/beta/beta_citation_content_block_location.rbi
|
|
435
463
|
- rbi/anthropic/models/beta/beta_citation_content_block_location_param.rbi
|
|
436
464
|
- rbi/anthropic/models/beta/beta_citation_page_location.rbi
|
|
@@ -441,6 +469,8 @@ files:
|
|
|
441
469
|
- rbi/anthropic/models/beta/beta_citations_config_param.rbi
|
|
442
470
|
- rbi/anthropic/models/beta/beta_citations_delta.rbi
|
|
443
471
|
- rbi/anthropic/models/beta/beta_citations_web_search_result_location.rbi
|
|
472
|
+
- rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbi
|
|
473
|
+
- rbi/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rbi
|
|
444
474
|
- rbi/anthropic/models/beta/beta_code_execution_output_block.rbi
|
|
445
475
|
- rbi/anthropic/models/beta/beta_code_execution_output_block_param.rbi
|
|
446
476
|
- rbi/anthropic/models/beta/beta_code_execution_result_block.rbi
|
|
@@ -461,13 +491,27 @@ files:
|
|
|
461
491
|
- rbi/anthropic/models/beta/beta_content_block_param.rbi
|
|
462
492
|
- rbi/anthropic/models/beta/beta_content_block_source.rbi
|
|
463
493
|
- rbi/anthropic/models/beta/beta_content_block_source_content.rbi
|
|
494
|
+
- rbi/anthropic/models/beta/beta_context_management_config.rbi
|
|
495
|
+
- rbi/anthropic/models/beta/beta_context_management_response.rbi
|
|
496
|
+
- rbi/anthropic/models/beta/beta_count_tokens_context_management_response.rbi
|
|
497
|
+
- rbi/anthropic/models/beta/beta_document_block.rbi
|
|
464
498
|
- rbi/anthropic/models/beta/beta_file_document_source.rbi
|
|
465
499
|
- rbi/anthropic/models/beta/beta_file_image_source.rbi
|
|
466
500
|
- rbi/anthropic/models/beta/beta_image_block_param.rbi
|
|
467
501
|
- rbi/anthropic/models/beta/beta_input_json_delta.rbi
|
|
502
|
+
- rbi/anthropic/models/beta/beta_input_tokens_clear_at_least.rbi
|
|
503
|
+
- rbi/anthropic/models/beta/beta_input_tokens_trigger.rbi
|
|
468
504
|
- rbi/anthropic/models/beta/beta_mcp_tool_result_block.rbi
|
|
469
505
|
- rbi/anthropic/models/beta/beta_mcp_tool_use_block.rbi
|
|
470
506
|
- rbi/anthropic/models/beta/beta_mcp_tool_use_block_param.rbi
|
|
507
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818.rbi
|
|
508
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_command.rbi
|
|
509
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbi
|
|
510
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbi
|
|
511
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rbi
|
|
512
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rbi
|
|
513
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbi
|
|
514
|
+
- rbi/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbi
|
|
471
515
|
- rbi/anthropic/models/beta/beta_message.rbi
|
|
472
516
|
- rbi/anthropic/models/beta/beta_message_delta_usage.rbi
|
|
473
517
|
- rbi/anthropic/models/beta/beta_message_param.rbi
|
|
@@ -534,9 +578,19 @@ files:
|
|
|
534
578
|
- rbi/anthropic/models/beta/beta_tool_union.rbi
|
|
535
579
|
- rbi/anthropic/models/beta/beta_tool_use_block.rbi
|
|
536
580
|
- rbi/anthropic/models/beta/beta_tool_use_block_param.rbi
|
|
581
|
+
- rbi/anthropic/models/beta/beta_tool_uses_keep.rbi
|
|
582
|
+
- rbi/anthropic/models/beta/beta_tool_uses_trigger.rbi
|
|
537
583
|
- rbi/anthropic/models/beta/beta_url_image_source.rbi
|
|
538
584
|
- rbi/anthropic/models/beta/beta_url_pdf_source.rbi
|
|
539
585
|
- rbi/anthropic/models/beta/beta_usage.rbi
|
|
586
|
+
- rbi/anthropic/models/beta/beta_web_fetch_block.rbi
|
|
587
|
+
- rbi/anthropic/models/beta/beta_web_fetch_block_param.rbi
|
|
588
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_20250910.rbi
|
|
589
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_result_block.rbi
|
|
590
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbi
|
|
591
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rbi
|
|
592
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rbi
|
|
593
|
+
- rbi/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbi
|
|
540
594
|
- rbi/anthropic/models/beta/beta_web_search_result_block.rbi
|
|
541
595
|
- rbi/anthropic/models/beta/beta_web_search_result_block_param.rbi
|
|
542
596
|
- rbi/anthropic/models/beta/beta_web_search_tool_20250305.rbi
|
|
@@ -758,6 +812,7 @@ files:
|
|
|
758
812
|
- sig/anthropic/models/beta/beta_cache_creation.rbs
|
|
759
813
|
- sig/anthropic/models/beta/beta_citation_char_location.rbs
|
|
760
814
|
- sig/anthropic/models/beta/beta_citation_char_location_param.rbs
|
|
815
|
+
- sig/anthropic/models/beta/beta_citation_config.rbs
|
|
761
816
|
- sig/anthropic/models/beta/beta_citation_content_block_location.rbs
|
|
762
817
|
- sig/anthropic/models/beta/beta_citation_content_block_location_param.rbs
|
|
763
818
|
- sig/anthropic/models/beta/beta_citation_page_location.rbs
|
|
@@ -768,6 +823,8 @@ files:
|
|
|
768
823
|
- sig/anthropic/models/beta/beta_citations_config_param.rbs
|
|
769
824
|
- sig/anthropic/models/beta/beta_citations_delta.rbs
|
|
770
825
|
- sig/anthropic/models/beta/beta_citations_web_search_result_location.rbs
|
|
826
|
+
- sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit.rbs
|
|
827
|
+
- sig/anthropic/models/beta/beta_clear_tool_uses_20250919_edit_response.rbs
|
|
771
828
|
- sig/anthropic/models/beta/beta_code_execution_output_block.rbs
|
|
772
829
|
- sig/anthropic/models/beta/beta_code_execution_output_block_param.rbs
|
|
773
830
|
- sig/anthropic/models/beta/beta_code_execution_result_block.rbs
|
|
@@ -788,13 +845,27 @@ files:
|
|
|
788
845
|
- sig/anthropic/models/beta/beta_content_block_param.rbs
|
|
789
846
|
- sig/anthropic/models/beta/beta_content_block_source.rbs
|
|
790
847
|
- sig/anthropic/models/beta/beta_content_block_source_content.rbs
|
|
848
|
+
- sig/anthropic/models/beta/beta_context_management_config.rbs
|
|
849
|
+
- sig/anthropic/models/beta/beta_context_management_response.rbs
|
|
850
|
+
- sig/anthropic/models/beta/beta_count_tokens_context_management_response.rbs
|
|
851
|
+
- sig/anthropic/models/beta/beta_document_block.rbs
|
|
791
852
|
- sig/anthropic/models/beta/beta_file_document_source.rbs
|
|
792
853
|
- sig/anthropic/models/beta/beta_file_image_source.rbs
|
|
793
854
|
- sig/anthropic/models/beta/beta_image_block_param.rbs
|
|
794
855
|
- sig/anthropic/models/beta/beta_input_json_delta.rbs
|
|
856
|
+
- sig/anthropic/models/beta/beta_input_tokens_clear_at_least.rbs
|
|
857
|
+
- sig/anthropic/models/beta/beta_input_tokens_trigger.rbs
|
|
795
858
|
- sig/anthropic/models/beta/beta_mcp_tool_result_block.rbs
|
|
796
859
|
- sig/anthropic/models/beta/beta_mcp_tool_use_block.rbs
|
|
797
860
|
- sig/anthropic/models/beta/beta_mcp_tool_use_block_param.rbs
|
|
861
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818.rbs
|
|
862
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_command.rbs
|
|
863
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_create_command.rbs
|
|
864
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_delete_command.rbs
|
|
865
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_insert_command.rbs
|
|
866
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_rename_command.rbs
|
|
867
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_str_replace_command.rbs
|
|
868
|
+
- sig/anthropic/models/beta/beta_memory_tool_20250818_view_command.rbs
|
|
798
869
|
- sig/anthropic/models/beta/beta_message.rbs
|
|
799
870
|
- sig/anthropic/models/beta/beta_message_delta_usage.rbs
|
|
800
871
|
- sig/anthropic/models/beta/beta_message_param.rbs
|
|
@@ -861,9 +932,19 @@ files:
|
|
|
861
932
|
- sig/anthropic/models/beta/beta_tool_union.rbs
|
|
862
933
|
- sig/anthropic/models/beta/beta_tool_use_block.rbs
|
|
863
934
|
- sig/anthropic/models/beta/beta_tool_use_block_param.rbs
|
|
935
|
+
- sig/anthropic/models/beta/beta_tool_uses_keep.rbs
|
|
936
|
+
- sig/anthropic/models/beta/beta_tool_uses_trigger.rbs
|
|
864
937
|
- sig/anthropic/models/beta/beta_url_image_source.rbs
|
|
865
938
|
- sig/anthropic/models/beta/beta_url_pdf_source.rbs
|
|
866
939
|
- sig/anthropic/models/beta/beta_usage.rbs
|
|
940
|
+
- sig/anthropic/models/beta/beta_web_fetch_block.rbs
|
|
941
|
+
- sig/anthropic/models/beta/beta_web_fetch_block_param.rbs
|
|
942
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_20250910.rbs
|
|
943
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_result_block.rbs
|
|
944
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_result_block_param.rbs
|
|
945
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_result_error_block.rbs
|
|
946
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_result_error_block_param.rbs
|
|
947
|
+
- sig/anthropic/models/beta/beta_web_fetch_tool_result_error_code.rbs
|
|
867
948
|
- sig/anthropic/models/beta/beta_web_search_result_block.rbs
|
|
868
949
|
- sig/anthropic/models/beta/beta_web_search_result_block_param.rbs
|
|
869
950
|
- sig/anthropic/models/beta/beta_web_search_tool_20250305.rbs
|