Repository navigation
v2.0.6 — declared DSH host range (market shows compatible)
2.0.6
声明宿主版本:engines.dsh: ">=0.1.7-rc.2 <0.3.0"。插件市场读的就是这个字段 —— 有它,卡片显示兼容;没有它只能显示未声明。
| 宿主版本 | 覆盖 |
|---|---|
0.1.7-rc.2 … 0.2.1-rc.2(中间的 alpha / rc 全部在内) |
是 |
0.3.0 及以后 |
否(新的小版本线还没为它核对这一行) |
- 范围来自核对:
scripts/host-compat.mjs内置 dsh 发布列表,逐个验证是否被覆盖,并反向确认0.3.0、0.1.7-rc.1、0.1.7-alpha.2在范围之外;不一致就让 CI 失败。 - 跨版本比对的是「行提供方」:
packages/mcp/mcp-client在dsh-v0.1.7-rc.2与dsh-v0.2.1-rc.2上暴露的配置面与发布的行一致(serverName/transport/command/args/env/failOnStartupError),两个 tag 都有dsh.bundle.patch。 - 刻意不声明
peerDependencies:@deepseek-ai/dsh-mcp-client在 npm 上只有0.0.1-rc.1,宿主内置的是 0.2.x,声明 peer 会解析出宿主没有的版本,制造假冲突。 - 上游 rea-agents 6.6.0 已发(GitHub),npm
latest仍是 6.5.0,所以钉保持 6.5.0;计划 2026-10-19 随下一版升到 6.6.0 并复跑真机。6.6.0 的engines.node与bin未变。
验证:单测 46 条(Windows 43 过 + 3 平台跳过,新增 4 条覆盖声明解析、10 个发布版本覆盖、>=0.2.0 这类漂移能被抓出、预发布排序);host-compat 10 covered / 3 outside;verify-branch.ps1 全绿;audit-manifest clean。市场侧用 dshmarket 自己的 deriveHostCompatibility 复核:0.1.7-rc.2 / 0.2.0-rc.2 / 0.2.1-alpha.1 / 0.2.1-rc.2 均为 compatible,0.3.0 为 incompatible。
Declared host range. engines.dsh: ">=0.1.7-rc.2 <0.3.0" — the field the plugin market reads to say compatible instead of unknown. The range is checked against the dsh release list by scripts/host-compat.mjs in CI; the row provider (packages/mcp/mcp-client) was compared at dsh-v0.1.7-rc.2 and dsh-v0.2.1-rc.2 and exposes the same config keys at both. No peerDependencies: npm publishes @deepseek-ai/dsh-mcp-client only as 0.0.1-rc.1 while the host ships 0.2.x. Upstream rea-agents 6.6.0 is out on GitHub but npm latest is still 6.5.0, so the pin stays; the bump is scheduled for 2026-10-19.