[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-109658":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":14,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":9,"rankLanguage":9,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":12,"lastSyncTime":30,"discoverSource":31},109658,"dsh-profile-stats","Lovenndme\u002Fdsh-profile-stats","Lovenndme","Personal usage profile page for the DeepSeek Harness Web UI: tokens, peak day, streaks, activity heatmap, per-provider billing split — all from local session logs.",null,"JavaScript",59,2,55,1,0,3,42.23,"MIT License",false,"main",true,[23,24,25],"deepseek-harness","dsh","dsh-plugin","2026-11-16 18:17:28","2026-11-20 07:26:41","\u003Cdiv align=\"center\">\n\n\u003Ch1>dsh-profile-stats\u003C\u002Fh1>\n\n\u003Cp>\u003Cb>A personal usage profile page in the DSH sidebar.\u003C\u002Fb>\u003Cbr>\nHow many tokens you have burned, when, on which model, and through which billing route —\u003Cbr>\nall folded from this machine's own session logs.\u003C\u002Fp>\n\n\u003Cp>\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fdsh-profile-stats\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Fdsh-profile-stats?style=flat-square&labelColor=1F2328&color=2DA44E&logo=npm&logoColor=white\" alt=\"npm version\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fdsh-profile-stats\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fdm\u002Fdsh-profile-stats?style=flat-square&labelColor=1F2328&logo=npm&logoColor=white\" alt=\"npm downloads\">\u003C\u002Fa>\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FLovenndme\u002Fdsh-profile-stats\u002Factions\u002Fworkflows\u002Fpublish-pending.yml\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002FLovenndme\u002Fdsh-profile-stats\u002Fpublish-pending.yml?branch=main&style=flat-square&label=release&labelColor=1F2328\" alt=\"release status\">\u003C\u002Fa>\n\u003Ca href=\".\u002FLICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002Fdsh-profile-stats?style=flat-square&labelColor=1F2328&color=blue\" alt=\"MIT license\">\u003C\u002Fa>\n\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdsh-%3E%3D0.2.1--rc.5%20%3C0.3.0-38BDF8?style=flat-square&labelColor=1F2328\" alt=\"dsh >=0.2.1-rc.5 \u003C0.3.0\">\n\u003Ca href=\"https:\u002F\u002Fgithub.com\u002FLovenndme\u002Fawesome-dsh-plugin\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fdsh%20plugin-listed-EA4AAA?style=flat-square&labelColor=1F2328\" alt=\"listed in awesome-dsh-plugin\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp>\u003Cb>English\u003C\u002Fb> · \u003Ca href=\"README.zh.md\">简体中文\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cimg src=\"https:\u002F\u002Fcdn.jsdelivr.net\u002Fgh\u002FLovenndme\u002Fdsh-profile-stats@main\u002Fdocs\u002Fpreview.png\" alt=\"The profile page in the DSH sidebar\" width=\"900\">\n\n\u003C\u002Fdiv>\n\n## Install\n\nIn DSH open **Plugins → Add plugin** and paste the package name:\n\n```text\ndsh-profile-stats\n```\n\n## What you get\n\n| | Section | What it shows |\n|---|---|---|\n| 📊 | **Five headline numbers** | Tokens in the selected range (with daily bars for 7 \u002F 30 days or a 7-day average trend for longer ranges, and the change against the previous period), today's tokens, longest task, the active-day streak with your best, today's cache hit rate |\n| 🗓️ | **Token activity** | A 12-month day grid, switchable between daily, weekly and running-total views |\n| 🧩 | **Model distribution** | Stacked columns by model family (version + tier, so `v4-flash` and `v4.1-flash` stay apart) over the selected range, by day, week or month, as token amounts or as each bucket's share |\n| 🎯 | **Cache Lens** | Total tokens plus the cache hit rate, and the cache-hit \u002F uncached-input \u002F output split (plus cache write when a provider reports it) as a segmented bar, with a zoom into the uncached part and the daily cache hit rate underneath |\n| 💳 | **Provider split** | Tokens and cache hit rate per billing route in the selected range, or today only; give a route a display name that stays on your machine |\n| 📁 | **Projects** | Tokens per working directory in the selected range, with the part used by subagent sessions |\n\nA range switch in the header — 7 \u002F 30 \u002F 90 days, this month, all time or custom dates — drives the first number, the model distribution, Cache Lens, the projects and the provider split; the selected range can be exported as CSV (one row per day) or JSON.\n\n## Privacy\n\n> [!NOTE]\n> Everything is read from your own session logs through `ctx.sessionQuery`; nothing is re-derived\n> from guesses. The only outbound request is a six-hourly read of this package's own version from\n> the npm registry, used by the in-panel update button. No telemetry, no credentials, nothing\n> uploaded.\n\n## Requirements\n\n| Requirement | Value |\n|---|---|\n| dsh | `>= 0.2.1-rc.5 \u003C 0.3.0` (verified on `0.2.1-rc.5`) |\n| Other plugins | none |\n| Runtime dependencies | none |\n\n## License\n\nMIT © 2026 Lovenndme\n\n---\n\nMetric definitions, the data flow, what leaves the machine, update mechanics and troubleshooting\nlive in [docs\u002FINTERNALS.md](docs\u002FINTERNALS.md).\n","dsh-profile-stats 是一个为 DeepSeek Harness（DSH）Web UI 设计的本地化使用统计插件，用于可视化个人大模型调用行为。它从本地会话日志中解析并展示关键指标：总 token 消耗、峰值日、连续活跃天数（streak）、时间维度活动热力图、按模型版本与服务提供商的费用分摊、缓存命中率及项目级资源分布。所有数据完全在本地处理，不上传云端，依赖 DSH v0.2.1-rc.5+ 的插件机制运行。适用于需要精细化追踪本地 AI 工具使用成本、效率与习惯的研究者、开发者及技术团队。","2026-11-24 04:37:06","CREATED_QUERY"]