Repository navigation
feat(server): add backward-compatible unified client - #1301
Draft
AbhinRustagi wants to merge 1 commit into
Draft
AbhinRustagi wants to merge 1 commit into
AbhinRustagi wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
AbhinRustagi
force-pushed
the
codex/server-client
branch
from
October 5, 2026 11:38
61226e3 to
5dda952
Compare
AbhinRustagi
added this pull request to stack #1303
October 5, 2026 11:42
AbhinRustagi
force-pushed
the
codex/server-client
branch
from
October 6, 2026 09:30
5dda952 to
85687b1
Compare
AbhinRustagi
removed this pull request from stack #1303
October 6, 2026 09:30
AbhinRustagi
added this pull request to stack #1309
October 6, 2026 09:31
AbhinRustagi
force-pushed
the
codex/server-client
branch
from
October 6, 2026 09:37
85687b1 to
0193db3
Compare
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a single
createClient()entry point from@openuidev/server, defaulting toTHESYS_API_KEY. The client exposes completed-output Autofix asclient.autofix.fix({ library, response, messages, signal }), Completions streaming and persistence underclient.completions, and AI SDK streaming underclient.vercel.ai.Library specs are supplied per operation and cached by identity. Published standalone helpers retain their signatures and behavior. The client factory is exported as
createClientfrom the package root. Existing Completions persistence is reused; this change adds no storage adapters.First of three dependent PRs: unified client → Autofix adapters (#1231) → tool executor (#1302).
Validation: existing package tests, typecheck, lint, formatting, and build pass. Inline mocked checks cover configuration, lazy library initialization, completed-output repair, Completions persistence, and legacy helper signatures/error behavior. No new test files.