Skip to content

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

Merged
badcuban merged 2 commits into
mainfrom
worktree-agents-tab-codex-0150
Aug 28, 2026
Merged

chore(providers): refresh Codex protocol 0.150.1 and Claude SDK 0.3.247#190
badcuban merged 2 commits into
mainfrom
worktree-agents-tab-codex-0150

Conversation

@badcuban

Copy link
Copy Markdown
Collaborator

Codex 0.150 and Claude Agent SDK 0.3.247 both added multi-agent signals our clients did not know about. Codex threads with a finished subagent failed to resume until the enum shim in bfe8869, and the Claude side had no way to read task depth, background launches, or ambient housekeeping tasks.

Codex: regenerate the app-server client from codex-cli 0.150.1 and drop the enum override. The generator now reads requests declared with optional params (0.150 marks account/usage/read that way, which had silently dropped the method). Handle the new ChatGPT plan types, the "unknown" MCP auth status, and the now-required Thread.projectId and requestUserInput.isBlocking in fixtures. Codex agent nicknames and roles now reach the Agents tab.

Claude: bump the SDK to 0.3.247 and read is_backgrounded, spawn_depth, and ambient from task_started. Depth flows into the agent row so nested agents indent; ambient tasks never count as pending background work, so they cannot hold a thread in Waiting or Background; perTaskStopAffordance is declared, so Stop ends the turn and spares background agents, which the Agents tab stops one at a time.

Gates: typecheck clean in all packages; codex package, contracts, server Codex and Claude suites, and web tests green. Remaining server failures on the author's Windows box are symlink, path, and process-spawn tests unrelated to this change and green on main CI.

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 3:07am

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
badcuban merged commit b5fc0de into main Aug 28, 2026
16 checks passed
@badcuban
badcuban deleted the worktree-agents-tab-codex-0150 branch August 28, 2026 03:24
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