Roo-Code/apps/cli/src
Chris Estreich 70cbc716e8
fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736)
* fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes

- Stream tool_use ask messages (command, tool, mcp) as structured deltas
  instead of full snapshots in json-event-emitter
- Generate task ID upfront and propagate through runTask/createTask so
  currentTaskId is available in extension state immediately
- Wait for resumable state after cancel before processing follow-up
  messages to prevent race conditions in stdin-stream
- Add ROO_CODE_DISABLE_TELEMETRY=1 env var to disable cloud telemetry
- Provide valid empty JSON Schema for custom tools without parameters
  to fix strict-mode API validation
- Skip paths outside cwd in RooProtectedController to avoid RangeError
- Silently handle abort during exponential backoff retry countdown
- Enable customTools experiment in extension host

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

* fix: add start() to TaskStub in single-open-invariant test

The ClineProvider.createTask change to call task.start() after
addClineToStack requires the test's TaskStub mock to have this method.

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

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 23:29:50 -08:00
..
__tests__ More file organization for the cli (#10599) 2026-01-09 23:22:51 -08:00
agent fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
commands fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
lib feat: restore Unbound as a provider (#11624) 2026-02-20 10:37:13 -07: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