mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
## What changed - Make `ThreadEnvironments` the source of truth for live environment selections and use it when building configuration snapshots, permission profiles, per-turn configuration, and MCP refresh inputs. - Keep settings previews side-effect free while applying accepted environment updates consistently to subsequent turns. - Move `EnvironmentConfig` into `codex-protocol` so environment ownership no longer depends on a core-only type. ## Testing - Cover environment previews and snapshots, accepted and rejected steer updates, and active-turn environment stability. GitOrigin-RevId: 7bcf8fb5df1215f720e4e9c419541a51a871aa5e
43 lines
947 B
Rust
43 lines
947 B
Rust
pub mod account;
|
|
mod agent_path;
|
|
pub mod auth;
|
|
mod response_item_id;
|
|
mod session_id;
|
|
mod thread_id;
|
|
mod tool_name;
|
|
pub use agent_path::AgentPath;
|
|
pub use response_item_id::ResponseItemId;
|
|
pub use session_id::SessionId;
|
|
pub use thread_id::RolloutId;
|
|
pub use thread_id::ThreadId;
|
|
pub use tool_name::DEFAULT_FUNCTION_NAMESPACE;
|
|
pub use tool_name::ToolName;
|
|
pub mod approvals;
|
|
pub mod capabilities;
|
|
pub mod config_types;
|
|
pub mod dynamic_tools;
|
|
mod environment;
|
|
pub mod error;
|
|
pub mod exec_output;
|
|
pub mod items;
|
|
mod legacy_events;
|
|
pub mod local_media;
|
|
pub mod mcp;
|
|
pub mod mcp_approval_meta;
|
|
pub mod memory_citation;
|
|
pub mod models;
|
|
pub mod network_policy;
|
|
pub mod num_format;
|
|
pub mod openai_models;
|
|
pub mod parse_command;
|
|
pub mod permissions;
|
|
pub mod plan_tool;
|
|
pub mod protocol;
|
|
pub mod request_permissions;
|
|
pub mod request_user_input;
|
|
pub mod review_format;
|
|
pub mod security_risk;
|
|
pub mod shell_environment;
|
|
pub mod turn_input;
|
|
pub mod user_input;
|