dsh-health-management
hebin-cl/dsh-health-management
DeepSeek Harness 的家庭健康工作台:为最多 8 位家庭成员记录体征、化验与体成分,按参考区间与目标差距跟踪代谢管理目标,12 周薄肌赛季含周对账,归档趋势、照片、疾病标签与病历,并内置杭州余杭区场馆试点。仅做记录,不提供诊断、治疗或用药建议。它的 HTTP 路由没有 DSH 的访问检查,浏览器里打开的网页可以调用它们。
安装
dsh plugin --profile web add github:hebin-cl/dsh-health-managementREADME
Health Management for DeepSeek Harness
A family health workspace for DeepSeek Harness: record measurements, manage goals, and see the gap between what you want to manage and what the data says — without turning the panel into a medical chart.
The flagship view is Lean Account / 薄肌账户: four behaviour accounts (training, protein, sleep, water), a 12-week season, a weekly ledger, and a body-composition statement that is observation-only. The plugin also ships a metabolic monitoring view, progress photos, a health archive, and agent tools for the same data.
What's new in 1.3.0
- Four focused tabs: 概览 / 赛季 / 档案 / 发现.
- Season is now its own section: hero, W4/W8/W12 checkpoints, weekly ledger, share card and squad entry.
- Archive is the single home for trends, photos and medical documents, with counts and quick actions.
- Discover ships a Hangzhou Yuhang district pilot with 10 public venues, search, filters, source links and local favourites — with open hours/fees marked "check on site".
- Local squad MVP: invite-only behaviour leaderboard, opt-in, local-only; no remote service yet.
- Clear unit: deposits are measured in 笔 (one account's one daily deposit); season time is 周.
The squad and venue data are MVP/pilot features and are labelled as such in the UI. The squad store is local (community.json); venue data is curated from public sources and may change.
Records and descriptive statistics only. Not a medical device. No diagnosis, treatment, medication, training-plan, recipe, or supplement advice. Reference ranges are population references, not personal targets. Always follow a clinician's advice.

The screenshot shows the visual system from the 1.2 baseline; 1.3 adds the season, archive and discover tabs. Updated captures will follow.
Features
- Family members — up to 8 profiles, sex-aware reference ranges, optional risk level for LDL-C targets.
- Me first — opens on 我 (self); other members appear only after the user adds them.
- Metrics — blood pressure, heart rate, fasting/postprandial glucose, HbA1c, lipids, uric acid, weight, BMI, waist, body fat, skeletal muscle, protein, water, sleep, strength-training minutes.
- Management goals —
metabolic(core metabolic monitoring) andlean_muscle(12-week lean account). - Lean Account — 大练 / 蛋白 / 大睡 / 大水 accounts; daily deposits; 7×4 weekly ledger; season checkpoints; season review; new season without deleting history.
- Body-composition statement — body fat, weight, muscle and waist are shown with reference bands and a season baseline delta; never scored as pass/fail.
- Progress photos — daily shot, photo wall, two-photo compare, season compare; files stay on this machine.
- Health archive — medical records, prescriptions, lab reports, imaging and other documents; condition tags are separate from management goals.
- Agent tools — the model can read/write the same data:
health_record,health_query,health_stats,health_goal_*,health_goal_review,health_goal_start_season,health_condition_*,health_document_*,health_member_*,health_metrics,health_diagnose. - Dark, focused UI — the hero and the content below share one graphite/neon design; the metabolic view remains deliberately restrained.
Install
Requires DeepSeek Harness >=0.2.2-rc.1 <0.3.0 and Node.js 22+.
From GitHub (recommended)
dsh plugin --profile <your-profile> add github:hebin-cl/dsh-health-management
From a release tarball
Download dsh-health-management.tgz from Releases and install the local file:
dsh plugin --profile <your-profile> add ./dsh-health-management.tgz
The npm package is not published in this release; GitHub or the release tarball are the supported sources. The package name stays dsh-health-management for a future npm release.
After install, refresh the Web UI (or restart the host if the profile asks for it).
Discover it in the DSH plugin market
-
A submission PR is open against the curated awesome-dsh-plugin registry (#15394); the entry is
market/hebin-cl__dsh-health-management.yml. Once merged, it becomes searchable in the dshmarket Discover tab and installable with one click. -
Until then, add the included native format-1 index from Plugins → Discover → Index sources:
https://raw.githubusercontent.com/hebin-cl/dsh-health-management/main/index.jsonindex.jsonis pinned to the initial release commit. If you rewrite history or publish a new tag, regenerate it withnode scripts/build-market-index.mjs --owner hebin-cl --source git.
Quick start
- Open Health Management in the sidebar.
- Add a member (or use the seeded “我”).
- Set a goal: 代谢综合征管理 or 薄肌管理.
- For 薄肌: use 今日存入 for training/protein/sleep/water, 每日一拍 for a photo, and 本周对账单 to see the 7×4 grid. Open 赛季 for checkpoints W4/W8/W12, share card and squad.
- Use 档案 for trends, photos and medical documents; 发现 for the Yuhang venue pilot and future services.
- Use the top-bar 目标 to activate/pause a goal or set personal target values. Goal settings are intentionally not repeated as a card on the lean dashboard.
Data and privacy
- Data is stored locally in
.dsh-health/under the Harness working directory (or the configureddataDir):members.json,records.json,conditions.json,documents.json,goals.json,photos.json, andphotos/<memberId>/. - Photos are served by a same-origin route, validated as JPEG/PNG/WebP, and never uploaded to a cloud service. Deleting a photo deletes its file and metadata.
- No analytics, no telemetry, and no external network calls. The panel only talks to same-origin Host routes on this machine.
- The local squad MVP stores
community.jsonnext to the health data; it never leaves the machine. The invite-code copy uses a local Windows clipboard bridge. - Venue data is a curated Yuhang pilot from public sources, served by the local Host; it is not a live booking API.
- Back up
.dsh-health/to keep your data; deleting a member cascades their records, goals, photos and archive.
Safety boundaries
The plugin and its agent prompt enforce the following:
- No diagnosis, disease inference, medication/stop-medication/dose advice, or treatment plans.
- Lean-muscle goals only record and display behaviour, reference ranges and trends. No personalised training plan, exercise prescription, recipe, supplement advice, or effect promise.
- Body composition is observation-only: no pass/fail score, no ranking, no body shaming, no comparison with other people.
- Management goals are intentions, not diagnoses. Condition tags are separate facts and are never inferred from values.
- Special populations (pregnancy, eating disorders, comorbid disease) should consult a clinician or registered dietitian.
Development
No build step. The host half is ESM under lib/ + index.js; the Web half is a browser module in client.js loaded through the DSH module loader.
npm test # node test/smoke.mjs
npm run check # node --check for every source file + smoke
The smoke test uses a temporary directory; it never touches your real .dsh-health/ data.
Project layout
index.js Host entry: tools, HTTP routes, system-prompt safety section
client.js Web panel (dark dashboard, Lean Account, photos, archive)
lib/metrics.js Metric registry and reference bands
lib/goals.js Goal catalog + engine (accounts, season, ledger, statement)
lib/service.js Storage and domain operations
lib/community.js Local squad MVP store (invite-only, local-only)
lib/venues.js Curated Hangzhou Yuhang venue pilot
lib/conditions.js Condition tags and clinical target gaps
lib/store.js Atomic JSON store
test/smoke.mjs End-to-end service tests
assets/ Icon + hero art + screenshots
market/ Curated-registry submission template
scripts/ Checks and market-index generator
Market listing
The submission PR is
#15394; it
adds the single entry file kept here as
market/hebin-cl__dsh-health-management.yml
as data/plugins/hebin-cl__dsh-health-management.yml (PR body:
market/PR-BODY.md).
- The repository declares
dsh.bundle, has thedsh-plugintopic, and is at least 1 day old. - The install sources are the GitHub source and the prebuilt
dsh-health-management.tgzattached to a GitHub Release (the included workflow does this on a tag). npm is optional and not required for listing. - The
icon:is a GitHub-hosted 180×180 PNG and thetarball:URL uses a version-free asset name onlatest/download/, so it does not rot on the next release. - Screenshots are declared in this repository via
screenshots.json(four relative paths). - The repository already includes
index.jsonfor the host's native Discover → Index sources.
License
MIT for the source code. The hero image and screenshots may include third-party or user-provided material; see THIRD_PARTY_NOTICES.md before redistributing or using them commercially.