dsh-pocket 1.0.29 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.en.md CHANGED
@@ -121,7 +121,10 @@ Such tools take over all traffic and often cut cloudflared's tunnel-edge connect
121
121
 
122
122
  **Other causes**: corporate firewalls / campus networks blocking outbound — ask IT to allow it, or use a hotspot.
123
123
 
124
- **First run: "Downloading cloudflared" fails or hangs**: cloudflared (~20MB) downloads from GitHub releases, which is often unreachable from mainland China. The plugin tries several GitHub acceleration mirrors in order; if all fail, the settings page shows a hint. Alternatives (any one):
124
+ **First run: "Downloading cloudflared" fails or hangs**:
125
+ - **macOS/Linux**: the plugin first downloads from the **Tsinghua mirror** (measured ~3MB/s, done in seconds); falls back to official GitHub + acceleration mirrors if it fails.
126
+ - **Windows**: no Tsinghua mirror (Homebrew doesn't support Windows) — downloads the ~50MB exe from GitHub directly; **single-threaded, so it's slower — that's expected**, wait a few minutes, or use a proxy.
127
+ - If all sources fail, the settings page shows a hint. Alternatives (any one):
125
128
  1. Install the `cloudflared` command and retry (the plugin then uses the PATH binary, no download):
126
129
  - macOS: `brew install cloudflared`; Linux: `sudo apt install cloudflared` or from the official site
127
130
  - Windows: `winget install cloudflared` or from the official site
package/README.md CHANGED
@@ -122,7 +122,10 @@ npx @deepseek-ai/dsh web
122
122
 
123
123
  **其他可能**:企业防火墙/校园网拦截出站;此时请让 IT 放行或改用热点。
124
124
 
125
- **首次开启时「下载 cloudflared」失败/卡住**:cloudflared 从 GitHub 发布页下载(约 20MB),国内直连经常失败。插件会自动依次尝试多个 GitHub 加速镜像;全部失败时设置页会给出提示。备选方案(任选其一):
125
+ **首次开启时「下载 cloudflared」失败/卡住**:
126
+ - **macOS/Linux**:优先走**清华镜像**(实测 ~3MB/s,几秒下完);失败自动回退官方 GitHub + 加速源。
127
+ - **Windows**:无清华镜像(Homebrew 不支持 Windows),走官方直连下载(约 50MB,**单线程会慢,属正常**,耐心等几分钟;也可挂代理加速)。
128
+ - 全部失败时设置页会给出提示。备选方案(任选其一):
126
129
  1. 手动装好命令行 cloudflared 后重试(装好后 dsh-pocket 直接用 PATH 里的,不再下载):
127
130
  - macOS:`brew install cloudflared`;Linux:`sudo apt install cloudflared` 或官网下载
128
131
  - Windows:`winget install cloudflared` 或官网下载
package/package.json CHANGED
@@ -76,5 +76,5 @@
76
76
  "access": "public",
77
77
  "registry": "https://registry.npmjs.org/"
78
78
  },
79
- "version": "1.0.29"
79
+ "version": "1.1.0"
80
80
  }