pi-herdr-status
v0.2.1
Published
Reports pi active model and status metadata to Herdr's sidebar agents panel without colliding with other extensions.
Maintainers
Readme
pi-herdr-status
A pi extension that reports active model and status metadata to Herdr's sidebar agents panel.
Uses Herdr's pane.report-metadata socket/CLI API with --token model_info=<value> under a dedicated --source pi-model namespace to prevent collisions with other plugins (such as gh-pr).
Features
- Model Synchronization: Automatically updates Herdr's sidebar status whenever the model changes (on startup, session restore,
/model, orCtrl+P). - Agent State Reporting: Automatically syncs agent lifecycle states (
working,blockedfor waiting user confirmation,idle) to Herdr's sidebar. - Multi-Pane Aware: Accurately targets the current pane using
HERDR_PANE_ID. - Collision-Free: Uses
--source pi-modeland--token model_info=<value>to isolate metadata. - Graceful Cleanup: Clears
model_infotoken on session shutdown.
Installation
pi install npm:pi-herdr-statusHerdr Configuration
Add model_info to your [ui.sidebar.agents.rows_by_agent] configuration in ~/.config/herdr/config.toml:
[ui.sidebar.agents.rows_by_agent]
pi = [
["state_icon", "workspace", "tab"],
["agent", "model_info"]
]License
MIT
