Overview
A file browser and viewer that lives inside your terminal. Built for Pi, it lets you navigate your project, view diffs, select lines, and send inline comments to the agent—all without leaving the terminal.
Features
- File tree – git status indicators and LOC counts
- Syntax highlighting – via
bat - Inline diffs – via
delta(toggle withd) - Line selection – send code snippets to the agent
- Inline comments – annotate selected lines
- Changed-only view – focus on modified files
- Search – files and content
Usage
# Open the file browser
/files
# Open review flow
/review
# Open critique view
/diff
Browser: j/k move · Enter open · h/l collapse/expand · c changed-only · ]/[ next/prev changed · / search · q close
Viewer: j/k scroll · d toggle diff · v select mode · c comment on selection · ]/[ next/prev changed · q back
Installation
npm install @tmustier/pi-files-widget
Or via git:
pi install git:github.com/tmustier/pi-extensions
Why?
I wanted to browse and review code without leaving my agent session. This extension lets me navigate files, see diffs, and send context to the agent inline.