Skip to content

fix(deps): peer the AI SDK v7 provider majors, not the v6 ones - #37

Merged
siarheidudko merged 1 commit into
mainfrom
claude/mcp-remote-http-oauth-ges1mj
Aug 16, 2026
Merged

fix(deps): peer the AI SDK v7 provider majors, not the v6 ones#37
siarheidudko merged 1 commit into
mainfrom
claude/mcp-remote-http-oauth-ges1mj

Conversation

@siarheidudko

Copy link
Copy Markdown
Member

Why

Every provider peer range is one major behind the SDK this package depends on. With ai at ^7.0.66, the declared ranges point at provider majors that target ai v6 — so a consumer who installs exactly what the peers ask for gets a provider that cannot talk to the core, and npm refuses to resolve the tree as soon as anything else pulls a v7-era provider in.

Found in the browser sibling first (dudko-dev/agent-web#5, #6) while wiring its demo to the published package; this repo has the identical drift.

What

peer was now
@ai-sdk/amazon-bedrock ^4.0.97 ^5.0.0
@ai-sdk/anthropic ^3.0.72 ^4.0.0
@ai-sdk/azure ^3.0.55 ^4.0.0
@ai-sdk/deepseek ^2.0.30 ^3.0.0
@ai-sdk/google ^3.0.65 ^4.0.0
@ai-sdk/google-vertex ^4.0.113 ^5.0.0
@ai-sdk/openai ^3.0.54 ^4.0.0
@ai-sdk/openai-compatible ^2.0.42 ^3.0.0
@ai-sdk/xai ^3.0.84 ^4.0.0
workers-ai-provider ^3.1.13 ^4.0.0

These are the majors the devDependencies install, i.e. exactly what CI has been testing against since the AI SDK v7 bump. No source changes; typecheck, format:check, build, test (167 passing) are green. Version bumped to 0.0.23 so the release workflow publishes it.


Generated by Claude Code

Every provider peer range was one major behind the SDK this package
depends on: with `ai` at ^7.0.66, the v3 line (v2 for deepseek and
openai-compatible, v4 for bedrock/vertex, v3 for workers-ai-provider)
speaks ai v6, so a consumer following the declared ranges installs a
provider that cannot talk to the core — and npm refuses to resolve the
tree once anything else pulls a v7-era provider in.

The ranges now match what the devDependencies install and CI has been
testing against since the AI SDK v7 bump. Same fix as the browser
sibling.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011FKop4At26QqqkwVGEjJur
@siarheidudko
siarheidudko merged commit b2aeda5 into main Aug 16, 2026
8 checks passed
@siarheidudko
siarheidudko deleted the claude/mcp-remote-http-oauth-ges1mj branch August 16, 2026 15:04
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