mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-05-08 18:31:07 +00:00
Surface subagent token and tool counts while the agent is still running (previously populated only at completion) and keep the detail subtitle in sync with the Progress rows by counting TOOL_CALL events ourselves — executionStats.totalToolCalls only advances on TOOL_RESULT, so it would lag the visible row count by one while a tool was in flight. Drop terminal entries from the list so the header counts and the list stop disagreeing, auto-fall-back from the detail view when the viewed entry finishes or disappears, and keep the "Local agents" header rendered in the empty state so the dialog doesn't visually collapse. Round elapsed time to whole seconds, pre-truncate progress rows with string-width so truncated and non-truncated rows share the same left indent, and switch the list's selection chevron + scroll hints to ASCII glyphs. |
||
|---|---|---|
| .. | ||
| scripts | ||
| src | ||
| vendor | ||
| index.ts | ||
| package.json | ||
| test-setup.ts | ||
| tsconfig.json | ||
| vitest.config.ts | ||