chore(providers): refresh Codex protocol 0.150.1 and Claude SDK 0.3.247 - #190
Merged
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.