Files
vscode/src
Ulugbek Abdullaev 6fd3a8797c Agents: hide sidebar description for hidden tool invocations (#314759)
The sidebar in the Agents app sometimes showed "Created 0 todos" or
similar misleading text under a session title. This came from the
`manage_todo_list` tool's `pastTenseMessage` being surfaced via
`getInProgressSessionDescription` even though the tool invocation was
already marked as `ToolInvocationPresentation.Hidden` (so it wasn't
shown in the chat view at all).

- `getInProgressSessionDescription`: skip tool invocations that are
  effectively hidden, so the sidebar falls through to the previous
  meaningful part instead of leaking text from a hidden tool call.

- `manageTodoListTool.generatePastTenseMessage`: don't generate
  "Created 0 todos" for a no-op write (no current and no new todos);
  fall through to the default "Updated todo list" message.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-05-23 21:12:57 +00:00
..