Skip to content

feat: v1 — persistent shell, model gateway, artifact improvements#1462

Merged
dancer merged 29 commits intodemofrom
v1
Mar 20, 2026
Merged

feat: v1 — persistent shell, model gateway, artifact improvements#1462
dancer merged 29 commits intodemofrom
v1

Conversation

@dancer
Copy link
Collaborator

@dancer dancer commented Mar 20, 2026

summary

  • persistent chat shell that never unmounts between chat switches
  • active chat context with SWR-based message loading and optimistic updates
  • model selector with dynamic AI Gateway model discovery and per-model provider routing
  • slash commands: /new, /clear, /rename, /model, /theme, /delete, /purge
  • edit document tool for targeted find-and-replace on artifacts
  • code/sheet artifacts use streamText for cross-model compatibility
  • artifact panel: auto-scroll, version browsing with prev/next, diff toggle, suggestion click-to-apply
  • markdown fence stripping for code output
  • optimistic chat delete with instant navigation
  • manual edits update document in place, AI changes create new versions
  • security: ownership checks on all tools, input validation with zod, filename sanitization, confirmation dialogs
  • next.js 16.2 upgrade with react compiler, inline css, prefetch inlining, cached navigations
  • squashed migrations into single 0000_initial.sql
  • removed better-auth, dead code, comments, emojis
  • ai sdk gateway import from ai package, removed @ai-sdk/gateway dependency
  • themed toasts, minimal scrollbars, light mode sidebar, code icon for code artifacts
  • rate limit: 10 messages per hour via entitlements
  • updated prompts, tool descriptions, and error messages
  • .env.example and tests updated for current model list

@vercel
Copy link
Contributor

vercel bot commented Mar 20, 2026

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

Project Deployment Actions Updated (UTC)
ai-chatbot Ready Ready Preview, Comment Mar 20, 2026 9:32am
chatbot Ready Ready Preview, Comment Mar 20, 2026 9:32am

Request Review

@socket-security
Copy link

socket-security bot commented Mar 20, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednext@​16.0.10 ⏵ 16.2.062100 +2491 +19770
Updated@​ai-sdk/​react@​3.0.39 ⏵ 3.0.1189910074 +198100
Addednext-auth@​5.0.0-beta.2599997887100
Addedbabel-plugin-react-compiler@​1.0.01001007997100
Updatedai@​6.0.37 ⏵ 6.0.11692 -710010099100

View full report

@vercel-team
Copy link

vercel-team commented Mar 20, 2026

Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

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

Additional Suggestion:

Guest auth redirect always lands on / instead of the originally requested page because the proxy passes a full URL that fails the guest route's relative-path validation.

Fix on Vercel

@dancer dancer merged commit f9652b4 into demo Mar 20, 2026
6 checks passed
@dancer dancer deleted the v1 branch March 20, 2026 09:37
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.

3 participants