dsh-plugin-tether 0.1.7 → 0.1.8

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/index.js +3 -0
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  本文件记录面向用户的变化。每个版本的这一节会原样作为该版本 Release 的说明。
4
4
 
5
+ ## 0.1.8
6
+
7
+ ### 修复
8
+
9
+ - **iOS:连接成功但界面空白**。iOS 的 App Transport Security 默认禁止 WebView 加载明文 HTTP,而手机端的界面正是从本机代理出口 `http://127.0.0.1:<端口>` 加载的。安卓侧一直有对应配置放行回环流量,iOS 侧没有。iroh 连接是原生代码不受 ATS 约束,所以「显示已连接」与「界面空白」会同时出现。
10
+
11
+ 现只放行回环、`.local` 与链路本地地址(`NSAllowsLocalNetworking`),其余域仍受 ATS 约束——与安卓侧只放行 `127.0.0.1` / `localhost` 的做法一致。
12
+
13
+ 由用户反馈发现。**本修复未在 iOS 真机验证**,若仍有问题请在 issue 里补充电脑侧终端的完整输出。
14
+
15
+ ### 新增
16
+
17
+ - 手机第一次开始加载界面时,电脑侧会打印「手机已开始加载界面」。此前电脑侧对代理流完全静默,「连上却空白」无从判断是手机压根没发请求,还是发了但转发不通。
18
+
5
19
  ## 0.1.7
6
20
 
7
21
  ### 元数据
package/index.js CHANGED
@@ -159,6 +159,9 @@ function apply(ctx, config = {}) {
159
159
  case 'peer-disconnected':
160
160
  console.log('[tether] 手机已断开')
161
161
  break
162
+ case 'proxy-opened':
163
+ console.log('[tether] 手机已开始加载界面')
164
+ break
162
165
  case 'devices': {
163
166
  const waiters = pendingDevices
164
167
  pendingDevices = []
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-tether",
3
- "version": "0.1.7",
3
+ "version": "0.1.8",
4
4
  "description": "Mobile client for the DeepSeek Harness — use the dsh on your dev machine from your Android or iOS phone, remotely across networks, peer-to-peer with no server in between (iroh)",
5
5
  "keywords": [
6
6
  "dsh",
@@ -50,10 +50,10 @@
50
50
  "@deepseek-ai/dsh-user-approval": { "optional": true }
51
51
  },
52
52
  "optionalDependencies": {
53
- "dsh-tether-host-darwin-arm64": "0.1.7",
54
- "dsh-tether-host-darwin-x64": "0.1.7",
55
- "dsh-tether-host-linux-arm64": "0.1.7",
56
- "dsh-tether-host-linux-x64": "0.1.7",
57
- "dsh-tether-host-win32-x64": "0.1.7"
53
+ "dsh-tether-host-darwin-arm64": "0.1.8",
54
+ "dsh-tether-host-darwin-x64": "0.1.8",
55
+ "dsh-tether-host-linux-arm64": "0.1.8",
56
+ "dsh-tether-host-linux-x64": "0.1.8",
57
+ "dsh-tether-host-win32-x64": "0.1.8"
58
58
  }
59
59
  }