Repository navigation
Conversation
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.
Native
request_user_input_asyncemitsagentMessage.questions, sometimes with empty text. The adapter discarded this field, so the tool reported success while ACP clients received no question.Forward completed question items and history replay as visible text with structured
_meta["codex/asyncUserInput"] = {id, questions}. Clients can render persistent forms and send the answer as a subsequent user prompt. Document the extension and cover textless live events, history, and free-text questions.Validation: typecheck and production bundle pass; 11 event/history tests pass; an isolated real Codex run emitted the structured question event with the requested choices. Companion AHP consumption and answer routing are covered in terrbear/ahpd#20.
Full bridge suite: 1,490 tests passed and 36 skipped. One deep-JSON stack-limit test fails on Node 22.14.0 identically against unchanged upstream code. The patched runtime was deployed with ahpd PR 20; an isolated production Anton session received a question, retained it after completion, saved a synthetic Blue answer, and returned “Blue selected for the transport test.”