{"_id":"@ado11231/agenttracker","name":"@ado11231/agenttracker","dist-tags":{"latest":"0.1.0"},"versions":{"0.1.0":{"name":"@ado11231/agenttracker","version":"0.1.0","description":"Local token metrics for Claude Code and Codex sessions","keywords":["claude","codex","agent","claude-code","cli","tokens","cost","usage","observability","statusline"],"type":"module","license":"MIT","author":{"name":"Adnan Alagic"},"homepage":"https://github.com/ado11231/agent-tracker#readme","repository":{"type":"git","url":"git+https://github.com/ado11231/agent-tracker.git"},"bugs":{"url":"https://github.com/ado11231/agent-tracker/issues"},"bin":{"agenttracker":"dist/main.js"},"engines":{"node":">=20"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest run","typecheck":"tsc --noEmit","prepublishOnly":"npm run typecheck && npm test && npm run build","record":"bash scripts/record.sh","demo":"node scripts/demo-sessions.mjs .demo/projects"},"dependencies":{"commander":"^14.0.0","picocolors":"^1.1.1","string-width":"^8.2.2"},"devDependencies":{"@types/node":"^24.0.0","tsup":"^8.5.0","typescript":"^5.8.0","vitest":"^3.2.0"},"overrides":{"esbuild":"^0.28.1"},"publishConfig":{"access":"public"},"gitHead":"3e296f58ccf8a2a55151b547a74863bd111d2fbb","_id":"@ado11231/agenttracker@0.1.0","_nodeVersion":"24.11.1","_npmVersion":"11.12.1","dist":{"integrity":"sha512-XbxWlzuy5049BhmtJNjro1xnBrKB4eNdWpNtrZpGTDIBowGNX1QfAiCid3aAk5Dd4OYayy89+93Ypb9lFHchnw==","shasum":"365d610dcbb0cdbdb477f6a549dcf226a073f2db","tarball":"https://registry.npmjs.org/@ado11231/agenttracker/-/agenttracker-0.1.0.tgz","fileCount":4,"unpackedSize":112370,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIAgrsln6bQ0jfNFHWM9PvPY393sw1d/95SzgaOvqeKLrAiAvH7m2jl6w0+zRyJUqMihohR6cTQq5dTbflh9VJng8pg=="}]},"_npmUser":{"name":"ado11231","email":"adoalagic0@gmail.com"},"directories":{},"maintainers":[{"name":"ado11231","email":"adoalagic0@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/agenttracker_0.1.0_1788392297677_0.5361745309317452"},"_hasShrinkwrap":false}},"time":{"created":"2026-09-02T23:38:17.553Z","0.1.0":"2026-09-02T23:38:17.801Z","modified":"2026-09-02T23:38:17.974Z"},"maintainers":[{"name":"ado11231","email":"adoalagic0@gmail.com"}],"description":"Local token metrics for Claude Code and Codex sessions","homepage":"https://github.com/ado11231/agent-tracker#readme","keywords":["claude","codex","agent","claude-code","cli","tokens","cost","usage","observability","statusline"],"repository":{"type":"git","url":"git+https://github.com/ado11231/agent-tracker.git"},"author":{"name":"Adnan Alagic"},"bugs":{"url":"https://github.com/ado11231/agent-tracker/issues"},"license":"MIT","readme":"<h1 align=\"center\">agent-tracker</h1>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/@ado11231/agenttracker\"><img src=\"https://img.shields.io/npm/v/@ado11231/agenttracker?logo=npm&label=npm\" alt=\"npm version\"></a>\n  <a href=\"https://nodejs.org/\"><img src=\"https://img.shields.io/badge/node-%E2%89%A520-339933?logo=node.js&logoColor=white\" alt=\"Node.js 20+\"></a>\n  <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-8A2BE2\" alt=\"License: MIT\"></a>\n  <a href=\"https://github.com/ado11231/agent-tracker\"><img src=\"https://img.shields.io/github/stars/ado11231/agent-tracker?style=flat&logo=github\" alt=\"GitHub stars\"></a>\n</p>\n\nSee what your agents cost, live in the terminal you already have open. Reads the session logs Claude Code and Codex already write. No API key, no account, no telemetry.\n\n## Install\n\n```bash\nnpm install -g @ado11231/agenttracker\n\nagenttracker setup           # Claude Code\nagenttracker setup --codex   # Codex\n```\n\nCodex asks you to trust the hook once, the first time it starts.\n\n## Live metrics\n\nThe same panel in both agents, drawn after every turn. No second terminal.\n\n### Claude Code\n\n<p align=\"center\">\n  <img width=\"760\" src=\"https://raw.githubusercontent.com/ado11231/agent-tracker/main/docs/images/statusline.png\" alt=\"Claude Code live metrics\">\n</p>\n\n### Codex\n\n<p align=\"center\">\n  <img width=\"760\" src=\"https://raw.githubusercontent.com/ado11231/agent-tracker/main/docs/images/codex-live.png\" alt=\"Codex live metrics\">\n</p>\n\n## Heat chart\n\n<p align=\"center\">\n  <img src=\"https://raw.githubusercontent.com/ado11231/agent-tracker/main/docs/images/heatmap.png\" alt=\"agent-tracker heat chart\">\n</p>\n\n## Commands\n\n| Command | |\n| --- | --- |\n| `agenttracker` | dashboard |\n| `agenttracker sessions` | sessions |\n| `agenttracker context` | context |\n| `agenttracker live` | live panel in its own terminal |\n| `agenttracker doctor` | diagnostics |\n| `agenttracker setup` | install, `--uninstall` to remove |\n\nEvery command takes `--json`, `--no-color`, and `--source claude|codex`.\n\n## Privacy\n\nReads `~/.claude/projects` and `~/.codex/sessions`. Nothing leaves your machine.\n\nMIT\n","readmeFilename":"README.md","_rev":"1-07540922121a4029a16a26db96bb9d7f"}