Skip to content

Conversation

@gustafeden
Copy link
Collaborator

Summary

Displays real-time tool activity under each sub-agent badge in the running agents bar, showing what each agent is currently doing.

Features

  • Task name with typing animation - 30ms per character, persists across tab switches
  • Tool invocation log - Up to 3 lines of recent tool calls
  • MCP tool name translation - Friendly labels (e.g., mcp__vide-agent__spawnAgentSpawn)
  • Smart param extraction - Shows relevant params (query, file_path, command, etc.)
  • Dynamic width scaling - Adjusts based on agent count (2 agents=45 chars, 6+=22 chars)
  • Noisy tool filtering - Hides TodoWrite, setTaskName, etc.

Behavior

  • Only shows for sub-agents (not main agent)
  • Only shows when agent is actively working (not idle)
  • Most recent tool prefixed with , older tools with space

Files Changed

  • lib/modules/agent_network/components/running_agents_bar.dart (+245/-50)

Notes

  • Reconstructed from cleaned codebase; no cherry-picking
  • Original mixed commits were not cleanly isolatable
  • Single file change, minimal and reviewable

Test Plan

  • Verify tool logs appear under sub-agent badges
  • Verify task names animate character by character
  • Verify MCP tool names are translated to friendly labels
  • Verify logs disappear when agent becomes idle
  • Verify width scales appropriately with multiple agents

🤖 Generated with Claude Code

Display what each sub-agent is doing with:
- Task name with typing animation (30ms/char)
- Recent tool invocations (up to 3 lines)
- MCP tool name translation to friendly labels
- Smart param extraction (query, file_path, command, etc.)
- Dynamic width scaling based on agent count
- Noisy tool filtering (TodoWrite, setTaskName, etc.)

Tool logs only show for sub-agents when actively working.
Typing animation state persists across tab switches.

Note: Reconstructed from cleaned codebase; no cherry-picking.
Original mixed commits were not isolatable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@gustafeden gustafeden force-pushed the feature/agent-bar-tool-logs-clean branch from 804dd04 to 764351a Compare January 7, 2026 09:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant