DeepSeek Harness Plugin Hub

发布与管理完整 Harness Profiles,发现适合你的插件。

探索

插件目录环境预设文档中心动态

社区

发布插件联系我们报告问题

相关链接

Plugin Hub GitHubDeepSeek Harness 官方项目系统状态隐私说明
© 2026 DeepSeek Harness Plugin HubPowered byPaxTech

独立、非官方社区项目,与 DeepSeek 官方无隶属、授权或背书关系。

Personal Center — DeepSeek Harness 插件(DSH Plugin)
DeepSeek Harness Plugin Hub
ProfilesPlugins分类动态文档登录管理 Profiles
ProfilesPlugins分类动态文档登录
← Plugins

dsh-personal-center

Personal Center

DSH 个人中心:设置 →「个人」分区(个人资料统计 + 个性化自定义指令 + 成本估算 + 桌面宠物 + 会话状态概览)

插件会安装到这里;不确定时保持 web。

npx -y @deepseek-ai/dsh plugin --profile web add github:PolinniZhong/dsh-personal-center#2e68492b6bb79c5a0077f2eab4fca4a14f981c28
README兼容性版本
Token UsagePersonalizationAppearancePetToken Usage · lightReview · darkPet · lightPet · dark

兼容性与来源证明

Personal Center 以 dsh-personal-center 发布,当前版本为 1.1.1。Plugin Hub 会校验它的 manifest,并保存精确安装来源,便于复现安装结果。

DSH 兼容范围
*
运行环境
web
发布来源
github
Registry 更新时间
2026/9/20

版本

1.1.1stable
2026/9/9
1.1.0stable
2026/9/3
1.0.0stable
2026/9/1
查看其余 10 个版本收起版本
0.9.0stable
2026/8/29
0.8.1stable
2026/8/28
0.8.0stable
2026/8/28
0.7.0stable
2026/8/23
0.6.0stable
2026/8/22
0.5.1stable
2026/8/22
0.5.0stable
2026/8/22
0.4.22stable
2026/8/22
0.4.16stable
2026/8/21
0.4.4stable
2026/8/20

相关插件

正在加载相关插件…

最新版
1.1.1
DSH
*
HMR
重启进程
Tree shaking
未声明可安全裁剪
解包体积
未提供
文件数
未提供
Surface
web
许可证
MIT
发布源
github
GitHub
★ 81
周下载
176
最近提交
2026/9/9
查看源码 ↗项目主页 ↗
README Badge

点击下方 Badge 复制 Markdown,粘贴到 README 即可。

这是你的 Plugin?认领权益 · 优先安全扫描

验证 package.json 声明的 GitHub 仓库,即可管理这个公开页面。认领后,Hub 会优先安排当前版本的安全扫描,并在通过后公开展示结果。

认领这个 Plugin →
报告问题

相关插件

继续浏览 ui-customization 分类下经过校验的插件。

Web App@deepseek-ai/dsh-web-appdsh 浏览器界面捆绑包:位于 dsh-base 之上的 Web 补丁层,加上运行时粘合插件(提供前端 dist、Web 界面提示符、bash 运行时变量和 URL 行)Experimental Agent Team Web Profile@deepseek-ai/dsh-experimental-agent-team-web-profile用于 Agent Teams Remote 和 UI 插件的实验性 Web 配置层Remote Web Ui@linxin666/dsh-remote-web-ui通过扫码配对访问 dsh Web GUI,共享一个官方界面:设置按钮旁的二维码可将手机和 PC 配对到同一个 Web GUI(手机采用竖屏触控适配层,PC 使用完整桌面界面),通过一次性令牌和 rClient Ui Task Board@linxin666/dsh-client-ui-task-board面向 DSH Web GUI 的主机权威任务面板,支持实际会话执行、主机 cron 调度以及可选的跨平台空闲睡眠保护;以挂载方式提供,无需修改 DSH 源代码。

README

dsh-personal-center

A local, offline personal center for DeepSeek Harness — usage stats, cost estimation, custom instructions, global font size, and a desktop pet.

A local plugin for DeepSeek Harness (DSH) desktop / web. Adds a Personal Center section to Settings, with four tabs:

  • Token Usage — real usage stats: today / cumulative tokens, session count, tool calls, a GitHub-style activity heatmap (daily / weekly / cumulative), per-model breakdown, top tools, and session review; with sub-tabs (Overview / Review / Model Cost).
  • Personalization — global custom instructions (like ChatGPT / Codex "Personalization → Custom instructions"), applied to all chats on this machine.
  • Appearance — a global font-size stepper (default 14, range 11–16, step 1): scales the whole UI instantly and remembers your choice.
  • Desktop Pet — bitmap (black / blue whale) and vector ("round black / round blue") skins, driven by your real usage (5 emotions), with a session-status overview (double-click a session to jump into it).

Model cost estimation lives inside Token Usage: per-model pricing (peak / off-peak, per currency, official presets) plus cache-hit-rate stats.

100% local — no network, no reading chat content. See PRIVACY.md. Bilingual UI (中文 / English), follows DSH's language automatically.

📸 Screenshots

Four tabs (v1.0)

Token UsagePersonalization
Token UsagePersonalization
Appearance (global font size)Pet
AppearancePet

Feature details

Token Usage · lightReview · dark
Token Usage · lightReview · dark
Pet panel · lightPet panel · dark
Pet · lightPet · dark
Session status overview (double-click to jump)
Session status overview

Five emotion animations (happy / busy / tired / wallet-pain / dozing):

Black whaleBlue whale
Black whale · five emotionsBlue whale · five emotions

New actions (v0.8.0) (thinking / waiting / celebrate / drag / wave):

Black whaleBlue whale
Black whale · new actionsBlue whale · new actions
Model cost · dark
Model cost · dark
Personalization · per workspace (layered instructions + templates)
Personalization · per workspace

✨ Features

Token Usage (statistics)

  • Today overview: token consumption / sessions / tool calls;
  • Cumulative data: total tokens / longest chat / total sessions / cache-hit rate / estimated cost;
  • Token activity: GitHub-contribution-style heatmap with daily / weekly / cumulative views;
  • Per-model breakdown: tokens, requests, per-model cache-hit rate and cost split by provider + model;
  • Top tools: sorted by call count (including MCP tools in mcp__<server>__<tool> form);
  • Session review: recent sessions (title / date / duration / tokens / cache-hit rate), auto-excludes archived sessions.

Data source: aggregates local session logs in real time — numbers only, never reads content. See docs/common/DESIGN.md.

Model Cost (estimation)

  • Per-model cost per million tokens, split by currency (¥/$);
  • Peak / off-peak pricing (DeepSeek official: Beijing 9:00–12:00 & 14:00–18:00 peak, off-peak = half);
  • Built-in presets (deepseek / kimi / gemini / gpt) with provider→model autocomplete, editable;
  • Shows this week / this month / cumulative cost.

Personalization (layered instructions: v0.7)

  • Global instructions (identity baseline): identity / working principles / response preferences, applied to every chat on this machine;
  • Per-workspace instructions (project-specific): each workspace gets its own instructions, injected by longest-prefix cwd match as "global + workspace" merged text; unconfigured workspaces fall back to global only;
  • Template library: 5 built-in templates (PM / developer / writing / translator / general assistant), one-click apply to global or current workspace; save / edit / delete your own;
  • Injection preview: live "global + current workspace" merged text + ≈token estimate at the bottom;
  • All local (settings.yaml), zero network, no migration of existing custom-instructions data; bilingual, DSH design tokens.

Appearance (global font size: v1.0)

  • New "Appearance" tab with a global font-size stepper: default 14, range 11–16, step 1, instant preview, saved to local localStorage;
  • The engine scans all stylesheets for DSH --dsw-font-* tokens and hard-coded font-size rules, then offsets everything by "current − 14" via a <style> override layer — at the default 14 the layer is empty and the UI is 100% untouched;
  • Only shifts global font size, never touches other modules' layout; local, zero network.

Desktop Pet (black / blue whale)

  • A round little black whale in the bottom-right corner (S size by default), pure frontend, zero deps (alpha-transparent WebP assets, dark-theme outline glow);
  • Vector skins (v1.1): "round black / round blue" (black-vector / blue-vector) — pure-DOM (radial-gradient body + capsule eyes), zero assets; mouse-follow in four layers (eyes / head shift / deform / light source) + turn perspective (side eye shrinks, eye gap compresses) + blink on approach / squint on eye click / tickle on body click / random head zoom; coexists with bitmap skins (mutually exclusive), switching rebuilds the instance;
  • Pet list: black whale / blue whale each with a full config card (preview + today's stats + opacity + toggle), mutually exclusive — only one enabled at a time; the preview art plays random idle expressions while the panel is open (rotates every 10s, wakes on enable); disabled cards stay static;
  • Always-on but quiet when idle (Codex-pet style): shows a single static idle frame, plays an animation on emotion change (~2s) and a small reaction on hover / click;
  • 5 data-driven emotions, 30s polling of /personal-center/stats, priority: wallet-pain > tired > busy > dozing > happy;
    • happy = cache-hit rate ≥ 70%; busy = today's tool calls ≥ 400; tired = today's tokens ≥ 200M; wallet-pain = today's cost ≥ ¥10 (needs configured prices); dozing = no activity ≥ 10 min (thresholds calibrated on real local data);
  • Click pops a random data bubble (today's tokens / cache-hit rate / top tool / today's cost), auto-dismisses in 3s;
  • Session status overview: a toggle card at the top of the Pet tab (on by default); hover the "Session status" button (or click the pet) → frosted-glass panel listing live session states (running / failed / done / idle + summary counts, running/failed on top); double-click a session to jump into it; failures shown honestly in red; event-driven from the platform's existing sessions projection (zero polling); close by clicking outside or pressing ESC; when disabled, the button hides and the pet returns to usage-driven emotions;
  • Free drag: drag anywhere, position remembered (restores after refresh); scales proportionally with window resize, stays in viewport;
  • Right-click menu: hide pet;
  • Minimal Pet tab panel: top "Session status" card (title + toggle + description, grayed when pet disabled) + two pet cards (preview + name + ⓘ hint + today's stats + opacity (30%/60%/100%) + enable toggle); toggles are mutually exclusive, interaction is toggle-only (no hover/selection visuals);

🛠 Install

Method 1: Plugin console / CLI (recommended)

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

Or: Web GUI → Settings → Plugins → Plugin Console, search "个人中心".

Method 2: Local development (link dependency, same as dsh-omi-voice)

  1. Clone this repo anywhere;

  2. Add to your profile's package.json:

    "dsh-personal-center": "link:/absolute/path/to/DSH 个人中心"
    
  3. Add "dsh-personal-center" to the dsh.profile.bundles list;

  4. Restart DSH.

Note: if node_modules has no package after restart, symlink manually: ln -s /absolute/path/DSH 个人中心 <DSH_HOME>/profiles/web/node_modules/dsh-personal-center

Uninstall

Settings → Plugins → Plugin Console, disable / remove dsh-personal-center; or remove the dependency and bundles entry from package.json.

🗺 Roadmap

VersionContentStatus
v0.1Personalization → custom instructions (global injection)✅
v0.2"Personal" section: stats (real data) + personalization✅
v0.3Cost estimation (peak/off-peak, per currency, presets), cache-hit rate, session review, Token activity✅
v0.4Desktop pet (5 emotions, idle-static, drag memory, minimal panel)✅
v0.5Pet polish + session-status overview (action-level live state)✅
v0.6Session-status overview upgrade (action-level live display)✅
v0.7Personalization enhancement: global + per-workspace (layered injection) + templates + preview✅ (v0.7)
v0.85 new pet actions (thinking/waiting/celebrate/drag/wave) + session-status emotion-driven✅ (v0.8.1)
v0.9"Personal Center" rename, pet single-page, session-status fixes (running-on-top / double-click / hover-stable), i18n, proportional window-follow✅ (v0.9.0)
v1.0Appearance tab + global font-size engine, sticky/frosted header, i18n template library, code governance refactor (4 module prefixes + SDD)✅ (v1.0.0)

Planned (not yet): usage export (JSON/CSV), year-over-year comparison, more skins / emotions — see docs/common/PLAN.md.

🤔 Why (project rationale summary)

  1. Feasible: DSH is plugin-based (host plugin + browser bundle); session logs record token usage and tool-call events; MCP tools are named mcp__<server>__<tool> for direct categorization;
  2. User psychology: quantified feedback (GitHub-contribution style), cost transparency (per-token billing), differentiation (no official personal center / global stats), privacy-friendly (aggregates only);
  3. Risks & mitigations: install barrier → one-click install; data accuracy → read authoritative logs; performance → host-side aggregation + 60s cache.

📁 Repository structure

├── package.json          # dsh.bundle.patch + dsh.client declaration
├── cordis.patch.yml      # plugin row
├── lib/
│   ├── index.js          # host: settings namespaces + prompt injection + stats + loopback routes (pet config/assets)
│   ├── client.js         # browser: Personal Center UI (stats + cost + personalization + appearance/font + pet panel/overlay)
│   └── pet-assets/       # pet animation assets (5×WebP, built from RGBA frames)
├── docs/
│   ├── README.md          # knowledge map (entry)
│   ├── SDD.md             # module spec & boundaries (class prefixes / pitfalls / new-module SOP)
│   ├── MODULE-MAP.md      # feature → code/route/doc/asset map
│   ├── common/            # DESIGN / DESIGN-SYSTEM / PLAN / PLATFORM-NOTES / release
│   ├── personal-profile/  # Token Usage: DATA-MODEL / COST-ESTIMATION
│   ├── personalization/   # Personalization: PRD
│   └── pet/               # Pet: DESKTOP-PET / status overview spec
├── docs/screenshots/     # screenshots
├── PRIVACY.md            # privacy
├── README.md
└── LICENSE               # MIT

For architecture / pitfalls / conventions, start with docs/README.md.

📄 License

MIT

🙏 Thanks

Architecture references dsh-omi-voice (link dependency + bundle patch pattern) and dsh-plugin-hub (plugin console install channel).

  • enabled:false creates no DOM and does no polling; API failures keep the last state, never crash;
  • Uses only aggregated numbers (today's tokens / tool calls / cost, cache-hit rate, last-activity time), never reads chat content.