dsh-plugin-tether 0.1.6 → 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.
- package/CHANGELOG.md +23 -0
- package/index.js +3 -0
- package/package.json +19 -7
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,29 @@
|
|
|
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
|
+
|
|
19
|
+
## 0.1.7
|
|
20
|
+
|
|
21
|
+
### 元数据
|
|
22
|
+
|
|
23
|
+
- **补上 `repository`、`homepage`、`bugs`、`author`**。主包与五个平台子包此前在 npm 上都没有仓库链接,`npm view repository` 为空——包页面上看不到出处。插件目录站按 `repository` 回链核实包与仓库的对应关系,缺这个字段就建立不起对应。
|
|
24
|
+
- **描述与关键词改为覆盖真实搜索词**。原描述里没有 Android、iOS、mobile、remote 这些词,而目录站的搜索匹配的正是描述文本:实测搜 `phone`、`手机` 能命中,搜 `android`、`mobile`、`远程` 则排不进前列。
|
|
25
|
+
|
|
26
|
+
本版无代码变更。
|
|
27
|
+
|
|
5
28
|
## 0.1.6
|
|
6
29
|
|
|
7
30
|
### 安全
|
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,16 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-plugin-tether",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.1.8",
|
|
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",
|
|
7
7
|
"dsh-plugin",
|
|
8
8
|
"deepseek-harness",
|
|
9
9
|
"android",
|
|
10
|
+
"ios",
|
|
11
|
+
"mobile",
|
|
12
|
+
"remote",
|
|
10
13
|
"p2p",
|
|
11
14
|
"iroh"
|
|
12
15
|
],
|
|
13
16
|
"license": "MIT",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "git+https://github.com/zexadev/dsh-tether.git"
|
|
20
|
+
},
|
|
21
|
+
"homepage": "https://dsh-tether.zexa.cc/",
|
|
22
|
+
"bugs": {
|
|
23
|
+
"url": "https://github.com/zexadev/dsh-tether/issues"
|
|
24
|
+
},
|
|
25
|
+
"author": "zexadev",
|
|
14
26
|
"type": "module",
|
|
15
27
|
"main": "index.js",
|
|
16
28
|
"exports": {
|
|
@@ -38,10 +50,10 @@
|
|
|
38
50
|
"@deepseek-ai/dsh-user-approval": { "optional": true }
|
|
39
51
|
},
|
|
40
52
|
"optionalDependencies": {
|
|
41
|
-
"dsh-tether-host-darwin-arm64": "0.1.
|
|
42
|
-
"dsh-tether-host-darwin-x64": "0.1.
|
|
43
|
-
"dsh-tether-host-linux-arm64": "0.1.
|
|
44
|
-
"dsh-tether-host-linux-x64": "0.1.
|
|
45
|
-
"dsh-tether-host-win32-x64": "0.1.
|
|
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"
|
|
46
58
|
}
|
|
47
59
|
}
|