mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:20:47 +00:00
refactor(app-server): simplify permission confirmation flow
Replace the per-method v1 app-server capability with a single `permissionConfirmations` opt-in. Route both permission request flows through that capability. Collapse the separate preset tool feature into `request_permissions_tool`, and make core apply accepted preset responses so clients only confirm the user decision.
This commit is contained in:
@@ -483,7 +483,7 @@ pub async fn run_main(cli: Cli, arg0_paths: Arg0DispatchPaths) -> anyhow::Result
|
||||
client_name: "codex_exec".to_string(),
|
||||
client_version: env!("CARGO_PKG_VERSION").to_string(),
|
||||
experimental_api: true,
|
||||
supported_server_requests: Vec::new(),
|
||||
permission_confirmations: false,
|
||||
opt_out_notification_methods: Vec::new(),
|
||||
channel_capacity: DEFAULT_IN_PROCESS_CHANNEL_CAPACITY,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user