@effect/ai-anthropic 4.0.0-beta.66 → 4.0.0-beta.67
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 +7 -7
- package/dist/AnthropicClient.js +5 -5
- package/dist/AnthropicConfig.d.ts +43 -8
- package/dist/AnthropicConfig.d.ts.map +1 -1
- package/dist/AnthropicConfig.js +28 -4
- package/dist/AnthropicConfig.js.map +1 -1
- package/dist/AnthropicError.d.ts +93 -3
- package/dist/AnthropicError.d.ts.map +1 -1
- package/dist/AnthropicError.js +1 -1
- package/dist/AnthropicLanguageModel.d.ts +121 -10
- package/dist/AnthropicLanguageModel.d.ts.map +1 -1
- package/dist/AnthropicLanguageModel.js +32 -6
- package/dist/AnthropicLanguageModel.js.map +1 -1
- package/dist/AnthropicTelemetry.d.ts +10 -8
- package/dist/AnthropicTelemetry.d.ts.map +1 -1
- package/dist/AnthropicTelemetry.js +2 -2
- package/dist/AnthropicTelemetry.js.map +1 -1
- package/dist/AnthropicTool.d.ts +224 -118
- package/dist/AnthropicTool.d.ts.map +1 -1
- package/dist/AnthropicTool.js +76 -72
- package/dist/AnthropicTool.js.map +1 -1
- package/dist/Generated.d.ts +1 -1
- package/dist/Generated.js +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.js +8 -8
- package/package.json +3 -3
- package/src/AnthropicClient.ts +8 -8
- package/src/AnthropicConfig.ts +43 -8
- package/src/AnthropicError.ts +93 -3
- package/src/AnthropicLanguageModel.ts +150 -13
- package/src/AnthropicTelemetry.ts +11 -9
- package/src/AnthropicTool.ts +224 -118
- package/src/Generated.ts +1 -1
- package/src/index.ts +8 -8
package/src/Generated.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @since
|
|
2
|
+
* @since 4.0.0
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
// @barrel: Auto-generated exports. Do not edit manually.
|
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
* Provides a type-safe, Effect-based client for Anthropic operations including
|
|
11
11
|
* messages and streaming responses.
|
|
12
12
|
*
|
|
13
|
-
* @since
|
|
13
|
+
* @since 4.0.0
|
|
14
14
|
*/
|
|
15
15
|
export * as AnthropicClient from "./AnthropicClient.ts"
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
|
-
* @since
|
|
18
|
+
* @since 4.0.0
|
|
19
19
|
*/
|
|
20
20
|
export * as AnthropicConfig from "./AnthropicConfig.ts"
|
|
21
21
|
|
|
@@ -25,12 +25,12 @@ export * as AnthropicConfig from "./AnthropicConfig.ts"
|
|
|
25
25
|
* Provides Anthropic-specific metadata fields for AI error types through module
|
|
26
26
|
* augmentation, enabling typed access to Anthropic error details.
|
|
27
27
|
*
|
|
28
|
-
* @since
|
|
28
|
+
* @since 4.0.0
|
|
29
29
|
*/
|
|
30
30
|
export * as AnthropicError from "./AnthropicError.ts"
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
* @since
|
|
33
|
+
* @since 4.0.0
|
|
34
34
|
*/
|
|
35
35
|
export * as AnthropicLanguageModel from "./AnthropicLanguageModel.ts"
|
|
36
36
|
|
|
@@ -41,7 +41,7 @@ export * as AnthropicLanguageModel from "./AnthropicLanguageModel.ts"
|
|
|
41
41
|
* semantic conventions, extending the base GenAI attributes with Anthropic-specific
|
|
42
42
|
* request and response metadata.
|
|
43
43
|
*
|
|
44
|
-
* @since
|
|
44
|
+
* @since 4.0.0
|
|
45
45
|
*/
|
|
46
46
|
export * as AnthropicTelemetry from "./AnthropicTelemetry.ts"
|
|
47
47
|
|
|
@@ -51,11 +51,11 @@ export * as AnthropicTelemetry from "./AnthropicTelemetry.ts"
|
|
|
51
51
|
* Provides tools that are natively supported by Anthropic's API, including
|
|
52
52
|
* Bash, Code Execution, Computer Use, Memory, and Text Editor functionality.
|
|
53
53
|
*
|
|
54
|
-
* @since
|
|
54
|
+
* @since 4.0.0
|
|
55
55
|
*/
|
|
56
56
|
export * as AnthropicTool from "./AnthropicTool.ts"
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* @since
|
|
59
|
+
* @since 4.0.0
|
|
60
60
|
*/
|
|
61
61
|
export * as Generated from "./Generated.ts"
|