@iasiv5/dsh-skip-browser-auth 0.3.9 → 0.3.10
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.md +1 -1
- package/lib/client.js +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ sudo systemctl restart deepseek-harness.service # 按你的部署方式重启
|
|
|
38
38
|
- DSH 0.1.5-rc.1 / 0.1.5-rc.2:carrier-neutral-v2
|
|
39
39
|
- DSH 0.1.7-rc.1 / 0.1.7-rc.2 / 0.2.0-rc.1 / 0.2.0-rc.2:carrier-neutral-v3
|
|
40
40
|
其它版本或 runtime/connection 混合版本会自动休眠,不要强行处理。
|
|
41
|
-
desktop 宿主一律自动休眠(多进程树判别:安装槽位/启动器 argv/宿主二进制,0.3.9 起生效),这是设计行为,不要强行处理或改代码绕过;desktop 用户请直接使用 0.3.
|
|
41
|
+
desktop 宿主一律自动休眠(多进程树判别:安装槽位/启动器 argv/宿主二进制,0.3.9 起生效),这是设计行为,不要强行处理或改代码绕过;desktop 用户请直接使用 0.3.10+(0.3.6-0.3.9 在 desktop 有已知缺陷,见 docs/COMPATIBILITY.md §7.4)。
|
|
42
42
|
|
|
43
43
|
1. 先执行 dsh --version 告诉我当前 DSH 版本,然后照常安装:
|
|
44
44
|
dsh plugin --profile web add @iasiv5/dsh-skip-browser-auth
|
package/lib/client.js
CHANGED
|
@@ -12763,6 +12763,8 @@ window.__ModuleLoader__.load({
|
|
|
12763
12763
|
return module.exports;
|
|
12764
12764
|
})(require)
|
|
12765
12765
|
}
|
|
12766
|
-
|
|
12766
|
+
// dormant(desktop/未知 pair):客户端静默 no-op,绝不 throw——休眠时宿主仍注入
|
|
12767
|
+
// client bundle,global 缺失,throw 会打断客户端启动链并炸宿主(0.3.9 desktop 事故)。
|
|
12768
|
+
return { inject: [], apply: () => {} };
|
|
12767
12769
|
}
|
|
12768
12770
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iasiv5/dsh-skip-browser-auth",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.10",
|
|
4
4
|
"description": "替换官方 Connection 提供方跳过 BrowserAuth,免输 Token;已适配 0.1.2-rc.1、0.1.5-rc.1/rc.2、0.1.7-rc.1/rc.2 与 0.2.0-rc.1/rc.2,详见仓库。仅支持 web(宿主二进制须为 node);desktop 宿主一律自动休眠(多进程树判别:安装槽位/启动器 argv/宿主二进制),属设计行为。",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"dsh",
|