{ "name": "dsh-plugin-usage-ledger", "version": "0.3.0", "description": "Persistent model usage ledger and Web Usage dashboard for DeepSeek Harness", "type": "module", "main": "lib/index.js", "types": "lib/types/index.d.ts", "exports": { ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" }, "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" }, "./typert": { "types": "./lib/typert.host.d.ts", "default": "./lib/typert.host.js" }, "./remote": { "types": "./lib/typert.remote-client.d.ts", "default": "./lib/typert.remote-client.js" }, "./types": { "types": "./lib/types/types.d.ts", "default": "./lib/types/types.js" }, "./package.json": "./package.json" }, "files": [ "assets/usage-demo.mp4", "cordis.patch.yml", "lib/*.js", "lib/client.js", "lib/typert.host.js", "lib/typert.host.d.ts", "lib/typert.remote-client.js", "lib/typert.remote-client.d.ts", "lib/types/**/*.js", "lib/types/**/*.d.ts" ], "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/xie-tj/dsh-token-usage-ledger.git" }, "bugs": { "url": "https://github.com/xie-tj/dsh-token-usage-ledger/issues" }, "engines": { "node": "^22.19.0 || >=24.0.0" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "platform": "web", "inject": [ "@deepseek-ai/dsh-api-remotes", "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-ui-settings-plugins", "@deepseek-ai/dsh-client-locale" ] } }, "scripts": { "clean": "node scripts/clean.mjs", "typecheck:host": "tsc -b tsconfig.host.json && node scripts/normalize-declarations.mjs", "typecheck:client": "tsc -b tsconfig.client.json && node scripts/normalize-declarations.mjs", "typecheck": "pnpm run typecheck:host && pnpm run typecheck:client", "typecheck:test": "tsc -p tsconfig.test.json --noEmit && tsc -p tsconfig.test.host.json --noEmit", "bundle:host": "tsdown --env.DSH_BUILD_FACE host", "generate:typert": "node scripts/generate-typert.mjs", "bundle:client": "tsdown --env.DSH_BUILD_FACE client && node scripts/normalize-client.mjs", "build": "pnpm run clean && pnpm run typecheck:host && pnpm run bundle:host && pnpm run generate:typert && pnpm run typecheck:client && pnpm run bundle:client", "test": "pnpm run build && pnpm run typecheck:test && vitest run", "pack:check": "node scripts/check-pack.mjs" }, "dependencies": { "@deepseek-ai/schemastery": "3.18.2", "zod": "4.4.3" }, "peerDependencies": { "@deepseek-ai/cordis": "4.0.2", "@deepseek-ai/dsh-api-remotes": "0.1.2-alpha.5", "@deepseek-ai/dsh-brand": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-locale": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-settings": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-ui-slots": "0.1.2-alpha.5", "@deepseek-ai/dsh-llm": "0.1.2-alpha.5", "@deepseek-ai/dsh-llm-retry": "0.1.2-alpha.5", "@deepseek-ai/dsh-session": "0.1.2-alpha.5", "@deepseek-ai/dsh-session-persistence": "0.1.2-alpha.5", "@deepseek-ai/dsh-settings": "0.1.2-alpha.5", "@deepseek-ai/dsh-typert-protocol": "0.1.2-alpha.5", "react": "^18.2.0", "@deepseek-ai/dsh-scope": "0.1.2-alpha.5", "@deepseek-ai/dsh-session-projection": "0.1.2-alpha.5", "@deepseek-ai/dsh-agent": "0.1.2-alpha.5", "@deepseek-ai/dsh-timeout": "0.1.2-alpha.5" }, "devDependencies": { "@deepseek-ai/cordis": "4.0.2", "@deepseek-ai/dsh-api-remotes": "0.1.2-alpha.5", "@deepseek-ai/dsh-brand": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-locale": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-runtime": "0.1.1-rc.2", "@deepseek-ai/dsh-client-ui-settings": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-ui-settings-plugins": "0.1.2-alpha.5", "@deepseek-ai/dsh-client-ui-slots": "0.1.2-alpha.5", "@deepseek-ai/dsh-llm": "0.1.2-alpha.5", "@deepseek-ai/dsh-llm-retry": "0.1.2-alpha.5", "@deepseek-ai/dsh-session": "0.1.2-alpha.5", "@deepseek-ai/dsh-session-persistence": "0.1.2-alpha.5", "@deepseek-ai/dsh-settings": "0.1.2-alpha.5", "@deepseek-ai/dsh-typert-generator": "0.1.2-alpha.5", "@deepseek-ai/dsh-typert-protocol": "0.1.2-alpha.5", "@types/node": "^22.15.0", "@types/react": "~18.3.1", "@types/react-dom": "~18.3.7", "js-yaml": "^5.3.0", "jsdom": "^26.1.0", "lightningcss": "1.33.0", "react": "^18.2.0", "react-dom": "^18.3.1", "tsdown": "0.22.2", "typescript": "6.0.3", "vitest": "3.2.4", "@deepseek-ai/dsh-scope": "0.1.2-alpha.5", "@deepseek-ai/dsh-session-projection": "0.1.2-alpha.5", "@deepseek-ai/dsh-agent": "0.1.2-alpha.5", "@deepseek-ai/dsh-timeout": "0.1.2-alpha.5", "@deepseek-ai/dsh-invariants": "0.1.2-alpha.5", "@deepseek-ai/cordis-plugin-include": "1.0.7", "@deepseek-ai/cordis-plugin-loader": "1.0.3" } }