feat(tui): readable thinking state, redesigned Agents panel, and Agent Inspector#3108
Draft
aheritier wants to merge 3 commits into
Draft
feat(tui): readable thinking state, redesigned Agents panel, and Agent Inspector#3108aheritier wants to merge 3 commits into
aheritier wants to merge 3 commits into
Conversation
…elpers) Replace the ambiguous bare on/off thinking label with a self-describing visual language: a 6-cell lossless effort gauge, an adaptive->auto and token-count label split, and left-truncation that preserves model-name tails. Adds shared toolcommon helpers (effort_gauge, thinking, tokencount, truncate) and de-duplicates formatTokenCount. Groundwork for the agents-panel redesign and the agent inspector.
…ster) Render the current agent as a focus card in place and the other agents as two-line compact rows (name + effort gauge, then the full model id), separated by blank lines, with a width-aware degradation ladder and left-truncated model tails. Harness-backed agents show their harness type instead of a blank model. Reworks the click-zone mapping to explicit per-line ownership so clicks keep resolving to the right agent.
…ails Add a read-only agent-details modal opened by right-click (or Ctrl+click); plain left-click switches agent. The inspector shows the agent's configuration (model, fallback, thinking, sub-agents, handoffs, skills, limits, options, toolsets with their declared tools, commands) and live state (current-agent marker and per-toolset started/stopped/error status with live tool names when started). Retains the raw per-agent config on the team and adds per-agent toolset-status and config accessors to source it.
Contributor
Author
|
I had some time to kill @rumpl @krissetto @dgageot |
Contributor
Author
|
/review |
|
❌ PR Review Failed — The review agent encountered an error and could not complete the review. View logs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Overhauls the TUI sidebar Agents panel for readability and introduces an Agent Inspector. Three themed commits, one per area:
What changed
• on/off;adaptive→auto, token budgets show◉ <count>; model names left-truncate to keep their tails.toolcommonhelpers;formatTokenCountde-duplicated; Shift+Tab now shows a thinking-level toast.Testing
task build,task lintclean;go test ./pkg/...green.TestLoadExamplesinpkg/teamloader(DMR model pull HTTP 416), unrelated to this change.Demo
Screen.Recording.2026-06-13.at.22.56.14.mov