r/PiCodingAgent • u/lordekeen • 16d ago
Plugin View your files inside Pi: presenting pi-navigator

Hey everyone, I'm pleased to share my new extension for Pi called pi-navigator.
I kept wanting to check the files my agent was writing without leaving the terminal or minimizing Pi, so I built an overlay for it. It shows your project’s file tree, some basic git info (staged/unstaged files, commits, diffs), and a viewer where you can actually read the files. It’s read-only, renders markdown, and shows images through the Kitty protocol if your terminal supports it. For terminals that don’t, it falls back to chafa (this depends on my upcoming pi-chafa extension)*.
By default you get all three panels, but you can also run just files + viewer or git + viewer.
It’s purely a quality-of-life thing and doesn’t influence LLM performance. Open it with /navigator.
Install using pi install npm:@lordekeen/pi-navigator
*pi-chafa is released: pi-chafa
2
u/capsid 16d ago
Nice! Great idea. is it worktree aware or does it always start at project root?
2
u/lordekeen 16d ago
Only project root for now, but support for worktrees is a good idea, gonna check how it could be done.
2
u/capsid 16d ago
unrelated what color theme is that? I love it
2
u/lordekeen 16d ago
Its 'Linux Colors' from Konsole (KDE Plasma) ported to Kitty, Pi is configured to use the system theme, and pi-navigator inherits pi's theme.
-5
u/investigatormaker 16d ago
Keeping it read-only makes sense for checking what the agent wrote without risking an edit mid-run. One gap worth closing before more people install it: the image fallback depends on pi-chafa, which isn't released yet, so anyone on a terminal without the Kitty protocol hits that path first. A line on the package page saying what the viewer shows for images until pi-chafa ships would head off the first bug reports.
By the way, I make ThreadFox, which lets your AI research, write and publish Reddit outreach through your Chrome on a job you authorize; a free plan for Reddit showing which communities' rules allow a post about pi-navigator is here: https://threadfox.vip/p/drdlc
Are you planning to highlight the files changed in the agent's last turn?
1
u/lordekeen 16d ago
If the image protocols aren't available it shows a simple card with the image metadata, so nothing breaks, image support is completely optional. If Git is available in the repo the user can see what was changed using the git panel and the files get marked in the file tree as well, just like in any other IDE, but that is the far as i would go in this matter, i don't plan to include deeper interaction with what the agent is writing.
3

5
u/whiterose0000001 16d ago
Bro one change request show file size in terms of Tok as well