feat(tui): add managed worktree flow

This commit is contained in:
Felipe Coury
2026-05-12 12:34:45 -03:00
parent e5d022297d
commit 7a113fc7e9
54 changed files with 5585 additions and 34 deletions
@@ -94,7 +94,8 @@ impl CommandExecRequestProcessor {
}
let CommandExecParams {
command,
mut command,
use_codex_self_exe,
process_id,
tty,
stream_stdin,
@@ -115,6 +116,13 @@ impl CommandExecRequestProcessor {
));
}
if use_codex_self_exe {
let codex_self_exe = self.arg0_paths.codex_self_exe.as_ref().ok_or_else(|| {
internal_error("app-server does not know its Codex executable path")
})?;
command[0] = codex_self_exe.to_string_lossy().into_owned();
}
if size.is_some() && !tty {
return Err(invalid_params("command/exec size requires tty: true"));
}