@zotabros/cctm-agent
v0.3.0
Published
CCTokenManager agent — watches Claude Code JSONL logs and uploads usage events to a cctm-server.
Downloads
723
Maintainers
Readme
cctm-agent
CCTokenManager agent: watches Claude Code JSONL logs and uploads usage events to a cctm-server instance.
Install
Requires Node.js 20+.
Recommended (handles cleanup + fallback automatically):
macOS / Linux:
curl -fsSL https://raw.githubusercontent.com/zotabros/cctm-agent/main/install.sh | bashWindows (PowerShell):
irm https://raw.githubusercontent.com/zotabros/cctm-agent/main/install.ps1 | iexManual (npm):
npm install -g @zotabros/cctm-agentPair with a server
cctm-agent pair https://your-server.example.comOpens a browser for OAuth device approval.
Commands
cctm-agent start # run watcher daemon
cctm-agent status # show daemon status
cctm-agent stop
cctm-agent backfill # re-upload historical sessionsBuild from source
pnpm install
pnpm build
node dist/index.js --help