fix: preserve fullOutputFilePath when content is summarized and flush pending lines on exit

This commit is contained in:
Spencer
2026-04-09 15:30:53 +00:00
parent 63021b14b6
commit 23aa04ffcb
2 changed files with 55 additions and 54 deletions
@@ -1347,6 +1347,11 @@ export class ShellExecutionService {
render(true);
cmdCleanup?.();
const activePty = ShellExecutionService.activePtys.get(ptyPid);
if (activePty) {
emitPendingLines(activePty, ptyPid, onOutputEvent, true);
}
const event: ShellOutputEvent = {
type: 'exit',
exitCode,