Repository navigation
Releases
Releases · flashyiyi/dsh-voice-announcer
v0.1.9 — DSH 0.1.5 兼容修复
DSH 0.1.5 兼容修复
DSH 0.1.5 的 @deepseek-ai/dsh-settings 移除了 installSettingsSection / settingsNamespace,插件 host 入口的 ESM 命名导入直接抛 SyntaxError → loader.create 失败 → 插件无法装配(在设置页里表现为消失/被禁用)。
- host:改用
ctx.inject(['settings'], c => c.settings.register('voice-announcer', Schema, { base }));setSource/onChange等价替换为注册后立即scope.get()同步 +scope.watch() - client:
SettingsScope改从@deepseek-ai/dsh-client-ui-settings导入(@deepseek-ai/dsh-client-runtime在 0.1.5 已不存在) - package.json:
dsh.client.inject与peerDependencies移除@deepseek-ai/dsh-client-runtime
0.1.8 及更早版本在 DSH 0.1.5 下无法加载,请升级到 0.1.9。