mirror of
https://github.com/openai/codex.git
synced 2026-11-24 15:21:20 +00:00
Add experimental user verification API contracts (#43265)
## What changed Add `userVerification/status`, `userVerification/enroll`, `userVerification/delete`, and `userVerification/verify` behind the `experimentalApi` capability. Define request, response, proof, and typed error contracts, export their schemas, and document the API. All four methods currently return `unavailable` with reason `providerUnavailable`; native verification operations are not implemented by this change. ## Testing Add tests for experimental opt-in, typed provider unavailability, readiness serialization, and rejection of mismatched error reasons and native diagnostic payloads. GitOrigin-RevId: a858ab41523c5acec7dbf3cfa7fcab693ac44a8c
This commit is contained in:
1 parent
7bab4526f9
commit
ad931a45b2
12 files changed
+368
No files matched your search
@@ -132,6 +132,7 @@ mod thread_state;
|
||||
mod thread_status;
|
||||
mod transport;
|
||||
mod turn_cost_worker;
|
||||
mod user_verification;
|
||||
|
||||
pub use crate::code_mode_host::AppServerCodeModeHostArgs;
|
||||
pub use crate::code_mode_host::CodeModeHostTransport;
|
||||
|
||||
Reference in new issue
Block a user