dsh-code

版本 2.1.0发布 2026-10-28仓库 unlinearity/dsh-code
1/4安装未通过

DeepSeek Harness 将模型、工具、存储、策略和界面作为插件,通过 Cordis 注册

开发与运行时周下载 229依赖 18peer 44MIT安装时执行脚本
pnpm add dsh-code

安装前须知

Node 要求
^22.19 || >=24
package.json engines
peer 依赖
44 个
由宿主提供,不随包安装
宿主服务
未实测
未做加载实测,不判通过
入口 / 补丁
lib/index.mjs
bundle 未声明 · 无 patch

四段检测

逐层记录
收录门槛通过
manifest 是否声明 DSH 依赖或 dsh.bundle
离线审查未通过
静态结构包内清单、补丁文件与入口声明是否完整
无 high / critical 命中
未通过
配置组合装入一次性 DSH_HOME 后配置树能否合并通过
源码审查静态阅读源码,检查危险调用与数据外发
计数单位 finding,非包数。
通过
真机安装未通过
真机执行 pnpm 安装,退出码为 0 且 node_modules 生成
原因码 incompatible
dsh: installation rejected: Plugin dsh-code@2.1.0 is incompatible with dsh 0.2.2-rc.5: requirements {"@deepseek-ai/dsh-llm":"0.2.1-rc.4","@deepseek-ai
加载实测未执行
安装完成后由真实宿主启动一次,检查入口是否激活
该版本未进行加载实测。

检测结论明细

共 9 次命中
静态结构3 条规则 · 3 次命中
改写宿主配置文件host-config-write
lib/types/locales/en.d.ts:474readonly 'panel.mcp.empty': "no MCP servers configured · add an mcp-client row to ~/.dsh/profiles/<profile>/cordis.patch
启动子进程child-process-spawn
bin/deepseek.mjs:477const child = spawn(command, args, { stdio: 'inherit', ...(needsShell ? { shell: true } : {}) })
代码中存在外部 URLremote-url-reference
src/remote-models.ts:24https://pi.dev/api/models/providers/openai-codex?types=chat%2Cimage%2Cclassifier https://chatgpt.com/backend-api https:/
源码审查2 条规则 · 4 次命中
Package exited non-zero×2l3.nonzero-exit
state/runs/dsh-code/2.1.0/L3/result.json
Threw an uncaught exception×2l3.runtime-error
state/runs/dsh-code/2.1.0/L3/events.jsonlCannot find package '@deepseek-ai/dsh-agent' imported from E:\DSHPWeb\state\runs\dsh-code\2.1.0\L3\src\package\lib\index
安装实测2 条规则 · 2 次命中
L4 install failed: incompatiblel4.incompatible
组合阶段即被宿主版本校验拦下l4.compose-incompatible

依赖结构

0 项

该版本未声明任何依赖,可独立安装。