Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.
Mirrored from https://github.com/Camo67/composio.git
Synced Nov 23, 01:45 UTC
Fix anthropic provider and examples
haxzie committed
May 28, 2025 at 12:36 UTC
5d98d02571f295d342c7fccaca387777adc7bb32
9 files changed
+247
-132
examples/anthropic/.env.example
new
+2
@@ -0,0 +1,2 @@
1
+COMPOSIO_API_KEY=
2
+ANTHROPIC_API_KEY=
\ No newline at end of file
examples/anthropic/package.json
+1
-1
@@ -13,7 +13,7 @@
13
"license": "ISC",
14
"packageManager": "pnpm@10.8.0",
15
"dependencies": {
16
- "@anthropic-ai/sdk": "^0.18.0",
16
+ "@anthropic-ai/sdk": "^0.52.0",
17
"@composio/core": "workspace:*",
18
"@composio/anthropic": "workspace:*",
19
"dotenv": "^16.4.1"
examples/anthropic/src/index.ts
+30
-32
@@ -1,6 +1,6 @@
1
/**
2
* Example for using Anthropic provider with Composio SDK
3
- *
3
+ *
4
* Required environment variables:
5
* - COMPOSIO_API_KEY: Your Composio API key (get one at https://app.composio.dev)
6
* - ANTHROPIC_API_KEY: Your Anthropic API key (get one at https://console.anthropic.com)
@@ -24,62 +24,59 @@ const composio = new Composio({
24
25
async function main() {
26
try {
27
- console.log('Fetching tools from Composio...');
27
+ console.log('🔄 Fetching tools from Composio...');
28
/**
29
* Get the Hacker News user tool
30
* This tool is automatically wrapped with the Anthropic provider format
31
*/
32
const tools = await composio.tools.get('default', 'HACKERNEWS_GET_USER');
33
- console.log(`Fetched ${tools.length} tools`);
33
+ console.log(`✅ Fetched ${tools.length} tools`);
34
35
- console.log('Creating message with Anthropic...');
35
+ console.log('🔄 Creating message with Anthropic...');
36
/**
37
* Create a message with Anthropic that may use tools
38
*/
39
const message = await anthropic.messages.create({
40
- model: 'claude-3-sonnet-20240229',
40
+ model: 'claude-3-7-sonnet-latest',
41
max_tokens: 1024,
42
- tools,
42
+ tools: tools,
43
messages: [
44
{
45
role: 'user',
46
- content: "Fetch the details of the user 'pg' from Hacker News and summarize their profile",
46
+ content:
47
+ "Fetch the details of the user 'pg' from Hacker News and summarize their profile",
48
},
49
],
50
});
51
51
- console.log('Message created, processing tool calls if any...');
52
-
52
+ console.log('✅ Message created, processing tool calls if any...');
53
+
54
/**
55
* Extract tool use blocks from the message content
56
*/
56
- const toolUseBlocks = message.content.filter(
57
- (content) => content.type === 'tool_use'
58
- );
57
+ const toolUseBlocks = message.content.filter(content => content.type === 'tool_use');
58
59
if (toolUseBlocks.length > 0) {
61
- console.log(`Found ${toolUseBlocks.length} tool calls`);
62
-
60
+ console.log(`✅ Found ${toolUseBlocks.length} tool calls`);
61
+
62
/**
63
* Execute the tool calls using Composio
64
*/
66
- const toolResults = await composio.provider.handleToolCalls(
67
- 'default',
68
- message
69
- );
70
-
71
- console.log('Tool results:', toolResults);
72
-
65
+ const toolResults = await composio.provider.handleToolCalls('default', message);
66
+
67
+ console.log('✅ Tool results:', toolResults);
68
+
69
/**
70
* Send a follow-up message with the tool results
71
*/
72
const followUpMessage = await anthropic.messages.create({
77
- model: 'claude-3-sonnet-20240229',
73
+ model: 'claude-3-7-sonnet-latest',
74
max_tokens: 1024,
75
messages: [
76
{
77
role: 'user',
82
- content: "Fetch the details of the user 'pg' from Hacker News and summarize their profile",
78
+ content:
79
+ "Fetch the details of the user 'pg' from Hacker News and summarize their profile",
80
},
81
{
82
role: 'assistant',
@@ -103,27 +100,28 @@ async function main() {
100
},
101
],
102
});
106
-
103
+
104
/**
105
* Extract the text response from the follow-up message
106
*/
107
+ console.log('🔄 Extracting the text response from the follow-up message...');
108
const finalResponse = followUpMessage.content
111
- .filter((content) => content.type === 'text')
112
- .map((content) => content.text)
109
+ .filter(content => content.type === 'text')
110
+ .map(content => content.text)
111
.join('\n');
114
-
115
- console.log('Final response:');
112
+
113
+ console.log('✅ Final response:');
114
console.log(finalResponse);
115
} else {
116
/**
117
* If no tool calls were made, just show the text response
118
*/
119
const response = message.content
122
- .filter((content) => content.type === 'text')
123
- .map((content) => content.text)
120
+ .filter(content => content.type === 'text')
121
+ .map(content => content.text)
122
.join('\n');
125
-
126
- console.log('Response (no tool calls):');
123
+
124
+ console.log('❌ Response (no tool calls):');
125
console.log(response);
126
}
127
} catch (error) {
examples/anthropic/src/streaming.ts
new
+116
@@ -0,0 +1,116 @@
1
+/**
2
+ * Example for using Anthropic provider with Composio SDK
3
+ *
4
+ * Required environment variables:
5
+ * - COMPOSIO_API_KEY: Your Composio API key (get one at https://app.composio.dev)
6
+ * - ANTHROPIC_API_KEY: Your Anthropic API key (get one at https://console.anthropic.com)
7
+ */
8
+import { Composio } from '@composio/core';
9
+import { AnthropicProvider } from '@composio/anthropic';
10
+import Anthropic from '@anthropic-ai/sdk';
11
+import 'dotenv/config';
12
+import { stdout } from 'process';
13
+
14
+const anthropic = new Anthropic({
15
+ apiKey: process.env.ANTHROPIC_API_KEY,
16
+});
17
+
18
+/**
19
+ * Initialize Composio with the Anthropic provider
20
+ */
21
+const composio = new Composio({
22
+ apiKey: process.env.COMPOSIO_API_KEY,
23
+ provider: new AnthropicProvider(),
24
+});
25
+
26
+async function main() {
27
+ console.log('🔄 Fetching tools from Composio...');
28
+ const tools = await composio.tools.get('default', 'HACKERNEWS_GET_USER');
29
+ console.log(`✅ Fetched ${tools.length} tools`);
30
+
31
+ console.log('🔄 Creating message with Anthropic...');
32
+ const stream = await anthropic.messages
33
+ .stream({
34
+ model: 'claude-3-5-sonnet-latest',
35
+ max_tokens: 1024,
36
+ messages: [
37
+ {
38
+ role: 'user',
39
+ content: 'Tell me about the user "pg" from Hacker News',
40
+ },
41
+ ],
42
+ tools: tools,
43
+ })
44
+ .on('text', text => {
45
+ stdout.write(text);
46
+ })
47
+ .on('end', () => {
48
+ stdout.write('\n');
49
+ });
50
+
51
+ const message = await stream.finalMessage();
52
+
53
+ /**
54
+ * Extract tool use blocks from the message content
55
+ */
56
+ const toolUseBlocks = message.content.filter(content => content.type === 'tool_use');
57
+
58
+ if (toolUseBlocks.length > 0) {
59
+ console.log(`✅ Found ${toolUseBlocks.length} tool calls`);
60
+
61
+ /**
62
+ * Execute the tool calls using Composio
63
+ */
64
+ const toolResults = await composio.provider.handleToolCalls('default', message);
65
+
66
+ console.log('✅ Tool results:', toolResults);
67
+
68
+ /**
69
+ * Send a follow-up message with the tool results
70
+ */
71
+ const followUpStream = await anthropic.messages
72
+ .stream({
73
+ model: 'claude-3-7-sonnet-latest',
74
+ max_tokens: 1024,
75
+ messages: [
76
+ {
77
+ role: 'user',
78
+ content:
79
+ "Fetch the details of the user 'pg' from Hacker News and summarize their profile",
80
+ },
81
+ {
82
+ role: 'assistant',
83
+ content: [
84
+ {
85
+ type: 'text',
86
+ text: "I'll fetch the details for the Hacker News user 'pg'.",
87
+ },
88
+ ...toolUseBlocks,
89
+ ],
90
+ },
91
+ {
92
+ role: 'user',
93
+ content: [
94
+ {
95
+ type: 'tool_result',
96
+ tool_use_id: toolUseBlocks[0].id,
97
+ content: toolResults[0],
98
+ },
99
+ ],
100
+ },
101
+ ],
102
+ })
103
+ .on('text', text => {
104
+ stdout.write(text);
105
+ })
106
+ .on('end', () => {
107
+ stdout.write('\n');
108
+ });
109
+
110
+ const followUpMessage = await followUpStream.finalMessage();
111
+
112
+ console.log(followUpMessage);
113
+ }
114
+}
115
+
116
+main();
examples/anthropic/tsconfig.json
new
+16
@@ -0,0 +1,16 @@
1
+{
2
+ "compilerOptions": {
3
+ "target": "ESNext",
4
+ "module": "ESNext",
5
+ "declaration": true,
6
+ "declarationDir": "./dist",
7
+ "outDir": "./dist",
8
+ "rootDir": "./src",
9
+ "strict": true,
10
+ "esModuleInterop": true,
11
+ "moduleResolution": "node",
12
+ "skipLibCheck": true,
13
+ "resolveJsonModule": true
14
+ },
15
+ "include": ["src"]
16
+}
packages/providers/anthropic/package.json
+2
-4
@@ -32,11 +32,9 @@
32
"author": "",
33
"license": "ISC",
34
"packageManager": "pnpm@10.8.0",
35
- "dependencies": {
36
- "@anthropic-ai/sdk": "^0.18.0"
37
- },
35
"peerDependencies": {
39
- "@composio/core": "^0.1.0"
36
+ "@anthropic-ai/sdk": "^0.52.0",
37
+ "@composio/core": "workspace:*"
38
},
39
"devDependencies": {
40
"@composio/core": "workspace:*",
packages/providers/anthropic/src/index.ts
+21
-33
@@ -7,27 +7,15 @@
7
* @packageDocumentation
8
* @module providers/anthropic
9
*/
10
-import {
11
- BaseNonAgenticProvider,
12
- Tool,
10
+import {
11
+ BaseNonAgenticProvider,
12
+ Tool as ComposioTool,
13
ExecuteToolModifiers,
14
ExecuteToolFnOptions,
15
- ToolExecuteParams
15
+ ToolExecuteParams,
16
} from '@composio/core';
17
import Anthropic from '@anthropic-ai/sdk';
18
-
19
-/**
20
- * Anthropic tool format based on their API docs
21
- */
22
-export interface AnthropicTool {
23
- name: string;
24
- description: string;
25
- input_schema: {
26
- type: string;
27
- properties: Record<string, unknown>;
28
- required: string[];
29
- };
30
-}
18
+import { AnthropicTool } from './types';
19
20
/**
21
* Collection of Anthropic tools
@@ -55,7 +43,10 @@ export type AnthropicContentBlock = {
43
/**
44
* Anthropic Provider implementation for Composio
45
*/
58
-export class AnthropicProvider extends BaseNonAgenticProvider<AnthropicToolCollection, AnthropicTool> {
46
+export class AnthropicProvider extends BaseNonAgenticProvider<
47
+ AnthropicToolCollection,
48
+ AnthropicTool
49
+> {
50
readonly name = 'anthropic';
51
52
/**
@@ -63,17 +54,14 @@ export class AnthropicProvider extends BaseNonAgenticProvider<AnthropicToolColle
54
* @param tool - The tool to wrap.
55
* @returns The wrapped tool in Anthropic format.
56
*/
66
- override wrapTool(tool: Tool): AnthropicTool {
67
- const properties = tool.inputParameters?.properties || {};
68
- const required = tool.inputParameters?.required || [];
69
-
57
+ override wrapTool(tool: ComposioTool): AnthropicTool {
58
return {
59
name: tool.slug,
60
description: tool.description || '',
61
input_schema: {
62
type: 'object',
75
- properties: properties as Record<string, unknown>,
76
- required: required as string[],
63
+ properties: (tool.inputParameters?.properties || {}) as Record<string, unknown>,
64
+ required: (tool.inputParameters?.required || []) as string[],
65
},
66
};
67
}
@@ -83,7 +71,7 @@ export class AnthropicProvider extends BaseNonAgenticProvider<AnthropicToolColle
71
* @param tools - The tools to wrap.
72
* @returns The wrapped tools in Anthropic format.
73
*/
86
- override wrapTools(tools: Tool[]): AnthropicToolCollection {
74
+ override wrapTools(tools: ComposioTool[]): AnthropicToolCollection {
75
return tools.map(tool => this.wrapTool(tool));
76
}
77
@@ -126,15 +114,15 @@ export class AnthropicProvider extends BaseNonAgenticProvider<AnthropicToolColle
114
modifiers?: ExecuteToolModifiers
115
): Promise<string[]> {
116
const outputs: string[] = [];
129
-
117
+
118
// Filter and map tool use blocks from message content
119
const toolUseBlocks: AnthropicToolUseBlock[] = [];
132
-
120
+
121
for (const content of message.content) {
122
if (
135
- typeof content === 'object' &&
136
- content !== null &&
137
- 'type' in content &&
123
+ typeof content === 'object' &&
124
+ content !== null &&
125
+ 'type' in content &&
126
typeof content.type === 'string' &&
127
content.type.toString() === 'tool_use' &&
128
'id' in content &&
@@ -145,15 +133,15 @@ export class AnthropicProvider extends BaseNonAgenticProvider<AnthropicToolColle
133
type: 'tool_use',
134
id: String(content.id),
135
name: String(content.name),
148
- input: content.input as Record<string, unknown>
136
+ input: content.input as Record<string, unknown>,
137
});
138
}
139
}
152
-
140
+
141
for (const toolUse of toolUseBlocks) {
142
outputs.push(await this.executeToolCall(userId, toolUse, options, modifiers));
143
}
156
-
144
+
145
return outputs;
146
}
147
}
packages/providers/anthropic/src/types.ts
new
+51
@@ -0,0 +1,51 @@
1
+export interface AnthropicTool {
2
+ /**
3
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
4
+ *
5
+ * This defines the shape of the `input` that your tool accepts and that the model
6
+ * will produce.
7
+ */
8
+ input_schema: InputSchema;
9
+
10
+ /**
11
+ * Name of the tool.
12
+ *
13
+ * This is how the tool will be called by the model and in `tool_use` blocks.
14
+ */
15
+ name: string;
16
+
17
+ /**
18
+ * Create a cache control breakpoint at this content block.
19
+ */
20
+ cache_control?: CacheControlEphemeral | null;
21
+
22
+ /**
23
+ * Description of what this tool does.
24
+ *
25
+ * Tool descriptions should be as detailed as possible. The more information that
26
+ * the model has about what the tool is and how to use it, the better it will
27
+ * perform. You can use natural language descriptions to reinforce important
28
+ * aspects of the tool input JSON schema.
29
+ */
30
+ description?: string;
31
+
32
+ type?: 'custom' | null;
33
+}
34
+
35
+/**
36
+ * [JSON schema](https://json-schema.org/draft/2020-12) for this tool's input.
37
+ *
38
+ * This defines the shape of the `input` that your tool accepts and that the model
39
+ * will produce.
40
+ */
41
+export interface InputSchema {
42
+ type: 'object';
43
+
44
+ properties?: unknown | null;
45
+
46
+ [k: string]: unknown;
47
+}
48
+
49
+export interface CacheControlEphemeral {
50
+ type: 'ephemeral';
51
+}
pnpm-lock.yaml
+8
-62
@@ -54,8 +54,8 @@ importers:
54
examples/anthropic:
55
dependencies:
56
'@anthropic-ai/sdk':
57
- specifier: ^0.18.0
58
- version: 0.18.0(encoding@0.1.13)
57
+ specifier: ^0.52.0
58
+ version: 0.52.0
59
'@composio/anthropic':
60
specifier: workspace:*
61
version: link:../../packages/providers/anthropic
@@ -355,8 +355,8 @@ importers:
355
packages/providers/anthropic:
356
dependencies:
357
'@anthropic-ai/sdk':
358
- specifier: ^0.18.0
359
- version: 0.18.0(encoding@0.1.13)
358
+ specifier: ^0.52.0
359
+ version: 0.52.0
360
devDependencies:
361
'@composio/core':
362
specifier: workspace:*
@@ -516,8 +516,9 @@ packages:
516
peerDependencies:
517
zod: ^3.23.8
518
519
- '@anthropic-ai/sdk@0.18.0':
520
- resolution: {integrity: sha512-3XsWEn/4nPGRd4AdSguugbSDFy6Z2AWTNOeI3iK+aV22+w23+vY9CEb3Hiy0kvKIQuxSmZz/+5WKC8nPWy8gVg==}
519
+ '@anthropic-ai/sdk@0.52.0':
520
+ resolution: {integrity: sha512-d4c+fg+xy9e46c8+YnrrgIQR45CZlAi7PwdzIfDXDM6ACxEZli1/fxhURsq30ZpMZy6LvSkr41jGq5aF5TD7rQ==}
521
+ hasBin: true
522
523
'@apidevtools/json-schema-ref-parser@11.9.3':
524
resolution: {integrity: sha512-60vepv88RwcJtSHrD6MjIL6Ta3SOYbgfnkHb+ppAVK+o9mXprRtulx7VlRl3lN3bbvysAfCS7WMVfhUYemB0IQ==}
@@ -2356,9 +2357,6 @@ packages:
2357
balanced-match@1.0.2:
2358
resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}
2359
2359
- base-64@0.1.0:
2360
- resolution: {integrity: sha512-Y5gU45svrR5tI2Vt/X9GPd3L0HNIKzGu202EjxrXMpuc2V2CiKgemAbUUsqYmZJvPtCXoUKjNZwBJzsNScUbXA==}
2361
-
2360
base64-js@1.5.1:
2361
resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}
2362
@@ -2440,9 +2438,6 @@ packages:
2438
chardet@0.7.0:
2439
resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==}
2440
2443
- charenc@0.0.2:
2444
- resolution: {integrity: sha512-yrLQ/yVUFXkzg7EDQsPieE/53+0RlaWTs+wBrvW36cyilJ2SaDWfl4Yj7MtLTXleV9uEKefbAGUPv2/iWSooRA==}
2445
-
2441
check-error@2.1.1:
2442
resolution: {integrity: sha512-OAlb+T7V4Op9OwdkjmguYRqncdlx5JiofwOAUkmTF+jNdHwzTaTs4sRAGpzLF3oOz5xAyDGrPgeIDFQmDOTiJw==}
2443
engines: {node: '>= 16'}
@@ -2537,9 +2532,6 @@ packages:
2532
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
2533
engines: {node: '>= 8'}
2534
2540
- crypt@0.0.2:
2541
- resolution: {integrity: sha512-mCxBlsHFYh9C+HVpiEacem8FEBnMXgU9gy4zmNC+SXAZNB/1idgp/aulFJ4FgCi7GPEVbfyng092GqL2k2rmow==}
2542
-
2535
date-fns@3.6.0:
2536
resolution: {integrity: sha512-fRHTG8g/Gif+kSh50gaGEdToemgfj74aRX3swtiouboip5JDLAyDE9F11nHMIcvOaXeOC6D7SpNhi7uFyB7Uww==}
2537
@@ -2585,9 +2577,6 @@ packages:
2577
diff-match-patch@1.0.5:
2578
resolution: {integrity: sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==}
2579
2588
- digest-fetch@1.3.0:
2589
- resolution: {integrity: sha512-CGJuv6iKNM7QyZlM2T3sPAdZWd/p9zQiRNS9G+9COUCwzWFTs0Xp8NF5iePx7wtvhDykReiRRrSeNb4oMmB8lA==}
2590
-
2580
dir-glob@3.0.1:
2581
resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==}
2582
engines: {node: '>=8'}
@@ -3116,9 +3105,6 @@ packages:
3105
resolution: {integrity: sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==}
3106
engines: {node: '>= 0.10'}
3107
3119
- is-buffer@1.1.6:
3120
- resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==}
3121
-
3108
is-core-module@2.16.1:
3109
resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}
3110
engines: {node: '>= 0.4'}
@@ -3305,9 +3291,6 @@ packages:
3291
resolution: {integrity: sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==}
3292
engines: {node: '>= 0.4'}
3293
3308
- md5@2.3.0:
3309
- resolution: {integrity: sha512-T1GITYmFaKuO91vxyoQMFETst+O71VUPEU3ze5GNzDm0OWdP8v1ziTaAEPUr/3kLsY3Sftgz242A1SetQiDL7g==}
3310
-
3294
media-typer@1.1.0:
3295
resolution: {integrity: sha512-aisnrDP4GNe06UcKFnV5bfMNPBUw4jsLGaWwWfnH3v02GnBuXX2MCVn5RbrWo0j3pczUilYblq7fQ7Nw2t5XKw==}
3296
engines: {node: '>= 0.8'}
@@ -4252,10 +4235,6 @@ packages:
4235
jsdom:
4236
optional: true
4237
4255
- web-streams-polyfill@3.3.3:
4256
- resolution: {integrity: sha512-d2JWLCivmZYTSIoge9MsgFCZrt571BikcWGYkjC1khllbTeDlGqZ2D8vD8E/lJa8WGWbb7Plm8/XJYV7IJHZZw==}
4257
- engines: {node: '>= 8'}
4258
-
4238
web-streams-polyfill@4.0.0-beta.3:
4239
resolution: {integrity: sha512-QW95TCTaHmsYfHDybGMwO5IJIM93I/6vTRk+daHTWFPhwh+C8Cg7j7XyKrwrj8Ib6vYXe0ocYNrmzY4xAAN6ug==}
4240
engines: {node: '>= 14'}
@@ -4392,19 +4371,7 @@ snapshots:
4371
zod: 3.24.4
4372
zod-to-json-schema: 3.24.5(zod@3.24.4)
4373
4395
- '@anthropic-ai/sdk@0.18.0(encoding@0.1.13)':
4396
- dependencies:
4397
- '@types/node': 18.19.100
4398
- '@types/node-fetch': 2.6.12
4399
- abort-controller: 3.0.0
4400
- agentkeepalive: 4.6.0
4401
- digest-fetch: 1.3.0
4402
- form-data-encoder: 1.7.2
4403
- formdata-node: 4.4.1
4404
- node-fetch: 2.7.0(encoding@0.1.13)
4405
- web-streams-polyfill: 3.3.3
4406
- transitivePeerDependencies:
4407
- - encoding
4374
+ '@anthropic-ai/sdk@0.52.0': {}
4375
4376
'@apidevtools/json-schema-ref-parser@11.9.3':
4377
dependencies:
@@ -6869,8 +6836,6 @@ snapshots:
6836
6837
balanced-match@1.0.2: {}
6838
6872
- base-64@0.1.0: {}
6873
-
6839
base64-js@1.5.1: {}
6840
6841
better-path-resolve@1.0.0:
@@ -6959,8 +6924,6 @@ snapshots:
6924
6925
chardet@0.7.0: {}
6926
6962
- charenc@0.0.2: {}
6963
-
6927
check-error@2.1.1: {}
6928
6929
chokidar@4.0.3:
@@ -7057,8 +7020,6 @@ snapshots:
7020
shebang-command: 2.0.0
7021
which: 2.0.2
7022
7060
- crypt@0.0.2: {}
7061
-
7023
date-fns@3.6.0: {}
7024
7025
dateformat@4.6.3: {}
@@ -7083,11 +7044,6 @@ snapshots:
7044
7045
diff-match-patch@1.0.5: {}
7046
7086
- digest-fetch@1.3.0:
7087
- dependencies:
7088
- base-64: 0.1.0
7089
- md5: 2.3.0
7090
-
7047
dir-glob@3.0.1:
7048
dependencies:
7049
path-type: 4.0.0
@@ -7671,8 +7627,6 @@ snapshots:
7627
7628
ipaddr.js@1.9.1: {}
7629
7674
- is-buffer@1.1.6: {}
7675
-
7630
is-core-module@2.16.1:
7631
dependencies:
7632
hasown: 2.0.2
@@ -7859,12 +7813,6 @@ snapshots:
7813
7814
math-intrinsics@1.1.0: {}
7815
7862
- md5@2.3.0:
7863
- dependencies:
7864
- charenc: 0.0.2
7865
- crypt: 0.0.2
7866
- is-buffer: 1.1.6
7867
-
7816
media-typer@1.1.0: {}
7817
7818
merge-descriptors@2.0.0: {}
@@ -8775,8 +8723,6 @@ snapshots:
8723
- tsx
8724
- yaml
8725
8778
- web-streams-polyfill@3.3.3: {}
8779
-
8726
web-streams-polyfill@4.0.0-beta.3: {}
8727
8728
webidl-conversions@3.0.1: {}