Roo-Code/src
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
..
__mocks__ Re-enable ClineProvider tests (#2047) 2025-03-27 21:06:54 -07:00
__tests__ Removed hardcoded filenames to GlobalFileNames constants. (#1904) 2025-03-24 13:32:44 -04:00
activate Update log messages for Cline instances to Roo Code instances in regi… (#2604) 2025-04-14 11:58:52 -04:00
api Fix openai cache tracking and cost estimates (#2616) 2025-04-14 22:55:06 -04:00
core fix: race in short-running command output capture (#2624) 2025-04-15 01:34:45 -04:00
exports feature: Closable welcome message (#2541) 2025-04-13 01:16:01 -04:00
i18n Improve zh-TW Traditional Chinese locale (#2305) 2025-04-04 22:22:48 -04:00
integrations fix: race in short-running command output capture (#2624) 2025-04-15 01:34:45 -04:00
schemas feature: Closable welcome message (#2541) 2025-04-13 01:16:01 -04:00
services Add telemetry for diff errors (#2619) 2025-04-15 00:27:34 -04:00
shared Fix openai cache tracking and cost estimates (#2616) 2025-04-14 22:55:06 -04:00
utils Don't automatically convert types when parsing XML (#2389) 2025-04-07 14:57:02 -04:00
extension.ts Allow processes to access the Roo Code API via a unix socket (#2232) 2025-04-02 12:42:00 -07:00