Roo-Code/apps/cli/src
Chris Estreich ffec9ac1ec
feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597)
* feat(cli): add NDJSON stdin protocol, list subcommands, and modularize run.ts

Overhaul the stdin prompt stream from raw text lines to a structured NDJSON
command protocol (start/message/cancel/ping/shutdown) with requestId
correlation, ack/done/error lifecycle events, and queue telemetry. Add list
subcommands (commands, modes, models) for programmatic discovery. Extract
stdin stream logic from run.ts into stdin-stream.ts and add shared isRecord
guard utility. Includes unit tests for all new modules.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix(core): fix Task.ts bug affecting CLI operation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-19 00:04:34 -08:00
..
__tests__ More file organization for the cli (#10599) 2026-01-09 23:22:51 -08:00
agent feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597) 2026-02-19 00:04:34 -08:00
commands feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597) 2026-02-19 00:04:34 -08:00
lib feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597) 2026-02-19 00:04:34 -08:00
types feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597) 2026-02-19 00:04:34 -08:00
ui Reapply Batches 3-4: Skills, browser removal, provider removals (6 major-conflict cherry-picks) (#11475) 2026-02-14 22:06:24 -07:00
index.ts feat(cli): NDJSON stdin protocol, list subcommands, modularize run.ts (#11597) 2026-02-19 00:04:34 -08:00