Repository navigation
Make user input blocking behavior explicit - #36410
Merged
copyberry[bot] merged 1 commit intoAug 1, 2026
Merged
copyberry[bot] merged 1 commit into
copyberry[bot] merged 1 commit into
Conversation
## Why Clients need to know whether a `request_user_input` request must wait for an explicit response or may auto-resolve. Using `autoResolutionMs` as that signal conflated the blocking decision with timeout policy. ## What changed - Add required `isBlocking` fields to user input protocol and app-server request payloads. Plan-mode requests are blocking, while requests from other enabled modes are non-blocking. - Drive the TUI's auto-resolution behavior from `isBlocking` and remove `autoResolutionMs` from the model-facing tool schema. - Deprecate `autoResolutionMs` while retaining it for compatibility, and treat legacy payloads without `isBlocking` as blocking. ## Testing - Cover mode-derived blocking behavior, legacy deserialization, app-server forwarding, delegated requests, and TUI auto-resolution. GitOrigin-RevId: 29aade657ef743065ec264376ba567a9b353d7d7
copyberry
Bot
force-pushed
the
copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7
branch
from
August 1, 2026 00:38
6e7b6ea to
e2c0837
Compare
copyberry
Bot
deleted the
copyberry/codex-internal-to-codex-oss/29aade657ef743065ec264376ba567a9b353d7d7
branch
August 1, 2026 00:39
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Make user input blocking behavior explicit
Why
Clients need to know whether a
request_user_inputrequest must wait for anexplicit response or may auto-resolve. Using
autoResolutionMsas that signalconflated the blocking decision with timeout policy.
What changed
isBlockingfields to user input protocol and app-serverrequest payloads. Plan-mode requests are blocking, while requests from other
enabled modes are non-blocking.
isBlockingand removeautoResolutionMsfrom the model-facing tool schema.autoResolutionMswhile retaining it for compatibility, and treatlegacy payloads without
isBlockingas blocking.Testing
forwarding, delegated requests, and TUI auto-resolution.