ai-sdk-provider-claude-code 3.4.0 → 3.4.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.
package/docs/ai-sdk-v4/GUIDE.md
CHANGED
|
@@ -252,7 +252,7 @@ const gitOnlyClaude = createClaudeCode({
|
|
|
252
252
|
|
|
253
253
|
// Mix built-in and MCP tools
|
|
254
254
|
const mixedClaude = createClaudeCode({
|
|
255
|
-
allowedTools: ['Read', 'Bash(npm test:*)', '
|
|
255
|
+
allowedTools: ['Read', 'Bash(npm test:*)', 'mcp__filesystem__read_text_file', 'mcp__git__status'],
|
|
256
256
|
});
|
|
257
257
|
```
|
|
258
258
|
|
package/docs/ai-sdk-v5/GUIDE.md
CHANGED
|
@@ -473,7 +473,7 @@ const gitOnlyClaude = createClaudeCode({
|
|
|
473
473
|
|
|
474
474
|
// Mix built-in and MCP tools
|
|
475
475
|
const mixedClaude = createClaudeCode({
|
|
476
|
-
allowedTools: ['Read', 'Bash(npm test:*)', '
|
|
476
|
+
allowedTools: ['Read', 'Bash(npm test:*)', 'mcp__filesystem__read_text_file', 'mcp__git__status'],
|
|
477
477
|
});
|
|
478
478
|
```
|
|
479
479
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ai-sdk-provider-claude-code",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "AI SDK v6 provider for Claude via Claude Agent SDK (use Pro/Max subscription)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-sdk",
|
|
@@ -64,6 +64,8 @@
|
|
|
64
64
|
"example:object": "npm run build && npx tsx examples/generate-object.ts",
|
|
65
65
|
"example:object:constraints": "npm run build && npx tsx examples/generate-object-constraints.ts",
|
|
66
66
|
"example:tools": "npm run build && npx tsx examples/tool-management.ts",
|
|
67
|
+
"example:mcp:filesystem": "npm run build && npx tsx examples/mcp-filesystem.ts",
|
|
68
|
+
"example:mcp:exa": "npm run build && npx tsx examples/mcp-exa.ts",
|
|
67
69
|
"example:timeout": "npm run build && npx tsx examples/long-running-tasks.ts",
|
|
68
70
|
"example:zod4": "npm run build && npx tsx examples/zod4-compatibility-test.ts",
|
|
69
71
|
"example:structured-repro": "npx tsx examples/structured-output-repro.ts",
|