pi-tripwire
v0.0.5
Published
Pi extension that shows agent-spawned localhost servers in the footer.
Downloads
288
Maintainers
Readme
Tripwire
Tripwire is an extension for Pi that is triggered by the processes your agent spins up in the background. It helps troubleshoot when the agent isn't even on the same server or session as you.
Example:
hugo:1313 node:5173 python:8000It is meant to answer: “what local servers did the agent start for me?”
Install
Install from npm:
pi install npm:pi-tripwireOr install from GitHub:
pi install git:github.com/wdphoto/pi-tripwirePinned versions work for either source:
pi install npm:[email protected]
pi install git:github.com/wdphoto/[email protected]Then restart Pi or run:
/reloadProject-only install
If you only want Tripwire in one project:
cd /path/to/project
pi install -l npm:pi-tripwire
# or
pi install -l git:github.com/wdphoto/pi-tripwireThen run /reload in Pi.
Local checkout install
If you cloned this repo and want Pi to load your local copy:
pi install /path/to/pi-tripwireOr project-only:
cd /path/to/project
pi install -l /path/to/pi-tripwireAfter editing the local checkout, run /reload in Pi.
Notes
Tripwire currently shows servers spawned by Pi agent shell commands. Servers you started yourself in another terminal are not shown yet.
Tripwire tags Pi-spawned bash child processes with small PI_TRIPWIRE_* environment markers for attribution, then reads only those markers from listener processes.
Tripwire only observes. It does not stop processes, restart them, or open browsers.
