@ifpi/session-files
Track and review files edited by the AI in the current pi session — with TUI browser and VS Code integration.
Package details
Install @ifpi/session-files from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@ifpi/session-files- Package
@ifpi/session-files- Version
0.1.0- Published
- May 29, 2026
- Downloads
- 163/mo · 2/wk
- Author
- isyuah
- License
- MIT
- Types
- extension
- Size
- 24.9 KB
- Dependencies
- 0 dependencies · 2 peers
Pi manifest JSON
{
"extensions": [
"./extensions"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@ifpi/session-files
Track and review every file the AI has edited or created in the current pi session.
Commands
| Command | Description |
|---|---|
/codedot |
Open the current pi working directory in VS Code (code .) |
/session-files |
Browse files edited by AI — grouped by directory, with diff stats |
TUI
Session Files (3 files, 8 edits)
utils (2 files matched)
──────────────────────────────────
▶ 📁 src/utils/ (2 files)
▼ 📁 src/components/ (3 files)
▶ Button.tsx +32 -5 2 edits ● new
Modal.tsx +12 -3 1 edit
──────────────────────────────────
↑↓ PgUp/Dn navigate ←→ fold Enter/Space=toggle Ctrl+O=folder Ctrl+T=term Esc
- Folders collapsed by default —
Enter/Spacetoggles expand,←/→fold/unfold - Type to filter — just start typing, matches directory and file names.
Backspacedeletes,Ctrl+Uclears,Escclears then closes Tabtoggles filter mode:[file]= only matching files shown;[folder]= matching dir shows all its files+N(green) = lines added,-N(red) = lines removed● new= file created by AI (write tool)Enteron file opens in VS CodeCtrl+Oopens the containing folder in VS CodeCtrl+Topens terminal in the selected directoryEscclears filter; press again to close