dsh-codex-runner

版本 0.5.0-rc.2发布 2026-10-26仓库 halftin/dsh-codex-runner
3/4装得上 · 启动通过

dsh-codex-runner 是面向 Windows 的 DSH 插件,让 DSH 调用本机 Codex CLI 完成项目任务,并管理执行过程与结果。

开发与运行时周下载 284peer 3MIT
pnpm add dsh-codex-runner

安装前须知

Node 要求
>=20
package.json engines
peer 依赖
3 个
由宿主提供,不随包安装
宿主服务
无需额外服务
装完由真宿主启动一次
入口 / 补丁
./lib/index.js
bundle 已声明 · patch 随包

四段检测

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

检测结论明细

共 9 次命中
静态结构5 条规则 · 5 次命中
读取凭据/密钥文件路径credential-path-read
lib/executable.js:138for (const config of new Set([env.NPM_CONFIG_USERCONFIG || env.npm_config_userconfig || path.join(home, '.npmrc'), env.NPM_CONFIG_GLOBALCONFIG || env.
启动子进程child-process-spawn
drivers/drive-codex.mjs:103const out = execSync('tasklist /FI "PID eq ' + ppid + '" /FO CSV /NH', { encoding: 'utf8', windowsHide: true, timeout: 5000 });
遍历目录后批量改写mass-file-overwrite
lib/run-store.js:198for (const item of fs.readdirSync(dir, { withFileTypes: true })) {
代码中存在外部 URLremote-url-reference
lib/client.js:443https://platform.openai.com/docs/guides/reasoning?api-mode=responses#reasoning-summaries https://developers.openai.com/codex/config-schema.json
长延时后执行timing-evasion
lib/app-server-client.js:95let limit;await Promise.race([this.exited,new Promise(r=>{limit=setTimeout(r,3000);})]);clearTimeout(limit);
源码审查2 条规则 · 4 次命中
进程以非零码退出×2l3.nonzero-exit
源码审查结果
运行时抛出异常×2l3.runtime-error
源码审查运行日志启动时找不到依赖 @deepseek-ai/cordis,检测环境里没有提供它

依赖结构

3 项
@deepseek-ai/cordispeer由宿主提供
@deepseek-ai/dsh-toolspeer由宿主提供
@deepseek-ai/schemasterypeer由宿主提供