[Codex] Add app-server agent host provider#318822
Merged
Merged
Conversation
637dced to
401c9f6
Compare
6fa7bd1 to
cd34aa5
Compare
401c9f6 to
013b49e
Compare
013b49e to
75115b2
Compare
30058e4 to
dccda6a
Compare
cd34aa5 to
d95eda1
Compare
594c71d to
dd52411
Compare
8ada85a to
a130e1a
Compare
353d6bc to
43442f6
Compare
a130e1a to
94af9c2
Compare
fcff206 to
bc46703
Compare
94af9c2 to
ea7a54a
Compare
687eaf8 to
819c79a
Compare
ea7a54a to
303a9ea
Compare
New Agent Host sessions now defer config resolution and eager backend creation until authenticationPending settles. That avoids AuthRequired races for providers such as Codex, but it also means RemoteAgentHostSessionsProvider tests must explicitly settle authentication before expecting resolved config or forwarded create-session config.
819c79a to
8943a9c
Compare
Contributor
|
Base:
|
Yoyokrazy
approved these changes
Jun 2, 2026
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.
Part 4 of 4 in the Codex app-server stack.
This PR adds the Codex agent-host provider implementation and the workbench/session wiring that consumes the protocol client:
IAgentprovider, session lifecycle, resume/replay, prompt resolution, metadata persistence, proxy/account handling, approvals, and app-server event mapping.This is the runtime integration layer on top of the setup, generated types, and client PRs below it.
How to test:
npm installto download codex-sdk as dev dependency"chat.agentHost.codexAgent.path": "/path/to/node_modules/@openai/codex-sdk"Codex - Agent Hostwhen starting a new session in either the editor window or Agents window