@joyanhui/pi-ext-git-changes
v1.0.1
Published
Pi coding agent extension — interactive git working tree changes viewer with overlay, shortcut, and footer status
Maintainers
Readme
@joyanhui/pi-ext-git-changes
A pi extension providing an interactive git working tree changes viewer with a categorized overlay, keyboard shortcut, and a persistent footer status.
Features
/changescommand — opens an overlay showing staged, unstaged, untracked, and conflicted filesCtrl+Shift+Gshortcut — same overlay, instant access- Footer status — always visible file change counts (e.g.
C-S-g:📦3 📝2 ❓1) - Actions — press
Enterto open file in editor,eto edit with nvim,yto yank filename - Clean tree — shows
✓when working tree is clean
Installation
pi install npm:@joyanhui/pi-ext-git-changesOr for a single session:
pi -e npm:@joyanhui/pi-ext-git-changesUsage
Overlay navigation
| Key | Action |
|-----|--------|
| ↑ / ↓ | Navigate files |
| Enter | Open file in pi editor |
| e | Edit file with nvim |
| y | Yank (copy) file path to clipboard |
| Esc / Ctrl+C | Close overlay |
Footer status
The extension shows a status indicator in pi's footer bar. For example:
C-S-g:📦3 📝2 ❓1— 3 staged, 2 unstaged, 1 untrackedC-S-g:✓— working tree clean
Requirements
- pi coding agent (v0.x+)
Documentation
For more information, visit dev.leiyanhui.com/ai/pi-git-changes.
License
MIT
