Shows the linked COROS watch model and cumulative activity days in the Web UI, expanding to a one-line review and suggestion when clicked.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-coros-badge
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ZhangBo-cmd/dsh-coros-badge
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.

The badge sits in the composer and expands to a one-line training review.
DeepSeek Harness(DSH)Web UI 插件:在输入框左侧常驻一个高驰徽章,实时展示当前手表型号 + 累计运动天数,点击展开一句话点评 + 建议。
- 数据来自本地已登录的 COROS MCP(
coros-mcp login缓存的 OAuth token),不出本机。 - 宿主侧内置 30 分钟缓存;点评/建议为轻量规则(近 30 天频率/距离 + 恢复度),不调用模型、零 token 费用。
- 自动识别登录区域(中国大陆 / 欧洲 / 美国),无需手动配端点。
前置条件
已安装 DeepSeek Harness 并正常启动
dsh web。已通过 COROS 官方 CLI 完成登录(本插件读取它缓存的 token):
npm install -g coros-mcp coros-mcp login # 浏览器授权一次即可
安装
dsh plugin --profile web add dsh-coros-badge
# 或本地目录:cd dsh-coros-badge && dsh plugin --profile web add .
# 或 tarball:dsh plugin --profile web add ./dsh-coros-badge-0.1.0.tgz
--profile <name>是必填。DSH 的plugin命令本质是把参数转发给 profile 目录里的 pnpm, 不带会直接报error: required option '--profile <name>' not specified。 用默认的网页界面就是--profile web,自定义 profile 换成对应名字即可。

重启 dsh web 并刷新页面,输入框左侧即出现「高驰 Logo + 手表型号 · 运动 N 天」徽章。
区域说明
插件按 ~/.coros-mcp-skill-gateway-ts/ 下的地区目录(cn/eu/us)自动选择 COROS 端点。如需手动指定,可设置环境变量 COROS_MCP_ISSUER(例如 https://mcpeu.coros.com)。
卸载
dsh plugin --profile web remove dsh-coros-badge
发布 / 分发
本包带预构建产物、无运行时依赖、无构建脚本,可直接分发到三个平台:
- npm:
pnpm publish --access public(用户安装:dsh plugin --profile web add dsh-coros-badge) - GitHub:https://github.com/ZhangBo-cmd/dsh-coros-badge(用户安装:`dsh plugin --profile web add github:ZhangBo-cmd/dsh-coros-badge`)
- Gitee:https://gitee.com/ZhangBo-cmd/dsh-coros-badge
本地打 tarball:
pnpm pack # 生成 dsh-coros-badge-0.1.0.tgz
目录结构
dsh-coros-badge/
├── package.json # dsh.bundle + dsh.client(web)
├── cordis.patch.yml # Loader 插入补丁
├── lib/
│ ├── index.js # Host:/coros-summary 接口(读 token + 直连 COROS MCP)
│ └── client.js # 浏览器:徽章 + 展开面板(高驰官方 Logo)
└── README.md
许可证
MIT
徽章内嵌的高驰 Logo 版权归 COROS(高驰)所有,仅用于识别用途。
Links
More in this category
zhu1090093659/dsh-web#packages/dsh-task-board★ 10562
Task board for the dsh web GUI: a sidebar multi-column kanban whose cards run in real DSH agent sessions and can also be scheduled with cron expressions, executed host-side even with the browser closed.
zhu1090093659/dsh-web#packages/dsh-web-all★ 10562
Plugin and skin collection for the DSH Web UI: task board, Git graph, right-side panel, remote mobile UI, pet, live token stats, and a skin center.
ccch1mneyyy/dsh-TUI★ 8043
Claude Code-style full-screen terminal UI: pixel-whale header, live status line, and streaming thought expansion.
MeteorNOX/DeepSeek-Balance-Whale-Widget★ 7387
A fixed-corner whale widget for the DSH web GUI — balance, today's usage and per-turn cost with peak/off-peak pricing, editable balance-alert and daily-budget bubbles, a module-based custom bubble queue with A/B weighted choices and random lines or images, 30+ vendor templates (OpenAI, OpenRouter, Kimi, SiliconFlow, Ark, Zhipu, MiniMax and more) with per-model balance and subscription quota, plus task-end sound, imported audio, custom roles and a resource manager. Local-only, no telemetry.
omdsh-dev/DSH-better-sidebar★ 5269
Full sidebar workbench with file rendering and editing, terminal, Git, and subagents; third-party plugins can register new tabs.
omdsh-dev/dsh-genui★ 1040
Interactive UI components rendered inline in replies: layout, charts, forms, quizzes, mermaid, 3D scenes, and an action event loop back to the model.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.