Repository navigation
Releases
Releases · A42Null/dsh-opencode-zen-plugin
v0.3.6
中文
- 修复:改名后整个页面无法启动(
client-modules: duplicate factory registration/1 entry did not activate)。客户端半部__ModuleLoader__.load({ id })里声明的模块 id 必须等于本包的name:改名后它仍是旧名,DSH 便以错误的键注册工厂,插件行无法激活并导致 Web 启动失败。现已改为@a42null/dsh-opencode-zen-plugin,并新增自动化断言(id ≡ package.json name)防止再次发生。 - 若你的 DSH 因 0.3.5 无法启动:升级到 0.3.6 即可修复;应急恢复可用启动失败对话框里的「禁用第三方插件、备份 profile patch 并重启」。
- 其余不变:设置卡片中英双语、插件列表本地化、模型目录自动同步、三注册表(npmjs / CNB / GitHub Packages)发布。
English
- Fixed: the whole page failed to boot after the rename (
client-modules: duplicate factory registration/1 entry did not activate). The module id declared in the client half's__ModuleLoader__.load({ id })must equal the packagename: it still carried the pre-rename name, so DSH keyed the factory registration wrongly, the plugin row never activated, and the web boot failed. It is now@a42null/dsh-opencode-zen-plugin, guarded by an automated assertion (id === package.json name). - If your DSH fails to start because of 0.3.5, upgrading to 0.3.6 is the fix; the boot-failure dialog's “disable third-party plugins, back up the profile patch and restart” button is the emergency recovery.
- Unchanged: bilingual settings card, localized plugin-list entry, automatic catalog sync, and publishing to all three registries (npmjs / CNB / GitHub Packages).
v0.3.5
中文
- 包名改为带作用域:
@a42null/dsh-opencode-zen-plugin(GitHub Packages 只接受带作用域的小写包名,现在三个注册表统一用同一个名字)。安装命令相应变为dsh plugin add @a42null/dsh-opencode-zen-plugin。 - 修复「中文界面下设置卡片仍是英文」:客户端半部改为硬注入 locale 服务并注册 zh/en 字典,中文界面下卡片(含保存按钮与说明文字)完整显示中文,不再中英混杂。
- 新增 GitHub Packages 发布:工作流每次发版同时发布到 npmjs、CNB 与 GitHub Packages,三者互相独立、各自幂等。
English
- Scoped package name:
@a42null/dsh-opencode-zen-plugin(GitHub Packages only accepts scoped, all-lowercase names, so all three registries now share one name). Install withdsh plugin add @a42null/dsh-opencode-zen-plugin. - Fixed the settings card staying English under a Chinese UI: the client half now hard-injects the locale service and registers its zh/en dictionaries, so a Chinese DSH renders the card fully in Chinese.
- GitHub Packages publishing added: every release now publishes to npmjs, CNB and GitHub Packages independently and idempotently.
v0.3.4
中文
- 界面语言适配:设置卡片按 DSH 当前界面语言显示简体中文或 English。
- 插件列表本地化:插件列表中本插件的标题与描述也随界面语言切换(通过包内
locale/en.json、locale/zh.json提供,缺省回落package.json)。 - 其余能力不变:模型目录自动同步、按官方文档端点路由、错误分类与流看门狗。
安装:dsh plugin add dsh-opencode-zen-plugin
English
- UI localization: the settings card follows the DSH interface language (Simplified Chinese or English).
- Localized plugin list entry: this plugin's title and description in the plugin list now follow the interface language too (served from the package's
locale/en.jsonandlocale/zh.json, falling back topackage.json). - Everything else is unchanged: automatic catalog sync, endpoint routing per the official docs, error classification, and the stream watchdog.
Install: dsh plugin add dsh-opencode-zen-plugin