{
  "name": "@etheslay/dsh-token-dashboard",
  "version": "0.1.4",
  "description": "Token-usage profile for DeepSeek Harness — a Codex-style usage panel inside Settings: lifetime tokens, a year of activity, cache hit rate and top models. · DSH 用量统计面板：在设置里查看累计 token、一年活动热力图、缓存命中率与最常用模型。",
  "keywords": [
    "dsh",
    "dsh-plugin",
    "deepseek",
    "deepseek-harness",
    "token",
    "usage",
    "dashboard",
    "statistics",
    "cordis",
    "react"
  ],
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Etheslay/dsh-token-dashboard.git"
  },
  "homepage": "https://github.com/Etheslay/dsh-token-dashboard#readme",
  "bugs": {
    "url": "https://github.com/Etheslay/dsh-token-dashboard/issues"
  },
  "publishConfig": {
    "access": "public",
    "registry": "https://registry.npmjs.org/"
  },
  "type": "module",
  "main": "lib/index.js",
  "types": "lib/types/host/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/types/host/index.d.ts",
      "default": "./lib/index.js"
    },
    "./client": {
      "types": "./lib/types/client/index.d.ts",
      "default": "./lib/client.js"
    },
    "./cordis.patch.yml": "./cordis.patch.yml",
    "./package.json": "./package.json"
  },
  "files": [
    "lib",
    "cordis.patch.yml",
    "LICENSE",
    "NOTICE",
    "CHANGELOG.md",
    "README.md",
    "README.en.md",
    "docs/panel-overview.png",
    "docs/panel-insights.png"
  ],
  "dsh": {
    "bundle": {
      "patch": "./cordis.patch.yml"
    },
    "client": {
      "inject": [
        "@deepseek-ai/dsh-client-locale",
        "@deepseek-ai/dsh-client-ui-settings"
      ],
      "platform": "web"
    }
  },
  "comment:peerDependencies": "These are provided by the DSH host process / browser module table at runtime. They are marked optional so npm never tries to fetch them, and the package itself has no runtime dependencies of its own.",
  "peerDependencies": {
    "@deepseek-ai/cordis": "^4.0.0",
    "@deepseek-ai/dsh-client-locale": "*",
    "@deepseek-ai/dsh-client-ui-primitives": "*",
    "@deepseek-ai/dsh-client-ui-settings": "*",
    "@deepseek-ai/dsh-host-webserver": "*",
    "react": "^18.2.0"
  },
  "peerDependenciesMeta": {
    "@deepseek-ai/cordis": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-locale": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-primitives": {
      "optional": true
    },
    "@deepseek-ai/dsh-client-ui-settings": {
      "optional": true
    },
    "@deepseek-ai/dsh-host-webserver": {
      "optional": true
    },
    "react": {
      "optional": true
    }
  },
  "devDependencies": {
    "@types/node": "^22.10.2",
    "@types/react": "^18.3.12",
    "@types/react-dom": "^18.3.7",
    "esbuild": "^0.24.0",
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "typescript": "^5.7.2"
  },
  "engines": {
    "node": ">=22.18.0",
    "dsh": "^0.2.0-rc.2"
  },
  "scripts": {
    "build": "node scripts/build.mjs",
    "typecheck": "tsc --noEmit",
    "test": "node tests/readme.test.mjs && node tests/fold.test.mjs && node tests/render.test.mjs && node tests/client-bundle.test.mjs && node tests/host-route.test.mjs",
    "test:fold": "node tests/fold.test.mjs",
    "test:render": "node tests/render.test.mjs",
    "test:client": "node tests/client-bundle.test.mjs",
    "test:host": "node tests/host-route.test.mjs",
    "preview": "node scripts/preview.mjs",
    "check:layout": "node tools/check-panel-layout.mjs",
    "refresh:profile": "node tools/refresh-profile.mjs",
    "prepack": "node scripts/build.mjs",
    "test:readme": "node tests/readme.test.mjs"
  }
}
