centrail
v0.14.0
Published
Sync your local AI coding-agent usage (Claude Code, GitHub Copilot CLI, Codex, Gemini CLI, Pi) to centrail.org.
Readme
centrail
Sync local coding-agent usage and git attribution to centrail.org.
Use a patched, supported Node.js LTS release on macOS, Linux or Windows.
The package’s engines field declares accepted Node versions.
npx centrail@latest connectApprove pairing in your browser, choose which repos sync, then confirm agent setup. Claude Code, Codex, GitHub Copilot CLI, Gemini CLI and Pi have usage readers; git commit attribution covers Claude Code and Codex, the others sync usage only. Pi and Gemini uploads require server capabilities and scope consent. Cursor and OpenCode v1 integrations are opt-in and record repo identity only.
npx centrail doctor # inspect integrations; --fix repairs
npx centrail sync # upload usage and git attribution
npx centrail sync --dry-run # build every payload a sync would send; send nothing
npx centrail inspect --last # the last usage batch sent (--kind attribution|fate)
npx centrail uninstall # remove integrations; pairing and local logs remainUsage is parsed locally. The upload allowlist excludes source code, prompts, completions, absolute paths, diffs and commit messages. Consented uploads can include repo identity, session and branch identifiers, commit SHAs and aggregate change counts. See privacy and what we track.
The CLI guide covers scope, installation, upgrades, agent setup, removal and troubleshooting.
Use is subject to the Centrail CLI License Agreement in LICENSE.md.
