feat: streaming output for bash commands (#516)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-11 15:49:38 -08:00
committed by GitHub
parent c07a5edd88
commit 163e34b04b
10 changed files with 439 additions and 17 deletions

View File

@@ -87,5 +87,15 @@ export function getShellEnv(): NodeJS.ProcessEnv {
: nodeModulesDir;
}
// Disable interactive pagers (fixes git log, man, etc. hanging)
env.PAGER = "cat";
env.GIT_PAGER = "cat";
env.MANPAGER = "cat";
// Ensure TERM is set for proper color support
if (!env.TERM) {
env.TERM = "xterm-256color";
}
return env;
}