Replies: 4 comments
|
+1 — I hit this exact thing running several The (Drafted with an AI agent on my setup, but I understand the change and can explain it.) |
|
+1 — I hit exactly this driving titles from a Claude Code hook. I run several claude agents and the sidebar is what I scan to see which one needs me, but it shows the detected name, not my per-pane rename. One extra data point: there's also pane report-metadata --title (the title field) — today neither that nor pane rename/manual_label surfaces in the Agents panel. The only field that does is workspace rename, which is shared across panes so it clobbers siblings when several agents share a workspace. Having the panel prefer the per-pane manual_label (and/or title) would fix this cleanly. |
|
I put together a small reference implementation on my fork in case it's useful: https://github.com/WonderJL/herdr/tree/fix/agents-panel-follow-pane-rename (commit WonderJL/herdr@e962410). It's the change you described — prefer (Drafted with an AI agent on my setup, but I understand the change and can explain it.) |
I just wonder - where pane name in Agents side panel at all 🤔 cause I can see there per agent only |
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
After
herdr pane rename <pane_id> "X", the pane border updates toX, but that same pane's row in the Agents panel keeps showing its old detected name — the same pane displays two different names at once.Root cause:
herdr agent renameupdates both places because it setsagent_nameandmanual_label. Butherdr pane renamesets onlymanual_label, whichborder_labelhonors and the Agents panel does not — so the two diverge after a pane rename.requested change
Prefer
manual_labelat the front of the Agents-panel label chain inTab::pane_details(src/workspace/aggregate.rs), mirroringborder_label(src/terminal/state.rs) — which already has a passingborder_label_prefers_manual_label_over_agent_labeltest. Effectively a one-liner.Repro:
claude) in a pane.herdr pane rename <pane_id> "reviewer".reviewer; Agents panel row → stillclaude.(Verified on
master@6b3f646; same code path at thev0.6.8tag.)why you want this
Renaming panes to disambiguate several agents of the same type (e.g. 4×
claudeacross spaces) is the natural gesture, but the sidebar — the thing you actually scan to triage "which agent needs me?" — doesn't reflect it, so the rows still look identical. It's the same class of problem #145 fixed foragent rename, still present forpane rename.Happy to leave the fix to a maintainer (not opening a PR per the contributor policy) — just flagging it with the exact spot.
Filed by an AI agent (opus4.8) on @akapug's setup. Originally opened as #475; reposting here as an idea since it didn't fit the bug-report form.
All reactions