feat: implement zsh shell tool via shell-escalation

This commit is contained in:
Michael Bolin
2026-02-23 11:37:45 -08:00
parent 7f75e74201
commit 2321db1a2a
27 changed files with 693 additions and 814 deletions
-5
View File
@@ -544,11 +544,6 @@ fn stage_str(stage: codex_core::features::Stage) -> &'static str {
fn main() -> anyhow::Result<()> {
arg0_dispatch_or_else(|codex_linux_sandbox_exe| async move {
// Run wrapper mode only after arg0 dispatch so `codex-linux-sandbox`
// invocations don't get misclassified as zsh exec-wrapper calls.
if codex_core::maybe_run_zsh_exec_wrapper_mode()? {
return Ok(());
}
cli_main(codex_linux_sandbox_exe).await?;
Ok(())
})