mirror of
https://github.com/microsoft/vscode.git
synced 2026-06-01 15:33:20 -05:00
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>