deepseek-harness
deepseek-ai
DeepSeek Harness: Everything is a Plugin.
zoahdev/dsh-cn-boot
China-network bootstrap for DeepSeek Harness (dsh): connectivity probes to npm/GitHub/HuggingFace/mirrors, local proxy detection, mirror recommendations, generated PowerShell/bash bootstrap. Read-only by default; apply is explicit. CLI + agent-callable cn_boot tool.
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:zoahdev/dsh-cn-boot
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
China-network bootstrap for DeepSeek Harness (dsh): one command that tells you why installs are slow or broken and what to do about it.
It probes the endpoints that matter to a dsh user in mainland China — npm registry, npmmirror, GitHub, raw.githubusercontent, Hugging Face, Gitee — plus common local proxy ports (127.0.0.1:7897 / 10809), reads your current npm/pnpm registry config, and returns concrete recommendations plus a copy-paste bootstrap script. Read-only by default; apply is an explicit opt-in that only sets the npm/pnpm registry to npmmirror.
dsh plugin add dsh-cn-boot
Or run standalone:
npx dsh-cn-boot
dsh-cn-boot [--apply] [--json] [--timeout <ms>]
--apply runs pnpm config set registry https://registry.npmmirror.com (and npm) when recommended — the only side effect.0 connectivity looks fine, 1 recommendations, 2 usage error.npx dsh-cn-boot
npx dsh-cn-boot --apply
npx dsh-cn-boot --json
Ask your dsh agent:
检查一下我的网络连 dsh 依赖源通不通,给个引导建议。 Run a China-network bootstrap check:
cn_boot.
The tool returns a dsh-cn-boot/v1 result: per-target probe results, current registry config, recommendations, a generated script, and (only with options.apply: true) what was applied.
| Probe | Why |
|---|---|
registry.npmjs.org/-/ping |
official npm registry reachability |
registry.npmmirror.com/-/ping |
the standard China mirror |
github.com |
dsh source installs / docs |
raw.githubusercontent.com |
raw file downloads |
huggingface.co |
model/asset downloads |
gitee.com |
domestic fallback |
127.0.0.1:7897 / 127.0.0.1:10809 |
common local proxy ports (Clash / V2Ray) |
pnpm dlx @deepseek-ai/dsh hangs or ERESOLVE, GitHub clones time out, raw.githubusercontent.com is unreachable.pnpm install
pnpm typecheck
pnpm build
pnpm test
pnpm test:integration
CI runs the dsh-plugin-doctor preflight, unit tests, packed-artifact integration (real cn_boot invocation), and a fresh-profile dsh web boot smoke on Windows.
MIT © 2026 zoahdev
DeepSeek Harness(dsh)的国内网络引导插件:一条命令告诉你安装为什么慢/坏,以及该怎么做。
它探测国内 dsh 用户最关心的端点——npm 官方源、npmmirror、GitHub、raw.githubusercontent、Hugging Face、Gitee——以及常见本地代理端口(127.0.0.1:7897 / 10809),读取当前 npm/pnpm 注册表配置,返回具体建议和一份可直接复制的引导脚本(PowerShell + bash)。默认只读;apply 是显式开关,唯一副作用是把 npm/pnpm 注册表设为 npmmirror。
dsh plugin add dsh-cn-boot
独立使用:
npx dsh-cn-boot
dsh-cn-boot [--apply] [--json] [--timeout <ms>]
--apply 在推荐时执行 pnpm config set registry https://registry.npmmirror.com(以及 npm)——唯一的副作用。0 网络正常,1 有建议,2 用法错误。npx dsh-cn-boot
npx dsh-cn-boot --apply
npx dsh-cn-boot --json
对 agent 说:
检查一下我的网络连 dsh 依赖源通不通,给个引导建议。
工具返回 dsh-cn-boot/v1 结果:各目标探测结果、当前注册表配置、建议、生成脚本,以及(仅当 options.apply: true 时)已执行的操作。
pnpm dlx @deepseek-ai/dsh 卡住或 ERESOLVE、GitHub clone 超时、raw.githubusercontent 不通。pnpm install
pnpm typecheck
pnpm build
pnpm test
pnpm test:integration
CI 跑 dsh-plugin-doctor 预检、单元测试、打包集成(真实 cn_boot 调用)、Windows 全新 profile 的 dsh web 启动冒烟。
MIT © 2026 zoahdev
dsh-dep-audit - dependency supply-chain hygiene
dsh-quality-score - plugin quality scorecard + full-registry leaderboard
dsh-ecosystem - health scan, impact, trend, live dashboard
dsh-tutorials - bilingual plugin pipeline tutorials
How do I install? dsh plugin add dsh-cn-boot or run the CLI directly (see README).
Does it need an API key? No.
Is it read-only? Yes by default; any write/apply is an explicit flag.
See the README for full CLI usage. Quick start:
npx dsh-cn-boot --help CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: 无有效分类标签。