{
  "name": "dsh-cost-meter",
  "version": "1.7.40",
  "description": "DeepSeek Harness 会话费用统计插件:本会话成本、当日费用、历史记录与官方价格同步,支持多厂商多模型价格计费(内置 90+ 模型价格目录与自动匹配)、主流 Coding Plan 订阅额度查询与显示(11 家,含小米 MiMo Token Plan 控制台 Cookie 查询、SCNet Token Plan 本地 Credits 计量与火山方舟 Volcano Ark Coding Plan AK/SK 签名查询)、自定义 Provider 余额查询(可配任意 HTTP 端点)与余额进度条、峰谷计价时段显示与切换前弹窗/系统通知提醒(位置/提前量/类型可配),界面中英双语。Session cost tracking plugin for DeepSeek Harness: per-conversation cost, daily totals, history and official price sync, with multi-vendor model pricing (built-in 90+ model catalog with auto-matching), Coding Plan quota queries & display for 11 vendors (incl. Xiaomi MiMo Token Plan via console cookie, local credits metering for the SCNet Token Plan and Volcano Ark Coding Plan via AK/SK signature), plan/API dual-track billing with per-1% & full-window Token Plan usage estimates, custom provider balance lookup (configurable HTTP endpoint) and balance progress bar, plus peak/off-peak pricing display with pre-switch popup & system-notification alerts (position / lead time / type configurable), in a bilingual (Chinese/English) UI.",
  "type": "module",
  "main": "lib/index.js",
  "bin": {
    "dsh-cost-meter-repair-sessions": "./lib/repair-sessions-cli.js"
  },
  "exports": {
    ".": {
      "default": "./lib/index.js"
    },
    "./client": {
      "default": "./lib/client.js"
    },
    "./typert": {
      "default": "./lib/typert.host.js"
    },
    "./package.json": "./package.json",
    "./locale/*.json": "./locale/*.json"
  },
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "platform": "web"
    },
    "compatibility": {
      "dsh": ">=0.1.0-rc.5",
      "dshReleases": {
        "0.1.2-alpha.3": "compatible",
        "0.1.2-alpha.4": "compatible",
        "0.1.2-alpha.5": "compatible",
        "0.1.2-rc.1": "compatible",
        "0.1.3-alpha.1": "unknown",
        "0.1.3-alpha.2": "compatible",
        "0.1.5-alpha.1": "compatible"
      }
    }
  },
  "dshhub": {
    "schemaVersion": 1,
    "displayName": "dsh-cost-meter",
    "summary": "DeepSeek Harness 会话费用统计:本会话费用、预算图框、官方余额、自定义 Provider 余额查询、Coding Plan 额度查询、历史记录,支持峰谷计价(切换前弹窗与系统通知提醒)与官方价格一键同步。",
    "categories": [
      "费用",
      "Web UI",
      "观测"
    ],
    "surfaces": [
      "host",
      "web"
    ],
    "capabilities": {
      "provides": [
        "service:cost-meter"
      ]
    },
    "compatibility": {
      "dsh": ">=0.1.0-rc.5",
      "node": ">=20"
    },
    "permissions": {
      "network": [
        "https://api.deepseek.com",
        "https://api-docs.deepseek.com",
        "https://open.volcengineapi.com",
        "https://ark.cn-beijing.volces.com",
        "https://opencode.ai",
        "https://api.anthropic.com",
        "https://api.z.ai",
        "https://open.bigmodel.cn",
        "https://www.minimaxi.com",
        "https://www.minimax.cn",
        "https://www.minimax.io",
        "https://api.kimi.com",
        "https://api.moonshot.cn",
        "https://openrouter.ai",
        "https://api.siliconflow.cn",
        "https://api.commandcode.ai",
        "https://ax.ac.sugon.com",
        "https://platform.qianwenai.com",
        "https://platform-home.qianwenai.com",
        "https://business.aliyuncs.com",
        "https://platform.xiaomimimo.com"
      ]
    }
  },
  "files": [
    "locale",
    "lib",
    "cordis.patch.yml",
    "docs/provider-pricing.json",
    "docs/external-usage.md"
  ],
  "dependencies": {
    "zod": "4.5.1"
  },
  "peerDependencies": {
    "@deepseek-ai/dsh-credentials": "^0.1.0-rc.6 || ^0.1.1-0 || ^0.1.2-0 || ^0.1.3-0 || ^0.1.5-0",
    "@deepseek-ai/dsh-home-paths": "^0.1.0-rc.6 || ^0.1.1-0 || ^0.1.2-0 || ^0.1.3-0 || ^0.1.5-0"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Han-1413141/dsh-cost-meter.git"
  },
  "homepage": "https://github.com/Han-1413141/dsh-cost-meter#readme",
  "keywords": [
    "deepseek",
    "deepseek-harness",
    "dsh",
    "dsh-plugin",
    "client-plugin",
    "cost",
    "usage",
    "billing",
    "budget",
    "i18n",
    "bilingual",
    "zh",
    "en",
    "language"
  ],
  "license": "MIT",
  "engines": {
    "node": ">=20"
  },
  "os": [
    "darwin",
    "linux",
    "win32"
  ],
  "scripts": {
    "build": "node scripts/build.mjs",
    "test": "node test/verify.mjs"
  },
  "devDependencies": {
    "@deepseek-ai/dsh-credentials": "0.1.0-rc.8",
    "@deepseek-ai/dsh-home-paths": "0.1.0-rc.8",
    "esbuild": "^0.28.2"
  }
}
