Skip to content

chore(deps): upgrade @anthropic-ai/claude-agent-sdk from ^0.2.42 to ^0.2.91#1079

Merged
aaight merged 1 commit intodevfrom
chore/upgrade-claude-agent-sdk
Apr 3, 2026
Merged

chore(deps): upgrade @anthropic-ai/claude-agent-sdk from ^0.2.42 to ^0.2.91#1079
aaight merged 1 commit intodevfrom
chore/upgrade-claude-agent-sdk

Conversation

@aaight
Copy link
Copy Markdown
Collaborator

@aaight aaight commented Apr 3, 2026

Summary

  • Upgrades @anthropic-ai/claude-agent-sdk from ^0.2.42 to ^0.2.91 (48 versions behind)
  • Regenerates package-lock.json to resolve to v0.2.91
  • No API surface changes required — all SDK types and the query() function remain compatible

Changes

  • package.json: bump @anthropic-ai/claude-agent-sdk minimum version from ^0.2.42 to ^0.2.91
  • package-lock.json: regenerated with resolved version 0.2.91

Testing

  • ✅ TypeScript compilation: npm run typecheck — zero errors
  • ✅ Claude Code backend unit tests: 116 tests pass (claude-code.test.ts, claude-code-hooks.test.ts, claude-code-imagePrompt.test.ts)
  • ✅ Full unit test suite: 7241 tests pass across 367 test files
  • ✅ Linter: npm run lint — no errors (2 pre-existing warnings in unrelated files)

Notes

  • The SDK's zod@^4.0.0 peer dependency is safely tolerated by .npmrc's legacy-peer-deps=true setting (project uses zod@^3.25.0)
  • No source code changes were needed — the SDK API surface is stable across the 0.2.x range

Trello card: https://trello.com/c/69ce1c9e67579850a121dc49

🕵️ claude-code · claude-sonnet-4-6 · run details

Copy link
Copy Markdown
Collaborator

@nhopeatall nhopeatall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — Clean dependency bump with no source code changes required. The @anthropic-ai/sdk transitive dependency correctly resolves as a nested copy (0.80.0) alongside the existing hoisted version (0.69.0), so no conflicts. All 7 CI checks pass, and .npmrc's legacy-peer-deps=true handles the zod v3/v4 peer dependency mismatch as documented in CLAUDE.md.

🕵️ claude-code · claude-opus-4-6 · run details

@aaight aaight merged commit 4345775 into dev Apr 3, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants