github zhu1090093659/dsh-web v0.4.22
dsh-web v0.4.22

one hour ago

本版将全仓 SDK 基线推进到 @deepseek-ai/dsh@0.2.3-alpha.2 并完成对应插件适配,同时带来任务看板执行内容快照与已结卡片编辑(#2080)、插件管理器按精确版本号忽略更新(#2078)、Mermaid 错误图泄漏抑制(#2084)与远程界面构建外置修复(#2082)。四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)与主仓统一发布 0.4.22。

卫星仓与主仓同版本发布:@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins 与 @linxin666/dsh-client-ui-preset-center 均已发布 0.4.22,聚合包对它们的依赖范围同步更新至 ^0.4.22。皮肤中心包含 hooks.mjs 绝对 URL 解析修复(dsh-skins#109)及市场内的 remiel-starlit 0.1.3(恢复系统降低透明度适配并清理失效选择器,dsh-skins#110);社区插件索引新增 dsh-session-color、dsh-sixlayer-memory、dsh-connectors、dsh-t3-inbox 四个社区插件(索引增至 151 条)并补充投稿准入校验;宠物与预设中心为纯版本对齐。

兼容性与升级前提:本版将全部工作区包的 dsh.engines.dsh 与 @deepseek-ai/dsh peer 下限由 >=0.2.2-rc.3 抬升至 >=0.2.3-alpha.2,宿主包 engines.node 抬升至 ^24.22.3 || >=26.13.1。dsh-plugin-manager 会在自动更新前执行与官方启动门禁一致的 semver 校验,低于 0.2.3-alpha.2 的宿主将被拦截(host-too-low),请先升级 @deepseek-ai/dsh 宿主版本再执行插件更新。已处于 0.2.3-alpha.2 的用户从 0.4.21 升级无需数据迁移:npm 包名、聚合行 id(web-ui-*)、设置 section id、/api/* 路径、请求头与既有本地持久化键全部保持不变;已随上游移除的 ui-settings-plugins 裸覆盖行从 cordis.patch.yml 清理,避免启动告警。直接执行 dsh web 不运行任何迁移器(旧名 @linxin666/dsh-web-ui-all 到 @linxin666/dsh-web-all 的迁移只在 plugin-manager 更新任务中执行;若旧 profile 绕过更新任务,请手动把 profile 中 @linxin666/dsh-web-ui-all 替换为 @linxin666/dsh-web-all 或重装 @linxin666/dsh-web-all)。

退回旧版时的注意事项:dsh-task-board 在执行记录新增的 promptSnapshot / titleSnapshot 为可选字段,0.4.21 的账本解析器可容错读取;dsh-plugin-manager 新增的浏览器 localStorage 键 dsh.plugin-manager.ignored-updates.v1 在旧版本中会被自然忽略,退回 0.4.21 无需清理本地数据。仍需停留在 0.2.2-rc.x 宿主的环境中请保持安装 0.4.21。

新功能与架构调整

  • [sdk] 全仓对齐 @deepseek-ai/dsh@0.2.3-alpha.2(dsh.engines.dsh >= 0.2.3-alpha.2、Node ^24.22.3 || >=26.13.1、@deepseek-ai/cordis ~4.2.0-alpha.1、@deepseek-ai/schemastery ~3.20.0-alpha.1),并补齐 @deepseek-ai/dsh-launch-environment 宿主 peer 依赖
  • [shared] 客户端打包预设接入官方 DocumentStyles 的 meta().stylesheets 生命周期,停止在模块 factory 内直接向 document.head 注入 <style> 标签
  • [task-board] 启动执行时在记录上固化 promptSnapshot 与 titleSnapshot,允许已结卡片在二次运行前继续编辑标题与提示词(#2080)
  • [plugin-manager] 支持在插件更新卡片与批量更新栏按精确版本号忽略及恢复某条更新提示,状态保存在 dsh.plugin-manager.ignored-updates.v1(#2078)
  • [liangshen] subagent-routes 预设改为优先实时读取 ctx.get('subagentModelSelection').allowedRoutes() 服务,仅在服务未挂载时回退扫描会话事件

修复

  • [plugin-manager / web-all] 移除上游已下线的 ui-settings-plugins 裸覆盖行并同步 0.2.3-alpha.2 内置行快照,接入 shared/vitest.setup.ts 修复 Node 26 下 jsdom localStorage 报错
  • [diagrams] 调整 INFOSTRING_CLASS_FRAGMENT 与 LANGUAGE_CLASS_FRAGMENT 以兼容 0.2.3-alpha.2 的 [hash]_[local] CSS Modules 类名,并抑制 Mermaid 解析报错图向 DOM 泄漏(#2084)
  • [remote-web-ui] 在 prepare 构建配置中将 @deepseek-ai/dsh-host-webserver 保持为 external(#2082)
  • [ssh] 测试用例改按测试文件自身目录定位源码夹具,修复根目录过滤执行时的误报

其他改动

  • [satellites] 对齐四个卫星仓 0.4.22;同步 dsh-skins(hooks.mjs 修复与 remiel-starlit 0.1.3)与 dsh-community-plugins(2026-11-24 收录轮及投稿准入校验)钉版与市场产物 market/dist
  • [lib] 随版本号 0.4.22 与 0.2.3-alpha.2 客户端样式契约重建 dsh-market 与 dsh-web-all 提交产物
  • [docs] 新增 0.2.3-alpha.2 SDK 队列迁移、dsh-task-board 内容快照及更新工具栏对应的双语 Agent Note 与包 README 同步

English

This release advances the monorepo SDK cohort baseline to @deepseek-ai/dsh@0.2.3-alpha.2 with full plugin adaptations, alongside task-board execution content snapshots and settled-card editing (#2080), exact-version update ignore rules in plugin manager (#2078), Mermaid error diagram leak suppression (#2084), and the remote-web-ui prepare-build fix (#2082). All four satellite repositories (Skin Center, Pet, Community Plugins Index, Preset Center) ship 0.4.22 together with the main monorepo.

Satellites ship at the same version: @linxin666/dsh-client-ui-skin-center, @linxin666/dsh-pet, @linxin666/dsh-client-ui-community-plugins and @linxin666/dsh-client-ui-preset-center are all published at 0.4.22, and the aggregate's dependency ranges move to ^0.4.22. Skin Center includes the absolute hooks.mjs URL resolution fix (dsh-skins#109) and market revision remiel-starlit 0.1.3 (restoring reduced-transparency support and dropping inert selectors, dsh-skins#110); the community plugin index registers dsh-session-color, dsh-sixlayer-memory, dsh-connectors and dsh-t3-inbox (151 entries total) with a submission policy gate; Pet and Presets carry a version alignment only.

Compatibility and upgrade prerequisites: All workspace packages raise dsh.engines.dsh and the @deepseek-ai/dsh peer floor from >=0.2.2-rc.3 to >=0.2.3-alpha.2, and host packages raise engines.node to ^24.22.3 || >=26.13.1. dsh-plugin-manager evaluates updates with the same semver gate as the official boot check and blocks updating hosts below 0.2.3-alpha.2 (host-too-low) until the DSH host is upgraded first. Hosts already on 0.2.3-alpha.2 upgrade from 0.4.21 with no data migration: npm package names, aggregate row ids (web-ui-*), settings section ids, /api/* paths, request headers and existing persistence keys stay unchanged, and the retired ui-settings-plugins bare patch row is removed from cordis.patch.yml to prevent boot warnings. Running dsh web directly runs no migrator (legacy @linxin666/dsh-web-ui-all to @linxin666/dsh-web-all migration happens only inside the plugin-manager update task; if bypassing the update task from a legacy profile, replace @linxin666/dsh-web-ui-all with @linxin666/dsh-web-all in the profile or reinstall @linxin666/dsh-web-all).

Rolling back: The new promptSnapshot / titleSnapshot fields on dsh-task-board execution records are optional and tolerated by the 0.4.21 ledger parser, and the dsh.plugin-manager.ignored-updates.v1 browser localStorage key is ignored by older releases, so rolling back to 0.4.21 requires no local data cleanup. Environments staying on 0.2.2-rc.x hosts should stay on 0.4.21.

Features and architecture

  • [sdk] Align the monorepo to @deepseek-ai/dsh@0.2.3-alpha.2 (dsh.engines.dsh >= 0.2.3-alpha.2, Node ^24.22.3 || >=26.13.1, @deepseek-ai/cordis ~4.2.0-alpha.1, @deepseek-ai/schemastery ~3.20.0-alpha.1) and add @deepseek-ai/dsh-launch-environment as a host peer face
  • [shared] Switch client bundles to the official DocumentStyles meta().stylesheets contract, dropping direct DOM <style> injection inside module factory
  • [task-board] Snapshot promptSnapshot and titleSnapshot onto execution records at run start so settled cards remain editable before re-runs (#2080)
  • [plugin-manager] Support ignoring and restoring exact registry update offers per plugin in the update card and toolbar, persisted under dsh.plugin-manager.ignored-updates.v1 (#2078)
  • [liangshen] Read ctx.get('subagentModelSelection').allowedRoutes() live in the subagent-routes preset, falling back to session events only when the service is absent

Fixes

  • [plugin-manager / web-all] Remove the retired ui-settings-plugins bare patch row, refresh the 0.2.3-alpha.2 built-in row snapshot, and wire shared/vitest.setup.ts for Node 26 jsdom localStorage
  • [diagrams] Update INFOSTRING_CLASS_FRAGMENT and LANGUAGE_CLASS_FRAGMENT for [hash]_[local] CSS Modules class names and suppress leaked Mermaid error diagrams in the DOM (#2084)
  • [remote-web-ui] Keep @deepseek-ai/dsh-host-webserver external in tsdown.prepare.config.ts (#2082)
  • [ssh] Resolve test fixtures relative to the test file directory rather than process.cwd()

Other changes

  • [satellites] Align all four satellites at 0.4.22; update pins and rebuild market/dist for dsh-skins (hooks.mjs fix and remiel-starlit 0.1.3) and dsh-community-plugins (2026-11-24 registration round and submission policy)
  • [lib] Rebuild committed dsh-market and dsh-web-all artifacts at version 0.4.22 with DocumentStyles metadata
  • [docs] Record bilingual Agent Notes and sync package READMEs for the 0.2.3-alpha.2 cohort upgrade, execution content snapshots, and update ignore rules

Don't miss a new dsh-web release

NewReleases is sending notifications on new releases.