dsh-external-api
3/4装上但加载失败
DSH Desktop 的可选外部 HTTP API。服务默认关闭;启用后默认只监听 127.0.0.1(仅本机可访问),需要局域网/其他设备访问时把「监听地址」显式改成 0.0.0.0 或这台电脑的局域网 IPv4,并
安全与审批周下载 267peer 7MIT与当前版本不兼容
pnpm add dsh-external-api安装前须知
Node 要求
^22.19.0 || ^24.0.0
package.json engines
peer 依赖
7 个
由宿主提供,不随包安装
宿主服务
启动失败
原因码 incompatible
入口 / 补丁
./lib/index.js
bundle 已声明 · patch 随包
四段检测
逐层记录收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查通过
静态结构包内清单、补丁文件与入口声明是否完整通过
配置组合装入一次性 DSH_HOME 后配置树能否合并通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过真机安装通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
实测宿主版本 0.2.2-rc.5
加载实测未通过
安装完成后由真实宿主启动一次,检查入口是否激活
加载失败 · 原因码 incompatible
dsh: disabling profile plugin row "settings": Plugin @deepseek-ai/dsh-settings@0.2.1-rc.5 is incompatible with dsh 0.2.2-rc.5: req
检测结论明细
共 6 次命中静态结构1 条规则 · 1 次命中
代码中存在外部 URLremote-url-reference
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
Threw an uncaught exception×2l3.runtime-error
加载实测1 条规则 · 1 次命中
L5 load: runtime_error / incompatible-hostl4load.incompatible-host
依赖结构
7 项@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/dsh-agent-preset-registrypeer由宿主提供
@deepseek-ai/dsh-api-session-controllerpeer由宿主提供
@deepseek-ai/dsh-api-workspace-controllerpeer由宿主提供
@deepseek-ai/dsh-atomic-writepeer由宿主提供
@deepseek-ai/schemasterypeer由宿主提供
reactpeer由宿主提供
