mirror of
https://github.com/openai/codex.git
synced 2026-05-16 01:02:48 +00:00
Expose the known-shell detector from codex-shell-command and map it into codex-core's runtime shell type. Co-authored-by: Codex <noreply@openai.com>
12 lines
269 B
Rust
12 lines
269 B
Rust
//! Command parsing and safety utilities shared across Codex crates.
|
|
|
|
pub mod shell_detect;
|
|
|
|
pub mod bash;
|
|
pub(crate) mod command_safety;
|
|
pub mod parse_command;
|
|
pub mod powershell;
|
|
|
|
pub use command_safety::is_dangerous_command;
|
|
pub use command_safety::is_safe_command;
|