Checks installed DSH plugins for version-declaration and API risks against the current host, with source locations when available, certainty, impact basis and coverage limits. Adds a compatibility settings panel, plugin-detail findings/badges, a compat_check agent tool and a skill provider.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-plugin-compat-check
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:lcy0121/dsh-plugin-compat-check#path:/plugin
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
This plugin publishes its README in Chinese only.
检查已安装的DSH插件与目标版本的兼容性,提供源码位置、依据和覆盖限制。声明放行、激活或无发现不等于业务正常。Star ⭐
版本与入口
当前版本为 0.2.7。兼容性页会跳过超过 2 MiB 的单个源码文件,继续检查其余文件和插件。展开该插件的「覆盖限制」可见路径、实际字节数和上限。部分报告可从缓存查看,基线保留上次完整结果。
已认证精确目录仍仅0.2.0-rc.2、0.2.1-rc.2、0.2.1-rc.3、0.2.1-rc.5、0.2.2-rc.1、0.2.2-rc.2、0.2.2-rc.3、0.2.2-rc.5。Node ^22.19.0 || >=24,宿主声明 >=0.2.0-rc.2;最低版本不认证未来宿主。
npm 插件提供面板、详情/角标、compat_check 和 skill。CLI、安装检查、批量、作者 CI 和健康执行器从仓库运行。npm 包没有 CLI bin。详见验收与发行回执及上游入口核验。
安装与使用
# 从 npm 安装此版本
dsh plugin --profile <profile> add dsh-plugin-compat-check@0.2.7
# 或从已核验摘要的完整归档安装
dsh plugin --profile <profile> add file:/绝对路径/dsh-plugin-compat-check-0.2.7.tgz
在安装所用profile的DSH中打开:左下角“更多”(⋯)/用户头像 → 设置 → 内置插件 → 兼容性。不默认是desktop;agent可调用compat_check。源码安装须构建完整tgz。
界面各板块怎么用
界面默认跟随宿主,支持中英韩,未知语言回退英文。语言偏好只存本机,切换保留筛选、草稿及原始证据。
| 板块 | 操作 |
|---|---|
| 主结果 | 核对目标、时间/缓存及目录,重新检查、搜索/筛选并展开发现。故障报告先预览再复制,保留覆盖限制和未认证提示。 |
| 依赖关系与潜在影响 | 展开服务依赖、候选提供者和路径;声明/loader状态不证明实际提供或故障传播。 |
| 发现的人工处置 | 从发现定位编辑区,填写状态和依据并显式保存;可返回对应发现。 |
| 升级前兼容性预检(静态) | 输入精确目标版本运行比较,不安装或升级宿主。 |
| 高级工具 | 按需加载处置归档、保存/对照历史报告或导入健康JSON;不自动执行、采集或上传。 |
| 页尾检查信息 | 查看工具版本、采样与对象来源。 |
辅助区默认收起,明细每页50项、窄表横滚,筛选不裁完整导出;详情/角标只显示单插件。401时重开宿主登录入口,不分享登录URL/Cookie。
人工处置与历史记录
填写处置状态和依据后保存。源码、目标或证据变化须重审,重载前保存或复制草稿。人工记录独立于判定和基线。
归档先备份。于高级工具显式保存快照并选择两份比较。容量和身份规则见指南。
界面示例
0.2.7 中文兼容性页,DSH 0.2.2-rc.5。截图取自 2026-11-23 的 Linux CI 合成样本。

从源码构建安装
根目录是private工作区;检出main或所需提交,在根安装依赖后打完整包:
npm ci --ignore-scripts
cd plugin
npm pack --pack-destination <已存在的绝对输出目录>
dsh plugin --profile <临时profile> add file:<生成的tgz绝对路径>
prepack同步skill、契约、客户端、内核及许可证;postpack清理暂存内核。根GitHub spec、裸plugin复制或源码file安装不能替代完整tgz;重新打包不继承旧归档验收。
升级与仓库工具
调用compat_check({"upgradeTo":"0.2.2-rc.5"}),当前版本取宿主,返回upgradePreview、report为null。八个登记精确版本可任意比较,未知版本/范围退出3。只做同组私有字节的静态比较,不安装或升级宿主,也不借用probe、豁免或普通基线;预检0/1/2表示无/非致命/致命新增或变重风险,3为无法预检,0仍可有旧风险。
CLI、批量、作者CI及健康执行器从仓库运行,使用见指南与作者CI。契约/待办见Plan,构建及目录治理见维护流程。certainty与impactBasis独立;未观测不等于缺失,coverage/vacuous必须保留。Windows与一般业务未获认证。
License
Links
More in this category
yjh051108/dsh-routing-suite★ 7028
One repository, three parts: a runtime injector for DSH plugin packages (inject, hot-reload, unload, promote a dev staging tool to the front, route self-heal, plus a settings-page plugin manager that lists, unloads and drags folders in to internalize), a task-aware reasoning-mode router agent preset (router-standard / router-spec / router-react), and a graded two-level task protocol whose six tools (commit_star, lock_stage, revise_do, edit_plan, mark_task, redteam_verdict) pin task state to disk. The injector implementation ships in-tree, so the install carries its own behaviour rather than a dependency list.
strukto-ai/mirage#dsh★ 3954
Swaps the filesystem and bash providers for a mirage virtual workspace: file tools and shell commands run over mounted resources (RAM, S3, Redis, Slack, Gmail, Notion, Postgres) instead of the host disk, with per-mount read/write/exec modes, per-command sandbox routing (monty, pyodide, quickjs in process; docker, e2b, daytona remote), and installed CLIs (git, gh, slack, linear, ntn, gws, or one you register) as head words in the virtual terminal.
first-fluke/oh-my-agent#dsh★ 1496
Runs project OMA checks before and after tool execution and when a turn tries to finish. Installs its OMA CLI dependency and initializes unconfigured projects on first use. Requires Node.js 22+; initial setup needs network access and project write access.
MichengAI/dsh-skills-manager★ 641
Manages local DeepSeek Harness skills in Settings and shows shared Agent skills as read-only.
hust-open-atom-club/oh-dsh★ 326
Community distribution: TUI, desktop, and Web UI as one bundle with layered installation.
Fishquito7/dsh-skill-mcp-panel★ 292
Manages DSH skills and MCP servers from the web settings: skill cards with hot enable/disable, workspace scopes, groups, batch migration and drag-and-drop import, plus stdio/HTTP MCP CRUD with connection tests, secret redaction and the unified dsh-panel CLI.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.