Skip to content

feat(connector-codex): headless host-mode Codex peer over app-server#97

Open
Lanzelot1 wants to merge 1 commit into
mainfrom
feat/connector-codex-host
Open

feat(connector-codex): headless host-mode Codex peer over app-server#97
Lanzelot1 wants to merge 1 commit into
mainfrom
feat/connector-codex-host

Conversation

@Lanzelot1

Copy link
Copy Markdown
Collaborator

Revives a Codex connector as a headless host-mode mesh peer. The old pull-only connector was removed (5b3eb21) because Codex had no claude/channel analog to wake an idle TUI. This routes around that entirely: it drives a codex app-server thread over JSON-RPC, so a mesh message becomes a real Codex turn.

What it adds

Verified (live, against real codex 0.137)

  • Protocol confirmed via codex app-server generate-ts.
  • pnpm typecheck + build green.
  • E2E COTAL_E2E_CODEX=1 pnpm smoke:codex (own nats-server + real codex): handshake → threadId, peer online, DM → "PONG" round-trip.
  • Manual: a two-turn DM conversation, and a channel @-mention on #team → reply "42" on the channel.

Fast-follow (not in this PR)

  • Agent-initiated cotal_* tools — needs routing through the host's single MeshAgent (else two presences). Reply-driven only today.
  • Attach surface + remote-TUI (human watches the real codex TUI) — rides codex's newer --remote path (codex#18203, codex#21551).

🤖 Generated with Claude Code

Drives a live codex app-server thread over JSON-RPC (turn/start=wake,
turn/steer=mid-turn, turn/interrupt). Verified E2E against codex 0.137.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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