pi-herdr-ask-user-bridge
Report rpiv ask-user-question waits to Herdr's Pi agent status integration.
Package details
Install pi-herdr-ask-user-bridge from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-herdr-ask-user-bridge- Package
pi-herdr-ask-user-bridge- Version
0.1.0- Published
- Nov 18, 2026
- Downloads
- 351/mo · 351/wk
- Author
- haminhchien
- License
- MIT
- Types
- extension
- Size
- 3.9 KB
- Dependencies
- 0 dependencies · 1 peer
Pi manifest JSON
{
"extensions": [
"./extensions/index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
Pi Herdr ask-user bridge
Reports an rpiv ask_user_question questionnaire as blocked in Herdr while it awaits input, then clears the state when it closes. Supports overlapping questionnaires and session shutdown. It does not forward questions or answers, and it does not provide a remote questionnaire UI.
Requirements
- Pi coding agent in an interactive Herdr pane, with Herdr's Pi agent-state integration installed.
@juicesharp/rpiv-ask-user-question, installed separately.- Node.js 22.18 or newer.
Install
pi install npm:@juicesharp/rpiv-ask-user-question
pi install npm:pi-herdr-ask-user-bridge
Restart Pi or run /reload. If you previously installed a standalone copy of this bridge in ~/.pi/agent/extensions/, remove that copy to avoid duplicate reports. Outside Herdr the bridge has no visible effect.
The bridge listens for rpiv:ask-user:blocked events and forwards balanced herdr:blocked events to the Herdr-managed extension. Herdr determines how blocked states appear in its UI.
Development
Run npm test with Node.js 22.18 or newer. The test uses a mock Pi event bus; a live Herdr UI is required for end-to-end verification.
MIT licensed.