@deepseek-ai/dsh-client-connection
Open-access replacement for @deepseek-ai/dsh-client-connection: the same connection service surface and browser transport, with token/cookie authentication, the /api 401 check, the 403 Host/Origin trust fence, and the launch-token URL exchange removed. Installed as a shadow of the shipped package by the dsh-web-open-access plugin; no configuration.
AI 分析
核心用途是解除 DSH Web 服务的安全限制以实现局域网或公网共享。适合需要将 DSH 绑定至 0.0.0.0 端口、免去 launch-token 验证,让多台设备直接访问的部署场景。
インストール
検証済み bundle がないか、互換性チェックに失敗しています。先にリポジトリの説明を読んでください。 README 全文を読む ↗
ドキュメント
README 全文を読む ↗绑定配置(dsh web 自身,非插件)
--host 0.0.0.0 被 web-startup 有意拦截(program.error: ... for safety),所以绑定必须走 profile 配置层。在 $DSH_HOME/profiles/web/cordis.patch.yml 追加:
- id: webserver
config:
host: '0.0.0.0'
port: !!js ctx.webStartup.port ?? 3080
compression: gzip
compressionLevel: 1
compressionThresholdBytes: 1024