docs: clarify when to use update_todo_list tool (#5926)

* docs: clarify when to use update_todo_list tool

Added 'complicated' to the condition for when to use the update_todo_list tool,
making it clearer that the tool should be used for tasks that are either
complicated OR involve multiple steps.

* fix: update vscode mock and snapshots for update_todo_list tool changes

- Add missing RelativePattern export to vscode mock
- Fix onDidChangeWorkspaceFolders function in workspace mock
- Update test snapshots to reflect new "complicated" text in update_todo_list tool documentation
- Build tree-sitter WASM files to fix parsing tests

Fixes failing CI tests related to PR #5926 documentation changes.

* Delete package-lock.json

* revert: remove unrelated changes to src/__mocks__/vscode.js

---------

Co-authored-by: Roo Code <roomote@roocode.com>
Co-authored-by: Daniel <57051444+daniel-lxs@users.noreply.github.com>
This commit is contained in:
Hannes Rudolph 2025-07-22 15:37:27 -06:00 committed by GitHub
parent dbde23c84e
commit 2b8228ef0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 14 additions and 14 deletions

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -317,7 +317,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -469,7 +469,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -425,7 +425,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -473,7 +473,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -508,7 +508,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -473,7 +473,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -469,7 +469,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -420,7 +420,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.

View file

@ -56,7 +56,7 @@ Replace the entire TODO list with an updated checklist reflecting the current st
</update_todo_list>
**When to Use:**
- The task involves multiple steps or requires ongoing tracking.
- The task is complicated or involves multiple steps or requires ongoing tracking.
- You need to update the status of several todos at once.
- New actionable items are discovered during task execution.
- The user requests a todo list or provides multiple tasks.