Skip to content

v1.32.2 · 声明 DSH 兼容范围

Choose a tag to compare

@ChongCyrus ChongCyrus released this 28 Nov 10:42

对应 npm dsh-agent-team-playbook@1.32.2。

变更

  • package.json 新增 engines.dsh: ">=0.2.2-rc.1 <0.3.0-0"。此前只有 engines.node,DSH 的 unmetRequirements() 因此返回空 —— 任何 DSH 版本都被视为兼容,在更老的运行时上会「装上了但面板/命令不生效」。
  • 范围取实际验证过的版本(dsh-app-boot 0.2.2-rc.1)到 0.3 之前,不虚标更早版本。
  • 用 DSH 自带 semver 校验:当前运行时 satisfies = true;0.2.0 与 0.3.0-rc.1 会被正确拒绝。
  • README 新增「兼容性」一节。

校验链

仓库 package.json:  engines.dsh = ">=0.2.2-rc.1 <0.3.0-0"
        ↓ DSH 安装/激活前预检 pnpm view ... engines
当前 dsh-app-boot 0.2.2-rc.1  → 满足,正常加载