nuwa-skill
alchaincyf
你想蒸馏的下一个员工,何必是同事。蒸馏任何人的思维方式——心智模型、决策启发式、表达DNA。Distill how anyone thinks.
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.
PROJECT TOPICS
PROJECT README
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 three tabs:
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.
| Token Usage | Personalization |
|---|---|
![]() |
![]() |
| Pet |
|---|
![]() |
| Token Usage · light | Review · dark |
|---|---|
![]() |
![]() |
| Pet panel · light | Pet panel · dark |
|---|---|
![]() |
![]() |
| Session status overview (double-click to jump) |
|---|
![]() |
Five emotion animations (happy / busy / tired / wallet-pain / dozing):
| Black whale | Blue whale |
|---|---|
![]() |
![]() |
New actions (v0.8.0) (thinking / waiting / celebrate / drag / wave):
| Black whale | Blue whale |
|---|---|
![]() |
![]() |
| Model cost · dark |
|---|
![]() |
| Personalization · per workspace (layered instructions + templates) |
|---|
![]() |
mcp__<server>__<tool> form);Data source: aggregates local session logs (session.v4 / session.v3 / legacy) in real time — numbers only, never reads content. See docs/common/DESIGN.md.
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.
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.
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;/personal-center/stats, priority: wallet-pain > tired > busy > dozing > happy;sessions projection (zero polling); close by clicking outside or pressing ESC; when disabled, the button hides and the pet returns to usage-driven emotions;enabled:false creates no DOM and does no polling; API failures keep the last state, never crash;dsh plugin --profile web add github:PolinniZhong/dsh-personal-center
Or: Web GUI → Settings → Plugins → Plugin Console, search "个人中心".
Clone this repo anywhere;
Add to your profile's package.json:
"dsh-personal-center": "link:/absolute/path/to/DSH 个人中心"
Add "dsh-personal-center" to the dsh.profile.bundles list;
Restart DSH.
Note: if
node_moduleshas no package after restart, symlink manually:ln -s /absolute/path/DSH 个人中心 <DSH_HOME>/profiles/web/node_modules/dsh-personal-center
Settings → Plugins → Plugin Console, disable / remove dsh-personal-center; or remove the dependency and bundles entry from package.json.
| Version | Content | Status |
|---|---|---|
| v0.1 | Personalization → custom instructions (global injection) | ✅ |
| v0.2 | "Personal" section: stats (real data) + personalization | ✅ |
| v0.3 | Cost estimation (peak/off-peak, per currency, presets), cache-hit rate, session review, Token activity | ✅ |
| v0.4 | Desktop pet (5 emotions, idle-static, drag memory, minimal panel) | ✅ |
| v0.5 | Pet polish + session-status overview (action-level live state) | ✅ |
| v0.6 | Session-status overview upgrade (action-level live display) | ✅ |
| v0.7 | Personalization enhancement: global + per-workspace (layered injection) + templates + preview | ✅ (v0.7) |
| v0.8 | 5 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.0 | Sticky/frosted header, i18n template library, code governance refactor (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.
mcp__<server>__<tool> for direct categorization;├── 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 + 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.
Architecture references dsh-omi-voice (link dependency + bundle patch pattern) and dsh-plugin-hub (plugin console install channel).
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: personal-center。