dsh-plugin-precheck
DSH 插件安装前兼容性门控:锁定解析版本、校验 peer/engines 声明、在隔离 DSH_HOME 中试装并限时试启动,任一失败即阻止;正式安装失败自动还原 profile。可选拦截 dsh-market 的安装/更新点击。
Pre-install compatibility gate for DSH plugins: locks the resolved version, checks peer/engines declarations, dry-installs into an isolated DSH_HOME and boots it with a timeout, blocks on any failure, and restores the profile if the real install fails. Optionally intercepts dsh-market install/update clicks.
怎么安装
dsh plugin add dsh-plugin-precheck 简介
dsh-plugin-precheck(插件安装预检助手) 安装 DSH 插件前先做兼容性与启动验证:发现问题即阻止安装并保留原环境,面向不了解插件依赖的新手。 它做什么 在 Web GUI「设置 → Plugins」中新增「安装预检」标签页。输入 npm 包名后: 1. **解析并锁定版本**(pnpm view) 2. **基础兼容性检查**:peerDependencies 与已装版本比对、Node engines、bundle 清单声明;信息缺失时显示「无法确认」而不是放行 3. **组合检查**:新插件的 cordis.patch.yml 与当前配置树(dsh --dump-config)比对——插入 id 重复(确定错误)、补丁目标不存在/被多个插件覆盖(疑似风险) 4. **隔离试装 + 试启动**:临时 DSH_HOME 中复制 profile 文本文件,pnpm add 锁定版本 → --dump-config 静态校验 → --port 0 --no-open 试启动,等就绪行 + 401 探针,180 秒超时树级杀死。隔离环境不含凭据、不挂载定时任务、不触碰正式环境 5. **检查通过后才允许正式安装**:使用同一锁定版本;安装前备份 profile 四个文本文件,失败自动还原 + pnpm install 复原 + --dump-config 复验;恢复失败…
推荐参考
信息
- 协议
- MIT
- 语言
- JavaScript
- GitHub 星标
- 1
- 月下载
- –
- 最近更新
- 2026-09-17
- 创建于
- 2026-09-17
基础安全检查
- 检查结果
- 无
- 收录来源
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- 主题标签
- deepseek-harness, dsh-plugin
同类推荐
dsh-auto-review
PerryLink/dsh-auto-review
审批链上的第二模型自动审查:只读审查子代理返回带理由的 allow/deny 结构化裁决,默认 fail-closed。
dsh-passwords
slywalker2006/dsh-passwords
让 DeepSeek Harness 变成服务器级多租户平台:远程访问 + 自动 HTTPS、子用户权限与配额、沙盒强制、加密认证与审计日志。
dsh-web-startup-auth
GDWhisper/dsh-web-startup-auth
替换 dsh web 启动器以允许绑定 0.0.0.0,并以账号密码登录为门槛:签名会话 cookie、/api 路由保护、设置面板认证标签页,以及轮换签名密钥使全部会话失效的重置 CLI。
sofagent
KongFangXun/sofagent/tree/main/engine/dsh-plugins/cordis-plugin-sofagent-audit
面向 AI 编程 agent 的提交时审计 harness——24 条 git diff 规则(密钥泄漏、越界改动、提示注入)、HMAC 签名审计链、快照回滚、84 工具 MCP server;dsh plugin add 即装。