{ "name": "@kidli1412/dsh-session-cost", "version": "0.2.0", "description": "DSH web plugin: a status bar at the bottom of the conversation showing the estimated API cost of the current session (per-model token pricing, CNY) plus the live DeepSeek account balance queried through the official balance API.", "type": "module", "main": "lib/index.js", "exports": { ".": "./lib/index.js", "./client": "./lib/client.js", "./cost": "./lib/cost.js", "./balance": "./lib/balance.js", "./package.json": "./package.json" }, "files": [ "lib", "docs", "cordis.patch.yml", "README.md", "LICENSE" ], "dependencies": { "@deepseek-ai/schemastery": "^3.18.2" }, "peerDependencies": { "@deepseek-ai/dsh-api-remotes": "^0.1.5-rc.1", "@deepseek-ai/dsh-client-connection": "^0.1.5-rc.1", "@deepseek-ai/dsh-client-locale": "^0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-conversation": "^0.1.5-rc.1", "@deepseek-ai/dsh-client-ui-settings": "^0.1.5-rc.1", "@deepseek-ai/dsh-credentials": "^0.1.5-rc.1", "@deepseek-ai/dsh-host-webserver": "^0.1.5-rc.1", "@deepseek-ai/dsh-session": "^0.1.5-rc.1", "@deepseek-ai/dsh-settings": "^0.1.5-rc.1" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web", "inject": [ "@deepseek-ai/dsh-api-remotes", "@deepseek-ai/dsh-client-connection", "@deepseek-ai/dsh-client-locale", "@deepseek-ai/dsh-client-ui-conversation", "@deepseek-ai/dsh-client-ui-settings" ] }, "compatibility": { "dshReleases": { "0.1.5-rc.1": "compatible", "0.1.5-rc.2": "compatible" } } }, "scripts": { "check": "node --check lib/cost.js && node --check lib/balance.js && node --check lib/index.js && node --check lib/client.js", "test": "node scripts/smoke.mjs && node scripts/dom-smoke.mjs && node scripts/settings-smoke.mjs && node scripts/session-shape-smoke.mjs", "prepublishOnly": "npm run check && npm test" }, "keywords": [ "dsh", "deepseek-harness", "plugin", "cost", "token", "usage", "balance", "费用", "余额" ], "license": "MIT", "engines": { "node": "^22.19.0 || >=24.0.0", "dsh": "^0.1.5-rc.1" }, "repository": { "type": "git", "url": "git+https://github.com/KIDLi1412/dsh-session-cost.git" }, "homepage": "https://github.com/KIDLi1412/dsh-session-cost#readme", "bugs": { "url": "https://github.com/KIDLi1412/dsh-session-cost/issues" }, "publishConfig": { "access": "public" } }