@effect/ai-anthropic 4.0.0-beta.7 → 4.0.0-beta.70
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.
- package/dist/AnthropicClient.d.ts +40 -66
- package/dist/AnthropicClient.d.ts.map +1 -1
- package/dist/AnthropicClient.js +12 -14
- package/dist/AnthropicClient.js.map +1 -1
- package/dist/AnthropicConfig.d.ts +46 -10
- package/dist/AnthropicConfig.d.ts.map +1 -1
- package/dist/AnthropicConfig.js +31 -7
- package/dist/AnthropicConfig.js.map +1 -1
- package/dist/AnthropicError.d.ts +128 -37
- package/dist/AnthropicError.d.ts.map +1 -1
- package/dist/AnthropicError.js +1 -1
- package/dist/AnthropicLanguageModel.d.ts +281 -66
- package/dist/AnthropicLanguageModel.d.ts.map +1 -1
- package/dist/AnthropicLanguageModel.js +50 -14
- package/dist/AnthropicLanguageModel.js.map +1 -1
- package/dist/AnthropicTelemetry.d.ts +23 -16
- package/dist/AnthropicTelemetry.d.ts.map +1 -1
- package/dist/AnthropicTelemetry.js +6 -4
- package/dist/AnthropicTelemetry.js.map +1 -1
- package/dist/AnthropicTool.d.ts +298 -138
- package/dist/AnthropicTool.d.ts.map +1 -1
- package/dist/AnthropicTool.js +141 -87
- package/dist/AnthropicTool.js.map +1 -1
- package/dist/Generated.d.ts +11661 -5260
- package/dist/Generated.d.ts.map +1 -1
- package/dist/Generated.js +2318 -915
- package/dist/Generated.js.map +1 -1
- package/dist/index.d.ts +52 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -8
- package/dist/index.js.map +1 -1
- package/dist/internal/errors.js +7 -7
- package/dist/internal/errors.js.map +1 -1
- package/package.json +3 -3
- package/src/AnthropicClient.ts +41 -67
- package/src/AnthropicConfig.ts +47 -11
- package/src/AnthropicError.ts +130 -37
- package/src/AnthropicLanguageModel.ts +274 -33
- package/src/AnthropicTelemetry.ts +24 -17
- package/src/AnthropicTool.ts +293 -133
- package/src/Generated.ts +3751 -1815
- package/src/index.ts +52 -8
- package/src/internal/errors.ts +9 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import * as Context from "effect/Context";
|
|
1
2
|
import * as Effect from "effect/Effect";
|
|
2
3
|
import * as Layer from "effect/Layer";
|
|
3
4
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import * as ServiceMap from "effect/ServiceMap";
|
|
5
5
|
import * as LanguageModel from "effect/unstable/ai/LanguageModel";
|
|
6
6
|
import * as AiModel from "effect/unstable/ai/Model";
|
|
7
7
|
import { AnthropicClient } from "./AnthropicClient.ts";
|
|
@@ -9,21 +9,25 @@ import type * as Generated from "./Generated.ts";
|
|
|
9
9
|
/**
|
|
10
10
|
* The available Anthropic Claude model identifiers.
|
|
11
11
|
*
|
|
12
|
-
* @since 1.0.0
|
|
13
12
|
* @category models
|
|
13
|
+
* @since 4.0.0
|
|
14
14
|
*/
|
|
15
15
|
export type Model = typeof Generated.Model.Type;
|
|
16
|
-
declare const Config_base:
|
|
17
|
-
readonly model?: "claude-opus-4-6" | "claude-opus-4-5-20251101" | "claude-opus-4-5" | "claude-3-7-sonnet-latest" | "claude-3-7-sonnet-20250219" | "claude-3-5-haiku-latest" | "claude-3-5-haiku-20241022" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-sonnet-4-20250514" | "claude-sonnet-4-0" | "claude-4-sonnet-20250514" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | "claude-opus-4-0" | "claude-opus-4-20250514" | "claude-4-opus-20250514" | "claude-opus-4-1-20250805" | "claude-3-opus-latest" | "claude-3-opus-20240229" | "claude-3-haiku-20240307";
|
|
16
|
+
declare const Config_base: Context.ServiceClass<Config, "@effect/ai-anthropic/AnthropicLanguageModel/Config", {
|
|
17
|
+
readonly model?: "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-opus-4-5-20251101" | "claude-opus-4-5" | "claude-3-7-sonnet-latest" | "claude-3-7-sonnet-20250219" | "claude-3-5-haiku-latest" | "claude-3-5-haiku-20241022" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-sonnet-4-20250514" | "claude-sonnet-4-0" | "claude-4-sonnet-20250514" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | "claude-opus-4-0" | "claude-opus-4-20250514" | "claude-4-opus-20250514" | "claude-opus-4-1-20250805" | "claude-3-opus-latest" | "claude-3-opus-20240229" | "claude-3-haiku-20240307";
|
|
18
18
|
readonly thinking?: {
|
|
19
19
|
readonly type: "adaptive";
|
|
20
20
|
} | {
|
|
21
21
|
readonly type: "disabled";
|
|
22
22
|
} | {
|
|
23
|
-
readonly type: "enabled";
|
|
24
23
|
readonly budget_tokens: number;
|
|
24
|
+
readonly type: "enabled";
|
|
25
25
|
};
|
|
26
26
|
readonly max_tokens?: number;
|
|
27
|
+
readonly cache_control?: {
|
|
28
|
+
readonly type: "ephemeral";
|
|
29
|
+
readonly ttl?: "5m" | "1h";
|
|
30
|
+
} | null;
|
|
27
31
|
readonly context_management?: {
|
|
28
32
|
readonly edits?: readonly ({
|
|
29
33
|
readonly type: "compact_20260112";
|
|
@@ -43,103 +47,103 @@ declare const Config_base: ServiceMap.ServiceClass<Config, "@effect/ai-anthropic
|
|
|
43
47
|
};
|
|
44
48
|
} | {
|
|
45
49
|
readonly type: "clear_tool_uses_20250919";
|
|
46
|
-
readonly
|
|
50
|
+
readonly clear_at_least?: {
|
|
47
51
|
readonly type: "input_tokens";
|
|
48
52
|
readonly value: number;
|
|
49
|
-
} |
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
+
} | null;
|
|
54
|
+
readonly clear_tool_inputs?: boolean | readonly string[] | null;
|
|
55
|
+
readonly exclude_tools?: readonly string[] | null;
|
|
53
56
|
readonly keep?: {
|
|
54
57
|
readonly type: "tool_uses";
|
|
55
58
|
readonly value: number;
|
|
56
59
|
};
|
|
57
|
-
readonly
|
|
60
|
+
readonly trigger?: {
|
|
58
61
|
readonly type: "input_tokens";
|
|
59
62
|
readonly value: number;
|
|
60
|
-
} |
|
|
61
|
-
|
|
62
|
-
|
|
63
|
+
} | {
|
|
64
|
+
readonly type: "tool_uses";
|
|
65
|
+
readonly value: number;
|
|
66
|
+
};
|
|
63
67
|
})[];
|
|
64
68
|
} | null;
|
|
65
|
-
readonly stop_sequences?: readonly string[];
|
|
66
|
-
readonly temperature?: number;
|
|
67
|
-
readonly top_p?: number;
|
|
68
|
-
readonly top_k?: number;
|
|
69
|
-
readonly metadata?: {
|
|
70
|
-
readonly user_id?: string | null;
|
|
71
|
-
};
|
|
72
69
|
readonly container?: string | {
|
|
73
70
|
readonly id?: string | null;
|
|
74
71
|
readonly skills?: readonly {
|
|
75
|
-
readonly type: "anthropic" | "custom";
|
|
76
72
|
readonly skill_id: string;
|
|
73
|
+
readonly type: "anthropic" | "custom";
|
|
77
74
|
readonly version?: string;
|
|
78
75
|
}[] | null;
|
|
79
76
|
} | null;
|
|
77
|
+
readonly stop_sequences?: readonly string[];
|
|
78
|
+
readonly temperature?: number;
|
|
79
|
+
readonly top_p?: number;
|
|
80
|
+
readonly top_k?: number;
|
|
81
|
+
readonly metadata?: {
|
|
82
|
+
readonly user_id?: string | null;
|
|
83
|
+
};
|
|
84
|
+
readonly speed?: "standard" | "fast" | null;
|
|
80
85
|
readonly inference_geo?: string | null;
|
|
81
86
|
readonly service_tier?: "auto" | "standard_only";
|
|
82
|
-
readonly
|
|
87
|
+
readonly mcp_servers?: readonly {
|
|
88
|
+
readonly name: string;
|
|
89
|
+
readonly type: "url";
|
|
90
|
+
readonly url: string;
|
|
91
|
+
readonly authorization_token?: string | null;
|
|
92
|
+
readonly tool_configuration?: {
|
|
93
|
+
readonly allowed_tools?: readonly string[] | null;
|
|
94
|
+
readonly enabled?: boolean | null;
|
|
95
|
+
} | null;
|
|
96
|
+
}[];
|
|
97
|
+
readonly output_format?: {
|
|
98
|
+
readonly schema: {
|
|
99
|
+
readonly [x: string]: Schema.Json;
|
|
100
|
+
};
|
|
101
|
+
readonly type: "json_schema";
|
|
102
|
+
} | null;
|
|
83
103
|
readonly system?: string | readonly {
|
|
84
|
-
readonly type: "text";
|
|
85
104
|
readonly text: string;
|
|
105
|
+
readonly type: "text";
|
|
86
106
|
readonly cache_control?: {
|
|
87
107
|
readonly type: "ephemeral";
|
|
88
108
|
readonly ttl?: "5m" | "1h";
|
|
89
109
|
} | null;
|
|
90
110
|
readonly citations?: readonly ({
|
|
91
|
-
readonly type: "char_location";
|
|
92
111
|
readonly cited_text: string;
|
|
93
112
|
readonly document_index: number;
|
|
94
113
|
readonly document_title: string | null;
|
|
95
114
|
readonly end_char_index: number;
|
|
96
115
|
readonly start_char_index: number;
|
|
116
|
+
readonly type: "char_location";
|
|
97
117
|
} | {
|
|
98
|
-
readonly type: "content_block_location";
|
|
99
118
|
readonly cited_text: string;
|
|
100
119
|
readonly document_index: number;
|
|
101
120
|
readonly document_title: string | null;
|
|
102
121
|
readonly end_block_index: number;
|
|
103
122
|
readonly start_block_index: number;
|
|
123
|
+
readonly type: "content_block_location";
|
|
104
124
|
} | {
|
|
105
|
-
readonly type: "page_location";
|
|
106
125
|
readonly cited_text: string;
|
|
107
126
|
readonly document_index: number;
|
|
108
127
|
readonly document_title: string | null;
|
|
109
128
|
readonly end_page_number: number;
|
|
110
129
|
readonly start_page_number: number;
|
|
130
|
+
readonly type: "page_location";
|
|
111
131
|
} | {
|
|
112
|
-
readonly title: string | null;
|
|
113
|
-
readonly type: "search_result_location";
|
|
114
|
-
readonly source: string;
|
|
115
132
|
readonly cited_text: string;
|
|
116
133
|
readonly end_block_index: number;
|
|
117
|
-
readonly start_block_index: number;
|
|
118
134
|
readonly search_result_index: number;
|
|
135
|
+
readonly source: string;
|
|
136
|
+
readonly start_block_index: number;
|
|
137
|
+
readonly title: string | null;
|
|
138
|
+
readonly type: "search_result_location";
|
|
119
139
|
} | {
|
|
140
|
+
readonly cited_text: string;
|
|
141
|
+
readonly encrypted_index: string;
|
|
120
142
|
readonly title: string | null;
|
|
121
143
|
readonly type: "web_search_result_location";
|
|
122
|
-
readonly cited_text: string;
|
|
123
144
|
readonly url: string;
|
|
124
|
-
readonly encrypted_index: string;
|
|
125
145
|
})[] | null;
|
|
126
146
|
}[];
|
|
127
|
-
readonly mcp_servers?: readonly {
|
|
128
|
-
readonly type: "url";
|
|
129
|
-
readonly name: string;
|
|
130
|
-
readonly url: string;
|
|
131
|
-
readonly authorization_token?: string | null;
|
|
132
|
-
readonly tool_configuration?: {
|
|
133
|
-
readonly enabled?: boolean | null;
|
|
134
|
-
readonly allowed_tools?: readonly string[] | null;
|
|
135
|
-
} | null;
|
|
136
|
-
}[];
|
|
137
|
-
readonly output_format?: {
|
|
138
|
-
readonly type: "json_schema";
|
|
139
|
-
readonly schema: {
|
|
140
|
-
readonly [x: string]: Schema.Json;
|
|
141
|
-
};
|
|
142
|
-
} | null;
|
|
143
147
|
readonly output_config?: {
|
|
144
148
|
readonly effort?: "low" | "medium" | "high" | null;
|
|
145
149
|
};
|
|
@@ -147,6 +151,8 @@ declare const Config_base: ServiceMap.ServiceClass<Config, "@effect/ai-anthropic
|
|
|
147
151
|
/**
|
|
148
152
|
* Whether to use strict JSON schema validation for tool calls.
|
|
149
153
|
*
|
|
154
|
+
* **Details**
|
|
155
|
+
*
|
|
150
156
|
* Only applies to models that support structured outputs. Defaults to
|
|
151
157
|
* `true` when structured outputs are supported.
|
|
152
158
|
*/
|
|
@@ -156,15 +162,28 @@ declare const Config_base: ServiceMap.ServiceClass<Config, "@effect/ai-anthropic
|
|
|
156
162
|
/**
|
|
157
163
|
* Configuration options for the Anthropic language model.
|
|
158
164
|
*
|
|
165
|
+
* **Details**
|
|
166
|
+
*
|
|
159
167
|
* This service can be used to provide default configuration values or to
|
|
160
168
|
* override configuration on a per-request basis.
|
|
161
169
|
*
|
|
162
|
-
* @since 1.0.0
|
|
163
170
|
* @category configuration
|
|
171
|
+
* @since 4.0.0
|
|
164
172
|
*/
|
|
165
173
|
export declare class Config extends Config_base {
|
|
166
174
|
}
|
|
167
175
|
declare module "effect/unstable/ai/Prompt" {
|
|
176
|
+
/**
|
|
177
|
+
* Anthropic-specific options for system messages.
|
|
178
|
+
*
|
|
179
|
+
* **Details**
|
|
180
|
+
*
|
|
181
|
+
* These options are used when translating system messages into Anthropic
|
|
182
|
+
* request content.
|
|
183
|
+
*
|
|
184
|
+
* @category request
|
|
185
|
+
* @since 4.0.0
|
|
186
|
+
*/
|
|
168
187
|
interface SystemMessageOptions extends ProviderOptions {
|
|
169
188
|
readonly anthropic?: {
|
|
170
189
|
/**
|
|
@@ -173,6 +192,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
173
192
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
174
193
|
} | null;
|
|
175
194
|
}
|
|
195
|
+
/**
|
|
196
|
+
* Anthropic-specific options for user messages.
|
|
197
|
+
*
|
|
198
|
+
* **Details**
|
|
199
|
+
*
|
|
200
|
+
* These options are used when translating user messages into Anthropic
|
|
201
|
+
* request content.
|
|
202
|
+
*
|
|
203
|
+
* @category request
|
|
204
|
+
* @since 4.0.0
|
|
205
|
+
*/
|
|
176
206
|
interface UserMessageOptions extends ProviderOptions {
|
|
177
207
|
readonly anthropic?: {
|
|
178
208
|
/**
|
|
@@ -181,6 +211,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
181
211
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
182
212
|
} | null;
|
|
183
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Anthropic-specific options for assistant messages.
|
|
216
|
+
*
|
|
217
|
+
* **Details**
|
|
218
|
+
*
|
|
219
|
+
* These options are used when replaying assistant messages in Anthropic
|
|
220
|
+
* conversation history.
|
|
221
|
+
*
|
|
222
|
+
* @category request
|
|
223
|
+
* @since 4.0.0
|
|
224
|
+
*/
|
|
184
225
|
interface AssistantMessageOptions extends ProviderOptions {
|
|
185
226
|
readonly anthropic?: {
|
|
186
227
|
/**
|
|
@@ -189,6 +230,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
189
230
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
190
231
|
} | null;
|
|
191
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* Anthropic-specific options for tool messages.
|
|
235
|
+
*
|
|
236
|
+
* **Details**
|
|
237
|
+
*
|
|
238
|
+
* These options are used when converting tool results into Anthropic user
|
|
239
|
+
* content blocks.
|
|
240
|
+
*
|
|
241
|
+
* @category request
|
|
242
|
+
* @since 4.0.0
|
|
243
|
+
*/
|
|
192
244
|
interface ToolMessageOptions extends ProviderOptions {
|
|
193
245
|
readonly anthropic?: {
|
|
194
246
|
/**
|
|
@@ -197,6 +249,16 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
197
249
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
198
250
|
} | null;
|
|
199
251
|
}
|
|
252
|
+
/**
|
|
253
|
+
* Anthropic-specific options for text prompt parts.
|
|
254
|
+
*
|
|
255
|
+
* **When to use**
|
|
256
|
+
*
|
|
257
|
+
* Use these options to control how text blocks are sent to Anthropic.
|
|
258
|
+
*
|
|
259
|
+
* @category request
|
|
260
|
+
* @since 4.0.0
|
|
261
|
+
*/
|
|
200
262
|
interface TextPartOptions extends ProviderOptions {
|
|
201
263
|
readonly anthropic?: {
|
|
202
264
|
/**
|
|
@@ -205,6 +267,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
205
267
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
206
268
|
} | null;
|
|
207
269
|
}
|
|
270
|
+
/**
|
|
271
|
+
* Anthropic-specific options for reasoning prompt parts.
|
|
272
|
+
*
|
|
273
|
+
* **Details**
|
|
274
|
+
*
|
|
275
|
+
* Preserves Claude thinking metadata when reasoning content is sent back to
|
|
276
|
+
* Anthropic in later turns.
|
|
277
|
+
*
|
|
278
|
+
* @category request
|
|
279
|
+
* @since 4.0.0
|
|
280
|
+
*/
|
|
208
281
|
interface ReasoningPartOptions extends ProviderOptions {
|
|
209
282
|
readonly anthropic?: {
|
|
210
283
|
readonly info?: {
|
|
@@ -228,6 +301,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
228
301
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
229
302
|
} | null;
|
|
230
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Anthropic-specific options for file prompt parts.
|
|
306
|
+
*
|
|
307
|
+
* **Details**
|
|
308
|
+
*
|
|
309
|
+
* Controls document metadata, citations, and prompt caching for files sent to
|
|
310
|
+
* Anthropic.
|
|
311
|
+
*
|
|
312
|
+
* @category request
|
|
313
|
+
* @since 4.0.0
|
|
314
|
+
*/
|
|
231
315
|
interface FilePartOptions extends ProviderOptions {
|
|
232
316
|
readonly anthropic?: {
|
|
233
317
|
/**
|
|
@@ -247,11 +331,24 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
247
331
|
* Additional context about the document that will be forwarded to the
|
|
248
332
|
* large language model, but will not be used towards cited content.
|
|
249
333
|
*
|
|
334
|
+
* **When to use**
|
|
335
|
+
*
|
|
250
336
|
* Useful for storing additional document metadata as text or stringified JSON.
|
|
251
337
|
*/
|
|
252
338
|
readonly documentContext?: string | null;
|
|
253
339
|
} | null;
|
|
254
340
|
}
|
|
341
|
+
/**
|
|
342
|
+
* Anthropic-specific options for tool call prompt parts.
|
|
343
|
+
*
|
|
344
|
+
* **Details**
|
|
345
|
+
*
|
|
346
|
+
* Carries Anthropic tool caller metadata, MCP metadata, and cache control for
|
|
347
|
+
* tool use blocks.
|
|
348
|
+
*
|
|
349
|
+
* @category request
|
|
350
|
+
* @since 4.0.0
|
|
351
|
+
*/
|
|
255
352
|
interface ToolCallPartOptions extends ProviderOptions {
|
|
256
353
|
readonly anthropic?: {
|
|
257
354
|
readonly caller?: {
|
|
@@ -273,6 +370,16 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
273
370
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
274
371
|
} | null;
|
|
275
372
|
}
|
|
373
|
+
/**
|
|
374
|
+
* Anthropic-specific options for tool result prompt parts.
|
|
375
|
+
*
|
|
376
|
+
* **Details**
|
|
377
|
+
*
|
|
378
|
+
* Controls Anthropic prompt caching for tool result content.
|
|
379
|
+
*
|
|
380
|
+
* @category request
|
|
381
|
+
* @since 4.0.0
|
|
382
|
+
*/
|
|
276
383
|
interface ToolResultPartOptions extends ProviderOptions {
|
|
277
384
|
readonly anthropic?: {
|
|
278
385
|
/**
|
|
@@ -281,6 +388,16 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
281
388
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
282
389
|
} | null;
|
|
283
390
|
}
|
|
391
|
+
/**
|
|
392
|
+
* Anthropic-specific options for tool approval request prompt parts.
|
|
393
|
+
*
|
|
394
|
+
* **Details**
|
|
395
|
+
*
|
|
396
|
+
* Controls prompt caching for human approval requests in conversations.
|
|
397
|
+
*
|
|
398
|
+
* @category request
|
|
399
|
+
* @since 4.0.0
|
|
400
|
+
*/
|
|
284
401
|
interface ToolApprovalRequestPartOptions extends ProviderOptions {
|
|
285
402
|
readonly anthropic?: {
|
|
286
403
|
/**
|
|
@@ -289,14 +406,16 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
289
406
|
readonly cacheControl?: typeof Generated.CacheControlEphemeral.Encoded | null;
|
|
290
407
|
} | null;
|
|
291
408
|
}
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
409
|
+
/**
|
|
410
|
+
* Anthropic-specific options for tool approval response prompt parts.
|
|
411
|
+
*
|
|
412
|
+
* **Details**
|
|
413
|
+
*
|
|
414
|
+
* Controls prompt caching for human approval responses in conversations.
|
|
415
|
+
*
|
|
416
|
+
* @category request
|
|
417
|
+
* @since 4.0.0
|
|
418
|
+
*/
|
|
300
419
|
interface ToolApprovalResponsePartOptions extends ProviderOptions {
|
|
301
420
|
readonly anthropic?: {
|
|
302
421
|
/**
|
|
@@ -307,6 +426,17 @@ declare module "effect/unstable/ai/Prompt" {
|
|
|
307
426
|
}
|
|
308
427
|
}
|
|
309
428
|
declare module "effect/unstable/ai/Response" {
|
|
429
|
+
/**
|
|
430
|
+
* Anthropic metadata attached when a reasoning block begins.
|
|
431
|
+
*
|
|
432
|
+
* **Details**
|
|
433
|
+
*
|
|
434
|
+
* Includes Claude thinking metadata needed to continue reasoning-aware
|
|
435
|
+
* conversations.
|
|
436
|
+
*
|
|
437
|
+
* @category response
|
|
438
|
+
* @since 4.0.0
|
|
439
|
+
*/
|
|
310
440
|
interface ReasoningStartPartMetadata extends ProviderMetadata {
|
|
311
441
|
readonly anthropic?: {
|
|
312
442
|
readonly info?: {
|
|
@@ -326,6 +456,16 @@ declare module "effect/unstable/ai/Response" {
|
|
|
326
456
|
} | null;
|
|
327
457
|
} | null;
|
|
328
458
|
}
|
|
459
|
+
/**
|
|
460
|
+
* Anthropic metadata attached to streaming reasoning deltas.
|
|
461
|
+
*
|
|
462
|
+
* **Details**
|
|
463
|
+
*
|
|
464
|
+
* Includes the signature for streamed Claude thinking content when available.
|
|
465
|
+
*
|
|
466
|
+
* @category response
|
|
467
|
+
* @since 4.0.0
|
|
468
|
+
*/
|
|
329
469
|
interface ReasoningDeltaPartMetadata extends ProviderMetadata {
|
|
330
470
|
readonly anthropic?: {
|
|
331
471
|
readonly info?: {
|
|
@@ -338,6 +478,16 @@ declare module "effect/unstable/ai/Response" {
|
|
|
338
478
|
} | null;
|
|
339
479
|
} | null;
|
|
340
480
|
}
|
|
481
|
+
/**
|
|
482
|
+
* Anthropic metadata attached to completed reasoning parts.
|
|
483
|
+
*
|
|
484
|
+
* **Details**
|
|
485
|
+
*
|
|
486
|
+
* Preserves Claude thinking or redacted thinking information for later turns.
|
|
487
|
+
*
|
|
488
|
+
* @category response
|
|
489
|
+
* @since 4.0.0
|
|
490
|
+
*/
|
|
341
491
|
interface ReasoningPartMetadata extends ProviderMetadata {
|
|
342
492
|
readonly anthropic?: {
|
|
343
493
|
readonly info?: {
|
|
@@ -357,6 +507,17 @@ declare module "effect/unstable/ai/Response" {
|
|
|
357
507
|
} | null;
|
|
358
508
|
} | null;
|
|
359
509
|
}
|
|
510
|
+
/**
|
|
511
|
+
* Anthropic metadata attached to tool call response parts.
|
|
512
|
+
*
|
|
513
|
+
* **Details**
|
|
514
|
+
*
|
|
515
|
+
* Identifies Anthropic caller details and MCP tool metadata emitted by the
|
|
516
|
+
* provider.
|
|
517
|
+
*
|
|
518
|
+
* @category response
|
|
519
|
+
* @since 4.0.0
|
|
520
|
+
*/
|
|
360
521
|
interface ToolCallPartMetadata extends ProviderMetadata {
|
|
361
522
|
readonly anthropic?: {
|
|
362
523
|
readonly caller?: {
|
|
@@ -374,6 +535,17 @@ declare module "effect/unstable/ai/Response" {
|
|
|
374
535
|
} | null;
|
|
375
536
|
} | null;
|
|
376
537
|
}
|
|
538
|
+
/**
|
|
539
|
+
* Anthropic metadata attached to tool result response parts.
|
|
540
|
+
*
|
|
541
|
+
* **Details**
|
|
542
|
+
*
|
|
543
|
+
* Identifies MCP tool metadata associated with provider-executed tool
|
|
544
|
+
* results.
|
|
545
|
+
*
|
|
546
|
+
* @category response
|
|
547
|
+
* @since 4.0.0
|
|
548
|
+
*/
|
|
377
549
|
interface ToolResultPartMetadata extends ProviderMetadata {
|
|
378
550
|
readonly anthropic?: {
|
|
379
551
|
/**
|
|
@@ -387,6 +559,16 @@ declare module "effect/unstable/ai/Response" {
|
|
|
387
559
|
} | null;
|
|
388
560
|
} | null;
|
|
389
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* Anthropic metadata for document citations in model responses.
|
|
564
|
+
*
|
|
565
|
+
* **Details**
|
|
566
|
+
*
|
|
567
|
+
* Records the cited document span by character position or page number.
|
|
568
|
+
*
|
|
569
|
+
* @category response
|
|
570
|
+
* @since 4.0.0
|
|
571
|
+
*/
|
|
390
572
|
interface DocumentSourcePartMetadata extends ProviderMetadata {
|
|
391
573
|
readonly anthropic?: {
|
|
392
574
|
readonly source: "document";
|
|
@@ -420,6 +602,16 @@ declare module "effect/unstable/ai/Response" {
|
|
|
420
602
|
readonly endPageNumber: number;
|
|
421
603
|
} | null;
|
|
422
604
|
}
|
|
605
|
+
/**
|
|
606
|
+
* Anthropic metadata for URL and web citations in model responses.
|
|
607
|
+
*
|
|
608
|
+
* **Details**
|
|
609
|
+
*
|
|
610
|
+
* Records cited URL text or web-search source freshness information.
|
|
611
|
+
*
|
|
612
|
+
* @category response
|
|
613
|
+
* @since 4.0.0
|
|
614
|
+
*/
|
|
423
615
|
interface UrlSourcePartMetadata extends ProviderMetadata {
|
|
424
616
|
readonly anthropic?: {
|
|
425
617
|
readonly source: "url";
|
|
@@ -438,6 +630,17 @@ declare module "effect/unstable/ai/Response" {
|
|
|
438
630
|
readonly pageAge: string | null;
|
|
439
631
|
} | null;
|
|
440
632
|
}
|
|
633
|
+
/**
|
|
634
|
+
* Anthropic metadata attached to the finish part of a response.
|
|
635
|
+
*
|
|
636
|
+
* **Details**
|
|
637
|
+
*
|
|
638
|
+
* Includes container state, context management information, stop details, and
|
|
639
|
+
* token usage reported by Anthropic.
|
|
640
|
+
*
|
|
641
|
+
* @category response
|
|
642
|
+
* @since 4.0.0
|
|
643
|
+
*/
|
|
441
644
|
interface FinishPartMetadata extends ProviderMetadata {
|
|
442
645
|
readonly anthropic?: {
|
|
443
646
|
readonly container: typeof Generated.BetaContainer.Encoded | null;
|
|
@@ -446,6 +649,16 @@ declare module "effect/unstable/ai/Response" {
|
|
|
446
649
|
readonly usage: typeof Generated.BetaMessage.Encoded["usage"] | null;
|
|
447
650
|
} | null;
|
|
448
651
|
}
|
|
652
|
+
/**
|
|
653
|
+
* Anthropic metadata attached to error response parts.
|
|
654
|
+
*
|
|
655
|
+
* **Details**
|
|
656
|
+
*
|
|
657
|
+
* Includes the provider request identifier when Anthropic returns one.
|
|
658
|
+
*
|
|
659
|
+
* @category response
|
|
660
|
+
* @since 4.0.0
|
|
661
|
+
*/
|
|
449
662
|
interface ErrorPartMetadata extends ProviderMetadata {
|
|
450
663
|
readonly anthropic?: {
|
|
451
664
|
requestId?: string | null;
|
|
@@ -455,15 +668,15 @@ declare module "effect/unstable/ai/Response" {
|
|
|
455
668
|
/**
|
|
456
669
|
* Creates an Anthropic language model that can be used with `AiModel.provide`.
|
|
457
670
|
*
|
|
458
|
-
* @since 1.0.0
|
|
459
671
|
* @category constructors
|
|
672
|
+
* @since 4.0.0
|
|
460
673
|
*/
|
|
461
674
|
export declare const model: (model: (string & {}) | Model, config?: Omit<typeof Config.Service, "model">) => AiModel.Model<"anthropic", LanguageModel.LanguageModel, AnthropicClient>;
|
|
462
675
|
/**
|
|
463
676
|
* Creates an Anthropic language model service.
|
|
464
677
|
*
|
|
465
|
-
* @since 1.0.0
|
|
466
678
|
* @category constructors
|
|
679
|
+
* @since 4.0.0
|
|
467
680
|
*/
|
|
468
681
|
export declare const make: (args_0: {
|
|
469
682
|
readonly model: (string & {}) | Model;
|
|
@@ -472,8 +685,8 @@ export declare const make: (args_0: {
|
|
|
472
685
|
/**
|
|
473
686
|
* Creates a layer for the Anthropic language model.
|
|
474
687
|
*
|
|
475
|
-
* @since 1.0.0
|
|
476
688
|
* @category layers
|
|
689
|
+
* @since 4.0.0
|
|
477
690
|
*/
|
|
478
691
|
export declare const layer: (options: {
|
|
479
692
|
readonly model: (string & {}) | Model;
|
|
@@ -482,40 +695,42 @@ export declare const layer: (options: {
|
|
|
482
695
|
/**
|
|
483
696
|
* Provides config overrides for Anthropic language model operations.
|
|
484
697
|
*
|
|
485
|
-
* @since 1.0.0
|
|
486
698
|
* @category configuration
|
|
699
|
+
* @since 4.0.0
|
|
487
700
|
*/
|
|
488
701
|
export declare const withConfigOverride: {
|
|
489
702
|
/**
|
|
490
703
|
* Provides config overrides for Anthropic language model operations.
|
|
491
704
|
*
|
|
492
|
-
* @since 1.0.0
|
|
493
705
|
* @category configuration
|
|
706
|
+
* @since 4.0.0
|
|
494
707
|
*/
|
|
495
708
|
(overrides: typeof Config.Service): <A, E, R>(self: Effect.Effect<A, E, R>) => Effect.Effect<A, E, Exclude<R, Config>>;
|
|
496
709
|
/**
|
|
497
710
|
* Provides config overrides for Anthropic language model operations.
|
|
498
711
|
*
|
|
499
|
-
* @since 1.0.0
|
|
500
712
|
* @category configuration
|
|
713
|
+
* @since 4.0.0
|
|
501
714
|
*/
|
|
502
715
|
<A, E, R>(self: Effect.Effect<A, E, R>, overrides: typeof Config.Service): Effect.Effect<A, E, Exclude<R, Config>>;
|
|
503
716
|
};
|
|
504
717
|
/**
|
|
505
718
|
* Represents a user-defined tool that can be passed to the Anthropic API.
|
|
506
719
|
*
|
|
507
|
-
* @since 1.0.0
|
|
508
720
|
* @category tools
|
|
721
|
+
* @since 4.0.0
|
|
509
722
|
*/
|
|
510
723
|
export type AnthropicUserDefinedTool = typeof Generated.BetaTool.Encoded;
|
|
511
724
|
/**
|
|
512
725
|
* Represents a provider-defined tool that can be passed to the Anthropic API.
|
|
513
726
|
*
|
|
727
|
+
* **Details**
|
|
728
|
+
*
|
|
514
729
|
* These include Anthropic's built-in tools like computer use, code execution,
|
|
515
730
|
* web search, and text editing.
|
|
516
731
|
*
|
|
517
|
-
* @since 1.0.0
|
|
518
732
|
* @category tools
|
|
733
|
+
* @since 4.0.0
|
|
519
734
|
*/
|
|
520
735
|
export type AnthropicProviderDefinedTool = typeof Generated.BetaBashTool_20241022.Encoded | typeof Generated.BetaBashTool_20250124.Encoded | typeof Generated.BetaCodeExecutionTool_20250522.Encoded | typeof Generated.BetaCodeExecutionTool_20250825.Encoded | typeof Generated.BetaComputerUseTool_20241022.Encoded | typeof Generated.BetaComputerUseTool_20250124.Encoded | typeof Generated.BetaComputerUseTool_20251124.Encoded | typeof Generated.BetaMemoryTool_20250818.Encoded | typeof Generated.BetaTextEditor_20241022.Encoded | typeof Generated.BetaTextEditor_20250124.Encoded | typeof Generated.BetaTextEditor_20250429.Encoded | typeof Generated.BetaTextEditor_20250728.Encoded | typeof Generated.BetaToolSearchToolBM25_20251119.Encoded | typeof Generated.BetaToolSearchToolRegex_20251119.Encoded | typeof Generated.BetaWebFetchTool_20250910.Encoded | typeof Generated.BetaWebSearchTool_20250305.Encoded;
|
|
521
736
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AnthropicLanguageModel.d.ts","sourceRoot":"","sources":["../src/AnthropicLanguageModel.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AnthropicLanguageModel.d.ts","sourceRoot":"","sources":["../src/AnthropicLanguageModel.ts"],"names":[],"mappings":"AA+BA,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAA;AAEzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAGvC,OAAO,KAAK,KAAK,MAAM,cAAc,CAAA;AAIrC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAA;AAQvC,OAAO,KAAK,aAAa,MAAM,kCAAkC,CAAA;AACjE,OAAO,KAAK,OAAO,MAAM,0BAA0B,CAAA;AAMnD,OAAO,EAAE,eAAe,EAA2B,MAAM,sBAAsB,CAAA;AAG/E,OAAO,KAAK,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAGhD;;;;;GAKG;AACH,MAAM,MAAM,KAAK,GAAG,OAAO,SAAS,CAAC,KAAK,CAAC,IAAI,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6BA2BhB;QACvB,QAAQ,CAAC,MAAM,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,IAAI,CAAA;KACnD;wCAImC,OAAO,GAAG,SAAS;IACvD;;;;;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