Skip to content

fix(examples): migrate AI integrations to patched SDK 6 - #472

Merged
vamgan merged 7 commits into
mainfrom
fix/ai-sdk-example-security
Sep 20, 2026
Merged

vamgan merged 7 commits into
mainfrom
fix/ai-sdk-example-security

Conversation

@vamgan

@vamgan vamgan commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade the Next.js example, Vercel AI SDK example, and generated Next.js template to patched AI SDK 6, provider adapters, Next.js, and React.
  • Migrate chat hooks and UI-message streaming while preserving the plain-text endpoint and Chat Completions provider behavior.
  • Add standalone lockfiles, mocked multi-turn/error/context regression tests, and CI for both examples and freshly generated apps.

Validation

  • 20 route, streaming, and scaffold tests passed locally.
  • Both examples and a generated template pass type checks, production builds, and npm audits with zero findings.
  • Browser checks cover selection, mocked conversation history, and error recovery. No live provider calls or API keys were used.
  • No package version bump; this changes examples and the next scaffold release.

@vercel

vercel Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
askable Ready Ready Preview Sep 20, 2026 9:32pm UTC

@pkg-pr-new

pkg-pr-new Bot commented Sep 20, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@askable-ui/angular

npm i https://pkg.pr.new/@askable-ui/angular@472

@askable-ui/bridge

npm i https://pkg.pr.new/@askable-ui/bridge@472

@askable-ui/context

npm i https://pkg.pr.new/@askable-ui/context@472

@askable-ui/core

npm i https://pkg.pr.new/@askable-ui/core@472

@askable-ui/create-app

npm i https://pkg.pr.new/@askable-ui/create-app@472

@askable-ui/mcp

npm i https://pkg.pr.new/@askable-ui/mcp@472

@askable-ui/qwik

npm i https://pkg.pr.new/@askable-ui/qwik@472

@askable-ui/react

npm i https://pkg.pr.new/@askable-ui/react@472

@askable-ui/react-native

npm i https://pkg.pr.new/@askable-ui/react-native@472

@askable-ui/solid

npm i https://pkg.pr.new/@askable-ui/solid@472

@askable-ui/svelte

npm i https://pkg.pr.new/@askable-ui/svelte@472

@askable-ui/vue

npm i https://pkg.pr.new/@askable-ui/vue@472

@askable-ui/web-component

npm i https://pkg.pr.new/@askable-ui/web-component@472

commit: 1f31343

@vamgan

vamgan commented Sep 20, 2026

Copy link
Copy Markdown
Collaborator Author

Added separate fixes for scaffold test discovery and SDK 6 documentation. React/Vue/Svelte examples now use the shared UI-message stream and capture context at send time; live context updates are explicitly described as an application-owned multi-step pattern, not retroactive changes to a running model call. Docs build, extracted tsc/vue-tsc/svelte-check checks, and a seven-client Vite build passed. Rendered docs and code tabs were opened in the browser. A live-provider run and runtime exercise of the custom context-update endpoint were not performed. Refreshed against main after the Angular security upgrade.

This branch was successfully deployed

1 active deployment
Preview — 1f31343a Deployed Sep 20, 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.

1 participant