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

one hour ago

本版将全仓 SDK 基线推进至 @deepseek-ai/dsh@0.2.3-alpha.4(依次完成 0.2.3-alpha.2、0.2.3-alpha.3 与 0.2.3-alpha.4 的队列适配),采纳官方 DocumentStyles 客户端样式生命周期、React 19 与动态 /client 导出、ToolRegistry 根架构、models/catalog 命名空间、ToolDefinition.environment 远端执行声明与 dsh-win-bash 远端 POSIX 转发、官方 sessionActivities 会话岛胶囊、directory.browser.dialog 与 conversation.chat.user-actions 等扩展槽位,并正式下线独立包 dsh-remote-web-ui、将 Format 1 官方插件市场索引扩展至覆盖家族图标与版本化社区插件。四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)与主仓统一发布 0.4.23。

卫星仓与主仓同版本发布:@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins 与 @linxin666/dsh-client-ui-preset-center 均已发布 0.4.23,聚合包对它们的依赖范围同步更新至 ^0.4.23。其中皮肤中心新增静态资源弱 ETag 协商缓存(dsh-skins#112)、冷启动持久化皮肤重采(#2085)、list-item-roots 包装根适配与 maid-atelier 插件页阅读表面修复(dsh-skins#113);社区插件索引为已发布条目补全精确 SemVer 版本以接入官方市场索引,并经多轮收录从 151 条扩展至 291 条;预设中心更新 local-lite 的 ctx.tools.getAll() 与 applyPatch: false 工具预算并补充远端环境说明;宠物插件完成 0.2.3-alpha.2 至 0.2.3-alpha.4 的路由、鉴权与客户端导入适配。

兼容性与升级前提:本版将全部工作区包的 dsh.engines.dsh 与 @deepseek-ai/dsh peer 下限由 >=0.2.3-alpha.2 抬升至 >=0.2.3-alpha.4(Node 下限 ^24.22.3 || >=26.13.1,浏览器依赖 React ^19.3.1,Cordis 升至 ~4.2.0-alpha.3)。dsh-plugin-manager 会在自动更新前执行与官方启动门禁一致的 semver 校验,低于 0.2.3-alpha.4 的宿主将被拦截(host-too-low),请先升级 @deepseek-ai/dsh 宿主版本再更新插件。已处于 0.2.3-alpha.4 的用户从 0.4.22 升级无需数据迁移:聚合行 id(web-ui-*)、设置 section id、/api/* 路径、请求头与既有本地持久化键全部保持不变。独立包 @linxin666/dsh-remote-web-ui 已从本仓移除,浏览器配对与审批改由官方 @deepseek-ai/dsh-client-remote-connection 承接,公网与局域网隧道中继及 iOS 通道由 @linxin666/dsh-remote-bridge 承接;@linxin666/dsh-web-all 仍保留 remote-web-ui tombstone 子路径与 retiredPlugins 静默 no-op 登记以保护老 profile。直接执行 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)。

退回旧版时的注意事项:停留在 0.2.3-alpha.2(或 0.2.2-rc.x)宿主的环境中请保持或回退至兼容版本(0.4.22 对应 0.2.3-alpha.2,0.4.21 对应 0.2.2-rc.x)。0.4.23 未引入破坏性的本地存储或看板账本格式变更,退回 0.4.22 无需清理本地数据;历史独立包 @linxin666/dsh-remote-web-ui 停留在 0.4.22 作为最后版本保留在 npm 上(不再维护)。

新功能与架构调整

  • [sdk] 全仓与卫星仓对齐 @deepseek-ai/dsh@0.2.3-alpha.4(dsh.engines.dsh >= 0.2.3-alpha.4、React ^19.3.1、@deepseek-ai/cordis ~4.2.0-alpha.3、@deepseek-ai/schemastery ~3.20.0-alpha.3、@deepseek-ai/cosmokit ~1.10.0-alpha.3、@deepseek-ai/cordis-plugin-loader ~1.2.0-alpha.3),客户端打包与测试别名全面迁移至 @deepseek-ai/dsh-client-ui-{slots,primitives,dockkit}/client 及官方 DocumentStyles meta().stylesheets 契约,并更新官方内置行 ID 快照至 221 条
  • [sdk / environment] 为 dsh-liangshen 元工具(tool_activate、fact_register)与各宿主编排工具补充 ToolDefinition.environment 声明(independent / explicit),为 dsh-win-bash 声明 environment: 'bound' 并经可选 ctx.environments 支持远端 POSIX 一次性前台与后台转发(仅本机路径/回环端口的 ssh_upload、ssh_download、ssh_tunnel 与 browser_* 保持无远端转发)
  • [sdk / models] 将 dsh-agents、dsh-remote-bridge、dsh-task-board 与 dsh-task-board-github 的模型目录调用从 session/modelCatalog 迁移至 models/catalog;在模型选择器中对 deepseek-account 与 deepseek-official 隐藏 off 推理等级(除非 reasoning.defaultEffort === 'off')并保留后端校验
  • [slots] dsh-diagrams 接入官方 conversation.chat.markdown.fence 槽位实现原生围栏渲染;dsh-remote-bridge 挂载 settings.remoteConnection.extensions 并优先通过 ctx.deepseekAuth.authorize 鉴权(dsh-usage 同步接入);dsh-session-id 挂载 conversation.session.panel.environment.row;dsh-task-board、dsh-agents 与 dsh-ssh 接入 sessionActivities 会话岛图标;dsh-task-board 与 dsh-ssh 复用 directory.browser.dialog;dsh-task-board 在 conversation.chat.user-actions 新增「转为任务卡片」入口
  • [liangshen] 适配 ToolRegistry 根架构(tool-registry-ptc / tools.get / tools.getAll / ToolStep.declarations),支持 MCP 按需加载工具与 mcp:<server>:tools 提示段,支持 apply_patch 多文件头发现、str_replace_editor 仅限本机说明及 G17 / G18 调度规则
  • [session-archive] 兼容并严格保护官方 SQLite 会话存储(user_version 1/2/3 与 .segments/sessions.sqlite.cold/ 冷归档目录)
  • [remote-web-ui] 正式从工作区与发布清单移除 packages/dsh-remote-web-ui;@linxin666/dsh-web-all 保留 tombstones 子路径导出与 retiredPlugins 静默 no-op 登记
  • [market] 在官方 Format 1 plugin-market-index.json 中内联全部分发家族包的 icon.svg 并纳入具备精确 SemVer 的社区插件条目

修复

  • [task-board] 修复调度执行在目标时间之前提前触发时的投递问题(#2093)
  • [skill-explorer] 创建与导入技能时兼容共享的 $DSH_AGENTS_HOME 根目录(#2094),并在行内直接确认删除(#2106)
  • [usage] 每个查询周期/概览窗口共享一份 settings.describe() 凭证快照并监听变更失效,消除重复全量扫描开销(#2100)
  • [win-bash] 改为每次评估实时解析沙箱策略,修复冷启动时未及时撤回 pwsh 的问题(#2096),并修复 0.2.3-alpha.3 下 pwsh 替换检测
  • [ssh] 使用 POSIX 规则解析远端下载文件名,并在通道建立前处理本地隧道监听错误(#2097)
  • [browser-view] 识别官方远程连接插件的登录页结构以自动完成 launch token 鉴权重试
  • [plugin-manager] 修剪孤儿行时保留组嵌套条目的用户覆盖(#2091),在原生详情区就位时默认退让,并优化内置预设组合显示密度
  • [web-all] 在移动端单栏模式下将对话面板固定至首轨并补充 rightbarCol 样式垫片(#2088)
  • [i18n / docs / market] 对齐俄语字典术语(сессия / хост / кеш / рабочее пространство),修复市场构建夹具复制 icon.svg 与过期 Discord 邀请链接

其他改动

  • [satellites] 对齐四个卫星仓 0.4.23;同步 dsh-skins、dsh-pet、dsh-presets 与 dsh-community-plugins 最新提交并刷新 market/dist(含 291 条社区插件的索引与市场清单)
  • [lib] 随版本号 0.4.23 与最新源码重建 dsh-market 与 dsh-web-all 提交产物
  • [docs / tests] 更新 0.2.3-alpha.2 / alpha.3 / alpha.4、服务与修复类双语 Agent Note、贡献者名单、包 README 宿主下限及测试稳定性修复

English

This release advances the monorepo SDK baseline to @deepseek-ai/dsh@0.2.3-alpha.4 (spanning the 0.2.3-alpha.2, 0.2.3-alpha.3, and 0.2.3-alpha.4 cohort updates), adopting the DocumentStyles client stylesheet lifecycle, React 19 with dynamic /client exports, the ToolRegistry root architecture, the models/catalog namespace, ToolDefinition.environment declarations with remote POSIX forwarding in dsh-win-bash, sessionActivities island pills, directory.browser.dialog, and conversation.chat.user-actions, while retiring the standalone dsh-remote-web-ui package and expanding the Format 1 official plugin market index with family icons and versioned community entries. All four satellite repositories (Skin Center, Pet, Community Plugins Index, Preset Center) ship 0.4.23 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.23, and the aggregate's dependency ranges move to ^0.4.23. Skin Center adds weak-ETag static asset revalidation (dsh-skins#112), cold-start persisted-skin adopt retry (#2085), list-item-roots slot wrapper support, and the maid-atelier panel contrast fix (dsh-skins#113); Community Plugins Index adds validated exact-SemVer version fields so the official market index lists community packages and expands from 151 to 291 entries; Preset Center updates local-lite to ctx.tools.getAll() with applyPatch: false and remote environment notes; Pet carries the 0.2.3-alpha.2 through 0.2.3-alpha.4 route, auth, and /client import alignments.

Compatibility and upgrade prerequisites: All workspace packages raise dsh.engines.dsh and the @deepseek-ai/dsh peer floor from >=0.2.3-alpha.2 to >=0.2.3-alpha.4 (Node ^24.22.3 || >=26.13.1, React ^19.3.1, Cordis ~4.2.0-alpha.3). dsh-plugin-manager enforces the same semver gate as the official boot check and blocks hosts below 0.2.3-alpha.4 (host-too-low) until @deepseek-ai/dsh is upgraded first. Hosts already on 0.2.3-alpha.4 upgrade from 0.4.22 with no data migration: aggregate row ids (web-ui-*), settings section ids, /api/* paths, request headers and existing local persistence keys stay unchanged. The standalone dsh-remote-web-ui package is removed from the monorepo; browser pairing moves to official @deepseek-ai/dsh-client-remote-connection while tunnel/LAN ingress and iOS pairing live in @linxin666/dsh-remote-bridge, and @linxin666/dsh-web-all retains tombstones and retiredPlugins silent no-op compatibility for older profiles. Running dsh web directly runs no migrator (legacy @linxin666/dsh-web-ui-all to @linxin666/dsh-web-all migration runs only inside the plugin-manager update job; if bypassing it 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: Environments staying on 0.2.3-alpha.2 (or 0.2.2-rc.x) hosts should stay on or roll back to the matching release (0.4.22 for 0.2.3-alpha.2, 0.4.21 for 0.2.2-rc.x). 0.4.23 introduces no incompatible local persistence or task-ledger schema changes, so rolling back to 0.4.22 needs no local data cleanup; the final @linxin666/dsh-remote-web-ui@0.4.22 release stays on npm as unsupported.

Features and architecture

  • [sdk] Align the monorepo and all satellites to @deepseek-ai/dsh@0.2.3-alpha.4 (dsh.engines.dsh >= 0.2.3-alpha.4, React ^19.3.1, @deepseek-ai/cordis ~4.2.0-alpha.3, @deepseek-ai/schemastery ~3.20.0-alpha.3, @deepseek-ai/cosmokit ~1.10.0-alpha.3, @deepseek-ai/cordis-plugin-loader ~1.2.0-alpha.3), migrate client imports to @deepseek-ai/dsh-client-ui-{slots,primitives,dockkit}/client with DocumentStyles meta().stylesheets, and refresh the OFFICIAL_ROW_IDS snapshot to 221 entries
  • [sdk / environment] Declare ToolDefinition.environment (independent / explicit) across dsh-liangshen meta-tools (tool_activate, fact_register) and host orchestration tools, and declare environment: 'bound' on dsh-win-bash with remote POSIX foreground and background forwarding via optional ctx.environments (keeping local-only ssh_upload, ssh_download, ssh_tunnel and browser_* un-forwarded)
  • [sdk / models] Migrate dsh-agents, dsh-remote-bridge, dsh-task-board and dsh-task-board-github from session/modelCatalog to models/catalog, and hide the off reasoning effort for deepseek-account and deepseek-official in model pickers unless reasoning.defaultEffort === 'off' while preserving backend validation
  • [slots] Wire dsh-diagrams into conversation.chat.markdown.fence, dsh-remote-bridge into settings.remoteConnection.extensions and ctx.deepseekAuth.authorize (with dsh-usage), dsh-session-id into conversation.session.panel.environment.row, dsh-task-board / dsh-agents / dsh-ssh into sessionActivities island icons, dsh-task-board / dsh-ssh into directory.browser.dialog, and dsh-task-board into conversation.chat.user-actions task-draft conversion
  • [liangshen] Adopt the ToolRegistry root architecture (tool-registry-ptc, tools.get, tools.getAll, ToolStep.declarations), MCP on-demand loading awareness (mcp:<server>:tools), apply_patch multi-file header discovery, local-only str_replace_editor guidance, and dispatcher rules G17 / G18
  • [session-archive] Protect official SQLite session storage (user_version 1/2/3 and .segments/sessions.sqlite.cold/)
  • [remote-web-ui] Remove the packages/dsh-remote-web-ui workspace package while retaining tombstones and retiredPlugins silent no-op entries in @linxin666/dsh-web-all
  • [market] Inline icon.svg for every family package and include versioned community plugins in the Format 1 plugin-market-index.json

Fixes

  • [task-board] Deliver a scheduled occurrence that fires before its target window (#2093)
  • [skill-explorer] Accept the shared $DSH_AGENTS_HOME root in create/import (#2094) and confirm deletion inline inside the row (#2106)
  • [usage] Share one settings.describe() credential snapshot per overview/poll window and invalidate on updates (#2100)
  • [win-bash] Resolve sandbox policy per evaluation so cold starts withdraw pwsh (#2096) and fix pwsh replacement detection for 0.2.3-alpha.3
  • [ssh] Extract download filenames with POSIX rules and handle local tunnel listener errors before channel open (#2097)
  • [browser-view] Recognize the official remote-connection sign-in page for launch-token auth retry
  • [plugin-manager] Keep user overrides of group-nested entries when pruning orphans (#2091), defer cleanly to native plugin version sections, and compact built-in agent preset displays
  • [web-all] Pin the conversation pane to the single mobile track and shim rightbarCol (#2088)
  • [i18n / docs / market] Align Russian terminology across dictionaries, copy icon.svg into market-build fixtures, and refresh expired Discord invite links

Other changes

  • [satellites] Align all four satellites at 0.4.23; advance pins and rebuild market/dist (including the 291-entry community index and manifests)
  • [lib] Rebuild committed dsh-market and dsh-web-all artifacts at 0.4.23
  • [docs / tests] Add bilingual Agent Notes (0.2.3-alpha.2, alpha.3, alpha.4, retired dsh-remote-web-ui, and bug-fix notes), sync contributor credits, update package README host floors, and harden script/Windows tests

Don't miss a new dsh-web release

NewReleases is sending notifications on new releases.