Skip to content

chore(providers): Codex protocol 0.150.1 and Claude SDK 0.3.247 - #192

Closed
badcuban wants to merge 2 commits into
mainfrom
chore/codex-0150-claude-sdk-247
Closed

badcuban wants to merge 2 commits into
mainfrom
chore/codex-0150-claude-sdk-247

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Two provider bumps that unblock the Agents tab work. Separate commits, reviewable on their own.

Codex: app-server client on protocol 0.150.1

The client was pinned to rust-v0.146.0 and only knew the 0.150 multi-agent values through a generator override. Regenerated from codex-cli 0.150.1 and dropped the override.

Found along the way:

  • The generator's request parser skipped params?: declarations. 0.150 marks account/usage/read that way, so the token-usage read had silently vanished from the method table. Fixed the parser.
  • Thread gained a required projectId, and item/tool/requestUserInput gained a required isBlocking. Real Codex sends both; our fixtures now do too.
  • New ChatGPT plan types and the unknown MCP auth status are labelled.

Effect: Codex subagent nicknames and roles now reach the roster (the Agents tab already prefers the nickname for the row name). Non-blocking questions (isBlocking: false) are accepted but not modelled yet.

Claude: SDK 0.3.238 to 0.3.247

  • task.started now carries isBackgrounded, spawnDepth, and ambient. Depth flows into the roster so nested Claude agents indent correctly.
  • Ambient housekeeping tasks never count as pending background work, so they cannot hold a thread in "Waiting" or "Background".
  • perTaskStopAffordance: true: Stop ends the turn only; background agents keep running and are stopped one at a time from the Agents tab. Before, an interrupt killed them all.

Testing

  • Typecheck clean in effect-codex-app-server, contracts, server, web.
  • effect-codex-app-server 7/7 (new schema.test.ts resumes a thread with a completed subagent and a followupTask call), contracts 195, server Codex suites 257 and Claude suites 204, web 316.
  • Not verified against a live turn on either provider; the schema is exercised by fixtures only.

The client was pinned to rust-v0.146.0 and only knew the 0.150
multi-agent values through a generator override.

Regenerate from codex-cli 0.150.1 and drop the override. The generator
now also reads requests declared with optional params (0.150 marks
account/usage/read that way, which had silently dropped the method).
Server-side: new ChatGPT plan types, the "unknown" MCP auth status, the
usage read call, and Thread fixtures gain the now-required projectId;
item/tool/requestUserInput fixtures carry isBlocking.
Bump @anthropic-ai/claude-agent-sdk to 0.3.247 and use what it now
reports about tasks.

task.started carries isBackgrounded, spawnDepth, and ambient. A spawned
agent's depth reaches its roster row through subagent metadata, so nested
agents get a real tree depth. Ambient housekeeping (live-update watchers
and the like) never counts as pending background work: it is flagged on
its edges and skipped in snapshot counts, so it cannot hold a thread in
"Background" or "Waiting". The session also declares perTaskStopAffordance,
so Stop ends the current turn and leaves background agents running; they
are stopped one at a time from the Agents tab.
@vercel

vercel Bot commented Aug 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
threadlines Ready Ready Preview Aug 28, 2026 5:16am

Request Review

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL labels Aug 28, 2026
@badcuban

Copy link
Copy Markdown
Collaborator Author

Already on main: dac7599 and b5fc0de carry the same content (rebased copies), see git cherry. Closing as redundant.

@badcuban badcuban closed this Aug 28, 2026
@badcuban
badcuban deleted the chore/codex-0150-claude-sdk-247 branch August 28, 2026 05:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant