You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Agents panel: the second line repeats the agent kind next to its mark #754
In the Agents panel, every row starts with the agent's provider mark, and the second line repeats the same agent in words:
[Claude mark] Alice
claude · Agents · Alice
[Claude mark] Infra
peter · claude · Agents · Infra
In my setup all panes run Claude Code, so claude takes the first slot of the second line on every row. On a narrow sidebar the workspace and tab names that actually tell rows apart get truncated.
Where it comes from
src/components/AgentSidebar.tsx passes the agent kind to agentContext as kindLabel:
and agentContext (src/lib/sidebarAgents.ts) puts it first unless it equals the title. AgentRowBody already draws <AgentMark> for the same agent, so a known agent is named twice.
Expected
When paneMark(entry) resolves to a known mark, leave the kind out of the visible second line. Keep it in the row's tooltip and in a visually hidden span, because the mark is aria-hidden and the kind is otherwise the only text that names the agent for a screen reader. Unknown agents, with the generic mark, keep the word.
Result for the rows above:
[Claude mark] Alice
Agents · Alice
[Claude mark] Infra
peter · Agents · Infra
The same redundancy was reported and fixed in roamgate's sidebar: powerfooI/roamgate#265
Activity