[idea] Plugin-contributed sidebar areas (plugin owns the content) #1675
senna-lang
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
idea / problem
Plugins can register actions, event hooks, and panes, but they cannot add a new region to the sidebar. The sidebar is fixed to Spaces + Agents.
For plugins that want always-visible chrome — usage meters, CI status, queues, digests, and similar — the useful host primitive is not only:
$tokeninto an Agent/Space row, orIt is: contribute a dedicated sidebar area whose content the plugin implements.
Today those plugins have awkward options:
[ui.sidebar.agents]/[ui.sidebar.spaces]— persistent, but cramped, shared with Herdr's own rows, and not a first-class arearequested change
Allow a plugin to declare and own a new sidebar area. Herdr provides the host surface (placement, sizing/collapse, focus, lifecycle, multi-client consistency). The plugin owns what is shown inside.
Sketch (illustrative only — not attached to a specific design):
I am not attached to the implementation shape. Acceptable directions include:
What matters most:
why you want this
Herdr is already the always-visible control surface for coding agents. Usage, CI, queues, and similar plugin UIs belong there as first-class areas, without forking Herdr or abusing agent-row metadata.
I maintain an agent-usage style plugin that currently has to live inside Agent rows via
$limit/$contexttokens (and a separate plugin pane for detail). A plugin-contributed sidebar area would be the natural host surface for that kind of tool — and for other plugins that need persistent sidebar presence with their own content.related
These are close but not the same request:
sectionswith server-rendered rows/bars viasidebar.report_section(Herdr draws; plugin pushes data). Welcome direction, but my ask is stronger on plugin-owned content, not only a fixed row grammarIf a smaller v1 lands first (e.g. #1609-style sections), I'd still hope the long-term boundary is: plugin contributes area, plugin owns content.
All reactions