← Catalog

@tranoia/pi-sync

/sync command for pi: encrypted snapshots of the whole agent dir (config, extensions, skills, sessions, credentials) carried between machines by a single secret code

Extension

Install

Install with PiG

pig install npm:@tranoia/pi-sync

Install with Pi

pi install npm:@tranoia/pi-sync
Review before installing

Packages 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. After pi install, restart pi (or run /reload). Verify with pi list (package should be listed) and by typing / in pi: sync must 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.
  • /sync hangs on "Fetching snapshot…" — the machine cannot reach the snapshot server. Test from that machine: curl -sI https://pi-sync.tranoia.com/ (or your --server URL).
  • Wrong hash → Nothing stored for this hash on … — check you copied the full 64-char hash from /sync init on the main machine.
  • /sync <code> --yes skips the restore confirmation dialog (useful in scripts).

Security notes

  • Snapshots are AES-256-GCM encrypted
  • The server has no auth

License

MIT