Roo-Code/packages/core/src/custom-tools
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__ fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
custom-tool-registry.ts Add support for npm packages and .env files to custom tools (#10336) 2025-12-26 09:43:35 -08:00
esbuild-runner.ts Add support for npm packages and .env files to custom tools (#10336) 2025-12-26 09:43:35 -08:00
format-native.ts fix(cli): streaming deltas, task ID propagation, cancel recovery, and misc fixes (#11736) 2026-02-24 23:29:50 -08:00
index.ts chore: remove XML tool calling support (#10841) 2026-01-20 20:25:08 -05:00
serialize.ts Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00
types.ts Custom tool calling (#10083) 2025-12-21 12:43:06 -08:00