r/PiCodingAgent • u/fingerthief • Oct 17 '26
Plugin Pi Pocket 0.14: extension API, themes, and an extension gallery

Hello fellow Pi people, I've released version 0.14 of Pi Pocket, my mobile/desktop setup for Pi Durable.
Most of this release went into making it extensible. Until now every feature meant more code in Pocket itself. Now an extension can add server routes, slash commands, and its own pages and buttons in the app. The server-status example in the docs is about 35 lines on the server side plus a small browser module, and Pi can write these for you since it reads the docs.
The extension API is versioned and typed, and I wrote down what I will and won't break. Patch releases are fixes only, breaking changes bump the API version, and deprecated stuff sticks around for at least a minor release and 90 days.
There's also a gallery for extensions and themes, under Menu > Extensions > Find extensions. Installs are pinned to a commit, hash checked, and start disabled. Extensions run with full server permissions, so read the code before turning one on, or have Pi review it.
Themes are folders of CSS now, so they can change the layout too. The new built-in one is called Lantern.
Smaller stuff:
- Agent Teams (off by default), where Pi can start linked sessions that message each other
- UI refresh, plus width and density settings
- new session dialog is a proper file picker, with favorite folders
- live thinking display
- PiP can use its own model and take files and images
- Nix flake and NixOS module
12 PRs and 15 issues went into this one, so thanks to everyone who helped.
Repo: https://github.com/TannerMidd/pi-pocket
Docs: https://tannermidd.github.io/pi-pocket/docs/
Release notes: https://github.com/TannerMidd/pi-pocket/releases/tag/v0.14.0
Feedback on the extension API is welcome, especially things you'd want an extension to do that it can't yet.
6
u/polymathic_bau Oct 17 '26
Just wanted to say that I have been enjoying using Pi Pocket over the last weeks.
Still not fully grasping if I should be concentrating on starting to convert to Pi Durable in general or stick with a combo of Pi Cli and durable applications, but that's another question.
2
u/mjf-89 Oct 18 '26
Hey, just dropping by to say that I never used pi pocket but I have read your documentation website and I find it extremely useful as an example of how to properly use the primitives of pi durable. I honestly think it does a better job at explaining pi durable then the original pi durable blog post by earendil.
I never used pi pocket mainly because I'm developing my own little thing, it helps me stay away from FOMO.
Also, if you give it a shot at explaining with the same clarity the concepts behind chord please notify me. I think it's a package hidden there in the depths of the pi mono repo that has a lot of potential for this new wave of self building software is about to come.
Keep up the good work :)
1
u/TrickyPlastic Oct 17 '26
Why aren't you using Pi's ~/.pi/agent/settings.json to load the extensions installed locally?
-1
u/kantorcodes1 Oct 17 '26
The install-time controls are solid - pinned commit, hash check, starts disabled. The part that decides what an extension can actually do is the next layer: once enabled, does its code run each added route, slash command, and page action under some scoped permission, or does the full-server grant apply to every call it makes from then on? If it is install-time trust only, a benign-looking extension has the whole server surface. Is per-call scoping on the API roadmap?