Skip to content

v0.6.0 — 兼容 dsh 0.1.2-rc.1

Choose a tag to compare

@LouisHaoL LouisHaoL released this 07 Sep 05:56
· 2 commits to main since this release

变更

适配 dsh 0.1.2-rc.1(修复 #3:插件 boot 崩溃,整个 dsh web 无法启动)。

Settings API 迁移

dsh 0.1.2-rc.1 移除了 @deepseek-ai/dsh-settings 的 installSettingsSection / settingsNamespace 导出:

  • inject 增加 'settings',改用 ctx.settings.installSection(ctx, ns, schema, entry, hooks)
  • 设置命名空间改为普通小写连字符字符串 'timer-agent'

依赖清理

  • 移除已停发的 dsh-client-runtime(0.1.2 不再发布;client 侧 ClientContext 改为本地结构类型)
  • 移除 devDeps 中已停发的 dsh-client-ui-slots
  • dsh.bundle.client.inject 去掉 client-runtime,其余 peer/dev 依赖对齐 ^0.1.2-rc.1
  • 本地 JsonValue 类型(dsh-tools 0.1.2 不再转发)

兼容性

  • ✅ 任务台账(~/.dsh/timer-agent/jobs.json)无任何变更,升级即用
  • ⚠️ 本版面向 dsh 0.1.2-rc.1;0.1.1.x 宿主请继续用 v0.5.0(settings API 双方互不兼容)

Full Changelog: v0.5.0...v0.6.0