Skip to content

chore: upgrade all dependencies to latest - #30

Merged
ItamarShDev merged 9 commits into
mainfrom
devin/1789107688-upgrade-deps
Sep 11, 2026
Merged

ItamarShDev merged 9 commits into
mainfrom
devin/1789107688-upgrade-deps

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Upgrade all outdated dependencies to latest (TanStack AI 0.54 / ai-gemini 0.29 / ai-react 0.24, React 19.3, Vite 8.3, Nitro 3.0-beta, Convex 1.45, Zod 4.6, oxc, etc.). Two source changes in src/routes/api.chat.ts were required for the chat to keep working:

  • searchTool is now googleSearchTool() from @tanstack/ai-gemini/tools. After the @tanstack/ai 0.43 → 0.54 bump, a plain { name, description, metadata } tool object is classified as a client tool, so the run ended with outcome=interrupt and no assistant text. The provider-branded tool restores grounding.
  • Chat model changed gemini-2.5-flash → gemini-3.5-flash-lite. Verified against the raw @google/genai stream that 2.5-flash + Google Search grounding intermittently generates the answer twice (a partial draft, then a full reworded answer in the final grounded chunk — Gemini's own groundingSupports cover both). This bug already exists on production, so it is unrelated to the upgrades; 3.5-flash-lite streamed 6/6 clean grounded answers in local testing. 2.5-flash is also deprecated for new API users.

Link to Devin session: https://app.devin.ai/sessions/002a478af21a4685a1f85ac2fe61acf8
Open in Devin Desktop: https://app.devin.ai/desktop/session/002a478af21a4685a1f85ac2fe61acf8?variant=devin
Requested by: @ItamarShDev

Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR that start with 'DevinAI' or '@devin'.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

Original prompt from Itamar

@ItamarShDev/hakapit check for updates

@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
hakapit Ready Ready Preview Sep 11, 2026 6:53am UTC

Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

Runtime smoke test on the Vercel preview (home standings/match snapshot, podcast episode playback, chat) — all pass after 6115873; no console/hydration errors.

Chat: the first preview build returned no answer (client-tool interrupt) — fixed by googleSearchTool(). Chat replies are sometimes duplicated ("…Anfield.…Anfield.") — this is not a regression: sampling /api/chat on production (hakapit.online, current main) reproduces it 4/8 times, and bisect deploys pinning @google/genai 2.15 / reverting the @tanstack/ai* packages made no difference. It's Gemini 2.5-flash grounding emitting a final full-text part in the stream; can be handled in a follow-up (server-side dedupe or moving to gemini-3.6-flash, which didn't show it in local runs).

Home Playback Chat
Home Playback Chat

Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
…e answers

Co-Authored-By: Itamar Sharify <itamarsharify@gmail.com>
@ItamarShDev
ItamarShDev marked this pull request as ready for review September 11, 2026 06:57
Copilot AI lite review requested due to automatic review settings September 11, 2026 06:57
@ItamarShDev
ItamarShDev merged commit 202cc44 into main Sep 11, 2026
3 of 4 checks passed

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔵 Needs a closer look

Broad dependency upgrades and chat-provider changes require final human verification.

Pull request overview

This pull request upgrades the dependency stack and updates the Gemini chat integration for newer APIs.

Changes:

  • Upgrades React, Vite, Nitro, TanStack AI, Convex, Zod, Oxc, and related dependencies.
  • Replaces the custom search tool with googleSearchTool().
  • Switches the chat model to gemini-3.5-flash-lite.
File summaries
File Description
src/routes/api.chat.ts Updates Gemini grounding and model configuration.
package.json Declares upgraded dependencies.
bun.lock Locks the updated dependency graph.
Review details
  • Files reviewed: 2/3 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

This branch was successfully deployed

1 active deployment
Preview — 4005160a Deployed Sep 11, 2026 by vercel[bot]
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