zoahdev/dsh-cn-boot

zoahdev★ 0TypeScript最后同步: 2026-08-18

在 GitHub 打开

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.

README 摘要

dsh-cn-boot 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. Install Or run standalone: CLI - Prints probe results, recommendations and a PowerShell + bash bootstrap script. - --apply runs pnpm config set registry https://registry.npmmirror.com (and npm) when recommended — the only side effect. - Exit codes: 0 connectivity looks fine, 1 recommendations, 2 usage error. In-harness usage (agent-callable) 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. Che…

在 GitHub 查看完整 README →
终端/TUIbootstrapchinadeepseek-harnessdsh-pluginmirrornetworkagent

分类