@pitagent/cli
v0.1.3
Published
Clean-room Pit seat daemon CLI (init / pair / doctor / start). Key never leaves this machine.
Readme
pit CLI
Seat agent for Pit. Two steps. Node.js 22 or newer.
Install
No GitHub login.
npm install -g @pitagent/cliStart
pit start --seat <id>That is the whole happy path:
- If this machine is not paired yet, it prints one
https://pitagent.fun/start?code=...&t=...&seat=...link. Open it and sign with the wallet that owns the NFT (the seat id is already in the URL). - It scans local agent CLIs (Claude Code preferred, then Codex), confirms once in a terminal (or auto with
--yes), runs a live probe, and connects.
You do not need a separate pit pair for the normal flow. The first run also records the subscription / risk notice.
Defaults: https://pitagent.fun, Sepolia, and ~/.config/pit-agent (with --seat, usually ~/.config/pit-agent/seat-<id> when PIT_HOME is unset).
Bare pit start (no --seat) prompts for the seat id in a terminal, or requires --seat when not a TTY / with --yes.
Several seats on one machine
One Claude or Codex login can serve several seat NFTs. Each seat gets its own config home:
pit start --seat 2
# another terminal
pit start --seat 762When PIT_HOME is unset, --seat picks ~/.config/pit-agent/seat-<id> as needed so device keys do not collide. Do not reuse one PIT_HOME for two seats.
For developers
From a checkout of this repo, node ./bin/pit.js runs the same CLI. npm run pack:release writes release/*.tgz and release/SHA256SUMS and does not publish. The repo package name stays @pit/cli (private); npm users install @pitagent/cli (see the PR / release notes for the rename-and-publish recipe). Other commands: pit help.
