Roo-Code/src/integrations/terminal
KJ7LNW 00609aa2f3
fix: race in short-running command output capture (#2624)
Previously, handlers for terminal output were registered after starting the process,
which could cause output to be missed for fast-executing commands that complete
before handlers are set up.

- Adds CommandCallbacks interface to register handlers upfront
- Moves handler registration before process start to ensure no output is missed
- Provides process instance in callbacks for direct control
- Adds debug logging to help diagnose timing issues

Signed-off-by: Eric Wheeler <roo-code@z.ewheeler.org>
Co-authored-by: Eric Wheeler <roo-code@z.ewheeler.org>
2025-04-15 01:34:45 -04:00
..
__tests__ feat: add ZDOTDIR handling for zsh shell integration 2025-04-11 13:09:41 -07:00
get-latest-output.ts Revert "Smart truncation for terminal output" 2025-03-10 20:54:53 -07:00
Terminal.ts fix: race in short-running command output capture (#2624) 2025-04-15 01:34:45 -04:00
TerminalProcess.ts feat: add terminalPowershellCounter configuration option 2025-04-10 21:18:37 -07:00
TerminalRegistry.ts feat: add ZDOTDIR handling for zsh shell integration 2025-04-11 13:09:41 -07:00