Skip to content

fix(cli): update @anthropic-ai/sdk constraint from ^0.32.0 to ^0.92.0#248

Open
0xAxiom wants to merge 1 commit intomainfrom
fix/anthropic-sdk-version-constraint
Open

fix(cli): update @anthropic-ai/sdk constraint from ^0.32.0 to ^0.92.0#248
0xAxiom wants to merge 1 commit intomainfrom
fix/anthropic-sdk-version-constraint

Conversation

@0xAxiom
Copy link
Copy Markdown
Owner

@0xAxiom 0xAxiom commented May 1, 2026

What

Update the @anthropic-ai/sdk version constraint in CLI/package.json from ^0.32.0 to ^0.92.0.

Why

The package.json declared ^0.32.0, but the lock file (and installed version) was 0.92.0. These two were out of sync in a way that silently breaks new installs:

  • ^0.32.0 resolves to >=0.32.0 <0.33.0 under semver — so a fresh npm install would pull in 0.32.1, a version ~60 releases behind
  • The codebase was developed and tested against 0.92.0, meaning new contributors would get unexpected behaviour or broken API calls

npm outdated surfaced this clearly:

Package           Current   Wanted   Latest
@anthropic-ai/sdk  0.92.0   0.32.1   0.92.0

Tested

  • All 252 existing tests pass (npm test)
  • No code changes required — the installed SDK version is already correct; only the version range declaration was wrong

The package.json had ^0.32.0 but the lock file contained 0.92.0.
On a fresh npm install, npm would resolve ^0.32.0 to 0.32.1 (the
latest patch in that range), installing a version ~60 releases behind
what the codebase was developed and tested against. This mismatch
would silently break API calls on new installs.

Align the constraint with what is actually installed and tested.
@0xAxiom 0xAxiom requested a review from MeltedMindz as a code owner May 1, 2026 06:21
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.

1 participant