mirror of
https://github.com/agentclientprotocol/claude-agent-acp.git
synced 2026-10-27 04:30:59 +00:00
fix: change min zod version to 4.x to avoid failing directory imports on 'v4' (#1057)
Currently, `package.json` allows zod version `3.x`. But `agentclientprotocol/sdk` and our code use explicit `zod/v4` imports. But `v4` became a proper ES module only in `4.x`. Before that, it was just a directory. So if a user has zod 3.x, running this ACP server will fail with `ERR_UNSUPPORTED_DIR_IMPORT`.
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
"dependencies": {
|
||||
"@agentclientprotocol/sdk": "1.3.0",
|
||||
"@anthropic-ai/claude-agent-sdk": "0.3.238",
|
||||
"zod": "^3.25.0 || ^4.0.0"
|
||||
"zod": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@anthropic-ai/sdk": "0.120.0",
|
||||
|
||||
Reference in New Issue
Block a user