Skip to content

🤖 chore: bump Vercel AI SDK + providers to latest#3183

Open
ammar-agent wants to merge 2 commits intomainfrom
upgrade-ai-sdk
Open

🤖 chore: bump Vercel AI SDK + providers to latest#3183
ammar-agent wants to merge 2 commits intomainfrom
upgrade-ai-sdk

Conversation

@ammar-agent
Copy link
Copy Markdown
Collaborator

Summary

Bumps ai, every @ai-sdk/* provider, @openrouter/ai-sdk-provider, and
ollama-ai-provider-v2 to their latest releases within the current major
versions. No application-level API changes; one test expectation was
updated to match an upstream behavior change.

Implementation

Version bumps (all within existing major ranges):

Package Before After
ai ^6.0.72 ^6.0.168
@ai-sdk/amazon-bedrock ^4.0.49 ^4.0.96
@ai-sdk/anthropic ^3.0.37 ^3.0.71
@ai-sdk/deepseek ^2.0.17 ^2.0.29
@ai-sdk/google ^3.0.21 ^3.0.64
@ai-sdk/mcp ^1.0.18 ^1.0.36
@ai-sdk/openai ^3.0.25 ^3.0.53
@ai-sdk/openai-compatible ^2.0.27 ^2.0.41
@ai-sdk/xai ^3.0.47 ^3.0.83
@openrouter/ai-sdk-provider ^2.1.1 ^2.8.0
ollama-ai-provider-v2 ^3.0.3 ^3.5.0

The only adaptation needed is in src/node/services/mcpOauthService.test.ts:
@ai-sdk/mcp@1.0.32 introduced "fix(mcp): strip trailing slash from OAuth
resource parameter"
to align with RFC 8707. The existing test asserted that
the resource query param equaled the base URL verbatim (with trailing
slash). The assertion is now normalized to drop the trailing slash so it
matches the SDK's corrected output; runtime behavior is unchanged for our
callers.

Validation

  • make static-check — green
  • make test — 6857 pass / 14 skip / 0 fail

Risks

Low. All bumps stay within the same major versions, so breaking public APIs
aren't expected. The only observed behavior change (OAuth resource trailing
slash) was an upstream bug fix and affects only the test assertion, not the
product flow. Regression risk is confined to chat providers and the MCP OAuth
path, both covered by existing unit tests.


Generated with mux • Model: anthropic:claude-opus-4-7 • Thinking: xhigh • Cost: $—

Update ai@6.0.168, @ai-sdk/* (anthropic, openai, google, xai,
amazon-bedrock, deepseek, mcp, openai-compatible), @openrouter/ai-sdk-provider,
and ollama-ai-provider-v2 to latest patch/minor releases.

@ai-sdk/mcp 1.0.32 started stripping the trailing slash from the RFC 8707
resource parameter; update the mcpOauthService test expectation to match.
@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Bravo.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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