@joyanhui/pi-ext-git-changes
Pi coding agent extension — interactive git working tree changes viewer with overlay, shortcut, and footer status
Package details
Install @joyanhui/pi-ext-git-changes from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@joyanhui/pi-ext-git-changes- Package
@joyanhui/pi-ext-git-changes- Version
1.0.3- Published
- Aug 18, 2026
- Downloads
- 316/mo · 21/wk
- Author
- joyanhui
- License
- MIT
- Types
- extension
- Size
- 15.3 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./git-changes.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
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+Cshortcut — same overlay, instant access- Footer status — always visible file change counts (e.g.
C-S-c:📦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-c:📦3 📝2 ❓1— 3 staged, 2 unstaged, 1 untrackedC-S-c:✓— working tree clean
Requirements
- pi coding agent (v0.x+)
Documentation
For more information, visit dev.leiyanhui.com/ai/pi-git-changes.
For source code, visit github.com/joyanhui/pi-extension.
License
MIT