返回目录

dsh-personal-center

编辑精选维护状态: 活跃

polinnizhong/dsh-personal-center

DSH 个人配置:Token 用量统计 / 成本估算 / 自定义指令 / 外观全局字号 / 桌面宠物(含会话状态概览),纯本地不联网。Personal center for DSH: usage stats, cost estimation, custom instructions, global font size & desktop pet with session overview — all local & offline.

前往 GitHub
$ dsh plugin --profile web add github:PolinniZhong/dsh-personal-center

118

星标

3

Fork

JavaScript

语言

MIT

许可证

2026-08-19

创建于

2026-09-28

最近推送

本地运行的 DSH 个人中心插件:用量统计、成本估算、自定义指令、全局字号与桌面宠物,纯本地、不联网、不读聊天正文。

DSH 适配

原生运行时

作者声明

安全审计

未审计

最后核验

2026-09-04

许可证

MIT

01它能帮你完成什么?

  • Track real local token / session / tool usage for DeepSeek Harness chats

    GitHub-style activity heatmap, per-model breakdown, top tools, and session review on the Personal Center's Token Usage tab

    DSH desktop / web users who want quantified, privacy-friendly usage feedback

  • Estimate model cost per session with peak / off-peak and per-currency pricing

    Estimated cost split by provider + model, this week / month / cumulative, on the Model Cost sub-tab

    DSH users watching API spend across deepseek / kimi / gemini / gpt

02如何接入 DeepSeek Harness?

安装步骤

  1. 01

    Run `dsh plugin --profile web add github:PolinniZhong/dsh-personal-center` in the DSH plugin console

    $ dsh plugin --profile web add github:PolinniZhong/dsh-personal-center

  2. 02

    Or open Web GUI -> Settings -> Plugins -> Plugin Console and search "个人中心"

验证接入成功

作者未说明

回滚

  • Settings -> Plugins -> Plugin Console, disable / remove `dsh-personal-center`
  • Or remove the dependency and `bundles` entry from `package.json`

03DSH 适配与能力边界

DSH 适配原生运行时

Installs via the DSH plugin console (`dsh plugin add`) and registers as a DSH client bundle that adds a Personal Center section to Settings.

  • Token Usage statistics

    Local DSH session logs (host-side, aggregated)→Today / cumulative tokens, sessions, tool calls, GitHub-style heatmap, per-model breakdown, top tools, session review

    Aggregates local session logs in real time; numbers only, never reads chat content
  • Model cost estimation

    Per-model pricing presets (deepseek / kimi / gemini / gpt), editable→Peak / off-peak per-currency cost split by provider + model; this week / month / cumulative

    Reads configured prices to compute wallet-pain emotion (today's cost >= ¥10)
  • Personalization (layered custom instructions)

    Identity / working principles / response preferences + per-workspace overrides→Global + per-workspace merged instructions injected into the system prompt of every chat

    Writes instructions to local `settings.yaml`Injects merged 'global + workspace' text into the system prompt of every chat on this machine
  • Appearance (global font size)

    User-chosen font size (default 14, range 11-16, step 1)→Whole-UI font scaling applied instantly and remembered

    Injects a <style> override layer offsetting all DSH font sizes by 'current - 14'Saves chosen font size to local `localStorage`
  • Desktop Pet (black / blue whale)

    Aggregated usage numbers (today's tokens / tool calls / cost, cache-hit rate, last-activity time)→Bottom-right whale with 5 data-driven emotions, idle animations, free drag, and live session-status overview

    Polls `/personal-center/stats` every 30s (no polling when disabled)Enables only one pet at a time (mutually exclusive)

04适合谁?何时不该用?

适合

  • DSH desktop / web users who want quantified, privacy-friendly usage feedback
  • DSH users watching API spend across deepseek / kimi / gemini / gpt

05兼容性、维护与安全提示

  • Runs 100% local — no network, and it aggregates only usage numbers (tokens, sessions, tool calls, cost); it never reads chat content.
  • The font-size engine offsets all DSH font sizes globally and only at non-default values; at the default 14 the override layer is empty and the UI is untouched.
2026-08-192026-09-02v1.1.0

Maintainer-authored README; latest release v1.1.0 (2026-09-02). Not independently audited.

06常见问题

如何安装 dsh-personal-center?

在 DSH 插件控制台运行 `dsh plugin --profile web add github:PolinniZhong/dsh-personal-center`,或打开 Web GUI → 设置 → 插件 → 插件控制台,搜索「个人中心」。

它会读取我的聊天内容或联网上传数据吗?

不会。它 100% 本地运行,不联网,仅聚合用量数字(Token、会话、工具调用、成本),从不读取聊天正文。

桌面宠物有什么用?

右下角的黑/蓝鲸鱼,由你的真实用量驱动,有 5 种数据情绪与实时会话状态概览;双击会话即可跳入。

能设置全局字号吗?

可以——「外观」页提供全局字号步进器(默认 14,范围 11–16,步长 1),保存到本地 localStorage 并即时生效。

08数据与来源

  • 作者声明github.com725b868ab849…

    A local plugin for DeepSeek Harness (DSH) desktop / web.

  • 作者声明github.com725b868ab849…

    100% local — no network, no reading chat content. See [PRIVACY.md](PRIVACY.md). Bilingual UI (中文 / English), follows DSH…

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-09-04。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

广告

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。