Skip to content

dsh-backup 0.2.1

Choose a tag to compare

@having5548 having5548 released this 26 Sep 00:49
· 8 commits to main since this release

关键修复:修复服务启动即崩(cannot get property "webServer" without inject)。

  • 根因:cordis-plugin-loader 优先取 exports.default 作为插件对象,此前把 apply 单独导出为 default 导致 loader 丢失 inject 声明。现改为纯命名导出,与 dsh-notify / 官方插件契约一致。
  • /backup 斜杠命令改为 ctx.inject(['commands'], …) 延迟接线,命令服务缺席不影响其它功能。
  • 新增 loader 契约回归校验。

安装:

dsh plugin --profile web add @having5548/dsh-backup