Skip to content

fix(deps): update Vercel AI SDK and all dependencies#1963

Merged
AndyMik90 merged 2 commits intodevelopfrom
fix/vercel-sdk
Mar 16, 2026
Merged

fix(deps): update Vercel AI SDK and all dependencies#1963
AndyMik90 merged 2 commits intodevelopfrom
fix/vercel-sdk

Conversation

@AndyMik90
Copy link
Owner

@AndyMik90 AndyMik90 commented Mar 16, 2026

Summary

  • Updates all 15 AI-related packages (Vercel AI SDK 6.0.91→6.0.116, @ai-sdk/anthropic, google, mistral 2→3, zod 4.3, etc.)
  • Updates 32 additional packages (Radix UI, Tailwind 4.2, motion, lucide-react, biome 2.4, vitest 4.1, etc.)
  • Skipped risky major bumps: electron 40→41, vite 7→8, jsdom 27→29, @vitejs/plugin-react 5→6

Test plan

  • TypeScript typecheck passes
  • All 4487 unit tests pass (199 test files)
  • Verify desktop app launches and basic AI agent flow works
  • Verify MCP integration still connects properly

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores

    • Updated dependencies across AI SDKs, UI libraries, dev tooling, and runtime utilities for compatibility and stability.
    • Aligned sub-dependencies and adjusted version constraints, including an Electron build tooling override.
  • Documentation

    • Updated beta release metadata and download links in the README to reflect the new beta label.

Updates 47 packages including all AI-related dependencies:
- ai (Vercel AI SDK): 6.0.91 → 6.0.116
- @ai-sdk/anthropic: 3.0.45 → 3.0.58
- @ai-sdk/mistral: 2.0.28 → 3.0.24 (major)
- @ai-sdk/google: 3.0.29 → 3.0.43
- @anthropic-ai/sdk: 0.71.2 → 0.78.0
- @modelcontextprotocol/sdk: 1.26.0 → 1.27.1
- zod: 4.2.1 → 4.3.6
- Plus all other @ai-sdk/* providers, UI, tooling deps

Skipped major bumps: electron 40→41, vite 7→8, jsdom 27→29

All 4487 tests pass, typecheck clean.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions bot added area/frontend This is frontend only bug Something isn't working size/XL Extra large (1000+ lines) labels Mar 16, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 16, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: df3dd78a-4bb4-48f3-aa3b-0ce6fd6b3692

📥 Commits

Reviewing files that changed from the base of the PR and between d3f24ce and d8291c6.

📒 Files selected for processing (3)
  • README.md
  • apps/desktop/package.json
  • package.json

📝 Walkthrough

Walkthrough

Upgrades and version bumps across dependencies primarily in apps/desktop/package.json, plus README release badge/link version adjustments and a single override bump in the root package.json. No source or exported API changes.

Changes

Cohort / File(s) Summary
Desktop Dependencies
apps/desktop/package.json
Bulk version bumps across runtime and dev dependencies (AI SDKs like @ai-sdk/*, @anthropic-ai/sdk, model/provider packages, Radix UI components, Electron tooling, styling/build tools, testing/playwright, and various utilities). Mostly minor/patch updates and override alignments.
Docs / Release Metadata
README.md
Updated beta release metadata and download links from beta.5 to beta.1. No other content changes.
Root Package Override
package.json
Bumped @electron/rebuild override from 4.0.2 to 4.0.3. No functional code changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

size/M

Poem

🐰
Hopping through packages, tidy and spry,
Bumps on my back as the versions fly,
Electron hums and UI gleams bright,
Tests stay ready for day or night,
A little update — then off I hop! 🥕

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix(deps): update Vercel AI SDK and all dependencies' directly and specifically describes the primary change—a comprehensive dependency upgrade focused on the Vercel AI SDK and related packages.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix/vercel-sdk
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can generate a title for your PR based on the changes with custom instructions.

Set the reviews.auto_title_instructions setting to generate a title for your PR based on the changes in the PR with custom instructions.

@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request performs a significant dependency upgrade across the project. The primary goal is to bring various packages up to their latest stable versions, enhancing security, performance, and access to new features. This update specifically targets AI-related SDKs and general development dependencies, while carefully managing potentially breaking changes by deferring certain major version bumps.

Highlights

  • AI SDK and related packages: Updated 15 AI-related packages, including Vercel AI SDK from 6.0.91 to 6.0.116, and major versions for @ai-sdk/anthropic, @ai-sdk/google, and @ai-sdk/mistral (from v2 to v3).
  • General dependencies: Updated 32 additional packages covering UI components (Radix UI), styling (Tailwind), animation (Motion), icons (Lucide React), code formatting (Biome), and testing (Vitest).
  • Skipped major updates: Deliberately skipped major version bumps for electron, vite, jsdom, and @vitejs/plugin-react to mitigate potential breaking changes.
Changelog
  • apps/desktop/package.json
    • Updated numerous AI-related SDKs and providers, including Vercel AI SDK, @ai-sdk/anthropic, @ai-sdk/google, and @ai-sdk/mistral.
    • Upgraded several UI component libraries from Radix UI, along with lucide-react, motion, and tailwind-merge.
    • Updated development dependencies such as @biomejs/biome, @playwright/test, @testing-library/react, autoprefixer, postcss, tailwindcss, and vitest.
    • Incremented versions for core dependencies like dotenv, electron-updater, i18next, minimatch, react, react-dom, semver, web-tree-sitter, xstate, zod, and zustand.
Activity
  • TypeScript type checking has been confirmed to pass.
  • All 4487 unit tests across 199 files have passed successfully.
  • Verification of the desktop application launch and basic AI agent flow is pending.
  • Verification of the MCP integration's proper connection is pending.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Coverage Report for apps/desktop

Status Category Percentage Covered / Total
🔵 Lines 23.33% (🎯 22%) 12410 / 53172
🔵 Statements 23% (🎯 22%) 12957 / 56324
🔵 Functions 20.34% (🎯 19%) 2225 / 10935
🔵 Branches 18.08% (🎯 17%) 7090 / 39212
File CoverageNo changed files found.
Generated in workflow #7794 for commit d8291c6 by the Vitest Coverage Report Action

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates a large number of dependencies in the desktop application. The changes are mostly minor and patch updates, with a noted major version bump for @ai-sdk/mistral. The author has also been careful to skip some risky major version bumps, which is a good practice.

I've found one inconsistency regarding the @electron/rebuild package, where the version in devDependencies conflicts with the version specified in overrides. Please see my comment for details.

"@playwright/test": "^1.52.0",
"@tailwindcss/postcss": "^4.1.17",
"@testing-library/dom": "^10.0.0",
"@electron/rebuild": "^4.0.3",
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There's an inconsistency with the version of @electron/rebuild. You've updated it to ^4.0.3 here in devDependencies, but the overrides section on line 158 still pins it to 4.0.2.

This can lead to confusion and unpredictable behavior. To ensure consistency, please either update the override to 4.0.3 or revert this change to keep devDependencies aligned with the override. If the override is no longer needed with the updated electron-builder, it could be removed entirely.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/desktop/package.json`:
- Line 127: The package.json has a version mismatch for `@electron/rebuild`:
devDependencies lists "@electron/rebuild": "^4.0.3" while overrides pins it to
"4.0.2"; update one to match the other so installs are deterministic — either
change the devDependency entry for "@electron/rebuild" to "4.0.2" to honor the
override or update the overrides entry to "4.0.3" if you want the newer caret
range, and ensure both the devDependencies and overrides sections reference the
identical version string.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: bd34bee1-199a-45b6-abd8-2f2239e61a72

📥 Commits

Reviewing files that changed from the base of the PR and between 3f8e16e and d3f24ce.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json, !**/package-lock.json
📒 Files selected for processing (1)
  • apps/desktop/package.json

… → 4.0.3)

Addresses PR review feedback from CodeRabbit, Gemini, and Cursor bots.
The override was still pinned to 4.0.2 while devDependency was bumped
to ^4.0.3, creating a version conflict.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@AndyMik90 AndyMik90 merged commit 979d977 into develop Mar 16, 2026
11 of 12 checks passed
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

| **macOS (Intel)** | [Auto-Claude-2.8.0-beta.1-darwin-x64.dmg](https://github.com/AndyMik90/Auto-Claude/releases/download/v2.8.0-beta.1/Auto-Claude-2.8.0-beta.1-darwin-x64.dmg) |
| **Linux** | [Auto-Claude-2.8.0-beta.1-linux-x86_64.AppImage](https://github.com/AndyMik90/Auto-Claude/releases/download/v2.8.0-beta.1/Auto-Claude-2.8.0-beta.1-linux-x86_64.AppImage) |
| **Linux (Debian)** | [Auto-Claude-2.8.0-beta.1-linux-amd64.deb](https://github.com/AndyMik90/Auto-Claude/releases/download/v2.8.0-beta.1/Auto-Claude-2.8.0-beta.1-linux-amd64.deb) |
| **Linux (Flatpak)** | [Auto-Claude-2.8.0-beta.1-linux-x86_64.flatpak](https://github.com/AndyMik90/Auto-Claude/releases/download/v2.8.0-beta.1/Auto-Claude-2.8.0-beta.1-linux-x86_64.flatpak) |
Copy link

Choose a reason for hiding this comment

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

Beta version downgraded from beta.5 to beta.1

High Severity

The README beta download links and badge were downgraded from 2.8.0-beta.5 to 2.8.0-beta.1. This is a regression — the dependency update PR appears to have regenerated the README based on the package.json version field (which is 2.8.0-beta.1), overwriting the newer beta.5 links. Users clicking these download links will be directed to an older beta release (or broken links if beta.1 artifacts no longer exist on the releases page).

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/frontend This is frontend only bug Something isn't working size/XL Extra large (1000+ lines)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant