mirror of
https://github.com/openai/codex.git
synced 2026-11-26 07:26:11 +00:00
Add TUI request bookkeeping for user verification (#43708)
## What changed - Track verification parameters and attempt IDs with cancellation tokens so callers can reject stale results after cancellation, server resolution, or reconnect. - Add `ResolveUserVerification` to send acceptance proofs or cancellation through MCP elicitation responses, omit proofs from session recordings, and remove resolved prompts from thread replay. - Add typed verification error messages with safe fallbacks that omit raw provider diagnostics. ## Testing Add unit coverage for attempt invalidation, duplicate attempt prevention, proof serialization, resolved prompt replay, and safe error messages. GitOrigin-RevId: 3466c9a83fe5f512a861fec062bef10dcd3025c8
This commit is contained in:
1 parent
ef6c058202
commit
95327467c3
8 files changed
+503
-17
No files matched your search
@@ -257,6 +257,10 @@ mod thread_session_state;
|
||||
mod thread_settings;
|
||||
mod thread_title;
|
||||
mod transcript_export;
|
||||
#[cfg_attr(not(test), allow(dead_code))]
|
||||
mod user_verification_errors;
|
||||
#[allow(dead_code)] // Connected by the following verification UI integration.
|
||||
mod user_verification_requests;
|
||||
mod working_directory;
|
||||
|
||||
use self::agent_navigation::AgentNavigationDirection;
|
||||
|
||||
Reference in new issue
Block a user