{ "name": "@laoyuehanni/dsh-token-usage", "version": "0.3.12", "description": "dsh local plugin: persist per-request model token usage (live hook + first-run history backfill + web settings stats page)", "keywords": [ "dsh", "deepseek", "cordis", "plugin", "token-usage", "tokens", "statistics" ], "homepage": "https://github.com/LaoYueHanNi/dsh-token-usage#readme", "bugs": { "url": "https://github.com/LaoYueHanNi/dsh-token-usage/issues" }, "license": "MIT", "author": "LaoYueHanNi", "repository": { "type": "git", "url": "git+https://github.com/LaoYueHanNi/dsh-token-usage.git" }, "type": "module", "main": "lib/index.js", "types": "lib/index.d.ts", "exports": { ".": { "types": "./lib/index.d.ts", "default": "./lib/index.js" }, "./client": { "types": "./lib/client/index.d.ts", "default": "./lib/client.js" }, "./package.json": "./package.json" }, "files": [ "lib", "cordis.patch.yml", "README.md", "README.zh.md" ], "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web", "inject": [ "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-ui-settings-plugins" ] } }, "scripts": { "build": "tsc -p tsconfig.json", "build:client": "tsdown", "typecheck": "tsc -p tsconfig.json --noEmit", "test": "vitest run", "prepublishOnly": "npm run typecheck && npm run test && npm run build && npm run build:client" }, "engines": { "node": ">=22.19" }, "peerDependencies": { "@deepseek-ai/dsh-credentials": "^0.1.1-rc.2", "@deepseek-ai/dsh-settings": "^0.1.1-rc.2", "@deepseek-ai/schemastery": "^3.18.1" }, "devDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-client-locale": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-runtime": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-conversation": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-settings": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-slots": "^0.1.1-rc.2", "@deepseek-ai/dsh-host-webserver": "^0.1.1-rc.2", "@deepseek-ai/dsh-llm": "^0.1.1-rc.2", "@deepseek-ai/dsh-session": "^0.1.1-rc.2", "@deepseek-ai/dsh-session-persistence": "^0.1.1-rc.2", "@deepseek-ai/dsh-session-stats": "^0.1.1-rc.2", "@testing-library/react": "^16.0.0", "@types/node": "^24.0.0", "@types/react": "^18.3.1", "jsdom": "^25.0.0", "lightningcss": "^1.32.0", "react": "^18.3.1", "react-dom": "^18.3.1", "tsdown": "^0.22.2", "typescript": "^5.8.0", "vitest": "^3.0.0" } }