{"_id":"@deibygs/claudestat","_rev":"14-9fe1869f59cfe2baee94561e9ab559f5","name":"@deibygs/claudestat","dist-tags":{"latest":"1.0.0"},"versions":{"0.1.0":{"name":"@deibygs/claudestat","version":"0.1.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.1.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"7c4718fda2d91138dbffcf8d6bc2090d11f52954","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.1.0.tgz","fileCount":50,"integrity":"sha512-l33vyPUTO3qrAcbU/h+68p9YNltGOYgvm52eoE8GbWfM8Pdtq3Xi0OXFYTy317YsFCgi1SnIiYs3dbYJoW0rCw==","signatures":[{"sig":"MEUCIQCyqq07Sa5+rxUgf6MR57zyDgebvHiYH7HBW5eai7S6ygIgcINMDR7Dj3zcXkxcl3Fzy1UkVOdX+xW/+eN59cyDZvU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3380055},"engines":{"node":">=18.0.0"},"gitHead":"9f0f688547b48c0882ffde7ea6b13657b3d8e0ab","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.1.0_1777398040559_0.18855950541339594","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@deibygs/claudestat","version":"0.1.1","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.1.1","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"3fd76f59219190bde2f94f391fbc4e40ab31c59c","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.1.1.tgz","fileCount":45,"integrity":"sha512-gEwQmqJ31anv7U2PRsEmLijFfDdZJ8scIuECfBFOv4IWFcL6Eme5O8jAiHrNG8pDJrO3i84NoRVxtmuBcZ+NGw==","signatures":[{"sig":"MEYCIQDtUnWtFm85tkPMCk8C2a/uaHdYwUz1fF2xvtnWGh6/SAIhANLDpLqX+P6+BJJoE6mjf1miYmrJz4TnJ20H113KU4e+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1031386},"engines":{"node":">=18.0.0"},"gitHead":"cafb8168d89957cc60884053fa6a0b02a08fc40f","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.1.1_1777413336584_0.4203254303258732","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@deibygs/claudestat","version":"0.1.2","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.1.2","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"f4e5b7ba269f82050e19f31140a9c816d6556668","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.1.2.tgz","fileCount":45,"integrity":"sha512-HJrTMtKQCH4K6BHBE8ImzKWyMFkYxpny2RFXAoqHy2FOJiggZGEriPgAACNrZVoTpZbrlO7QOwrOMaPd5e0UtA==","signatures":[{"sig":"MEUCIQC1dxanrQhXvTp+j4rP42GbuQawV8DsqrnswhcThVcZcAIgdjI4tywvtVng7MIfAjElV0yg5jMRfR0WKgIS+SL/J3s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1032292},"engines":{"node":">=18.0.0"},"gitHead":"e78516cf7ba675d4b5760089587fa382d0b1b911","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.1.2_1777413921547_0.6537849805296092","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@deibygs/claudestat","version":"0.1.3","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.1.3","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"2cab57d55246103da0500d903e9c4712edf91e0d","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.1.3.tgz","fileCount":47,"integrity":"sha512-Ze3r/hWnpW5DUpb/DXz/e6NiQVW79ZAnGcNHhMDNH6nQKcB/WJ3nLy8P7Y8xyYd20IP3wLqjPK3gZ0zDV7qEsQ==","signatures":[{"sig":"MEUCIQCeAf9urKUIrvaUrsHagC5KwF70Jr1+cC53vBFVsNlTNQIgLATwKmtzKry2OH0RyhlPXQKR+MAHVTmKgnzqvMl/+1k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1038354},"engines":{"node":">=18.0.0"},"gitHead":"dd30081795707cca1b7bfe103d606fa28cf6c1ea","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.1.3_1777415343484_0.9748210616969075","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@deibygs/claudestat","version":"0.2.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.2.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"b2812751b4f55792a1f3af9f45b10310a819e135","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.2.0.tgz","fileCount":63,"integrity":"sha512-WMugwa3IZ8bDQilqzi/cbVZLVCw6RaaWCXPjnedjsbYsPQK03RLcWNlosq8YvGyZAd5tc+lxQ+RGeGbXYOhWQw==","signatures":[{"sig":"MEUCIAMohfJ15Mk2WpC2hRtDaTWmCd4sZFNdziiwJXOPmHBqAiEA37CqPkoq7sabN7/UzqctTHV2ZdGjYSepv233Y5jJRZs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1050910},"engines":{"node":">=18.0.0"},"gitHead":"ba29b1476074e5fbfe4ddcf17c8f5b0221b32a8e","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.2.0_1777456339404_0.49291579291782583","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@deibygs/claudestat","version":"0.2.1","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.2.1","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/deibygorrin/claudestat#readme","bugs":{"url":"https://github.com/deibygorrin/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"fc919f70a120b6ef428786ab9bbbfc2f78a9dd2c","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.2.1.tgz","fileCount":63,"integrity":"sha512-KsMi6vrFWy6fNCnitR677yDJIbGRX0ut1Lv7u4Gwcq82ADBonDeXPv/GccHcE7/i1FpI2ssz+LGKKbsm6IuZ9Q==","signatures":[{"sig":"MEQCIEB0qo7v0T1PQLlfv1U5t1jFb/LyraRMNCQp/3MC0TVRAiA2h4RLFLPbLWm2xz17IALpkSco2kpIi9eVckrcclsENQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1051390},"engines":{"node":">=18.0.0"},"gitHead":"720de09395945fbdf5807a41386a418b9c67f7aa","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/deibygorrin/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.2.1_1777460394149_0.8899587151946255","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@deibygs/claudestat","version":"0.2.3","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.2.3","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"e7d334ed86cbcc466809034b2dd2427d235b4dc2","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.2.3.tgz","fileCount":63,"integrity":"sha512-ft/4hrRxoBn9RXbsnIfnhZdRu0yYxEjrf8Exo/nhTUyiCx1c4/KAwFZYsBzY1XiA5Fh/pEN+IsYiYe4aJk8E0g==","signatures":[{"sig":"MEQCIGIwNfJMdmlFXRJJyJCHi7HYo5liDgAdVDH5WkKIdoFLAiAT9CmMiWVMjVj/6qY9DbncRdw0UbwQKmuo1c5DNLyPUg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1051346},"engines":{"node":">=18.0.0"},"gitHead":"e5336a10dd4b4bf71c96f6b70d424b3e6fffac34","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.2.3_1777462166886_0.46264023483051786","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@deibygs/claudestat","version":"0.2.4","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.2.4","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"9e2fe26106a933ae3fdc3a7600eca80b3ee63f56","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.2.4.tgz","fileCount":63,"integrity":"sha512-cWzfOfIlJwHj6e/AXgN57aMKF0MJlybYZIo/EJQcDUnpihjH/RqfUzBThqDzCgIQow+HYjwnZomOUvCz6NGPIg==","signatures":[{"sig":"MEQCIHVMvUiV9sd3Do7PCxwIRTQGANIuSeJ0klH2twNuutniAiADR7SfiFmIUzzbg53SaC7ukqv9Quf+guDlzVw19XT+Dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1055280},"engines":{"node":">=18.0.0"},"gitHead":"e5336a10dd4b4bf71c96f6b70d424b3e6fffac34","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.2.4_1777475734209_0.9037660544068831","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@deibygs/claudestat","version":"0.2.5","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.2.5","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"789db853116206f9e36fccb6db334a82795409cb","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.2.5.tgz","fileCount":63,"integrity":"sha512-JCtHakLV//PsQs5CtDuJahy4g1RLyyMHFpi2T9LK+aWKVbADM/ewRFN+tWfcJYQOlPCfz4S00LF0zUVMzG9gCg==","signatures":[{"sig":"MEQCICBfbxRoYrlzqyy8GamBbDEJqki0Uwz+L2lOm5ZHL4qyAiBmuhIMnBq6OxlKcDnFLNY/X/UWWcRJdWTG9IGMVoAk7Q==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1056509},"engines":{"node":">=18.0.0"},"gitHead":"baae37a6295220f7ab09bf130763af91db8f8408","scripts":{"dev":"tsx src/index.ts","test":"CLAUDESTAT_DB_PATH=:memory: CLAUDESTAT_DATA_DIR=/tmp ${NVM_BIN:-$(dirname $(which node))}/node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.2.5_1777481758021_0.3262255457935457","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@deibygs/claudestat","version":"0.3.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.3.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"a9a707f15b3b90781be0b29f0bc1e47416bf3492","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.3.0.tgz","fileCount":65,"integrity":"sha512-+ti09P4SfnCClxuXW3avvKjHXz8ykNsjQ7cDLVoxE7BhlzJBAklOkkmOxLWluDLSw/qGAq8Uc5FszM8dou/DHQ==","signatures":[{"sig":"MEUCIQCXPdBgIXze70N08SjpskcD9WproeeSZVa1rDf8iqwfowIgRl+lct9cbihWSHA+AqCqVJcYqHgLv1cbTiIbVU8ocMk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1065814},"engines":{"node":">=18.0.0"},"gitHead":"70efcf6ecb5d92f3872385cafd0af5ffc700d289","scripts":{"dev":"tsx src/index.ts","test":"node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.3.0_1777995491473_0.45166111982631185","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@deibygs/claudestat","version":"0.4.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.4.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"329ad8b68fb40970e190dc93ed0a668103b482d6","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.4.0.tgz","fileCount":69,"integrity":"sha512-XXaEjQ1N8HcUC2q0Zi9L4g9zX5EDzUeQGYfd5vTfA1N6TQYVL6/jbO9Wdjrf0tRX7xdj+jTPhcNhfGrWbbrW4A==","signatures":[{"sig":"MEYCIQDMx1dgZuaPaoUj4xr9Hw30RjEJchLdgm25gsywJPnSrAIhAMzDJRrzzNesdNn4XukHO3uCyIVfb6kzrBgPlUQ22FXM","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1070316},"engines":{"node":">=22.0.0"},"gitHead":"d2db862b9e721a06c69b2b9c99a04b248d292e43","scripts":{"dev":"tsx src/index.ts","test":"node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.4.0_1778002736815_0.5241295572057798","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@deibygs/claudestat","version":"0.5.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@0.5.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"134b3d831e0ce88f877403aa3ac9368191d642d4","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-0.5.0.tgz","fileCount":69,"integrity":"sha512-2VSZlRbuh93A+j2k9gP5bUpI+9dF3iUyffY4JN15Lnq/Y/A8zodp9ok3L522tiwDpySptkHe36ItKFUiZFLHmQ==","signatures":[{"sig":"MEUCIFxRWXmiPBmwKIBdIV5z9YFuE0EAmpq/kabDZasP2sNzAiEAivqH7l3nEfYRVUDAh529h3ZSdmCdTypX9p/tfM0OqHI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1087287},"engines":{"node":">=22.0.0"},"gitHead":"35505ab2a6f53df5f845b315da68727b4196be56","scripts":{"dev":"tsx src/index.ts","test":"node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_0.5.0_1778227926274_0.1394330808438704","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@deibygs/claudestat","version":"1.0.0","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"license":"MIT","_id":"@deibygs/claudestat@1.0.0","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"homepage":"https://github.com/DeibyGS/claudestat#readme","bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"bin":{"claudestat":"dist/index.js"},"dist":{"shasum":"cf0cce76632c563c272a75236a6d0d30f0f966db","tarball":"https://registry.npmjs.org/@deibygs/claudestat/-/claudestat-1.0.0.tgz","fileCount":80,"integrity":"sha512-2k0Ppva1ruu19YS/AytzI0J6drTQQu9z26RB7cvX5BFlP8CDbkJy4uBn/fOjuzWoxh+4Lar30rwV6jqjSGqIVA==","signatures":[{"sig":"MEUCIEUgyv+rr9aBzNJ0tuclntcT8AisuORmLGoayb457lvxAiEAjf9O7p6G7LG9Xe36TrShB2MxttCYvEsfUWj4tAwM1B0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1109301},"engines":{"node":">=22.0.0"},"gitHead":"fa23a90116cdf2d25beb010f978eae7a45af1b19","scripts":{"dev":"tsx src/index.ts","test":"node --require tsx/cjs tests/index.ts","build":"tsc && npm run build:dashboard","start":"node dist/index.js","prepack":"npm run build","dev:full":"tsx src/index.ts start & sleep 1 && cd dashboard && npm run dev","prepublishOnly":"npm run build","build:dashboard":"cd dashboard && npm install && npm run build"},"_npmUser":{"name":"deibygs","email":"deibygorrin@gmail.com"},"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"_npmVersion":"11.6.3","description":"Real-time execution trace and cost intelligence for Claude Code","directories":{},"_nodeVersion":"22.17.0","dependencies":{"express":"^4.19.2","chokidar":"^3.6.0","commander":"^12.1.0","@anthropic-ai/sdk":"^0.88.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.7.2","typescript":"^5.4.5","@types/node":"^20.12.0","@types/express":"^4.17.21"},"_npmOperationalInternal":{"tmp":"tmp/claudestat_1.0.0_1778415736986_0.9933504532373203","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This package has moved to @statforge/claudestat — npm install -g @statforge/claudestat"}},"time":{"created":"2026-04-28T17:40:40.230Z","modified":"2026-05-10T17:01:07.906Z","0.1.0":"2026-04-28T17:40:40.810Z","0.1.1":"2026-04-28T21:55:36.779Z","0.1.2":"2026-04-28T22:05:21.701Z","0.1.3":"2026-04-28T22:29:03.693Z","0.2.0":"2026-04-29T09:52:19.546Z","0.2.1":"2026-04-29T10:59:54.408Z","0.2.3":"2026-04-29T11:29:27.079Z","0.2.4":"2026-04-29T15:15:34.424Z","0.2.5":"2026-04-29T16:55:58.214Z","0.3.0":"2026-05-05T15:38:11.818Z","0.4.0":"2026-05-05T17:38:57.068Z","0.5.0":"2026-05-08T08:12:06.489Z","1.0.0":"2026-05-10T12:22:17.169Z"},"bugs":{"url":"https://github.com/DeibyGS/claudestat/issues"},"license":"MIT","homepage":"https://github.com/DeibyGS/claudestat#readme","keywords":["claude","claude-code","anthropic","ai","cli","monitoring","cost","token","dashboard"],"repository":{"url":"git+https://github.com/DeibyGS/claudestat.git","type":"git"},"description":"Real-time execution trace and cost intelligence for Claude Code","maintainers":[{"name":"deibygs","email":"deibygorrin@gmail.com"}],"readme":"<div align=\"center\">\n\n# claudestat\n\n**Real-time execution trace and cost intelligence for Claude Code**\n\nHook into every tool call, token, and dollar — as it happens.\nWorks with Claude Pro, Max 5, and Max 20. Zero cloud dependencies. Pure Node.js. Runs on macOS, Linux, and Windows.\n\n[![npm version](https://img.shields.io/npm/v/@deibygs/claudestat?color=blue)](https://www.npmjs.com/package/@deibygs/claudestat)\n[![npm downloads](https://img.shields.io/npm/dw/@deibygs/claudestat?color=blue)](https://www.npmjs.com/package/@deibygs/claudestat)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green)](LICENSE)\n[![Node.js](https://img.shields.io/badge/node-%3E%3D22-brightgreen)](https://nodejs.org)\n[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-brightgreen)]()\n[![Tests](https://img.shields.io/badge/tests-208%2F208-brightgreen)]()\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](CONTRIBUTING.md)\n\n[Installation](#installation) • [Quick Start](#quick-start) • [Commands](#commands) • [Dashboard](#dashboard) • [Contributing](#contributing)\n\n![ClaudeStat dashboard](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225605/My%20portfolio%7D/ClaudeStat_vnfmup.png)\n\n---\n\n### See it in action\n\n*Live dashboard · terminal trace · quota guard — all running in real time*\n\n![claudestat demo](https://raw.githubusercontent.com/DeibyGS/claudestat/main/assets/demoClaudestat.gif)\n\n</div>\n\n---\n\n## Why?\n\nClaude Code is powerful — but it's a black box while it runs. You can't see what it's spending, how deep the context is, whether it's looping, or if you're about to hit your quota limit.\n\n**claudestat fixes that.** It taps into Claude Code's hook system to capture every event, stores it locally in SQLite, and shows you everything in a live dashboard or terminal trace.\n\n- Live tool trace with duration and token cost per call\n- Quota guard with configurable kill switch (block new sessions at X%)\n- Pattern analyzer: detects loops, Bash overuse, low cache reuse, and more\n- Per-session cost breakdown + cache savings + burn rate\n- AI-generated weekly usage reports\n\n---\n\n## How it works\n\n```\nClaude Code event\n      │\n      ▼\n  Hook script  (~/.claudestat/hooks/event.js)\n       │  POST JSON to daemon\n       ▼\n  Daemon  (localhost:7337)\n       │  stores events in SQLite\n       │  enriches with JSONL token data\n       │  runs pattern analyzer\n       ▼\n  Dashboard  (React + Vite, auto-refreshes)\n       │\n       ▼\n  You see everything — live\n```\n\n> **Windows paths**: Claude Code stores its data in `~/.claude/` on all platforms (macOS, Linux, and Windows). ClaudeStat detects the correct path automatically.\n\n---\n\n## Requirements\n\n- **Node.js >= 22** (required for `node:sqlite`)\n- **Claude Code** installed (`npm install -g @anthropic-ai/claude-code`)\n\n---\n\n## Installation\n\n```bash\nnpm install -g @deibygs/claudestat\n```\n\n> **Using NVM?** Make sure you're on your default Node version before installing to avoid stale binary conflicts:\n> ```bash\n> nvm use default && npm install -g @deibygs/claudestat\n> ```\n> Works with [nvm](https://github.com/nvm-sh/nvm) (macOS/Linux) and [nvm-windows](https://github.com/coreybutler/nvm-windows).\n\nThen wire up the hooks into Claude Code:\n\n```bash\nclaudestat install\n```\n\nThis modifies `~/.claude/settings.json` to add `SessionStart`, `PreToolUse`, `PostToolUse`, and `Stop` hooks. A backup is created before any change.\n\n> Restart Claude Code after installing so the hooks take effect.\n\n---\n\n## Quick Start\n\n```bash\n# 1. Start the background daemon\nclaudestat start\n\n# 2. Open the dashboard in your browser\n#    macOS:\nopen http://localhost:7337\n#    Windows:\nstart http://localhost:7337\n#    Linux:\nxdg-open http://localhost:7337\n\n# 3. Or watch a live terminal trace\nclaudestat watch\n```\n\nThat's it. Start a Claude Code session and watch the events flow in.\n\n---\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `claudestat start` | Start the background daemon |\n| `claudestat stop` | Stop the daemon |\n| `claudestat restart` | Restart the daemon |\n| `claudestat install` | Install hooks into Claude Code |\n| `claudestat uninstall` | Remove hooks from Claude Code |\n| `claudestat watch` | Live terminal trace view |\n| `claudestat status` | Show quota, cost, and burn rate |\n| `claudestat config` | View or edit configuration |\n| `claudestat top` | Rank tools by cost, call count, or duration |\n| `claudestat export [format]` | Export session data to JSON or CSV |\n| `claudestat doctor` | Check installation health and diagnose issues |\n\n### `claudestat watch`\n\nLive terminal trace — every tool call as it happens, with duration and token cost.\n\n```\nclaudestat watch\n\n  ● Session a3f1bc · my-project · claude-sonnet-4-5\n\n  16:42:01  Bash            342ms    1,240 tok   $0.0018\n  16:42:03  Read             89ms      420 tok   $0.0006\n  16:42:05  Edit            124ms      890 tok   $0.0013\n  16:42:08  Agent (haiku)    2.1s    3,200 tok   $0.0024\n  16:42:11  Write            67ms      310 tok   $0.0004\n\n  Context: 42,800 / 200,000 (21%)  │  Session cost: $0.0065  │  🟢 healthy\n```\n\n### `claudestat top`\n\nRanks your most-used tools by estimated cost, call count, or duration across all sessions.\n\n```\nclaudestat top\n\n  🏆 claudestat top — by est. cost (last 30 days)\n\n  #  Tool              Calls    Duration   Est. Cost      %\n  ── ───────────────── ──────── ───────────── ───────── ────\n   1  Bash              1,240       18.3m     $1.24    38%\n   2  Read                890        4.1m     $0.87    27%\n   3  Edit                430        2.8m     $0.61    19%\n   4  Agent (haiku)       120        9.2m     $0.38    12%\n   5  Write               210        1.1m     $0.12     4%\n```\n\nOptions: `--by cost|count|duration` · `--days 7|30|90` · `--limit N`\n\n### `claudestat status`\n\n```\nclaudestat status\n\n  Quota 5h   45/50 prompts (90%)  |  reset in 22m\n  Plan        MAX5\n  Sonnet      3.2h / 5h  this week\n  Burn rate   1,240 tok/min\n```\n\n### `claudestat doctor`\n\nDiagnoses common installation problems — useful if `claudestat start` fails or hooks are not firing.\n\n```\nclaudestat doctor\n\n🩺 claudestat doctor\n──────────────────────────────────────────────\n  ✓  Node.js version (22.17.0)\n  ✓  Claude Code installed\n  ✓  Hooks installed in Claude Code\n  ✓  ~/.claudestat/ data directory exists\n  ✓  Hook script deployed (~/.claudestat/hooks/event.js)\n  ✓  Daemon running (localhost:7337)\n  ✓  Global CLI symlink valid\n──────────────────────────────────────────────\n  All checks passed — claudestat is healthy!\n```\n\nIf a check fails, `doctor` prints the exact fix command to run.\n\n---\n\n### `claudestat export`\n\nExport session data to JSON or CSV. Supports date and project filters.\n\n```bash\n# Export all sessions as JSON to stdout\nclaudestat export\n\n# Export as CSV to a file\nclaudestat export csv --output ~/sessions.csv\n\n# Filter by date range\nclaudestat export json --from 2025-05-01 --to 2025-05-31\n\n# Filter by project name (case-insensitive substring match)\nclaudestat export csv --project myapp --output myapp-sessions.csv\n\n# Multiple filters combined\nclaudestat export json --from 2025-05-01 --project claudestat --output may-claudestat.json\n```\n\n**Options:** `--from YYYY-MM-DD` · `--to YYYY-MM-DD` · `--project <name>` · `--output <path>`\n\nEach row includes: `id`, `started_at`, `cwd`, `project_path`, `total_cost_usd`, `total_input_tokens`, `total_output_tokens`, `efficiency_score`, `loops_detected`.\n\n---\n\n### `claudestat config`\n\n```bash\n# Enable kill switch — block new sessions when quota exceeds 95%\nclaudestat config --kill-switch true --threshold 95\n\n# Force plan detection instead of auto\nclaudestat config --plan max5   # pro | max5 | max20 | auto\n\n# Disable daemon rate limit alerts\nclaudestat config --alerts false\n```\n\nConfig is stored at `~/.claudestat/config.json` (macOS/Linux) or `%USERPROFILE%\\.claudestat\\config.json` (Windows).\n\n---\n\n## Dashboard\n\nThe dashboard lives at `http://localhost:7337` and has six tabs:\n\n### Live\nReal-time stream of every tool call in the active session. Shows tool name, duration, and token cost. Agent sub-calls expand into nested traces; Skill invocations collapse into labeled containers.\n\n![Live tab](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225605/My%20portfolio%7D/live_oeucqs.png)\n\n### History\nAll past sessions sorted by date. Each card shows total tokens (input + cache read + output), USD cost, efficiency score, and detected loops. Click any session to open its full tool trace, DAG view, and a compare panel.\n\n![History tab](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225605/My%20portfolio%7D/history_gy4tpb.png)\n\n### Projects\nGrid of every project you've worked on. Shows last active date, total sessions, cost, model usage breakdown (Sonnet / Haiku), and an efficiency progress bar.\n\n![Projects tab](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225606/My%20portfolio%7D/projects_yeftby.png)\n\n### Analytics\n- 6 KPIs: total cost, tokens, cache savings, hidden loop waste, avg efficiency, session count\n- Token/cost trend charts (7 / 30 / 90 days)\n- Hours by project\n- AI-generated weekly reports (auto-scheduled or on demand)\n\n![Analytics KPIs](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225605/My%20portfolio%7D/analitycsOne_yx9tcp.png)\n\n![Analytics charts](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225604/My%20portfolio%7D/analitycsTwo_wzjsf2.png)\n\n### Top\nTool rankings across all your sessions. Sortable by estimated cost, call count, or duration — with a time filter (7 / 30 / 90 days). Also shows projected weekly and monthly spend based on your recent burn rate.\n\n![Top tab](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225606/My%20portfolio%7D/top_pybyxy.png)\n\n### System\nDaemon health, DB size, Node version, config file paths, and memory context.\n\n![System tab](https://res.cloudinary.com/dgscloudinary/image/upload/v1778225606/My%20portfolio%7D/system_ixurjb.png)\n\n---\n\n## Configuration reference\n\nConfig is stored at `~/.claudestat/config.json` (macOS/Linux) or `%USERPROFILE%\\.claudestat\\config.json` (Windows) and created automatically on first run.\n\n```json\n{\n  \"killSwitchEnabled\": false,\n  \"killSwitchThreshold\": 95,\n  \"warnThresholds\": [70, 85, 95],\n  \"plan\": null,\n  \"alertsEnabled\": true,\n  \"reportsEnabled\": false,\n  \"reportFrequency\": \"weekly\",\n  \"reportDay\": 1,\n  \"reportTime\": \"09:00\"\n}\n```\n\n| Key | Default | Description |\n|---|---|---|\n| `killSwitchEnabled` | `false` | Enable the quota kill switch. When `true`, new Claude Code sessions are blocked once your quota reaches the threshold. |\n| `killSwitchThreshold` | `95` | Quota percentage (0–100) at which the kill switch activates. Only relevant when `killSwitchEnabled` is `true`. |\n| `warnThresholds` | `[70, 85, 95]` | Three quota percentages for yellow, orange, and red warnings in the dashboard and daemon alerts. |\n| `plan` | `null` | Force plan detection. Valid values: `\"pro\"`, `\"max5\"`, `\"max20\"`. Leave `null` to auto-detect. |\n| `alertsEnabled` | `true` | Enable daemon rate limit alerts — polls quota every 60s and logs a warning (with optional desktop notification) when thresholds are crossed. |\n| `reportsEnabled` | `false` | Enable automatic AI-generated usage reports on a schedule. |\n| `reportFrequency` | `\"weekly\"` | How often to generate reports. Valid values: `\"weekly\"`, `\"biweekly\"`, `\"monthly\"`. |\n| `reportDay` | `1` | Day of week for reports (0=Sun, 1=Mon … 6=Sat). |\n| `reportTime` | `\"09:00\"` | Time of day (HH:MM) when the report is generated. |\n\nYou can edit the file directly or use the CLI:\n\n```bash\n# Enable kill switch at 90% quota\nclaudestat config --kill-switch true --threshold 90\n\n# Force plan (useful if auto-detect is wrong)\nclaudestat config --plan max5\n```\n\n---\n\n## Troubleshooting\n\n**`claudestat start` hangs for ~5 seconds**\nNormal — `require('express')` takes a few seconds on first load. The daemon is starting.\n\n**Hooks are not firing / dashboard shows no events**\nRun `claudestat doctor` — it checks every component and prints the exact fix command.\nIf hooks were installed before upgrading, run `claudestat uninstall && claudestat install` to refresh.\n\n**`claudestat` command not found after install**\nIf using NVM, the binary may point to the wrong Node version:\n```bash\nnvm use default && npm install -g @deibygs/claudestat\nhash -r claudestat   # macOS/Linux — refresh shell binary cache\n```\n\n**Working with multiple projects**\nclaudestat tracks every project automatically. The Projects tab groups sessions by working directory. Use `claudestat export --project <name>` to export data for a specific project.\n\n**Approaching rate limit**\nWhen the daemon is running, it polls quota every 60s and logs a warning to stderr when you cross 70%, 85%, or 95%. On macOS and Linux you also get a desktop notification at the `killSwitchThreshold`.\nTo see current quota at any time: `claudestat status`\n\n**Kill switch is blocking new sessions**\nThe kill switch only activates when `killSwitchEnabled: true` AND `cyclePct >= killSwitchThreshold`.\nTo disable: `claudestat config --kill-switch false`\nOr wait for the 5h quota window to reset (check time remaining with `claudestat status`).\n\n**`node:sqlite` experimental warning**\nExpected on Node 22+. claudestat suppresses it automatically — you won't see it in normal use.\n\n---\n\n## Roadmap\n\nPlanned for upcoming versions:\n\n- **Multi-account support** — track usage across multiple Claude accounts\n- **Slack / webhook alerts** — get notified when quota reaches warning thresholds\n- **VS Code extension** — sidebar panel with live stats inside the editor\n\nHave an idea? [Open an issue](https://github.com/DeibyGS/claudestat/issues) or submit a PR.\n\n---\n\n## Uninstall\n\n```bash\nclaudestat uninstall        # removes hooks from Claude Code settings\n\n# macOS / Linux:\nrm -rf ~/.claudestat        # removes DB, config, and PID file\n\n# Windows (PowerShell):\nRemove-Item -Recurse -Force \"$env:USERPROFILE\\.claudestat\"\n```\n\n---\n\n## Contributing\n\n**claudestat is open source and PRs are welcome.**\n\nWhether you want to fix a bug, improve a dashboard view, add a new pattern to the analyzer, or support a new provider — contributions are encouraged.\n\n### How to contribute\n\n1. Fork the repository\n2. Create a branch: `git checkout -b feat/your-feature`\n3. Make your changes\n4. Run the test suite: `npm test` (208 tests)\n5. Open a PR with a clear description of what you changed and why\n\n### Good first areas\n\n- **Pattern analyzer** (`src/pattern-analyzer.ts`) — add new usage patterns or improve thresholds\n- **Dashboard components** (`dashboard/src/components/`) — UI improvements, new charts, accessibility\n- **New commands** — ideas like `claudestat compare`\n- **Bug reports** — open an issue with steps to reproduce and your Node/OS version\n\n### Running locally\n\n```bash\ngit clone https://github.com/YOUR_USERNAME/claudestat\ncd claudestat\nnpm install\nnpm run dev:full   # starts daemon + dashboard hot-reload together\nnpm test           # run all tests\n```\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for full guidelines.\n\n---\n\n## License\n\nMIT — use it, fork it, ship it.\n","readmeFilename":"README.md"}