Skip to content

agentHost: update bundled Codex SDK to 0.149.1 - #333739

Merged
Giuseppe Cianci (Giuspepe) merged 3 commits into
mainfrom
agents/update-codex-sdk-and-verify-tests
Sep 1, 2026
Merged

agentHost: update bundled Codex SDK to 0.149.1#333739
Giuseppe Cianci (Giuspepe) merged 3 commits into
mainfrom
agents/update-codex-sdk-and-verify-tests

Conversation

@Giuspepe

@Giuspepe Giuseppe Cianci (Giuspepe) commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Update the bundled @openai/codex dependency from 0.146.0 to 0.149.1 in both the root and Agent SDK package sets.
  • Use the newest stable release currently available from the private VS Code feed; 0.152.0 remains held by the seven-day quarantine.
  • Regenerate the Codex app-server protocol bindings and align typed fixtures and Guardian handling with the 0.149.1 protocol.
  • Add a reusable repository skill that checks the private feed, updates every Codex pin, regenerates protocol bindings, runs validation, and verifies a real Codex Agent Host session through the launch skill.

Validation

  • npm run codex:check-protocol
  • npm run compile
  • scripts/test.sh --grep codex — 173 passing
  • cd build && npm run test — 270 passing
  • npm run test-agent-host-e2e -- --jobs 2 — conformance 311, Claude 95, Codex 103, and Copilot 167 passing
  • npm run hygiene
  • Launch-skill smoke test: opened an isolated Agents window, ran a real Codex session against this worktree, received CODEX_SDK_0_149_1_OK, and confirmed the session completed.
  • Update skill: structure validation passed; its typed helper passed syntax and pre-commit checks and reported 0.149.1 available / 0.152.0 unavailable from the authenticated private VS Code feed.

Regenerate the app-server protocol bindings and handle guardian writeStdin review actions introduced by the new SDK.
Copilot AI balanced review requested due to automatic review settings September 1, 2026 09:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

Review tier: Balanced
Findings: None

What changed in this PR

Updates the bundled Codex SDK to 0.152.0 and aligns Agent Host protocol bindings, fixtures, and guardian review handling.

Changes:

  • Updates Codex dependencies and packaged version metadata.
  • Regenerates Codex app-server protocol bindings.
  • Adds guardian writeStdin conversion and refreshes typed fixtures.
File Description
package.json Updates the root Codex dependency.
package-lock.json Locks Codex 0.152.0 dependencies.
build/​agent-sdk/​agents/​codex/​package.json Updates the packaged Agent SDK dependency.
build/​agent-sdk/​agents/​codex/​package-lock.json Refreshes packaged dependency locks.
build/​codex/​codex-version.txt Records the bundled Codex version.
src/​vs/​platform/​agentHost/​node/​codex/​codexGuardianReview.ts Converts and summarizes guardian stdin reviews.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexAccountState.test.ts Refreshes account-response fixtures.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexCustomizations.test.ts Refreshes customization metadata fixtures.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexGuardianReview.test.ts Tests stdin guardian review conversion.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexMapAppServerEvents.test.ts Refreshes event-mapping fixtures.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexMcpServers.test.ts Refreshes MCP status fixtures.
src/​vs/​platform/​agentHost/​test/​node/​codex/​codexModelRefresh.test.ts Refreshes model/account fixtures.
822 generated protocol files Regenerates app-server bindings for Codex 0.152.0.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Use the newest release available from the private VS Code feed while 0.152.0 remains in the seven-day quarantine.
@Giuspepe Giuseppe Cianci (Giuspepe) changed the title agentHost: update bundled Codex SDK to 0.152.0 agentHost: update bundled Codex SDK to 0.149.1 Sep 1, 2026
Capture private-feed version selection, protocol regeneration, validation, and launch-based Agent Host verification in a reusable repository skill.
@Giuspepe
Giuseppe Cianci (Giuspepe) marked this pull request as ready for review September 1, 2026 10:33
@Giuspepe
Giuseppe Cianci (Giuspepe) merged commit df2411c into main Sep 1, 2026
41 checks passed
@Giuspepe
Giuseppe Cianci (Giuspepe) deleted the agents/update-codex-sdk-and-verify-tests branch September 1, 2026 10:54
@vs-code-engineering vs-code-engineering Bot added this to the 1.137.0 milestone Sep 1, 2026
Bhavya U (bhavyaus) pushed a commit that referenced this pull request Sep 1, 2026
* agentHost: update bundled Codex SDK to 0.152.0

Regenerate the app-server protocol bindings and handle guardian writeStdin review actions introduced by the new SDK.

* agentHost: use bundled Codex SDK 0.149.1

Use the newest release available from the private VS Code feed while 0.152.0 remains in the seven-day quarantine.

* agentHost: add Codex SDK update skill

Capture private-feed version selection, protocol regeneration, validation, and launch-based Agent Host verification in a reusable repository skill.
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