{"_id":"@darkrei08/pi-cockpit-tools-sync","name":"@darkrei08/pi-cockpit-tools-sync","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.1":{"name":"@darkrei08/pi-cockpit-tools-sync","version":"0.1.1","description":"Pi extension that reads desktop cockpit-tools accounts/quotas, syncs Pi auth, and provisions a multi-account rotator (commands: /cockpit-sync, /cockpit-provision, /cockpit-proxy).","main":"index.js","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"keywords":["pi","pi-extension","pi-agent","cockpit-tools","ai-proxy","antigravity","rotator","multi-account"],"author":{"name":"darkrei08"},"license":"AGPL-3.0-only","repository":{"type":"git","url":"git+https://github.com/darkrei08/pi-cockpit-tools-sync.git"},"bugs":{"url":"https://github.com/darkrei08/pi-cockpit-tools-sync/issues"},"homepage":"https://github.com/darkrei08/pi-cockpit-tools-sync","gitHead":"b7a3d078f897fa939ffe1b55a711af8ee7437a50","_id":"@darkrei08/pi-cockpit-tools-sync@0.1.1","_nodeVersion":"26.7.0","_npmVersion":"12.0.2","dist":{"integrity":"sha512-z0WbdtwgGU3nqjnPX9UU13+OyE+eP4+25ZH37LCmXE5OtBm/3l1HLBdG9M3h9/g2UI6mMzCf768hKlY1blryow==","shasum":"b60db5e7282602af274d97af4b7785baac97f546","tarball":"https://registry.npmjs.org/@darkrei08/pi-cockpit-tools-sync/-/pi-cockpit-tools-sync-0.1.1.tgz","fileCount":4,"unpackedSize":53828,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDhaWXaWw+/aVGD3FTCQIPM55yLRtZTWsFcgn8XcqzXfQIgUuDgE9SlgZCdapA8WBOXNuuVzNdRkFmz0KOiw2JPK5Q="}]},"_npmUser":{"name":"darkrei08","email":"darkrei08@gmail.com"},"directories":{},"maintainers":[{"name":"darkrei08","email":"darkrei08@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pi-cockpit-tools-sync_0.1.1_1789172605155_0.7870531242610366"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-12T00:23:24.994Z","0.1.1":"2026-09-12T00:23:25.301Z","modified":"2026-09-12T00:23:25.506Z"},"maintainers":[{"name":"darkrei08","email":"darkrei08@gmail.com"}],"description":"Pi extension that reads desktop cockpit-tools accounts/quotas, syncs Pi auth, and provisions a multi-account rotator (commands: /cockpit-sync, /cockpit-provision, /cockpit-proxy).","homepage":"https://github.com/darkrei08/pi-cockpit-tools-sync","keywords":["pi","pi-extension","pi-agent","cockpit-tools","ai-proxy","antigravity","rotator","multi-account"],"repository":{"type":"git","url":"git+https://github.com/darkrei08/pi-cockpit-tools-sync.git"},"author":{"name":"darkrei08"},"bugs":{"url":"https://github.com/darkrei08/pi-cockpit-tools-sync/issues"},"license":"AGPL-3.0-only","readme":"# @darkrei08/pi-cockpit-tools-sync\n\nA native **Pi Agent Framework (`pi.dev`) extension** that reads desktop\n[Cockpit Tools](https://github.com/jlcodes99/cockpit-tools) accounts and quotas,\nsyncs the active OAuth account into Pi, and provisions a multi-account rotator.\n\n## Installation\n\nInstall it as a Pi extension:\n\n```bash\npi install npm:@darkrei08/pi-cockpit-tools-sync\n```\n\nOr install the standalone GitHub repository:\n\n```bash\npi install github:darkrei08/pi-cockpit-tools-sync\n```\n\n## Commands\n\n- `/cockpit-sync`: syncs the active Cockpit Tools account to Pi's\n  `~/.pi/agent/auth.json`.\n- `/cockpit-provision`: provisions all available Cockpit Tools accounts into\n  the `tuxevil-rotator` configuration at `~/.tuxevil-rotator/accounts.json`\n  (or `$TUXEVIL_ROTATOR_DIR/accounts.json`).\n- `/cockpit-proxy <command>`: runs `tuxevil-rotator` with `status`, `doctor`,\n  `import`, or `start`. `start` is launched in the background.\n\nThe extension also registers `/cockpit` and `/cockpit-status` for account and\nquota status, `/cockpit-accounts` to list accounts, `/cockpit-switch <email>`\nto change the active account, and `/cockpit-model [<model>]` to inspect or set\nthe default Pi model.\n\n## Cockpit Tools data directories\n\nThe extension checks these candidate directories in order and uses the first\none containing either marker file `accounts.json` or `account-token.key`:\n\n- `$HOME/.antigravity_cockpit`\n- `$HOME/.local/share/cockpit-tools`\n- `$HOME/.config/cockpit-tools`\n- `$HOME/.wizard-ai/cockpit-tools`\n- `$HOME/Library/Application Support/cockpit-tools`\n- `$APPDATA/cockpit-tools` (when `APPDATA` is set)\n- `$LOCALAPPDATA/cockpit-tools` (when `LOCALAPPDATA` is set)\n\nAccount details are read from `accounts/<account-id>.json` below the selected\ndata directory. If no candidate contains a marker, the default remains\n`$HOME/.antigravity_cockpit`.\n\n## Security\n\n- The extension never commits changes.\n- Token values are never printed by the extension.\n- It reads Cockpit Tools account/quota data and writes only the Pi auth and\n  tuxevil-rotator configuration files needed by the commands.\n- Existing non-Cockpit rotator accounts are preserved; only entries marked\n  `syncedFromCockpit` are replaced during provisioning.\n\n## License\n\nAGPL-3.0-only. The full GNU Affero General Public License v3 text is included\nin [`LICENSE`](LICENSE).\n","readmeFilename":"README.md","_rev":"1-1b750da6f8a198d16a43a7526937dd81"}