mirror of
https://github.com/openai/codex.git
synced 2026-08-23 13:09:46 +00:00
Move permission profile snapshots into the protocol (#38651)
## What changed - Define `PermissionProfileSnapshot` as a protocol model and re-export it from `core-api`. - Store snapshots directly in core permission state while continuing to apply constraints to their concrete `PermissionProfile`. - Preserve active profile identity and profile-declared workspace roots without the core-only resolved profile variants. GitOrigin-RevId: cc5e03908e62054cde5de691faa47e471f2e1af5
This commit is contained in:
@@ -110,6 +110,7 @@ pub use codex_protocol::dynamic_tools::DynamicToolNamespaceTool;
|
||||
pub use codex_protocol::dynamic_tools::DynamicToolSpec;
|
||||
pub use codex_protocol::error::Result as CodexResult;
|
||||
pub use codex_protocol::models::PermissionProfile;
|
||||
pub use codex_protocol::models::PermissionProfileSnapshot;
|
||||
pub use codex_protocol::openai_models::ModelPreset;
|
||||
pub use codex_protocol::protocol::AskForApproval;
|
||||
pub use codex_protocol::protocol::EnvironmentConfigState;
|
||||
|
||||
Reference in New Issue
Block a user