Repository navigation
Replies: 1 comment
|
I have the same need on stock Herdr 0.9.1 with Codex and Pi agents. My sidebar already receives custom role, topic, and ticket metadata, but I also need to recognize a pane's role while reading its conversation. The concrete request is optional metadata-driven border titles and border-line colors: for example, a cyan manager frame titled This extends the token-label request here and overlaps the dynamic border-color request in #2247, except our distinction is a workflow role rather than working/idle/blocked state. We'd prefer supported configuration or a documented plugin/API capability in the stock release, without maintaining a custom Herdr binary. Is this a direction you would consider supporting? |
Uh oh!
There was an error while loading. Please reload this page.
ui.sidebar.agents.rowslets me compose an agent row from tokens and style each one ({ token = "agent", fg = "#abc", bold = true }). The pane border label has neither. It renders one string from one source, and its colour is fixed in code:accentwhen the pane is focused,overlay0otherwise, plus a bold modifier when focused (src/ui/panes.rs:648-656).The gap matters because of how that label is picked.
border_label()(src/terminal/state.rs:1993-2004) takes the first of reported title, manual label,display_agent, detected kind. A hook can keep$modelor any other token fresh in the sidebar viapane report-metadata --token, but there is no way to get that same value onto the border. The only route ispane renamewith a pre-formatted string, and that string is static: nothing re-renders it when the agent's state or model changes.What I'd like is the existing row/token mechanism applied to the border label:
so the border can carry the same hook-reported metadata the sidebar already can, without a second config language.
Context: I run six reviewer panes (codex, claude, grok, gemini, kimi, deepseek) side by side. The sidebar works well when I'm looking at it. The border is what I see while reading a pane's output.
Related but not the same: #2080 asks for styling the focused label specifically, and #1795 asks for focused/unfocused colours on the border line. This one is about what the label is composed of, with styling following from that.
All reactions