pi-umbra-inputbar
v0.1.2
Published
pi's input bar, rebuilt: a chevron prompt, the session name on the border, a colour you pick, and a command to rename the session.
Downloads
89
Maintainers
Readme
pi-umbra-inputbar
The input box, with the session name on its top border and a border colour you pick.
In a stack of terminals every pi looks the same. The name on the border says which session this window is without opening anything, and the colour tells two of them apart from across the screen.
/umb-color sets the colour and keeps it in ~/.pi/agent/input-color. The name is read
from pi.getSessionName() at every render, so a rename shows on the next repaint.
Nothing here is patched. It rides on ctx.ui.setEditorComponent with a CustomEditor
subclass, which is pi's own extension point for exactly this.
pi-umbra-inputbar/
├── checks
│ └── umbra-inputbar.check.ts
└── extensions
└── umbra-inputbar.tsInstall
pi install npm:pi-umbra-inputbarMIT.
