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
@@ -266,6 +266,10 @@
"tty": {
"description": "Enable PTY mode.\n\nThis implies `streamStdin` and `streamStdoutStderr`.",
"type": "boolean"
},
"useCodexSelfExe": {
"description": "Replace argv[0] with the app-server's own Codex executable.\n\nThis is for internal helper commands that must run on the same machine as the app-server while still using the generic command execution path.",
"type": "boolean"
}
},
"required": [
@@ -6862,6 +6862,10 @@
"tty": {
"description": "Enable PTY mode.\n\nThis implies `streamStdin` and `streamStdoutStderr`.",
"type": "boolean"
},
"useCodexSelfExe": {
"description": "Replace argv[0] with the app-server's own Codex executable.\n\nThis is for internal helper commands that must run on the same machine as the app-server while still using the generic command execution path.",
"type": "boolean"
}
},
"required": [
@@ -3251,6 +3251,10 @@
"tty": {
"description": "Enable PTY mode.\n\nThis implies `streamStdin` and `streamStdoutStderr`.",
"type": "boolean"
},
"useCodexSelfExe": {
"description": "Replace argv[0] with the app-server's own Codex executable.\n\nThis is for internal helper commands that must run on the same machine as the app-server while still using the generic command execution path.",
"type": "boolean"
}
},
"required": [
@@ -553,6 +553,10 @@
"tty": {
"description": "Enable PTY mode.\n\nThis implies `streamStdin` and `streamStdoutStderr`.",
"type": "boolean"
},
"useCodexSelfExe": {
"description": "Replace argv[0] with the app-server's own Codex executable.\n\nThis is for internal helper commands that must run on the same machine as the app-server while still using the generic command execution path.",
"type": "boolean"
}
},
"required": [
@@ -16,6 +16,12 @@ export type CommandExecParams = {/**
* Command argv vector. Empty arrays are rejected.
*/
command: Array<string>, /**
* Replace argv[0] with the app-server's own Codex executable.
*
* This is for internal helper commands that must run on the same machine
* as the app-server while still using the generic command execution path.
*/
useCodexSelfExe?: boolean, /**
* Optional client-supplied, connection-scoped process id.
*
* Required for `tty`, `streamStdin`, `streamStdoutStderr`, and follow-up