Install
Install with PiG
pig install npm:@tranoia/pi-syncInstall with Pi
pi install npm:@tranoia/pi-syncPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 1.0.4 (README.md). PiG does not review it.
pi-sync
/sync for pi: sync settings,
extensions, skills, prompts, themes, instructions, sessions, and credentials. Snapshots are
encrypted and identified by a single secret code.
Install
pi install npm:@tranoia/pi-sync
Then restart pi (or /reload).
Usage
/sync auto-sync
/sync init [--server URL] create your identity + first snapshot, prints the code
/sync <code> [--server URL] bootstrap this machine from that code
/sync status identity fingerprint, last sync
/sync push | pull manual overrides
/sync destroy delete the server snapshot, stop syncing
Workflow: run /sync init on your main machine. On any other machine, pi install npm:@tranoia/pi-sync, then /sync <code>. /sync
pushes local changes when they are newer, pulls when the server is newer.
Troubleshooting
/sync <code>does nothing at all — the extension is almost certainly not loaded in that session. Afterpi install, restart pi (or run/reload). Verify withpi list(package should be listed) and by typing/in pi:syncmust appear in the command menu. If pi is older than the version this package was built for, extension load errors appear in the startup banner./synchangs on "Fetching snapshot…" — the machine cannot reach the snapshot server. Test from that machine:curl -sI https://pi-sync.tranoia.com/(or your--serverURL).- Wrong hash →
Nothing stored for this hash on …— check you copied the full 64-char hash from/sync initon the main machine. /sync <code> --yesskips the restore confirmation dialog (useful in scripts).
Security notes
- Snapshots are AES-256-GCM encrypted
- The server has no auth
License
MIT