{"_id":"@dude1wudv/omp-stats","_rev":"9-486995d5b6f94bfdc3efede90d99e059","name":"@dude1wudv/omp-stats","dist-tags":{"latest":"20.1.9"},"versions":{"20.1.0":{"name":"@dude1wudv/omp-stats","version":"20.1.0","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.0","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"23d42e350d026ba2162443753485fcf07481caea","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.0.tgz","fileCount":126,"integrity":"sha512-Ij2eKo10BdE8yUcJquqAE6VB9UP0J6BUqJxdKRzFfZHr204dXdWkYPINoqK0i1X181u7LcEXd/oVfOuaCsvn5Q==","signatures":[{"sig":"MEQCIEO7IlTQbaKW5rcekVgBqklnY9U1HHNdtU4/UXK9+u9sAiBnGxwXVcmns62x4LtC6692+GxvKnQITQaWKUPi0GLrrQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/sun/AppData/Local/Temp/omp-pack-CFNGf3/dude1wudv-omp-stats-20.1.0.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\sun\\AppData\\Local\\Temp\\omp-pack-CFNGf3\\dude1wudv-omp-stats-20.1.0.tgz","_integrity":"sha512-Ij2eKo10BdE8yUcJquqAE6VB9UP0J6BUqJxdKRzFfZHr204dXdWkYPINoqK0i1X181u7LcEXd/oVfOuaCsvn5Q==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"11.12.1","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"24.15.0","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.0","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.0","@dude1wudv/pi-catalog":"20.1.0"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.0_1786730832403_0.5296064203008175","host":"s3://npm-registry-packages-npm-production"}},"20.1.2":{"name":"@dude1wudv/omp-stats","version":"20.1.2","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.2","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"79600ee1762e5a746cb857fe9ebbf05924d04643","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.2.tgz","fileCount":126,"integrity":"sha512-7JwL5bmqRgb8+pNBGG/r9v0LDHu6Gz7jCpOhUDlG0fdm+x7rWcocVVHwstppWeWDWkzi/rmPFPSvMAlRJZO8dg==","signatures":[{"sig":"MEYCIQC2Fji5QlVwLkPZ8t5I++dJBKEQL1DWj5f49qA2CnJaigIhAMUh2nn5fH2AyQjR1rgdKQAb6nDHqQna3PvXg2L9dCbq","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/sun/AppData/Local/Temp/omp-pack-BWq62N/dude1wudv-omp-stats-20.1.2.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\sun\\AppData\\Local\\Temp\\omp-pack-BWq62N\\dude1wudv-omp-stats-20.1.2.tgz","_integrity":"sha512-7JwL5bmqRgb8+pNBGG/r9v0LDHu6Gz7jCpOhUDlG0fdm+x7rWcocVVHwstppWeWDWkzi/rmPFPSvMAlRJZO8dg==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"11.12.1","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"24.15.0","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.2","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.2","@dude1wudv/pi-catalog":"20.1.2"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.2_1786776445518_0.8167326566982454","host":"s3://npm-registry-packages-npm-production"}},"20.1.3":{"name":"@dude1wudv/omp-stats","version":"20.1.3","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.3","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"5dccbfd2f4e1b3518aaae4c01c8a8a58f1c9f804","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.3.tgz","fileCount":126,"integrity":"sha512-I2l8VpWgp9oOP5IpeEUiUyvKbTSNre5hQzeTcfULWZatrAy22n4k8IAbKYCO0f21RJ714zCKR2cdJKU9wYnwsA==","signatures":[{"sig":"MEUCIDYg7I/vFVraZMaGsT3PfZa3nA50SJRqcl0xaFo2MlpTAiEA0kagVFTm3tTTdHnYe4MXmoqvnvQreLRHZaOTT3M2PVM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-nejPpB/dude1wudv-omp-stats-20.1.3.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-nejPpB\\dude1wudv-omp-stats-20.1.3.tgz","_integrity":"sha512-I2l8VpWgp9oOP5IpeEUiUyvKbTSNre5hQzeTcfULWZatrAy22n4k8IAbKYCO0f21RJ714zCKR2cdJKU9wYnwsA==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.3","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.3","@dude1wudv/pi-catalog":"20.1.3"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.3_1786786430357_0.6195120811869117","host":"s3://npm-registry-packages-npm-production"}},"20.1.4":{"name":"@dude1wudv/omp-stats","version":"20.1.4","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.4","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"bf2a173fdda24ddf72d473e97f73bd6d12b8a9d0","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.4.tgz","fileCount":126,"integrity":"sha512-PKbxT+J7sdXuZnfzBB1icfY/PvaJEz0i6tw95FhtBEamjghHDmiFMZMLplsFCcLC9rTLysb6+p2iSzs4zLrikw==","signatures":[{"sig":"MEQCIHyMZWtRZTWWkTnV3Phf3/uxplfqgrWhoZixshWnqaaEAiAq64TVkL1DCJB6HtwyUK3KlXMwYiHNaCixUMcFzKzPTA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-rmFK5X/dude1wudv-omp-stats-20.1.4.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-rmFK5X\\dude1wudv-omp-stats-20.1.4.tgz","_integrity":"sha512-PKbxT+J7sdXuZnfzBB1icfY/PvaJEz0i6tw95FhtBEamjghHDmiFMZMLplsFCcLC9rTLysb6+p2iSzs4zLrikw==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.4","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.4","@dude1wudv/pi-catalog":"20.1.4"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.4_1786817615618_0.9558892099221201","host":"s3://npm-registry-packages-npm-production"}},"20.1.5":{"name":"@dude1wudv/omp-stats","version":"20.1.5","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.5","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"fc4e9d7c97edb817113f23ba8f13636a1d620eb0","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.5.tgz","fileCount":126,"integrity":"sha512-FA9WOhync6B2/AfNtSGS+6M2CqvPK+0jEhA9xYs/lZ3nZav0znGGnnYFjdSuyY9SQBreeH914rTDtDEL65pXyA==","signatures":[{"sig":"MEYCIQCqx03OUVFIv2CbpcBUcyid1JonQBIPkA+ziWRxil4FUAIhAL+R6mAouN+SRHBIMUufAVx8cmFJxFy71xaC91uW9QSO","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-6vmDQK/dude1wudv-omp-stats-20.1.5.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-6vmDQK\\dude1wudv-omp-stats-20.1.5.tgz","_integrity":"sha512-FA9WOhync6B2/AfNtSGS+6M2CqvPK+0jEhA9xYs/lZ3nZav0znGGnnYFjdSuyY9SQBreeH914rTDtDEL65pXyA==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.5","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.5","@dude1wudv/pi-catalog":"20.1.5"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.5_1786864046613_0.43297995514498266","host":"s3://npm-registry-packages-npm-production"}},"20.1.6":{"name":"@dude1wudv/omp-stats","version":"20.1.6","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.6","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"36123a4ded269e9ce73de7e928e44c0e65400e57","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.6.tgz","fileCount":126,"integrity":"sha512-aPwFHRAOXhBTjb/PkQJHYEJmjstIP0dFtgvrIhF4GKIbe/x0fujGR18ptmsSYT3pfIoGbe2eg4JMVoyz7AqdTA==","signatures":[{"sig":"MEQCICx9Nlb51pPv/ewKCE0gQVs9GkcXMqFCf9Z6jwavZmzDAiAQVFHhNmRRYuWdWz4sm0yNesvk9WZUcErAPeIweq9jyg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1274668},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-9Um0jj/dude1wudv-omp-stats-20.1.6.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-9Um0jj\\dude1wudv-omp-stats-20.1.6.tgz","_integrity":"sha512-aPwFHRAOXhBTjb/PkQJHYEJmjstIP0dFtgvrIhF4GKIbe/x0fujGR18ptmsSYT3pfIoGbe2eg4JMVoyz7AqdTA==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.6","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.6","@dude1wudv/pi-catalog":"20.1.6"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.6_1786872908828_0.023906648273705366","host":"s3://npm-registry-packages-npm-production"}},"20.1.7":{"name":"@dude1wudv/omp-stats","version":"20.1.7","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Can Boluk"},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.7","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"e1b53f2e8e20d025180b24166811dd3f62b1f2d7","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.7.tgz","fileCount":126,"integrity":"sha512-n02EPZiqMUCAUlxC5D3p9WAwP0UQp9lJ4+4F8Wrw+30PCq5oD1blKBNmPowyXOpQSCBWxUZfvflYyt8nwX6G0g==","signatures":[{"sig":"MEUCIQCmDG40CCN7reGnC5RURX2kkRbE3oNETxg8hiqvPfyOlQIgTDqvL1kzbX9U4ebdUjyuyMEMnEx1FCLmK4B74monnIw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1277180},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-yPo2IJ/dude1wudv-omp-stats-20.1.7.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-yPo2IJ\\dude1wudv-omp-stats-20.1.7.tgz","_integrity":"sha512-n02EPZiqMUCAUlxC5D3p9WAwP0UQp9lJ4+4F8Wrw+30PCq5oD1blKBNmPowyXOpQSCBWxUZfvflYyt8nwX6G0g==","repository":{"url":"git+https://github.com/can1357/oh-my-pi.git","type":"git","directory":"packages/stats"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.7","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.7","@dude1wudv/pi-catalog":"20.1.7"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.7_1787078949994_0.29028374289166536","host":"s3://npm-registry-packages-npm-production"}},"20.1.8":{"name":"@dude1wudv/omp-stats","version":"20.1.8","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"author":{"name":"Stencil Labs, Inc."},"license":"MIT","_id":"@dude1wudv/omp-stats@20.1.8","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"homepage":"https://omp.sh","bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"bin":{"omp-stats":"src/index.ts"},"dist":{"shasum":"1674e2982c87de5f71a3ef1638f54b58fd06327f","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.8.tgz","fileCount":128,"integrity":"sha512-YmZITM1CgluPgMBjK+ICM70fqfnCyglGdFrWDQ13yBltZ+wBTTGEBm0X0pOh2Kikv+9Rl+xRiaXnqBZpNYj1WA==","signatures":[{"sig":"MEQCIBqrzKXAW6ZGLjJP+DyX8xQITQfDRbLaefm6KcwlJ8QaAiAAydahfj+dSk4XASoaAytDZDhkGa6EMlLp1+ZVdgBl4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dude1wudv%2fomp-stats@20.1.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":2361527},"main":"./src/index.ts","type":"module","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-5g22aq/dude1wudv-omp-stats-20.1.8.tgz","types":"./dist/types/index.d.ts","engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./*.js":"./src/*.ts","./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"}},"scripts":{"dev":"bun run src/index.ts","fix":"biome check --write --unsafe .","fmt":"biome format --write .","lint":"biome lint .","build":"bun run build.ts","check":"biome check . && bun run check:types","gen:stats":"bun scripts/generate-client-bundle.ts --generate","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset"},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-5g22aq\\dude1wudv-omp-stats-20.1.8.tgz","_integrity":"sha512-YmZITM1CgluPgMBjK+ICM70fqfnCyglGdFrWDQ13yBltZ+wBTTGEBm0X0pOh2Kikv+9Rl+xRiaXnqBZpNYj1WA==","repository":{"url":"git+https://github.com/dude1wudv/oh-my-pi.git","type":"git"},"_npmVersion":"10.9.8","description":"Local observability dashboard for pi AI usage statistics","directories":{},"_nodeVersion":"22.23.2","dependencies":{"react":"19.2.7","chart.js":"^4.5.1","react-dom":"19.2.7","tailwindcss":"^4.3.2","lucide-react":"^1.24.0","react-chartjs-2":"^5.3.1","@dude1wudv/pi-ai":"20.1.8","@tailwindcss/node":"^4.3.2","@dude1wudv/pi-utils":"20.1.8","@dude1wudv/pi-catalog":"20.1.8"},"_hasShrinkwrap":false,"devDependencies":{"postcss":"^8.5.16","@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3"},"_npmOperationalInternal":{"tmp":"tmp/omp-stats_20.1.8_1787329693216_0.6476526661902522","host":"s3://npm-registry-packages-npm-production"}},"20.1.9":{"type":"module","name":"@dude1wudv/omp-stats","version":"20.1.9","description":"Local observability dashboard for pi AI usage statistics","homepage":"https://omp.sh","author":{"name":"Stencil Labs, Inc."},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/dude1wudv/oh-my-pi.git"},"bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"keywords":["ai","observability","metrics","dashboard","llm","statistics"],"main":"./src/index.ts","types":"./dist/types/index.d.ts","bin":{"omp-stats":"src/index.ts"},"scripts":{"gen:stats":"bun scripts/generate-client-bundle.ts --generate","gen:stats:reset":"bun scripts/generate-client-bundle.ts --reset","build":"bun run build.ts","dev":"bun run src/index.ts","check":"biome check . && bun run check:types","check:types":"tsgo -p tsconfig.json --noEmit && tsgo -p tsconfig.client.json --noEmit","lint":"biome lint .","fix":"biome check --write --unsafe .","fmt":"biome format --write ."},"dependencies":{"@dude1wudv/pi-ai":"20.1.9","@dude1wudv/pi-catalog":"20.1.9","@dude1wudv/pi-utils":"20.1.9","@tailwindcss/node":"^4.3.2","chart.js":"^4.5.1","lucide-react":"^1.24.0","react":"19.2.7","react-chartjs-2":"^5.3.1","react-dom":"19.2.7","tailwindcss":"^4.3.2"},"devDependencies":{"@types/bun":"^1.3.14","@types/react":"^19.2.17","@types/react-dom":"^19.2.3","postcss":"^8.5.16"},"engines":{"bun":">=1.3.14"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./src/index.ts"},"./*":{"types":"./dist/types/*.d.ts","import":"./src/*.ts"},"./client":{"types":"./dist/types/client/index.d.ts","import":"./src/client/index.tsx"},"./client/*":{"types":"./dist/types/client/*.d.ts","import":"./src/client/*.ts"},"./client/components/*":{"types":"./dist/types/client/components/*.d.ts","import":"./src/client/components/*.ts"},"./*.js":"./src/*.ts"},"_id":"@dude1wudv/omp-stats@20.1.9","_integrity":"sha512-B+s6khfyHL4JDtzAQEIPrj92W7t6AY3SCmR13B/6rGBcRWYDDA0MMoLBXCGaqd8WyUPke7opxJZi/UGQn9LI5g==","_resolved":"C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\omp-pack-c78oYm\\dude1wudv-omp-stats-20.1.9.tgz","_from":"file:C:/Users/RUNNER~1/AppData/Local/Temp/omp-pack-c78oYm/dude1wudv-omp-stats-20.1.9.tgz","_nodeVersion":"22.23.2","_npmVersion":"10.9.8","dist":{"integrity":"sha512-B+s6khfyHL4JDtzAQEIPrj92W7t6AY3SCmR13B/6rGBcRWYDDA0MMoLBXCGaqd8WyUPke7opxJZi/UGQn9LI5g==","shasum":"ff253bb410227b751c98e6350eeeacfbe35957c2","tarball":"https://registry.npmjs.org/@dude1wudv/omp-stats/-/omp-stats-20.1.9.tgz","fileCount":128,"unpackedSize":2361527,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dude1wudv%2fomp-stats@20.1.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDdiJCE4bwenloBiSL773XDDvQMUSdBTyf5ZnP2PZu0YgIhAOjfOzYERVw7i70eAU5QHakeP82+EpBS20XM4c72xv1b"}]},"_npmUser":{"name":"dude1wudv","email":"1602858215@qq.com"},"directories":{},"maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/omp-stats_20.1.9_1787369216373_0.6801753564914808"},"_hasShrinkwrap":false}},"time":{"created":"2026-08-14T18:07:12.189Z","modified":"2026-08-22T03:26:56.923Z","20.1.0":"2026-08-14T18:07:12.610Z","20.1.2":"2026-08-15T06:47:25.661Z","20.1.3":"2026-08-15T09:33:50.531Z","20.1.4":"2026-08-15T18:13:35.776Z","20.1.5":"2026-08-16T07:07:26.764Z","20.1.6":"2026-08-16T09:35:08.989Z","20.1.7":"2026-08-18T18:49:10.218Z","20.1.8":"2026-08-21T16:28:13.378Z","20.1.9":"2026-08-22T03:26:56.523Z"},"bugs":{"url":"https://github.com/can1357/oh-my-pi/issues"},"author":{"name":"Stencil Labs, Inc."},"license":"MIT","homepage":"https://omp.sh","keywords":["ai","observability","metrics","dashboard","llm","statistics"],"repository":{"type":"git","url":"git+https://github.com/dude1wudv/oh-my-pi.git"},"description":"Local observability dashboard for pi AI usage statistics","maintainers":[{"name":"dude1wudv","email":"1602858215@qq.com"}],"readme":"# @dude1wudv/omp-stats\n\nLocal observability dashboard for AI usage statistics.\n\n## Features\n\n- **Session log parsing**: Reads JSONL session logs from `~/.omp/agent/sessions/`\n- **SQLite aggregation**: Efficient stats storage and querying using `bun:sqlite`\n- **Web dashboard**: Real-time metrics visualization with Chart.js\n- **Incremental sync**: Only processes new/modified log entries\n\n## Metrics Tracked\n\n| Metric | Calculation |\n|--------|-------------|\n| Tokens/s | `output_tokens / (duration / 1000)` |\n| Cache Rate | `cache_read / (input + cache_read) * 100` |\n| Cache Savings | `(uncached prompt cost - actual prompt cost) / uncached prompt cost * 100` |\n| Error Rate | `count(stopReason=error) / total_calls * 100` |\n| Total Cost | Sum of `usage.cost.total` |\n| Avg Latency | Mean of `duration` |\n| TTFT | Mean of `ttft` (time to first token) |\n\n## Usage\n\n### Via CLI\n\n```bash\n# Start dashboard server (default: http://localhost:3847)\nomp stats\n\n# Custom port\nomp stats --port 8080\n\n# Print summary to console\nomp stats --summary\n\n# Output as JSON (for scripting)\nomp stats --json\n```\n\n### Programmatic\n\n```typescript\nimport { getDashboardStats, syncAllSessions } from \"@dude1wudv/omp-stats\";\n\n// Sync session logs to database\nconst { processed, files } = await syncAllSessions();\n\n// Get aggregated stats\nconst stats = await getDashboardStats();\nconsole.log(stats.overall.totalCost);\nconsole.log(stats.byModel[0].avgTokensPerSecond);\n```\n\n## API Endpoints\n\n| Endpoint | Description |\n|----------|-------------|\n| `GET /api/stats` | Overall stats with all breakdowns |\n| `GET /api/stats/models` | Per-model statistics |\n| `GET /api/stats/folders` | Per-folder/project statistics |\n| `GET /api/stats/timeseries` | Hourly time series data |\n| `GET /api/sync` | Trigger sync and return counts |\n\n## Data Storage\n\n- **Session logs**: `~/.omp/agent/sessions/` (JSONL files)\n- **Stats database**: `~/.omp/stats.db` (SQLite)\n\n## Dashboard\n\nThe web dashboard provides:\n\n- Overall metrics cards (requests, cost, cache rate, cache savings, error rate, duration, tokens/s)\n- Time series chart showing requests and errors over time\n- Per-model breakdown table\n- Per-folder breakdown table\n- Auto-refresh every 30 seconds\n\n## License\n\nMIT\n","readmeFilename":"README.md"}