Skip to content

Add generated Codex app-server protocol typings#337

Merged
SDSLeon merged 6 commits into
masterfrom
poracode/merry-puma-99a19396
Jul 18, 2026
Merged

Add generated Codex app-server protocol typings#337
SDSLeon merged 6 commits into
masterfrom
poracode/merry-puma-99a19396

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Jul 18, 2026

Copy link
Copy Markdown
Owner
  • Feature: add an install-time-generated @poracode/codex-protocol workspace package pinned to the official Codex protocol version.
  • Type Codex app-server client requests, server requests, and notifications to keep supervisor integration aligned with the live protocol.
  • Update Codex ACP mappings for current lifecycle, goal, usage, approval, question, and error payloads.
  • Expand Codex protocol and RPC coverage to validate updated behavior.

- Map updated Codex notifications, approvals, usage, and thread state
- Add protocol generation workspace and expand Codex integration tests
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
lightcode-landing Ready Ready Preview, Comment Jul 18, 2026 8:05pm
poracode-pwa Ready Ready Preview, Comment Jul 18, 2026 8:05pm

SDSLeon and others added 3 commits July 18, 2026 12:20
…fork

- Generate app-server protocol typings from the pinned @openai/codex CLI
  (0.144.5) into a gitignored workspace package (@poracode/codex-protocol);
  add typed client/server/notification method maps at the provider boundary
- Correct notification, approval, user-input, goal-status, and token-usage
  mappings against the official 0.144.5 protocol
- Migrate deprecated thread/rollback to thread/fork; document why
  account/chatgptAuthTokens/refresh is intentionally rejected
- Expand Codex integration tests

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…ession id

- Pass the thread's current model/effort/approval/sandbox into thread/fork so
  a reverted thread never loads unsafe default settings (previously the fork
  loaded gpt-5.3-codex-spark / never / danger-full-access until the next turn);
  extract a shared buildCodexThreadOverrides for start/resume/fork
- Thread the current composer config through the rollback IPC so a config
  change made before reverting is honored by the fork rather than a stale one
- Emit thread-state on a provider-session-id change so the renderer adopts the
  forked session id immediately instead of only on the next turn

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…htcode into poracode/merry-puma-99a19396

# Conflicts:
#	src/supervisor/agents/codex/acp.ts
#	src/supervisor/agents/codex/codex.test.ts
@SDSLeon
SDSLeon merged commit dfedc44 into master Jul 18, 2026
11 checks passed
@SDSLeon
SDSLeon deleted the poracode/merry-puma-99a19396 branch July 18, 2026 20:08
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