Licence
MIT
Version
1.0.1
Deps
0
Size
15 kB
Vulns
0
Weekly
0
@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-changes
Or for a single session:
pi -e npm:@joyanhui/pi-ext-git-changes
Usage
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