mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
## What changed Move local attachment snapshotting and conversion from `UserInput` to model request content out of `codex-protocol` into a dedicated `codex-user-input` crate. Update core, the TUI, and the queue extension to use the new crate, replacing the `ResponseInputItem` conversion methods with `from_user_input`. Move the associated attachment and message conversion tests alongside the implementation, preserving coverage for image positions, media labels, serialization, and error placeholders. GitOrigin-RevId: 77d0f94a4cd4c2edc008b9e2e63a989995aab058
71 lines
1.9 KiB
Rust
71 lines
1.9 KiB
Rust
pub mod account;
|
|
mod agent_path;
|
|
pub mod auth;
|
|
mod budget_units;
|
|
mod context_window_id;
|
|
mod item_id_generator;
|
|
mod request_country;
|
|
pub use request_country::InvalidRequestCountry;
|
|
pub use request_country::RequestCountry;
|
|
mod response_item_id;
|
|
mod response_usage;
|
|
mod sanitized_git_url;
|
|
mod session_id;
|
|
mod thread_id;
|
|
mod tool_name;
|
|
pub use agent_path::AgentPath;
|
|
pub use budget_units::BudgetUnitsSum;
|
|
pub use context_window_id::ContextWindowId;
|
|
pub use item_id_generator::ItemIdGenerator;
|
|
#[cfg(test)]
|
|
use item_id_generator::uuid_v7_item_id_generator_for_test;
|
|
pub use permission_profile_intersection::PermissionIntersectionError;
|
|
pub use permission_profile_intersection::intersect_effective_permission_profiles;
|
|
pub use response_item_id::ResponseItemId;
|
|
pub use response_item_id::ResponseItemIdAllocation;
|
|
pub use response_usage::ResponseUsageMetadata;
|
|
pub use sanitized_git_url::SanitizedGitUrl;
|
|
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;
|
|
mod codex_error_info;
|
|
pub mod config_types;
|
|
mod guardian_transcript;
|
|
pub use guardian_transcript::TranscriptFormat;
|
|
pub mod dynamic_tools;
|
|
mod environment;
|
|
pub mod error;
|
|
pub mod exec_output;
|
|
pub mod hooks;
|
|
pub mod items;
|
|
mod legacy_events;
|
|
pub mod mcp;
|
|
pub mod mcp_approval_meta;
|
|
pub mod mcp_policy;
|
|
pub mod memory_citation;
|
|
mod memory_version;
|
|
pub use memory_version::MemoryVersion;
|
|
pub mod models;
|
|
pub mod network_policy;
|
|
pub mod num_format;
|
|
pub mod openai_models;
|
|
pub mod parse_command;
|
|
mod permission_profile_intersection;
|
|
mod permission_profile_snapshot;
|
|
pub mod permissions;
|
|
pub mod plan_tool;
|
|
pub mod protocol;
|
|
pub mod realtime;
|
|
pub mod request_permissions;
|
|
pub mod request_user_input;
|
|
pub mod review_format;
|
|
pub mod sandbox;
|
|
pub mod security_risk;
|
|
pub mod shell_environment;
|
|
pub mod turn_input;
|
|
pub mod user_input;
|