mirror of
https://github.com/openai/codex.git
synced 2026-10-26 07:58:43 +00:00
## What changed - Add a public `snapshot_script` helper to `codex-shell-command` for Bash, Zsh, POSIX shell, and PowerShell, returning `None` for Command Prompt. - Update `codex-core` and its shell snapshot tests to use the shared helper without changing snapshot behavior. GitOrigin-RevId: 779b9dc964635b717922ea9f5646b94c4dbb0da1
13 lines
293 B
Rust
13 lines
293 B
Rust
//! Command parsing and safety utilities shared across Codex crates.
|
|
|
|
pub mod shell_detect;
|
|
pub mod shell_snapshot;
|
|
|
|
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;
|