Skip to content

dsh-code-reference v4.2.1

Latest

Choose a tag to compare

@victorzhong0110 victorzhong0110 released this 15 Aug 15:42

v4.2.1 — 修复 bundle 一键安装链路

榜单评审发现:v4.2.0 的 tag 不含 dsh.bundle manifest(manifest 在其后提交),克隆 v4.2.0 无法 dsh plugin add。本版本将安装链路完整闭环,并已用真实 dsh CLI 冒烟验证。

修复(真实 DSH 环境冒烟发现)

  • tools.mjs / decision.mjs 使用 ctx.toolsinject 未声明 → 部署版 boot 失败(已补 toolsdecision 另补 sandboxPolicy
  • 部署版工具注册 output.schema.type: 'json'(动态版 DSL 约定)不兼容部署 loader 的标准 JSON Schema → 改为 'object'

新增

  • scripts/check-bundle.mjs:bundle manifest + inject 完整性校验(CI 自动执行,防止部署 boot 回归)
  • SHA256SUMS 扩展覆盖 package.json / cordis.patch.yml(5 个安装必需文件)

冒烟验证记录

dsh plugin --profile test add ./dsh-code-reference   # ✅ 安装
dsh --profile test --dump-config                    # ✅ # == dsh-code-reference 层注入
dsh --profile test --port 3188                      # ✅ boot 0 错误 + web 探活响应
dsh plugin --profile test remove dsh-code-reference  # ✅ 卸载

安装

git clone --branch v4.2.1 --depth 1 https://github.com/victorzhong0110/dsh-code-reference.git
dsh plugin --profile web add ./dsh-code-reference