Conversation
There was a problem hiding this comment.
Pull request overview
This PR bumps the Copilot extension’s @anthropic-ai/claude-agent-sdk dependency and refreshes the associated lockfiles, updating transitive dependencies (including moving to platform-specific optional packages for the SDK).
Changes:
- Bump
@anthropic-ai/claude-agent-sdkfrom0.2.98to0.2.114in the Copilot extension. - Update
extensions/copilot/package-lock.jsonto reflect the new SDK version and its new optional dependency structure. - Update
extensions/copilot/chat-lib/package-lock.json(notably Vite/esbuild and related transitive changes, plus removal of@types/vscodeentries).
Reviewed changes
Copilot reviewed 1 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| extensions/copilot/package.json | Bumps @anthropic-ai/claude-agent-sdk to 0.2.114. |
| extensions/copilot/package-lock.json | Updates lockfile for the new SDK version and new platform-specific optional packages. |
| extensions/copilot/chat-lib/package-lock.json | Refreshes chat-lib lockfile (Vite/esbuild transitive updates; removes @types/vscode from lock). |
Files not reviewed (2)
- extensions/copilot/chat-lib/package-lock.json: Language not supported
- extensions/copilot/package-lock.json: Language not supported
| @@ -6408,7 +6408,7 @@ | |||
| "zod": "3.25.76" | |||
There was a problem hiding this comment.
Bumping @anthropic-ai/claude-agent-sdk to 0.2.114 introduces a peer dependency on zod@^4.0.0 (see package-lock), but this extension pins/overrides zod to 3.25.76. This is likely to produce an unmet peer dependency and can cause type/runtime incompatibilities if the SDK relies on Zod v4 APIs. Consider either upgrading the repo’s zod to a compatible v4 range (and removing the override) or selecting a claude-agent-sdk version that still supports Zod v3.
| "zod": "3.25.76" | |
| "zod": "^4.0.0" |
| "@anthropic-ai/claude-agent-sdk-win32-x64": "0.2.114" | ||
| }, | ||
| "peerDependencies": { | ||
| "zod": "^4.0.0" |
There was a problem hiding this comment.
@anthropic-ai/claude-agent-sdk@0.2.114 declares zod as a peer dependency with range ^4.0.0, but this project pins zod@3.25.76 (and forces it via overrides in package.json). This peer mismatch should be resolved to avoid install warnings and potential SDK breakage (upgrade zod to v4 or use an SDK version compatible with v3).
| "zod": "^4.0.0" | |
| "zod": "^3.25.76 || ^4.0.0" |
No description provided.