{ "name": "dsh-token-metrics", "version": "0.3.9", "private": false, "type": "module", "description": "统计所有经过 DeepSeek Harness 的模型调用:Token 用量、成本核算(含峰谷计价)、首字延迟与输出速度、供应商余额与配额、预算,并按模型/供应商/项目/来源/账号/日期拆分。", "exports": { ".": "./index.js", "./client": "./client.js", "./locale/*.json": "./locale/*.json", "./icon": "./icon.svg" }, "files": [ "index.js", "client.js", "src", "cordis.patch.yml", "locale/*.json", "icon.svg", "docs", "README.md", "README.en.md", "LICENSE" ], "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web", "immediately": true, "inject": [ "@deepseek-ai/dsh-client-ui-renderer", "@deepseek-ai/dsh-client-locale" ] } }, "scripts": { "test": "node test/host-test.mjs && node test/timing-test.mjs && node test/security-test.mjs && node test/selfcheck-test.mjs && node test/client-test.mjs && node test/update-test.mjs && node test/pricing-test.mjs && node test/balance-test.mjs && node test/providers-test.mjs && node test/discovery-test.mjs && node test/sync-test.mjs && node test/push-test.mjs && node test/metadata-test.mjs", "test:host": "node test/host-test.mjs", "test:client": "node test/client-test.mjs", "test:update": "node test/update-test.mjs", "test:metadata": "node test/metadata-test.mjs", "verify": "node test/verify-against-logs.mjs", "check": "node --check index.js && node --check client.js && node --check src/reload.js && node --check src/updater.js && npm test", "prepack": "npm run check", "test:pricing": "node test/pricing-test.mjs", "test:balance": "node test/balance-test.mjs", "test:sync": "node test/sync-test.mjs", "test:providers": "node test/providers-test.mjs", "test:discovery": "node test/discovery-test.mjs", "test:push": "node test/push-test.mjs", "test:timing": "node test/timing-test.mjs", "test:security": "node test/security-test.mjs", "test:selfcheck": "node test/selfcheck-test.mjs" }, "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/hugoyee75-cmyk/dsh-token-metrics.git" }, "homepage": "https://github.com/hugoyee75-cmyk/dsh-token-metrics#readme", "bugs": { "url": "https://github.com/hugoyee75-cmyk/dsh-token-metrics/issues" }, "author": "hugoyee75-cmyk", "keywords": [ "dsh-plugin", "deepseek-harness", "deepseek", "token-usage", "usage-statistics", "cost-tracking", "balance-monitor", "observability", "performance-metrics", "budget-tracking" ], "engines": { "node": "^22.19.0 || >=24.0.0", "dsh": ">=0.2.0" }, "peerDependencies": { "@deepseek-ai/cordis": "^4.0.5" }, "peerDependenciesMeta": { "@deepseek-ai/cordis": { "optional": true } } }