@openuidev/server@0.1.0
thesysdev/openui@openuidev/server@0.1.0Sep 23, 2026by thesys-pr-creator[bot]
Upgrading?
AI Summary
This release introduces `createAutofix` functions for both OpenAI Chat Completions and Vercel AI SDK UI message streams to correct invalid UI. It includes support for streaming, metadata preservation, and new exports for chat history management.
Key Highlights
- Added `createAutofix` for OpenAI Chat Completions and Vercel AI SDK UI message streams.
- Streaming support for Chat Completions, OpenAI Responses, and Vercel AI SDK.
- Preserves tool calls and metadata during streaming text deltas.
- Added `storeChatCompletionHistory` and `chatCompletionMessagesToItems` exports.
New Features
- OpenAI Chat Completions Autofix integration
- Vercel AI SDK UI message streams Autofix
- Streaming corrected program as native text deltas
- Closed fence handling for `openui-lang`
- New exports: `storeChatCompletionHistory` and `chatCompletionMessagesToItems`
Full Release Notes
### Minor Changes
- [#1194](https://github.com/thesysdev/openui/pull/1194) [`68c9280`](https://github.com/thesysdev/openui/commit/68c9280106387f5a4571408c03501bff82a1b450) Thanks [@AbhinRustagi](https://github.com/AbhinRustagi)! - Add `createAutofix` from `@openuidev/server/openai` for Chat Completions and
`@openuidev/server/vercel` for Vercel AI SDK UI message streams.
Both expose `fix({ generation, messages, signal })` for completed text.
Streaming uses `chat.completions({ stream, messages, signal })` for Chat Completions,
`responses()` for OpenAI Responses (not yet supported), and `ai({ stream, messages, signal })`
for Vercel AI SDK UI message streams. Validate locally and call Autofix only for invalid UI.
Streaming appends the complete corrected program as native text deltas before completion,
preserving tool calls and metadata. A closed ```openui-lang fence is held back so the
repair is inserted inside that same fence. The Vercel AI SDK 7 helper accepts
`toUIMessageStream({ stream: result.stream })` output and returns AI SDK UI message SSE.
`@openuidev/server/openai` also exports `storeChatCompletionHistory` and
`chatCompletionMessagesToItems` (moved off the package root).Related Repositories
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
Reverse engineer anything with agents, from app behavior down to native binaries.
The open source coding agent.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.