pi-custom-packages 0.1.0
pi is a terminal coding agent that runs an LLM against your codebase. This is a collection of ten extensions for it, each addressing something that only shows up after hours in one session. Three are guards. pi measures its bash timeout in seconds while models keep passing milliseconds, so 120000 becomes 33 hours instead of two minutes; one extension rewrites it. Another re-injects the running model identity, because after you switch models the new one reads the old name out of the transcript and reports it as its own. A third pulls the raw tool calls of the last turn out of the session log and has a separate reviewer grade the conclusion against them. Two deal with context. Every turn resends the whole conversation including images, so twenty screenshots means twenty base64 blobs; one replaces older images with text placeholders on the way out, the other trims session files that already grew large on disk. Four drive the Windows desktop from inside WSL, where the agent otherwise cannot see the machine hosting it. Window capture uses PrintWindow, so a window buried under others is caught without raising it, and regions can be blacked out, pixelated or blurred before the image reaches the model. Cursor and keyboard control and screen recording complete the set. All of it goes through PowerShell interop with nothing installed on the Linux side. Written in TypeScript, MIT licensed, tested on pi 0.84. Installs with a single pi install command, or one package at a time.
| Tags | typescript nodejs cli wsl windows screenshot developer-tools |
|---|---|
| License | MITL |
| State | stable |