feat(tracker): return TodoList display for tracker tools (#22060)

This commit is contained in:
anj-s
2026-03-13 11:18:33 -07:00
committed by GitHub
parent d368997ca3
commit dd8d4c98b3
4 changed files with 164 additions and 17 deletions

View File

@@ -18,7 +18,7 @@ export const TodoTray: React.FC = () => {
const uiState = useUIState();
const todos: TodoList | null = useMemo(() => {
// Find the most recent todo list written by the WriteTodosTool
// Find the most recent todo list written by tools that output a TodoList (e.g., WriteTodosTool or Tracker tools)
for (let i = uiState.history.length - 1; i >= 0; i--) {
const entry = uiState.history[i];
if (entry.type !== 'tool_group') {