Adds a built-in `request_permissions` tool and wires it through the Codex core, protocol, and app-server layers so a running turn can ask the client for additional permissions instead of relying on a static session policy. The new flow emits a `RequestPermissions` event from core, tracks the pending request by call ID, forwards it through app-server v2 as an `item/permissions/requestApproval` request, and resumes the tool call once the client returns an approved subset of the requested permission profile. |
||
|---|---|---|
| .. | ||
| cli.rs | ||
| event_processor.rs | ||
| event_processor_with_human_output.rs | ||
| event_processor_with_jsonl_output.rs | ||
| exec_events.rs | ||
| lib.rs | ||
| main.rs | ||