Skip to content

feat: Integrate ai sdk#5

Open
nainglinnkhant wants to merge 42 commits intomainfrom
integrate-ai-sdk
Open

feat: Integrate ai sdk#5
nainglinnkhant wants to merge 42 commits intomainfrom
integrate-ai-sdk

Conversation

@nainglinnkhant
Copy link
Contributor

@nainglinnkhant nainglinnkhant commented Feb 6, 2026

Note

High Risk
Touches chat generation/streaming, OAuth token storage, and todo↔Google Calendar side effects; regressions could impact data persistence and external integrations.

Overview
Replaces the prior client-side/remote-API architecture with Next.js App Router server actions and route handlers for core features (chat, todos, notes, files, search).

Adds an AI SDK–based POST /api/chat streaming endpoint that supports tools, handles image attachments (resolving stored image paths for the model), and auto-saves chats with generated titles; also introduces an /api/images binary proxy for chat assets.

Moves Google Calendar OAuth into /api/auth/google/callback and new google-auth actions that persist encrypted tokens, then updates todo actions to create/update/delete calendar events and refactors pages/layouts (chat history, notes, files, settings, sign-in) to use the new server-driven data flow, plus adds Biome/VSCode formatting config and some global accessibility CSS tweaks.

Written by Cursor Bugbot for commit 4e64da6. This will update automatically on new commits. Configure here.

nainglinnkhant and others added 28 commits January 28, 2026 00:46
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…vely

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace manual useState + rollback patterns with useOptimistic across
todos, notes sidebar, files, and chat history for automatic optimistic
updates with built-in rollback on failure.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Enables browser history navigation, shareable folder URLs,
and simplifies state management by using route params instead
of client-side path state.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Split FilesClient into separate components (context, toolbar, list) so
the toolbar remains visible during folder navigation loading states.
Use Link instead of router.push for proper client-side caching.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 6, 2026

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

Project Deployment Actions Updated (UTC)
bernd Ready Ready Preview, Comment Feb 22, 2026 9:13pm

Request Review

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…harden edge cases

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

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