为dsh-web-ui打分
给出您宝贵的评分:
手机端可长按图片保存,分享到朋友圈 / 社群
使用 dsh-web-ui,你可以:
DeepSeek Harness 网页 UI 插件与皮肤资源库,内置任务看板、git 图表、移动端 UI、令牌统计等多项实用组件。
用户评论 (0)
2026年08月20日
2026年08月24日
2026年09月10日
v0.4.22
2026年11月24日
本版将全仓 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-starlit0.1.3(恢复系统降低透明度适配并清理失效选择器,dsh-skins#110);社区插件索引新增dsh-session-color、dsh-sixlayer-memory、dsh-connectors、dsh-t3-inbox四个社区插件(索引增至 151 条)并补充投稿准入校验;宠物与预设中心为纯版本对齐。
兼容性与升级前提:本版将全部工作区包的
dsh.engines.dsh与@deepseek-ai/dshpeer 下限由>=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 下 jsdomlocalStorage报错 - [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-starlit0.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.2SDK 队列迁移、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-pluginsand@linxin666/dsh-client-ui-preset-centerare all published at0.4.22, and the aggregate's dependency ranges move to^0.4.22. Skin Center includes the absolutehooks.mjsURL resolution fix (dsh-skins#109) and market revisionremiel-starlit0.1.3 (restoring reduced-transparency support and dropping inert selectors,dsh-skins#110); the community plugin index registersdsh-session-color,dsh-sixlayer-memory,dsh-connectorsanddsh-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.dshand the@deepseek-ai/dshpeer floor from>=0.2.2-rc.3to>=0.2.3-alpha.2, and host packages raiseengines.nodeto^24.22.3 || >=26.13.1.dsh-plugin-managerevaluates updates with the same semver gate as the official boot check and blocks updating hosts below0.2.3-alpha.2(host-too-low) until the DSH host is upgraded first. Hosts already on0.2.3-alpha.2upgrade from0.4.21with 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 retiredui-settings-pluginsbare patch row is removed fromcordis.patch.ymlto prevent boot warnings. Runningdsh webdirectly runs no migrator (legacy@linxin666/dsh-web-ui-allto@linxin666/dsh-web-allmigration happens only inside theplugin-managerupdate task; if bypassing the update task from a legacy profile, replace@linxin666/dsh-web-ui-allwith@linxin666/dsh-web-allin the profile or reinstall@linxin666/dsh-web-all).
Rolling back: The new
promptSnapshot/titleSnapshotfields ondsh-task-boardexecution records are optional and tolerated by the0.4.21ledger parser, and thedsh.plugin-manager.ignored-updates.v1browserlocalStoragekey is ignored by older releases, so rolling back to0.4.21requires no local data cleanup. Environments staying on0.2.2-rc.xhosts should stay on0.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-environmentas a host peer face - [shared] Switch client bundles to the official
DocumentStylesmeta().stylesheetscontract, dropping direct DOM<style>injection inside modulefactory - [task-board] Snapshot
promptSnapshotandtitleSnapshotonto 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 thesubagent-routespreset, falling back to session events only when the service is absent
Fixes
- [plugin-manager / web-all] Remove the retired
ui-settings-pluginsbare patch row, refresh the0.2.3-alpha.2built-in row snapshot, and wireshared/vitest.setup.tsfor Node 26 jsdomlocalStorage - [diagrams] Update
INFOSTRING_CLASS_FRAGMENTandLANGUAGE_CLASS_FRAGMENTfor[hash]_[local]CSS Modules class names and suppress leaked Mermaid error diagrams in the DOM (#2084) - [remote-web-ui] Keep
@deepseek-ai/dsh-host-webserverexternal intsdown.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 rebuildmarket/distfordsh-skins(hooks.mjsfix andremiel-starlit0.1.3) anddsh-community-plugins(2026-11-24 registration round and submission policy) - [lib] Rebuild committed
dsh-marketanddsh-web-allartifacts at version0.4.22withDocumentStylesmetadata - [docs] Record bilingual Agent Notes and sync package READMEs for the
0.2.3-alpha.2cohort upgrade, execution content snapshots, and update ignore rules
v0.4.21
2026年11月22日
本版是四个插件的可靠性修复版:dsh-ssh 修掉连接挂起、连接池竞态、终端回压卡死与传输清理问题,dsh-task-board-ssh 新增一次调用即可完成的 task_board_ssh 工具面,dsh-remote-bridge 改按目录项判定附件身份、修掉跨平台误拒,dsh-task-board 为执行记录补充可选字段。四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)与主仓统一发布 0.4.21。
卫星仓与主仓同版本发布:
@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins与@linxin666/dsh-client-ui-preset-center均已发布0.4.21,聚合包对它们的依赖范围同步更新至^0.4.21。皮肤中心把市场内的remiel-starlit升到 0.1.2(面板不透明度按平台差异钉死),社区插件索引收录四个新插件并把dsh-man-031改名为dsh-man-report,宠物与预设中心是纯版本对齐。
兼容性:0.4.21 不含破坏性变更。npm 包名、聚合行 id(
web-ui-*)、设置 section id、/api/*路径、请求头与本地持久化键(dsh.taskBoard.v1、$DSH_HOME/dsh-ssh.json、$DSH_HOME/task-board/ledger-v2.json)全部沿用,从 0.4.19 或 0.4.20 升级无需任何迁移,更新后重启 DSH 即生效。dsh.engines.dsh下限仍是>=0.2.2-rc.3。社区插件索引里dsh-man-031已改名为dsh-man-report,商店按id/npm/repo匹配且没有别名,装过旧包的用户升级后该条目显示为未安装,按 npm 的弃用提示改装新包即可。
退回旧版时的注意事项:任务看板与 SSH 的既有记录仍按原字段读取,本版只新增可选字段(执行摘要、失败码、远端运行记录的执行 ID 与最近活动时间)。0.4.21 写下的远端执行记录含这些新键,0.4.20 的解析器会拒绝;如需退回 0.4.20,请先清掉 0.4.21 期间产生的远端执行记录。
新功能与架构调整
- [task-board-ssh] 新增
task_board_ssh一次调用完成面:预检、运行句柄、阻塞状态与过滤日志 - [task-board] 外部执行记录新增可选执行摘要、失败码与重试提示;远端运行记录新增执行 ID、最近活动时间与失败码
修复
- [ssh] 连接建立不再挂起,修复连接池在并发下的竞态,UTF-8 解码按字节边界切分
- [ssh] 无关的易变配置改动(字体、主题等)不再拆掉活路由与终端会话
- [ssh] 终端回压恢复不再卡死,UTF-8 回滚缓冲改为常数时间且容量有界
- [ssh] 主机存储缓存不再被并发写入破坏,ssh-config 导入改为批量处理,加固主机 PATCH 与下载清理
- [ssh] 递归上传可创建嵌套远端目录,修正 SFTP 速率计算
- [ssh] 集群错误不再被吞,隧道通道与在途生命周期加守卫,代理定时器随会话清理
- [ssh] 修复表单清空、重复主机拉取、回滚缓冲重放与隧道/传输错误处理
- [ssh] 系统清理
/tmp后传输暂存目录自动重建,下载附件文件名净化,下载读流中断时回收临时文件 - [remote-bridge] 附件身份改按目录项判定,修掉 Windows 8.3 短名与 macOS
/var路径导致的图片附件误拒 - [lint] 清理
task-board-ssh与dsh-ssh的三处静态检查错误
其他改动
- [market] 钉版
dsh-skins(remiel-starlit 0.1.2 修复)与dsh-community-plugins(2026-11-22 注册轮) - [docs] README 贡献者名单同步;记录
dsh-ssh可靠性与生命周期优化的决策 - [satellites] 对齐四个卫星仓
0.4.21并重建市场产物 - [lib] 随版本号
0.4.21重建dsh-market与dsh-web-all提交产物
English
A reliability release across four plugins: dsh-ssh fixes hung connects, connection-pool races, terminal backpressure stalls and transfer cleanup; dsh-task-board-ssh adds the one-call task_board_ssh agent surface; dsh-remote-bridge judges attachment identity by the directory entry and stops rejecting valid attachments across platforms; dsh-task-board adds optional fields to execution records. The four satellite repositories (skin center, pet, community plugin index, preset center) and the main monorepo ship 0.4.21 together.
Satellites ship at the same version:
@linxin666/dsh-client-ui-skin-center,@linxin666/dsh-pet,@linxin666/dsh-client-ui-community-pluginsand@linxin666/dsh-client-ui-preset-centerare all published at0.4.21, and the aggregate's dependency ranges move to^0.4.21. Skin Center moves the market content ofremiel-starlitto 0.1.2 (panel opacity pinned per platform), the community plugin index collects four new plugins and renamesdsh-man-031todsh-man-report, and Pet and Presets carry a version alignment only.
Compatibility: no breaking changes in 0.4.21. Package names, aggregate row ids (
web-ui-*), settings section ids,/api/*paths, request headers and local persistence keys (dsh.taskBoard.v1,$DSH_HOME/dsh-ssh.json,$DSH_HOME/task-board/ledger-v2.json) are unchanged, so upgrading from 0.4.19 or 0.4.20 needs no migration; restart DSH after the update. Thedsh.engines.dshfloor stays>=0.2.2-rc.3. In the community plugin indexdsh-man-031is nowdsh-man-report; the store matches onid/npm/repowith no aliases, so anyone who installed the old package sees that entry as not installed and moves to the new package through the npm deprecation notice.
Rolling back: existing board and SSH records still parse through their original fields; this release only adds optional ones (execution summary, error code, remote-run execution id and last-activity time). Remote run records written by 0.4.21 carry those new keys, which the 0.4.20 parser rejects, so drop the remote runs produced during 0.4.21 before rolling back to 0.4.20.
Features and architecture
- [task-board-ssh] The one-call
task_board_sshsurface: preflight, run handle, blocking status and filtered logs - [task-board] External execution records gain optional summary, error code and retry hint; remote run records gain execution id, last activity and error code
Fixes
- [ssh] Connects no longer hang, connection-pool races are closed, UTF-8 decoding splits on byte boundaries
- [ssh] Unrelated volatile config edits (font, theme) stop tearing down live routes and terminal sessions
- [ssh] Terminal backpressure resumes instead of stalling, and the UTF-8 scrollback is bounded in constant time
- [ssh] The host store cache no longer corrupts under concurrent writes, ssh-config import batches its work, host PATCH and download cleanup are hardened
- [ssh] Recursive uploads create nested remote directories and the SFTP speed calculation is corrected
- [ssh] Cluster errors are preserved, tunnel channels and in-flight lifecycles are guarded, proxy timers are cleaned up
- [ssh] Form clearing, duplicate host fetches, scrollback replay and tunnel/transfer error handling are fixed
- [ssh] The staging directory is recreated after
/tmpsweeps, download attachment filenames are sanitized, interrupted download streams release their temporary file - [remote-bridge] Attachment identity is judged by the directory entry, fixing rejected image attachments under Windows 8.3 short names and the macOS
/varpath - [lint] Three static-check errors in
task-board-sshanddsh-sshare cleared
Other changes
- [market] Pin
dsh-skins(remiel-starlit 0.1.2 fix) anddsh-community-plugins(2026-11-22 registration round) - [docs] Contributor list synced from the GitHub API;
dsh-sshreliability and lifecycle decisions recorded - [satellites] Align the four satellites to
0.4.21and rebuild the market artifacts - [lib] Rebuild the committed
dsh-marketanddsh-web-allartifacts at version0.4.21
v0.4.20
2026年11月20日
本版新增 dsh-task-board-ssh(任务看板的 SSH 远程执行提供方)并并入聚合家族,同时让 dsh-ssh 发布 dshSsh 服务并支持受管密钥引用;四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)与主仓统一发布 0.4.20。
卫星仓与主仓同版本发布:
@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins与@linxin666/dsh-client-ui-preset-center均已发布0.4.20,聚合包对它们的依赖范围同步更新至^0.4.20。皮肤中心修复了子路径反向代理下的请求路径,社区插件索引新增六个插件。
兼容性:没有破坏性变更。
dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限仍是>=0.2.2-rc.3;包名、导出面、已持久化标识与线协议均未改。dsh-task-board-ssh是新增家族行,经@linxin666/dsh-web-all升级的用户会自动获得它,未安装dsh-ssh时它只在看板中提示未挂载,不改变既有看板行为。
新功能与架构调整
- [ssh] 发布
dshSshcordis 服务供同级插件复用,并为主机增加受管密钥引用(#2069) - [task-board-ssh] 新增 SSH 远程执行提供方:在创建对话框中固定远程目标、按主机运行卡片、原地与 git 两种工作区策略、远程运行详情与卡片主机标记
- [task-board] 扩展契约新增启动拦截接缝、提供方自带新卡片分区,Host 服务携带扩展注册表日志位
- [plugin-manager] 内置插件列表支持搜索与分页
- [liangshen] 空闲命名空间延迟回收,不额外重建缓存
- [satellites] 对齐四个卫星仓
0.4.20并按最新钉版重建市场产物
修复
- [security] 代理接口按 Host 信任规则放行(#2073)
- [liangshen] 修复原生过滤并新增
keepSections(#2072 #2071) - [task-board] 复用会话时跳过已归档会话(#2068);无法确认持有者的陈旧账本锁现在会被回收;详情操作栏在矮视口内不再溢出;成功的外部运行按结论而非错误展示
- [i18n] 补全 Codex 本地化并回退到英文(#2075)
- [web-all] compat 移动契约与官方抽屉判定保持一致
- [browser-view] 面板保持可达并清除裸准入拒绝提示
- [diagrams] mermaid 围栏在两种渲染器横幅形态下均能正确识别
- [ssh] sshd 日志通道在子进程存活期间保持打开;稳定
dshSsh在无关设置编辑下的提供 - [task-board-ssh] 拒绝会被 git 当作选项解析的来源与卡片地址,替换而非改写已安装的启动器,修复取消流程与空日志问题
其他改动
- [docs] 更新 READMEs、包文档与
dsh-marketSEO 元数据,publish-prep纳入dsh-task-board-ssh - [task-board-github] 精简同步设置文案并压缩仓库行
- [lib] 随版本号
0.4.20重建dsh-market与dsh-web-all提交产物
English
This release adds dsh-task-board-ssh (the task board's SSH remote-execution provider) to the aggregate family, makes dsh-ssh publish the dshSsh service with managed key references, and ships 0.4.20 together across the four satellite repositories (skin center, pet, community plugin index, preset center) and the main monorepo.
Satellites ship at the same version:
@linxin666/dsh-client-ui-skin-center,@linxin666/dsh-pet,@linxin666/dsh-client-ui-community-pluginsand@linxin666/dsh-client-ui-preset-centerare all published at0.4.20, and the aggregate's dependency ranges move to^0.4.20. Skin Center fixes request paths behind sub-path reverse proxies and the community index gains six plugins.
Compatibility: no breaking changes. The
dsh.engines.dshand@deepseek-ai/dshpeer floor stays>=0.2.2-rc.3; package names, export surfaces, persisted identifiers and the wire protocol are unchanged.dsh-task-board-sshis a new family row that@linxin666/dsh-web-allusers receive automatically; withoutdsh-sshit only reports "not mounted" on the board and leaves existing board behaviour untouched.
Features and architecture
- [ssh] Publish the
dshSshcordis service for sibling plugins and add managed key references for hosts (#2069) - [task-board-ssh] New SSH remote-execution provider: pin the remote target from the create dialog, run cards on their host, in-place and git workspace strategies, remote-run detail seat and host chip
- [task-board] The extension contract gains a launch intercept seam and provider-contributed new-card sections; the Host service carries the extension registry logging seat
- [plugin-manager] Search and pagination for the built-in plugin list
- [liangshen] Deferred idle namespace reclaim without extra cache rebuilds
- [satellites] Align the four satellites to
0.4.20and rebuild the market artifacts at the latest pins
Fixes
- [security] Honor Host trust for proxied APIs (#2073)
- [liangshen] Repair native filtering and add
keepSections(#2072 #2071) - [task-board] Skip archived sessions during reuse (#2068); reclaim a stale ledger lock whose owner cannot be identified; keep the detail action bar inside a short viewport; read a succeeded external run as a conclusion rather than an error
- [i18n] Localize Codex and fall back to English (#2075)
- [web-all] Mirror the official drawer eligibility in the compat mobile contract
- [browser-view] Keep the panel reachable and clear the bare admission refusal
- [diagrams] Claim mermaid fences across both renderer banner shapes
- [ssh] Keep the sshd harness log sink open for the child's lifetime; keep the
dshSshprovision stable across unrelated settings edits - [task-board-ssh] Refuse sources and card addresses git would read as options, replace the installed launcher instead of rewriting it, fix the cancel path and the empty-log hole
Other changes
- [docs] Update READMEs, package docs and
dsh-marketSEO metadata;publish-preplistsdsh-task-board-ssh - [task-board-github] Slim the sync settings copy and compact repository rows
- [lib] Rebuild the committed
dsh-marketanddsh-web-allartifacts for version0.4.20
v0.4.19
2026年11月16日
本版将 @deepseek-ai/* SDK cohort 升级至 0.2.2-rc.3,四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)与主仓统一发布 0.4.19;同时将 dsh-agents 小队能力迁入官方原生 Agent Teams 运行时、同步梁神预设调度器规则、移除 dsh-message-edit 与 dsh-win-bash 梁神门控,并修复任务看板鉴权、用量统计、浏览器自愈、技能目录刷新与远程中继等多处缺陷。
卫星仓与主仓同版本发布:
@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins与@linxin666/dsh-client-ui-preset-center均已发布0.4.19,聚合包对它们的依赖范围同步更新至^0.4.19。四个卫星包现已携带插件页展示元数据(locale/en.json、locale/zh.json与exports),社区插件索引增至 137 条,市场站(market/dist)已随最新钉版重建。
升级须知
- 宿主最低版本抬升至
0.2.2-rc.3:所有家族包的dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限均从>=0.2.2-rc.2升至>=0.2.2-rc.3。npm 上latest标签仍停在旧版,安装或升级宿主请使用npm i -g @deepseek-ai/dsh@next。 dsh-message-edit已移除:消息编辑并重发插件及其聚合行(web-ui-message-edit)已从家族移除。常规通过@linxin666/dsh-web-all安装与升级的用户可直接升级(升级后不再挂载该行);若旧 profile 中手动保留了对web-ui-message-edit或该包的显式行配置,请在升级前删除对应残留行。dsh-win-bash遗留配置兼容:syncWithLiangShen开关与门控已移除,win_bash仅按 Windows x64 平台与随包载荷生效;旧 profile 中若仍带有syncWithLiangShen字段,会被静默忽略而不报错。
新功能与架构调整
- [sdk] 升级
@deepseek-ai/*SDK 队列至0.2.2-rc.3并补全跨 peer 网关连接鉴权桥接 - [dsh-agents] 将小队(Squads)运行挂载到官方原生 Agent Teams 运行时,并按运行记录切换 Team 模式
- [liangshen] 同步调度器规则至上游
0.72.0,移除spawn_teammate并对齐 subagent-control 目录;优化预设热点路径、去重辅助逻辑并加固组合装配 - [satellites] 对齐四个卫星仓
0.4.19、补充插件页展示元数据,并按最新钉版重建市场产物(66 套皮肤、12 只宠物、137 个社区插件、33 个预设)
修复
- [task-board] 注入连接鉴权上下文,修复信任桥返回 400 的问题
- [usage] 按剩余额度推导用量百分比并支持探测账户余额(#2045 #2047)
- [browser-view] CDP 会话失效后自动自愈,并清理 Windows 临时浏览器配置目录(#2051)
- [skill-explorer] 技能增删改后自动刷新斜杠菜单技能目录(#2041)
- [web-all] 窄屏环境下将 compat 抽屉与遮罩让位给
dsh-web-mobile(#2050) - [relay] 在两条中继传输路径上统一传递手机身份字节(#2052)
- [market] 仅在存在 POSIX 权限位的平台上校验 staged secret 文件权限
其他改动
- [family] 彻底移除
dsh-message-edit插件及dsh-win-bash的梁神同步门控 - [docs] 更新
publish-prep发布对照表(纳入browser-view)并补充dsh-agents中文 README 外子代理规则说明 - [lint] 清理
dsh-agents与dsh-win-bash中未使用的导入与辅助函数 - [lib] 随版本号
0.4.19重建dsh-market与dsh-web-all提交产物
English
This release upgrades the @deepseek-ai/* SDK cohort to 0.2.2-rc.3 and ships 0.4.19 together across the four satellite repositories (skin center, pet, community plugin index, preset center) and the main monorepo. It also mounts dsh-agents squads onto the native Agent Teams runtime, syncs the Liangshen dispatcher rules, removes dsh-message-edit and the dsh-win-bash Liangshen gate, and fixes issues in task-board auth, usage quota calculation, browser-view CDP recovery, skill-explorer catalog refresh, and remote relay transport.
Satellites ship the same version:
@linxin666/dsh-client-ui-skin-center,@linxin666/dsh-pet,@linxin666/dsh-client-ui-community-plugins, and@linxin666/dsh-client-ui-preset-centerare all released at0.4.19, and the aggregate dependencies move to^0.4.19. All four satellites now ship plugin-page display metadata (locale/en.json,locale/zh.json, andexports), the community plugin catalog grows to 137 entries, andmarket/distis rebuilt from the updated pins.
Upgrade Notes
- Host floor raised to
0.2.2-rc.3:dsh.engines.dshand the@deepseek-ai/dshpeer floor across all family packages rise from>=0.2.2-rc.2to>=0.2.2-rc.3. Because npmlateststill points at an older build, install or upgrade the host vianpm i -g @deepseek-ai/dsh@next. dsh-message-editremoved: the message-edit plugin and its aggregate row (web-ui-message-edit) have been removed from the family. Standard@linxin666/dsh-web-allupgrades drop the row automatically; if a legacy profile explicitly referencesweb-ui-message-editor imports the removed package, remove that stale row before upgrading.dsh-win-bashlegacy config compatibility: thesyncWithLiangShenoption and gate are removed sowin_bashfollows Windows x64 platform and payload verification directly; legacy profile rows still carryingsyncWithLiangShenare silently ignored without error.
New Features and Architecture
- [sdk] Upgrade the
@deepseek-ai/*SDK cohort to0.2.2-rc.3and bridge peer connection auth - [dsh-agents] Mount squads onto the native Agent Teams runtime and switch Team mode based on the run record
- [liangshen] Sync dispatcher rules to upstream
0.72.0, dropspawn_teammate, align the subagent-control catalog, optimize preset hot paths, deduplicate helpers, and harden composition - [satellites] Align the four satellite repositories at
0.4.19, add plugin-page display metadata, and rebuild market artifacts from the pinned commits (66 skins, 12 pets, 137 plugins, 33 presets)
Bug Fixes
- [task-board] Inject connection auth so the trust bridge stops answering 400
- [usage] Derive quota percentage from remaining quota and probe account balance (#2045 #2047)
- [browser-view] Self-heal dead CDP sessions and clean Windows temporary browser profiles (#2051)
- [skill-explorer] Refresh the slash-menu skill catalog after skill mutations (#2041)
- [web-all] Yield narrow-screen compat drawer and backdrop to
dsh-web-mobile(#2050) - [relay] Hand the phone identity bytes on both relay transports (#2052)
- [market] Assert staged secret file mode only on platforms with POSIX permission bits
Other Changes
- [family] Remove the
dsh-message-editplugin and thedsh-win-bashLiangshen gate - [docs] Refresh the
publish-preprelease table withbrowser-viewand mirror the external-child rule intodsh-agentsChinese README - [lint] Remove unused imports and helper in
dsh-agentsanddsh-win-bash - [lib] Rebuild committed
lib/artifacts fordsh-marketanddsh-web-allat0.4.19
v0.4.18
2026年11月12日
本版是一次对齐发布:四个卫星仓(皮肤中心、宠物、社区插件索引、预设中心)同版本到 0.4.18,并把它们的 @deepseek-ai/* SDK cohort 从 0.2.2-rc.1 对齐到 0.2.2-rc.2,dsh.engines.dsh 与 @deepseek-ai/dsh 对等依赖下限随之抬到 >=0.2.2-rc.2——此前卫星仓仍声明 rc.1,与全家桶的实际宿主下限不一致。本仓自身的宿主下限与 0.4.17 相同(>=0.2.2-rc.2),没有新的用户可见功能;同时把 pnpm lint 从「只报告不阻断」改成真门禁:规则集按本仓写法收敛、存量 1239 条清零。
卫星仓与主仓同版本、同 cohort:
@linxin666/dsh-client-ui-skin-center、@linxin666/dsh-pet、@linxin666/dsh-client-ui-community-plugins、@linxin666/dsh-client-ui-preset-center四个包由各自仓库以0.4.18先发,本仓再以同号跟进,聚合包对它们的依赖范围一并移到^0.4.18。四个仓的宿主下限现在与本仓同源。
宠物的运行时依赖修复:0.2.2-rc.2的@deepseek-ai/dsh-llm在lib/index.js里运行时import '@deepseek-ai/dsh-error',而autoInstallPeers: false不会把这条 peer 装上,干净安装的测试套件会直接报Cannot find package '@deepseek-ai/dsh-error'。@linxin666/dsh-pet@0.4.18已把它显式写进开发依赖。
lint 门禁转阻断:.oxlintrc.json关掉 9 条与本仓写法必然冲突的规则(顺序 IO 的await in loop、函数外提、标识符遮蔽、spread 更新、DOM 处理函数赋值等),docs/archive/作为冻结快照排除;余下 293 条按修代码处理,只在两处保留注明理由的逐行豁免。CI 的 lint 步骤不再带|| true,新出现的 finding 即回归。
升级须知
- 宿主下限没变:仍是
@deepseek-ai/dsh >= 0.2.2-rc.2,与0.4.17相同;npm 上latest依旧指向0.2.2-rc.1,用latest装出来的宿主不满足下限,装宿主用npm i -g @deepseek-ai/dsh@next。 - 卫星包要求同一宿主:四个卫星包
0.4.18起声明>=0.2.2-rc.2。已经是0.4.17的用户升上来不需要迁移动作,profile、看板账本与设置 key 一个都没变。
其他改动
- [satellites] 四个卫星仓对齐
0.4.18并迁到0.2.2-rc.2cohort,其dsh.engines.dsh与 peer 下限同步抬到>=0.2.2-rc.2 - [pet] 补上
@deepseek-ai/dsh-error开发依赖:rc.2 的dsh-llm在运行时 import 它,缺这条依赖会让干净安装的测试与发布门禁直接失败 - [tooling]
pnpm lint从报告型检查改成阻断门禁:规则集按本仓写法收敛、存量清零,CI 不再吞掉 lint 结果 - [lib]
dsh-market与dsh-web-all提交的lib/随版本号重建
English
This is an alignment release: the four satellite repositories (skin center, pet, community plugin index, preset center) ship the same 0.4.18 and move their @deepseek-ai/* SDK cohort from 0.2.2-rc.1 to 0.2.2-rc.2, so dsh.engines.dsh and the @deepseek-ai/dsh peer floor rise to >=0.2.2-rc.2 - until now the satellites still declared rc.1 and disagreed with the family's real host floor. This repository's own floor is unchanged from 0.4.17 (>=0.2.2-rc.2), there is no new user-visible feature, and pnpm lint turns from a report-only step into a real gate: the rule set is tuned to this codebase's idioms and the 1239 standing findings are gone.
Satellites ship the same version and cohort as this repository:
@linxin666/dsh-client-ui-skin-center,@linxin666/dsh-pet,@linxin666/dsh-client-ui-community-pluginsand@linxin666/dsh-client-ui-preset-centerpublish0.4.18from their own repositories first, this repository follows with the same number, and the aggregate's dependency ranges move to^0.4.18with them. All four now declare the same host floor as this repository.
A runtime dependency fix in the pet plugin:@deepseek-ai/dsh-llmat0.2.2-rc.2imports@deepseek-ai/dsh-errorat runtime fromlib/index.js, andautoInstallPeers: falsedoes not install that peer, so a clean install fails the test suite outright withCannot find package '@deepseek-ai/dsh-error'.@linxin666/dsh-pet@0.4.18declares it as a development dependency.
The lint gate now blocks:.oxlintrc.jsonturns off nine rules that necessarily conflict with this codebase's idioms (sequential IO's await in loop, function hoisting, identifier shadowing, spread updates, DOM handler assignment and similar),docs/archive/is excluded as a frozen snapshot, and the remaining 293 findings were fixed in code with only two reasoned per-line waivers. The CI lint step no longer carries|| true, so a new finding is a regression.
Upgrade Notes
- The host floor is unchanged: still
@deepseek-ai/dsh >= 0.2.2-rc.2, the same as0.4.17; npm'slateststill points at0.2.2-rc.1, so a host installed fromlatestdoes not satisfy it - install the host withnpm i -g @deepseek-ai/dsh@next. - The satellites require the same host: the four satellite packages declare
>=0.2.2-rc.2from0.4.18on. Anyone already on0.4.17needs no migration: no profile, task board ledger or settings key moved.
Other Changes
- [satellites] Align the four satellite repositories to
0.4.18and move them to the0.2.2-rc.2cohort, raising theirdsh.engines.dshand peer floor to>=0.2.2-rc.2 - [pet] Add the
@deepseek-ai/dsh-errordevelopment dependency:dsh-llmimports it at runtime on rc.2, and its absence fails a clean install's tests and the release gate - [tooling] Turn
pnpm lintfrom a reporting step into a blocking gate: the rule set is tuned to this codebase's idioms and the standing findings are gone, so CI no longer swallows the result - [lib] Rebuild the committed
lib/artifacts ofdsh-marketanddsh-web-allwith the new version
v0.4.17
2026年11月12日
本版把宿主下限抬到 @deepseek-ai/dsh >= 0.2.2-rc.2:请先升宿主,再升插件——用 npm i -g @deepseek-ai/dsh@next 装宿主,再以 dsh --version 校验,因为 npm 上的 latest 仍指向 0.2.2-rc.1,用 latest 装到的宿主不满足本版下限,在它上面点「更新」会被保护性拒绝。除此之外,本版把浏览器视图的闲置页面回收、梁神模式的按需工具族分页与插件页的批量更新各推进一步,并从任务看板移除了 /goal 运行选项与 goal 验收;对已经跑在 0.2.2-rc.2 上的用户,本版同时是一次修复:0.4.16 的 web-ui-agents 行在 rc.2 宿主上导入即失败。四个卫星仓在本版同版本对齐到 0.4.17。
宿主下限抬到
@deepseek-ai/dsh >= 0.2.2-rc.2,先升宿主再升插件:全部家族包的dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限从>=0.2.2-rc.1移到>=0.2.2-rc.2,随本版一起移到 rc.2 的还有工作区全部@deepseek-ai/*区间、CI 与发布挂载的DSH_CLI_VERSIONpin、两个根 README 与全部 32 个包 README 的徽章,以及 lockfile。升级顺序是宿主优先:npm i -g @deepseek-ai/dsh@next之后用dsh --version确认已到0.2.2-rc.2,再在插件页升级全家桶。npm 的latest仍是0.2.2-rc.1(rc.2 只发在next标签上),用latest装出来的宿主不满足本版下限:dsh --version若还报0.2.2-rc.1,这趟升级就没到位,别急着升插件。
rc.1 宿主上点「更新」会看到保护性拒绝,这是预期行为而不是故障:更新请求在动手之前解析目标包声明的宿主下限,运行中的宿主不满足即返回 HTTP 412,界面显示... requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating(宿主侧完整形态是plugin-manager: <包名> requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating)。这条拒绝发生在任何写入之前,写入为零:profile、磁盘上的包与看板账本都不会被改动,按提示把宿主升到位后重试即可。
若在 rc.1 上手工装了 0.4.17:dsh web仍能启动,但整套 dsh-web 插件不加载:官方 boot gate 按 bundle 粒度跳过不满足下限的包,stderr只有一行dsh: skipping profile bundle "@linxin666/dsh-web-all": <原因>(格式为<binName>: skipping profile bundle <JSON 包名>: <原因>),不抛错、不删任何数据、其余 bundle 照常启动。把宿主升到0.2.2-rc.2再重启即恢复,profile 不用改。应急手段有两条:一是为这个精确版本开豁免——dsh plugin --profile <profile> allow-version <包名>@<版本> --dsh-version 0.2.2-rc.1 --accept-risk,豁免只作用于该包与该 DSH 版本的组合;二是把包移除、回退到0.4.16。
对已在0.2.2-rc.2上的宿主,本版是一次修复:rc.2 移除了@deepseek-ai/dsh-subagent/internal子路径导出,而0.4.16的dsh-agents在模块顶层静态导入它,于是聚合包的web-ui-agents行在导入阶段抛出ERR_PACKAGE_PATH_NOT_EXPORTED: './internal',被故障隔离壳按stage: import记为降级行——这一行的界面与工具全部缺失,其余行照常工作。本版改为优先探测Symbol.for('dsh.subagent.deliverPrompt')、缺省回退到subagents.sendMessage(caller, target.id, content, { signal }),同一份产物在两代宿主上都能加载与工作。
浏览器视图:闲置满 3 天的页面自动关闭:TabRecord.lastActiveAt在接入 target 时落一次,之后只由能解析到该页面的browser_*调用刷新;BrowserViewService.sweepIdle每十分钟扫一次(定时器unref、dispose 时清除),把超出窗口的页面走既有的closeTab路径关掉——指向它的会话绑定被丢弃、钉在它上面的面板回退到剩下的标签页、面板状态被广播;没有浏览器在跑时既不扫描也不拉起。窗口是新设置idleCloseDays:默认 3 天、最小 0、设 0 关闭该能力,每次扫描现读,所以改设置在下一次扫描就生效,既不用重挂插件也不用重连浏览器。接管的真实浏览器页面永远不会被自动关闭:候选只限插件自己创建(origin: 'created')的标签页,在面板里看它、选中它的 chip 与投屏帧都不算活跃。闲置时钟只在内存里,宿主重启后每个页面的计时重新开始。
梁神模式:按需工具族出厂开启:出厂pagedToolPatterns从只分页 MCP 桥接扩到['mcp__*', 'browser_*', 'task_board_*', 'team_*', 'squad*', 'ui_*', 'ssh_*'],宿主内建工具(shell、文件系统、glob/grep、后台作业、skill、ask_user_question、todo_write、web_search、子代理委派、plan、goal、fact_register、tool_activate与 MCP 资源读取)全部常驻。被扣留的族在目录里以一行命名空间摘要宣告,首次调用前需要tool_activate({ namespace })把命名空间挂回:mcp__*取工具名的第一个__分段(mcp__codegraph__codegraph_explore→codegraph),其余按字面头部推导(task_board_*→task_board、squad*→squad),裸写一个*会被拒绝。最多同时保持 3 个已激活的命名空间,激活第四个时把最久未用的那个逐回摘要;ptc呈现下这些摘要代表真正不可达的命名空间——既不在该请求的tools:sdk段,也不能在run_code程序内调用。设置卡片把列表暴露为「按需工具族」字段,写成空值即取消分组、恢复全量常驻(三处读取同一份模式表的行一并改写)。实测同一套会话的系统提示词从 104,949 字符降到 58,961 字符,tools:sdk段从 73,675 字符降到 27,666。
任务看板移除/goal运行选项与 goal 验收:goalRunEnabled与TaskRecord.goalRun、/goal的派发、session/projections的目标阶段判定、五个goalVerification*配置键、TaskRecord.skipVerification、ExecutionRecord.verification契约、tools/pre-execute上的update_goal(action: complete)拦截门、裁判模型执行器与task_board_manage(action: 'reset-verification')一并移除;手动执行、定时触发与rework返工一律按普通单回合运行,结算只看该回合的turn/end结果,不再产生额外的裁判模型调用。旧卡片与历史执行记录完整保留:权威账本$DSH_HOME/task-board/ledger-v2.json仍是schemaVersion: 7,旧行残留的goalRun、skipVerification、verification在加载时直接丢弃、绝不因此拒绝整行,也不再回写;非严格插件配置加载同样忽略旧 profile 补丁里残留的键。对task_board_manage传reset-verification现在按未知动作拒绝。
插件页批量更新:一次请求跑完整批,单行被拒不中断其余行:更新改走官方updateBundle(name, version, { requestId })这一条原语(管理器自己校验目标、移除已装版本、按找到的勾选状态安装、失败时把旧版本装回),批量成为本 host 对同一原语的串行排序执行,浏览器只发一次请求并轮询同一个任务。每行在任务里有一条自己的结果(phase/targetVersion/landed/error/restartRequired),请求在动手前按单条路由自己的规则逐条解析,拒绝变成那一行的错误而不是整批失败;整批上限 50 行、重复 id 只解析一次,最后一行答复后整批一律结束。已落地但当前进程加载不了的包记成「需要重启」的行而不是错误,两处界面都写明包名——更新后可能仍需重启 DSH 才加载新版本。
全新安装若报ERR_PNPM_IGNORED_BUILDS,按提示先批准构建再重跑:在还没有批准过构建脚本的 profile 上首次安装,pnpm 会以[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: cloudflared@..., cpu-features@..., ssh2@...结束并给出Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.,dsh plugin add随之以退出码 1 结束,且不会把包挂进dsh.profile.bundles——也就是「装了但没生效」。按提示先执行pnpm approve-builds批准这三个依赖的构建脚本,再重跑同一条dsh plugin add。
升级须知
- 宿主下限从
>=0.2.2-rc.1抬到>=0.2.2-rc.2:本版抬高了dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限,停在0.2.2-rc.1的宿主不再满足条件。升级顺序是宿主优先,而 npm 的latest仍是0.2.2-rc.1:装宿主必须用next标签(npm i -g @deepseek-ai/dsh@next),装完用dsh --version校验。 - rc.1 宿主上的更新拒绝是保护性设计:HTTP 412 加
requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating,发生在任何写入之前,不留下半装状态。看到它说明宿主还没升到位,不需要排查插件。 - rc.1 上手工装了 0.4.17 的恢复路径:
dsh web仍能启动,stderr 只有一行dsh: skipping profile bundle ...,整套插件不加载;把宿主升到0.2.2-rc.2重启即恢复,profile 无需改动。应急可用dsh plugin --profile <profile> allow-version <包名>@<版本> --dsh-version 0.2.2-rc.1 --accept-risk为该精确组合开豁免,或移除包回退到0.4.16。 - rc.2 宿主上的
web-ui-agents导入失败已在本版修复:0.4.16在 rc.2 上会因./internal子路径消失而以ERR_PACKAGE_PATH_NOT_EXPORTED丢掉这一行;本版的双队列探测让同一产物在 rc.1 与 rc.2 上都能加载。 - 浏览器视图新增
idleCloseDays,默认 3 天:只回收插件自己创建的页面,接管的真实浏览器页面不受影响;设 0 关闭该能力;闲置时钟只在内存,宿主重启后计时重来。只在面板里被观看、没有任何工具调用的页面同样会在窗口到期时关闭。 - 梁神模式的工具面默认分组:出厂分页
mcp__*、browser_*、task_board_*、team_*、squad*、ui_*、ssh_*,宿主内建工具常驻;被扣留的族在tool_activate({ namespace })之前不可达,最多同时激活 3 个;设置卡片里把「按需工具族」写成空值即恢复全量常驻。 - 任务看板的退役字段与账本兼容:本版删除
/goal运行选项与 goal 验收,账本 schema 仍是 v7,旧卡片与历史执行记录完整保留,退役字段在加载时丢弃且不回写,不需要任何迁移动作。 - 批量更新与重启事实:插件页的「全部更新」现在是一次请求、一个任务,单行被拒不中断其余行;已落地但当前进程加载不了的包会明确标注需要重启 DSH。本版不再自拼「移除再安装」的两阶段替换,层序(
dsh.profile.bundles中的位置)在连续更新后保持原样。 - 全新安装的
ERR_PNPM_IGNORED_BUILDS陷阱:dsh plugin add会以退出码 1 结束且不挂 bundle,先pnpm approve-builds再重跑。 - 平台验证声明:本版在 Linux(Ubuntu x86_64)的钉定 rc.2 宿主树上跑过仓库门禁(
typecheck、build、test、test:scripts、libs:check、aggregate:check、docs:check、i18n:check、emoji:check等)。Windows 与 macOS 未在物理实机上验证。发布时运行中的宿主未被重启,因此新增的idleCloseDays设置卡与插件页批量更新工具条的真实 GUI 观察,要在重启宿主并刷新页面之后才能补上。
新功能
- [plugin-manager] 批量更新改走官方
updateBundle并在本 host 串行排序执行:一次请求、一个任务、每行一条自己的结果,单行被拒不中断其余行,需重启的行记为已落地事实 - [remote-bridge] 新增
session.attachment.path:按会话自己 transcript 里点名的绝对路径提供那张图的字节,白名单只由该会话的 offload 占位符与 durable 工具结果发布的图片引用构成,路径须逐字节相等、realpath()解析到自身、确实是常规文件且首字节命中四种图片签名之一(不看扩展名)
修复
- [agents,liangshen] 桥接 DSH 0.2.2-rc.2 的运行期契约:
dsh-agents去掉对@deepseek-ai/dsh-subagent/internal的静态导入并双队列探测投递、startActivation同时传顶层字段与request嵌套字段、兼容drainChildren/drainDescendants/started.dispose(),并在官方agent-team行在场时让位;dsh-liangshen的 dispatch-guard 在agents.roots()缺省时回退探测subagents.rootOf(caller) - [sdk] 根宿主面承载
@deepseek-ai/dsh-error@0.2.2-rc.2,dsh-agents与dsh-remote-web-ui把zod钉到 4.6.6,并由dsh-agents自持 Team identity 的 prompt context 位置 125(rc.2 已从中央顺序表删掉该名字) - [agents] 成员与小队草稿被拒时点名具体字段:
gateMemberRequestBody/gateTeamRequestBody返回单条原因,取代固定的「not a usable definition」,客户端改名或新增字段时能看出是哪一个不被接受 - [remote-bridge] 一并读取 durable 工具结果里的 JSON 图片引用(
{ path, image: { ... } },即run_code程序自身返回值的持久化形态),并以mediaType必须以image/开头作为闸门,避免把工具仅仅提到过的文件放进白名单 - [sdk]
0.2.2-rc.2宿主上聚合包web-ui-agents行的ERR_PACKAGE_PATH_NOT_EXPORTED: './internal'导入失败,由上面两条双队列改动消除
行为变化
- [browser-view] 插件自己创建的页面闲置满窗口即自动关闭:窗口是新设置
idleCloseDays(默认 3 天、最小 0、设 0 关闭),每次扫描现读;接管的真实浏览器页面不是候选,在面板里观看也不算活跃;闲置时钟只在内存,宿主重启后计时重来 - [liangshen] 按需工具族出厂开启:
pagedToolPatterns默认['mcp__*', 'browser_*', 'task_board_*', 'team_*', 'squad*', 'ui_*', 'ssh_*'],宿主内建工具常驻;被扣留的族在tool_activate({ namespace })之前既不在 wire 与生成的 SDK 上、也不能在run_code程序内调用,最多同时激活 3 个,设置里把列表写成空值即取消分组 - [task-board] 移除
/goal运行选项与 goal 验收:执行形态统一为普通单回合、结算只看turn/end,不再有裁判模型调用与reset-verification解卡动作;账本 schema 仍是 v7,旧卡片与历史执行记录完整保留,退役字段加载时丢弃且不回写
其他改动
- [market] 把 2026-11-08、11-09、11-10、11-11 四轮卫星登记与本轮的升序索引重建依次钉进子模块 gitlink 并重出
market/dist,当前商店目录为 66 套皮肤、12 只宠物、124 个插件、33 个预设 - [task-board] 详情页运行折叠行的 key 从
detail.settings.advanced改为detail.settings.run,标题与新建对话框统一为「运行方式」/Run Mode/Режим запуска,折叠结构与唯一的会话复用开关不动 - [team-hub]
PROTOCOL.md七处把「自动验收」改写为按宿主自己的执行判定结算(移除验收门后的对齐),字段名、结算端点签名、in_review/failed状态与全部数值常量未变 - [docs] 浏览器与 GUI 验收改为以会话挂载的
browser_*工具为主,Playwright 退为回退手段与提交门禁pnpm test:mount,并把这条默认的归属写进决策笔记 - [lib]
dsh-market与dsh-web-all提交的lib/产物随区间内改动重建 - [satellites]
dsh-skins、dsh-pet、dsh-community-plugins与dsh-presets四个子模块 gitlink 前移到各自的 0.4.17 发布提交 - [remote-bridge] 附件门禁用例按门禁要求的角色命名(仅测试重命名,无行为变化)
- [notes] 记录 0.2.2-rc.2 队列及其原生优先重叠盘点等决策笔记
English
This release raises the host floor to @deepseek-ai/dsh >= 0.2.2-rc.2: upgrade the host first, then the plugins. Install it with npm i -g @deepseek-ai/dsh@next and confirm with dsh --version, because npm's latest still points at 0.2.2-rc.1 and a host installed from latest does not satisfy this release's floor - its update button refuses the upgrade protectively. Beyond that, this release moves browser-view idle page reclamation, LiangShen's on-demand tool-family paging and the Plugins page batch update one step each, and removes the task board's /goal run option and goal acceptance; for anyone already on 0.2.2-rc.2 this release is also a fix, because 0.4.16's web-ui-agents row fails to import on an rc.2 host. The four satellite repositories align to 0.4.17.
The host floor rises to
@deepseek-ai/dsh >= 0.2.2-rc.2; upgrade the host first:dsh.engines.dshand the@deepseek-ai/dshpeer dependency of every family package move from>=0.2.2-rc.1to>=0.2.2-rc.2, and the same move carries every workspace@deepseek-ai/*range, theDSH_CLI_VERSIONpin in CI and the release mount, the badges of both root READMEs and all 32 package READMEs, and the lockfile. Upgrade the host first:npm i -g @deepseek-ai/dsh@next, confirm withdsh --versionthat it reads0.2.2-rc.2, then update the family on the Plugins page. npm'slateststill reads0.2.2-rc.1(rc.2 ships on thenexttag only), so a host installed fromlatestdoes not satisfy this floor: ifdsh --versionstill reports0.2.2-rc.1, the host upgrade has not landed yet and the plugins should wait.
On an rc.1 host the update button shows a protective refusal, which is expected rather than a fault: the update request resolves the target package's declared host floor before touching anything and answers HTTP 412 when the running host does not satisfy it, showing... requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating(the host-side full form isplugin-manager: <package> requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating). The refusal happens before any write, so nothing is written: the profile, the packages on disk and the task board ledger are untouched, and retrying after the host upgrade is all that is needed.
If 0.4.17 was installed by hand on rc.1,dsh webstill starts but the whole dsh-web plugin set does not load: the official boot gate skips bundles that do not satisfy the floor, one bundle at a time, andstderrcarries a single line,dsh: skipping profile bundle "@linxin666/dsh-web-all": <reason>(the format is<binName>: skipping profile bundle <JSON package name>: <reason>). Nothing is thrown, no data is deleted, and the remaining bundles boot normally. Raise the host to0.2.2-rc.2and restart to recover; the profile needs no edit. Two stopgaps exist: grant the exact-version exemption withdsh plugin --profile <profile> allow-version <package>@<version> --dsh-version 0.2.2-rc.1 --accept-risk, which applies only to that package and that DSH version, or remove the package and roll back to0.4.16.
For hosts already on0.2.2-rc.2, this release is a fix: rc.2 removed the@deepseek-ai/dsh-subagent/internalsubpath export, and 0.4.16'sdsh-agentsimported it statically at module top level, so the aggregate'sweb-ui-agentsrow threwERR_PACKAGE_PATH_NOT_EXPORTED: './internal'at import time and was recorded as a degraded row atstage: import- that row's UI and tools were missing while the other rows kept working. This release probesSymbol.for('dsh.subagent.deliverPrompt')first and falls back tosubagents.sendMessage(caller, target.id, content, { signal }), so one artifact loads and works on both host generations.
Browser view: pages idle for three days close themselves:TabRecord.lastActiveAtis stamped when a target is adopted and refreshed only by abrowser_*call that resolves to that page;BrowserViewService.sweepIdleruns every ten minutes (anunref'd timer, cleared on dispose) and closes pages past the window through the existingcloseTabpath - the session binding pointing at it is dropped, a panel pinned to it falls back to the remaining tabs, and panel state is broadcast; nothing is scanned and no browser is launched when none is running. The window is the newidleCloseDayssetting: default 3 days, minimum 0, 0 disables the capability, read on every sweep, so an edit takes effect on the next sweep without remounting the plugin or reconnecting the browser. Adopted real-browser pages are never candidates: only tabs the plugin created (origin: 'created') qualify, and watching a page in the panel, selecting its chip or projecting its frames does not count as activity. The idle clock lives in memory only, so a host restart restarts every page's window.
LiangShen pages plugin tool families by default: the shippedpagedToolPatternsgrows from the MCP bridge alone to['mcp__*', 'browser_*', 'task_board_*', 'team_*', 'squad*', 'ui_*', 'ssh_*'], while host builtins (shell, the file system,glob/grep, background jobs,skill,ask_user_question,todo_write,web_search, subagent delegation, plan, goal,fact_register,tool_activateand the MCP resource readers) stay resident. A withheld family is announced as one namespace summary in the catalog and needstool_activate({ namespace })before its first call:mcp__*takes the first__segment of the tool name (mcp__codegraph__codegraph_explorebecomescodegraph) while the others derive a literal-prefix family (task_board_*totask_board,squad*tosquad), and a bare*is refused. At most three activated namespaces are held at once, and activating a fourth returns the least recently used one to its summary; underptcthose summaries are genuinely unreachable - absent from the request'stools:sdksection and not callable inside arun_codeprogram. The settings card exposes the list as the on-demand tool family field, and writing it empty removes the grouping and returns every tool to the resident face (all three rows that page from that one pattern list are rewritten together). Measured on one session, the system prompt dropped from 104,949 to 58,961 characters and thetools:sdksection from 73,675 to 27,666.
The task board loses the/goalrun option and goal acceptance:goalRunEnabledandTaskRecord.goalRun, the/goaldispatch, thesession/projectionsgoal-phase settlement, the fivegoalVerification*keys,TaskRecord.skipVerification, theExecutionRecord.verificationcontract, theupdate_goal(action: complete)gate ontools/pre-execute, the judge-model runner andtask_board_manage(action: 'reset-verification')are all removed; manual runs, scheduled triggers andreworknow run as an ordinary single turn and settle from that turn'sturn/endresult, with no extra judge-model calls. Existing cards and execution history stay intact: the authoritative ledger$DSH_HOME/task-board/ledger-v2.jsonkeepsschemaVersion: 7, leftovergoalRun,skipVerificationandverificationfields on old rows are dropped at load rather than rejecting the row, and they are never written back; non-strict plugin config loading likewise ignores leftover keys in old profile patches. Passingreset-verificationtotask_board_manageis now refused as an unknown action.
Plugins page batch update: one request runs the whole batch, and a refused row does not stop the others: updates now go through the officialupdateBundle(name, version, { requestId })primitive (the manager verifies the target, removes the installed version, installs with the selection it found and restores on failure), so a batch is this host running that one primitive over its rows in order and the browser sends one request and polls one job. Each row carries its own result (phase,targetVersion,landed,error,restartRequired), the request resolves every id by the single route's own rules before touching anything, and a refusal becomes that row's error instead of failing the batch; a batch is capped at 50 rows, duplicate ids resolve once, and the batch always settles after the last row answers. A package that landed but cannot be loaded in this process is a restart row rather than an error, named on both surfaces - a restart of DSH may still be needed before the new version loads.
A fresh install that reportsERR_PNPM_IGNORED_BUILDSneeds the builds approved and the command re-run: on a profile that has never approved build scripts, pnpm ends with[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: cloudflared@..., cpu-features@..., ssh2@...plusRun "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.,dsh plugin addexits 1, and the package is not added todsh.profile.bundles- installed but not in effect. Runpnpm approve-buildsfor those three dependencies and re-run the samedsh plugin add.
Upgrade Notes
- The host floor moves from
>=0.2.2-rc.1to>=0.2.2-rc.2: this release raisesdsh.engines.dshand the@deepseek-ai/dshpeer floor, so a host on0.2.2-rc.1no longer qualifies. The host goes first, and npm'slatestis still0.2.2-rc.1: install it from thenexttag (npm i -g @deepseek-ai/dsh@next) and verify withdsh --version. - The refusal on an rc.1 host is protective by design: HTTP 412 plus
requires DSH >=0.2.2-rc.2 (current DSH 0.2.2-rc.1); upgrade DSH before updating, raised before any write, leaving no half-installed state. Seeing it means the host has not been upgraded yet, and nothing about the plugin needs investigating. - Recovery after a hand install of 0.4.17 on rc.1:
dsh webstill starts, stderr carries a singledsh: skipping profile bundle ...line, and the plugin set does not load; raising the host to0.2.2-rc.2and restarting recovers it without touching the profile. The stopgaps aredsh plugin --profile <profile> allow-version <package>@<version> --dsh-version 0.2.2-rc.1 --accept-riskfor that exact combination, or removing the package and rolling back to0.4.16. - The
web-ui-agentsimport failure on rc.2 hosts is fixed here: 0.4.16 lost that row on rc.2 toERR_PACKAGE_PATH_NOT_EXPORTEDonce the./internalsubpath disappeared; the dual-cohort probing in this release makes one artifact load on both rc.1 and rc.2. - Browser view gains
idleCloseDays, default 3 days: only pages the plugin created are reclaimed, adopted real-browser pages are untouched, 0 disables the capability, and the idle clock lives in memory so a host restart restarts the window. A page watched in the panel with no tool call still closes when its window expires. - LiangShen's tool face is grouped by default: the shipped page list is
mcp__*,browser_*,task_board_*,team_*,squad*,ui_*andssh_*while host builtins stay resident; a withheld family is unreachable beforetool_activate({ namespace }), at most three stay activated, and writing the on-demand tool family field empty restores the full resident face. - Retired task board fields and ledger compatibility: this release removes the
/goalrun option and goal acceptance while the ledger schema stays v7, existing cards and execution history stay intact, retired fields are dropped at load and never written back, and no migration step is needed. - Batch update and the restart fact: the Plugins page's update all is now one request and one job, a refused row does not stop the others, and a package that landed but cannot load in this process is explicitly marked as needing a DSH restart. The hand-written remove-then-install replacement is gone, and the layer order (the position in
dsh.profile.bundles) survives consecutive updates. - The fresh-install
ERR_PNPM_IGNORED_BUILDStrap:dsh plugin addexits 1 without adding the bundle, so runpnpm approve-buildsfirst and retry. - Platform verification: this release ran the repository gates on Linux (Ubuntu x86_64) against a pinned rc.2 host tree (
typecheck,build,test,test:scripts,libs:check,aggregate:check,docs:check,i18n:check,emoji:checkamong them). Windows and macOS were not verified on physical hardware. The host running at release time was not restarted, so the real GUI observation of the newidleCloseDayssettings card and the batch update toolbar lands only after the host is restarted and the page refreshed.
New Features
- [plugin-manager] Batch updates go through the official
updateBundleas one ordered run in this host: one request, one job, one result per row, a refused row leaves the rest running, and a restart-required row is recorded as a landed fact - [remote-bridge] Add
session.attachment.path, serving the bytes of one image by the absolute path that session's own transcript named, with a whitelist built only from that session's offload placeholders and the image references its durable tool results published; a path is served only when it matches byte for byte,realpath()resolves it to itself, a regular file is there and its first bytes match one of four image signatures (the extension is never consulted)
Bug Fixes
- [agents,liangshen] Bridge the runtime contracts of a DSH 0.2.2-rc.2 host:
dsh-agentsdrops its static@deepseek-ai/dsh-subagent/internalimport and probes both delivery paths, passes both top-level fields and the nestedrequesttostartActivation, acceptsdrainChildren,drainDescendantsandstarted.dispose(), and steps aside while the officialagent-teamrow is present;dsh-liangshen's dispatch guard falls back tosubagents.rootOf(caller)whenagents.roots()is absent - [sdk] Carry
@deepseek-ai/dsh-error@0.2.2-rc.2as a root host face, pinzodto 4.6.6 indsh-agentsanddsh-remote-web-ui, and havedsh-agentssupply the Team identity prompt-context position 125 that rc.2 dropped from the central order table - [agents] Name the refused field when a member or squad draft is not usable:
gateMemberRequestBodyandgateTeamRequestBodyreturn one reason instead of the fixed "not a usable definition", so a client that renames or adds a draft field can tell which one was not accepted - [remote-bridge] Read the JSON image reference of a durable tool result too (
{ path, image: { ... } }, the persisted shape of arun_codeprogram's own return value), gated on animageobject whosemediaTypestarts withimage/so a file a tool merely named never enters the whitelist - [sdk] The
ERR_PACKAGE_PATH_NOT_EXPORTED: './internal'import failure of the aggregate'sweb-ui-agentsrow on a0.2.2-rc.2host, removed by the two dual-cohort changes above
Behavior Changes
- [browser-view] Pages the plugin created close themselves once idle past the window: the window is the new
idleCloseDayssetting (default 3 days, minimum 0, 0 disables), read per sweep; adopted real-browser pages are never candidates and watching a page in the panel is not activity; the clock lives in memory, so a host restart restarts it - [liangshen] On-demand tool families ship enabled:
pagedToolPatternsdefaults to['mcp__*', 'browser_*', 'task_board_*', 'team_*', 'squad*', 'ui_*', 'ssh_*']while host builtins stay resident, a withheld family is absent from the wire and the generated SDK and cannot be called inside arun_codeprogram beforetool_activate({ namespace }), at most three stay activated, and writing the list empty in the settings removes the grouping - [task-board] The
/goalrun option and goal acceptance are removed: execution is an ordinary single turn and settlement readsturn/end, with no judge-model calls and noreset-verificationunstick action; the ledger schema stays v7, existing cards and execution history stay intact, and retired fields are dropped at load and never written back
Other Changes
- [market] Pin the 2026-11-08, 11-09, 11-10 and 11-11 satellite registration rounds and this round's ascending-id index rebuild into the submodule gitlinks and regenerate
market/dist, leaving the store catalog at 66 skins, 12 pets, 124 plugins and 33 presets - [task-board] Rename the detail run fold key from
detail.settings.advancedtodetail.settings.runand give it the create dialog's title (Run Mode / 运行方式 / Режим запуска), keeping the fold and its single session-reuse switch - [team-hub] Rewrite seven places in
PROTOCOL.mdso settlement follows the host's own execution verdict rather than automated acceptance, with field names, the settle endpoint signature, thein_review/failedstates and every numeric constant unchanged - [docs] Drive browser and GUI verification with the session's
browser_*tools, keeping Playwright as the fallback and as the committed mount gatepnpm test:mount, and record the owner of that default in a decision note - [lib] Rebuild the committed
lib/artifacts ofdsh-marketanddsh-web-allwith the changes in this range - [satellites] Advance the four submodule gitlinks (
dsh-skins,dsh-pet,dsh-community-plugins,dsh-presets) to their 0.4.17 release commits - [remote-bridge] Name the attachment gate cases by the role the gate requires (a test rename only, no behavior change)
- [notes] Record the 0.2.2-rc.2 cohort and its native-first overlap inventory, among other decision notes
v0.4.16
2026年11月07日
本次发布围绕旧自更新面收口、双端交互协同与多处跨端运行期修复展开:已被官方插件页原生覆盖的家族自更新包 @linxin666/dsh-update 整包移除(聚合包保留 @linxin666/dsh-web-all/update 静默 tombstone);远程接入(dsh-remote-bridge)将待答提问与审批改为桌面浏览器面板与已配对手机双侧同显、先答者结算,并退役离线提问独占认领窗口;工坊中继(dsh-market)识别并解压隧道宿主未声明编码的 gzip 响应,消除边缘二次压缩造成的手机端乱码(issue #2030);任务看板(dsh-task-board)在卡片携带未完成子任务但部署运行旧代 Agent Teams 时于启动前 fail closed(issue #2031);浏览器视图(dsh-browser-view)在 CDP 连接断开后自动重建会话并拆分连接与命令超时预算;技能中心(dsh-skill-explorer)、会话归档(dsh-session-archive)、小队(dsh-agents)、梁神预设(dsh-liangshen)、窄屏抽屉(dsh-web-all 与 dsh-remote-web-ui)、图表(dsh-diagrams)与 Windows 终端(dsh-win-bash)同步落地一系列稳定性与安全修复。四个卫星仓在本版同版本对齐到 0.4.16。
移除
@linxin666/dsh-update家族自更新包:DSH0.2.2-rc.1已在官方插件页提供全量已装 bundle 的注册表版本检查、宿主下限门禁与就地移除/安装/还原流程,聚合包也已于0.4.14停止挂载web-ui-update行。本版将packages/dsh-update连同俄语update字典、6 处共享模块同步目标与 4 项门禁基线一并删除;聚合包继续保留@linxin666/dsh-web-all/update子路径导出、retiredPlugins登记与shellNotes行作为静默 no-op 的 tombstone,存量 profile 升级或启动不会因旧行名报错,npm 上已发布的@linxin666/dsh-update@0.4.15仍可解析。
远程接入待答提问与审批双侧可见、先答者生效:此前dsh-remote-bridge认领用户提问或审批时未调用next(),导致问题被手机认领后桌面浏览器面板无法渲染同一张卡片。现在提问与审批在认领成立的同时立即向下放行给宿主应答链,桌面端与手机端同时持有待答卡片,任一侧先作答即完成结算:宿主面板先答时,桥向已声明questions.v1或approvals.v1的连接广播state: "settled"并释放认领;手机先答时,桥返回手机答案并忽略宿主链随后的结果;宿主链 reject 或返回默认unavailable不视为裁决,手机侧认领继续可答。当ctx.typertGateway.hasLiveClient()为真(桌面面板在线)时不再发送重复 APNs 推送;原 10 分钟离线提问独占窗口(OFFLINE_QUESTION_CLAIM_TTL_MS及环境变量DSH_REMOTE_BRIDGE_OFFLINE_CLAIM_TTL_MS)一并退役,离线认领保持至被回答、宿主截止时间到期或插件卸载。
工坊中继补齐未声明的传输编码与部署密钥轮询(issue #2030):被隧道穿透的 DSH 宿主对部分响应无论请求头如何都会返回 gzip 压缩字节且不带Content-Encoding,导致 Cloudflare 边缘二次压缩,手机端只解开一层后将页面渲染成乱码。market/worker/src/relay-encoding.js现检查未声明Content-Encoding的响应首块,对以 gzip 魔数(1f 8b 08)开头的响应流在 Worker 内解压为原始字节并附上Cache-Control: no-transform,quick 与 bridge 两条链路统一经此出口返回;scripts/deploy-market在刷新TURNSTILE_SECRET与ASSET_ATTEST_SECRET后轮询等待密钥列表收敛,消除版本传播竞态导致的误判失败。
任务看板强制调度器预置无法编排时 fail closed(issue #2031):携带未完成子任务的卡片会被强制切到liangshen预设执行,但在挂载了旧代官方 Agent Teams(注册spawn_teammate工具)的部署上,梁神预设的 R0.5 兼容门会立即停下等待人工点击退出选项,无人值守或定时触发的卡片因此永远卡在running列。dsh-task-board现在于创建任何会话前读取宿主工具注册表,一旦探测到spawn_teammate即以具名错误直接拒绝本次启动,并在执行日志中按读者语言(中/英/俄)给出排查与处置说明。
浏览器视图自动替换已关闭的 CDP 会话并拆分超时预算:此前dsh-browser-view的真实浏览器模式把 5 秒连接时限沿用为后续所有 CDP 命令的超时,导致慢页面频繁触发假超时,且浏览器重启或底层 socket 断开后旧会话被一直复用直至重启宿主。现在连接预算(外部端点 5 秒)与命令执行预算(CDP_COMMAND_TIMEOUT_MS,30 秒)拆分为独立旋钮;当下一次工具调用发现传输已关闭时,自动按配置变更同款的清理路径丢弃失效会话(对外部浏览器仅分离而不关闭进程,对已退出的隔离 Chromium 执行销毁并重拉起),并为并发调用方共享同一个新建会话。
技能中心准入、窄屏抽屉命中、小队会话桥接与归档删除保护预览:dsh-skill-explorer接入宿主可选的connection服务,凡经--trusted-host或有效签名浏览器会话接纳的反向代理请求均可直接访问/api/dsh-skill-explorer/*(issue #2025、#2026);dsh-web-all与dsh-remote-web-ui为窄屏抽屉层级补上!important并将聚合遮罩设为pointer-events: none,修复官方布局运行时注入样式表赢下同权重平手后把抽屉压到遮罩下方、导致抽屉内点击失效或首击关闭抽屉的问题(issue #2012、#2013、#2014);dsh-agents改用实例级ctx.inject实时桥接uiWorkspace与sessions,消除插件加载顺序导致「打开会话」按钮永久缺失的问题;dsh-session-archive下发宿主侧attached与in-flight保护原因并按in-flight > current > attached > running合并,使行内删除禁用态、全保护批量删除禁用态与确认框跳过数同宿主权威计划完全一致(issue #2022)。
梁神预设工具面与事实折叠、图表净化及 Windows UnicodeHOME修复:dsh-liangshen改为从步骤准入的tools.schemas(agent, context.toolSet)读取目录表面并通过ctx.tools.restrict()施加分页,修复 SDK 2.0.22 将工具声明收回 provider 后子会话误报无工具的问题(issue #2016),同时让foldFactLedger一并折叠默认ptc呈现下的tool/ptc-dispatch事件并跳过报错调用;dsh-diagrams改用 URL 解析器提取链接 scheme,剥离借 TAB/LF/CR 拆分或前置 C0 控制字符隐藏的javascript:URL(issue #2017);dsh-win-bash为随包 MSYS bash 显式注入HOME(优先保留既有HOME,缺失时取 Nodehomedir()),避免含非 ASCII 字符的 Windows 用户目录经 ANSI 代码页推导损坏(issue #2028)。
四个卫星仓同版本对齐到0.4.16:皮肤中心(dsh-skins)上架equation-sea、pixel-whale与md3三套新皮肤(商店皮肤扩充至 65 套),将diy-journal字体转写为 Woff2 并压缩贴纸与插画使包体积缩减 62%,补齐model-dorm浮层阴影与圆角运行时令牌并修正 3 个令牌名,修复equation-sea右侧栏与商店卡片对比度,排除 4 套模板里发送键选择器对附件栏删除按钮的误命中,并将皮肤中心的全屏面板不透明底色限定在data-sidebar-right-open打开态下绘制(5f51988d1249173509c77129670e3be5cfd514a8);宠物(dsh-pet)重绘whale-girl-refined左右奔跑动作的 8 帧序列,擦除腰部多余的远端袖口与手部伪影并按逐像素水平镜像对齐左跑行(ae2c9d443eda35a6439597c1787c7607e988bbed);社区插件索引(dsh-community-plugins)退役 52 个宿主下限仍停留在0.1.x的历史条目,新收录dsh-plugin-desktop-notify、@chendaleiq/dsh-plugin-auto-update、dsh-tutorloop、dsh-character-cards、dsh-power-menu-mac与dsh-keenable,恢复已适配新底座的dsh-llm-verifier,当前商店目录共 106 个插件(f0b8ad9de23ddd9fc1cc81c66196f566c1b8859a);预设中心(dsh-presets)与主仓同步对齐版本号至0.4.16(5752778d13f97e3f81467178559efd973777da53)。
升级须知
- 宿主最低版本要求保持 DSH
>=0.2.2-rc.1:本版未抬高dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限,已满足0.4.15运行条件的宿主可直接升级。 @linxin666/dsh-update整包移除与存量兼容:自更新包源码与独立发布线自本版起终止,插件版本检查与更新统一在官方插件页执行。聚合包保留@linxin666/dsh-web-all/update静默 tombstone 与retiredPlugins登记,存量全量 profile 无需手工删行即可平滑升级;若此前曾单独安装@linxin666/dsh-update,旧版0.4.15仍留在 npm registry,建议在插件页将其卸载并改用官方插件页自带的更新检查。- 远程接入离线提问认领窗口配置项退役:
dsh-remote-bridge的待答提问现由桌面面板与已配对手机双侧同显、先答者结算,原 10 分钟离线独占窗口(环境变量DSH_REMOTE_BRIDGE_OFFLINE_CLAIM_TTL_MS)已移除,设置该环境变量不再产生任何效果。 - 任务看板对旧代 Agent Teams 强制编排预设执行前置拦截:若部署启用了旧代官方 Agent Teams(工具注册表含
spawn_teammate),包含未完成子任务的看板卡片在启动时会被立即拒绝并标记失败,而不会再拉起卡死在兼容门上的会话。需运行此类父子卡片时,请先升级到当前代官方 Agent Teams,或在设置中停用旧代团队运行时后重启宿主。 - 升级入口支持矩阵:仓库内不存在 Doctor 预启动迁移,官方插件页(或插件管理器更新任务)是具备配置备份、
--dump-config预检与失败自动回滚的推荐升级入口;客户端 bundle 与宿主服务改动在升级后需重启dsh web并刷新浏览器页面生效。 - 平台验证声明:本版在 Linux(Ubuntu x86_64)环境下完成了本地门禁与只读核验。Windows 与 macOS 未在物理实机上验证——
dsh-win-bash为非 ASCII Windows 用户目录显式注入HOME的改动(issue #2028)仅经单元测试覆盖其环境构造契约,未在物理 Windows 主机上做实机挂载验证。
新功能
- [remote-bridge] 待答提问与审批同时呈现在桌面浏览器面板与已配对手机上,先作答者结算,离线提问认领持续至被回答、宿主截止或插件卸载
- [market] 创意工坊上架
equation-sea、pixel-whale与md3三套新皮肤(共 65 套),并将diy-journal皮肤包体积缩减 62% - [market] 创意工坊新收录社区插件
dsh-plugin-desktop-notify、@chendaleiq/dsh-plugin-auto-update、dsh-tutorloop、dsh-character-cards、dsh-power-menu-mac与dsh-keenable,并恢复dsh-llm-verifier
修复
- [remote-bridge] 认领提问或审批后立即放行宿主应答链并在任一侧结算时通知另一侧,桌面面板在线时不再重复发送 APNs 推送
- [market] 解压隧道宿主未声明
Content-Encoding的 gzip 响应首块并附上Cache-Control: no-transform,消除边缘二次压缩导致的手机端乱码 (#2030) - [task-board] 含未完成子任务的卡片在强制使用梁神预设而部署运行旧代 Agent Teams 时于建会话前 fail closed (#2031)
- [win-bash] 为随包 MSYS bash 显式提供
HOME(优先继承环境,缺失时取 Nodehomedir()),修复 Unicode 用户目录经 ANSI 代码页推导损坏的问题 (#2028) - [skill-explorer] 放行经宿主
connection服务接纳的请求(--trusted-host与有效签名浏览器会话)进入/api/dsh-skill-explorer/*(#2025 #2026) - [browser-view] 在 CDP 传输关闭后自动丢弃旧会话并重建共享替换会话,同时将 5 秒连接时限与 30 秒命令超时拆分为独立预算
- [session-archive] 下发宿主侧
attached与in-flight保护原因并按权威优先级合并,使列表行内删除按钮、全保护批量删除禁用态与确认框跳过计数同宿主实际拒绝集合一致 (#2022) - [agents] 按实例通过
ctx.inject实时桥接可选的uiWorkspace与sessions服务,晚于本行挂载时自动启用会话入口,缺席时保持按钮可见置灰并写明原因 - [web,remote-web-ui] 为窄屏侧栏抽屉层级补充
!important并将聚合遮罩设为pointer-events: none,修复后注入的官方布局样式表压低抽屉层级导致点击穿透或首击误关抽屉 (#2012 #2013 #2014) - [liangshen] 关键事实登记簿(
foldFactLedger)同时折叠tool/ptc-dispatch与tool/call事件并跳过报错的 PTC 调用,修复出厂默认ptc呈现下登记事实不进入[Working Context]的问题 - [liangshen] 从步骤准入的
tools.schemas(agent, context.toolSet)读取工具目录表面并按ctx.tools.restrict()施加分页,修复 SDK 2.0.22 后子会话误报无工具的问题 (#2016) - [diagrams] 通过 URL 解析器判别链接 scheme,剥离借 TAB/LF/CR 拆分或前置 C0 控制字符隐藏的
javascript:URL (#2017) - [pin] 将
dsh-message-edit与dsh-web-settings的@deepseek-ai/dsh-client-ui-slots映射至包内 registry 副本,并对齐dsh-remote-bridge的dsh-user-questions可变答案数组签名,修复宿主 SDK 钉死下的本地typecheck与build - [market] 部署脚本在刷新
TURNSTILE_SECRET与ASSET_ATTEST_SECRET后轮询等待密钥列表生效窗口,消除版本传播竞态导致的误报失败 - [pet] 重绘
whale-girl-refined左右奔跑帧以擦除腰部多余远端袖口与手部伪影,并同步刷新创意工坊精灵图资产 (#2021)
其他改动
- [dsh-update] 整包移除家族自更新插件
@linxin666/dsh-update(源码、俄语update字典、共享模块同步目标与四项门禁基线行),保留@linxin666/dsh-web-all/update静默 tombstone,插件版本检查与更新归口至官方插件页 - [market] 退役 52 个宿主下限停留在
0.1.x的社区插件条目,并在合并皮肤、插件与宠物卫星更新后重建market/dist(当前共 65 套皮肤、12 只宠物、106 个插件、33 个预设) - [satellites] 前移
dsh-skins、dsh-pet、dsh-community-plugins与dsh-presets四个子模块 gitlink 到各自0.4.16发布提交,同步皮肤中心全屏面板不透明修饰符与各轮准入决策记录 - [remote-bridge] 在双语 README 中移除已退役的离线提问独占认领窗口说明,对齐双端同显与先答生效语义
- [readme] 同步根双语 README 的家族插件表、社区规模与模型配置示例,并转义波浪号区间以避免 GFM 删除线误渲染
- [notes] 记录宿主 SDK 钉死对本地门禁的影响及修复、移除
dsh-update、窄屏抽屉命中测试与win-bash显式HOME等决策笔记
English
This release focuses on retiring redundant self-update infrastructure, coordinating dual-surface interactions, and hardening cross-platform runtime behavior: the family self-update package @linxin666/dsh-update is removed outright now that the official Plugins page natively handles version checks and updates (while @linxin666/dsh-web-all/update stays as a silent tombstone); remote access (dsh-remote-bridge) displays pending user questions and approvals on both the desktop browser panel and paired phones with first-answer-wins settlement, retiring the offline exclusive claim window; the Workshop relay (dsh-market) detects and decompresses undeclared gzip responses from tunneled hosts so Cloudflare does not double-compress them into mojibake on mobile (issue #2030); the task board (dsh-task-board) fails closed before creating a session when a card with unfinished subtasks is forced onto the LiangShen preset on a deployment running the legacy Agent Teams generation (issue #2031); the browser view (dsh-browser-view) automatically replaces closed CDP sessions and splits connection and command timeout budgets; and a batch of stability and security fixes lands across dsh-skill-explorer, dsh-session-archive, dsh-agents, dsh-liangshen, mobile drawers (dsh-web-all and dsh-remote-web-ui), dsh-diagrams, and dsh-win-bash. The four satellite repositories align to 0.4.16.
Remove the
@linxin666/dsh-updatefamily self-update package: DSH0.2.2-rc.1checks and installs registry updates for every installed bundle on the official Plugins page, complete with the DSH minimum floor gate and the remove/install/restore steps, and the aggregate had already stopped mounting theweb-ui-updaterow in0.4.14. This release deletespackages/dsh-updatetogether with the Russianupdatedictionary, six shared-module sync targets, and four gate baseline rows. The aggregate keeps the@linxin666/dsh-web-all/updatesubpath export,retiredPluginsentry, andshellNotesrow as a silent no-op tombstone so existing profiles continue to resolve cleanly, and@linxin666/dsh-update@0.4.15remains on npm.
Pending remote questions and approvals show on both sides, first answer wins: claiming a user question or an approval indsh-remote-bridgepreviously never callednext(), hiding the card on the desktop browser panel whenever a phone held the claim. Both claims now pass the request to the host's answerer chain immediately so the desktop panel and paired phones hold the card at the same time and the first answer settles it: when the host panel answers first, the bridge broadcastsstate: "settled"to connections declaringquestions.v1orapprovals.v1and releases the claim; when a phone answers first, the bridge resolves with the phone's answer and ignores the host chain's later completion; a host chain rejection or defaultunavailableis not treated as a verdict, leaving the claim answerable on the phone. APNs pushes are suppressed whilectx.typertGateway.hasLiveClient()is true, and the 10-minute offline exclusive claim window (OFFLINE_QUESTION_CLAIM_TTL_MSandDSH_REMOTE_BRIDGE_OFFLINE_CLAIM_TTL_MS) is retired so an away-phone claim lives until answered, expired by the host deadline, or unloaded.
Workshop relay normalizes undeclared wire encodings and polls secret propagation (issue #2030): a tunneled DSH host compresses some responses regardless of request headers without settingContent-Encoding, causing the Cloudflare edge to compress the gzip body a second time and leaving mobile clients with mojibake after decoding one layer.market/worker/src/relay-encoding.jsnow inspects the first chunk of responses lackingContent-Encoding, decompresses gzip streams (1f 8b 08) into identity bytes, and attachesCache-Control: no-transformacross both quick and bridge relay paths;scripts/deploy-marketalso polls the secret list after updatingTURNSTILE_SECRETandASSET_ATTEST_SECRETto wait out the deployment version propagation race.
Task board fails closed when the forced dispatcher preset cannot orchestrate (issue #2031): a card with unfinished subtasks is forced under theliangshenpreset, whose R0.5 compatibility gate stops and waits for a human reply on deployments running the legacy Agent Teams generation (spawn_teammate), leaving unattended or scheduled runs stuck in therunningcolumn forever.dsh-task-boardnow inspects the agent tool registry at launch, refuses the run before any session is created whenspawn_teammateis present, and renders a localized explanation in the reader's language (zh/en/ru).
Browser view replaces closed CDP sessions and splits connect and command budgets: a real-browser session indsh-browser-viewpreviously reused its 5-second connect deadline for every subsequent command and returned a closed transport forever after a browser restart. The 5-second external connect bound and the 30-second command timeout (CDP_COMMAND_TIMEOUT_MS) are now separate knobs, and the next tool call on a closed transport disposes the stale session (detaching an external browser without closing it, or stopping and relaunching an exited isolated Chromium) and opens a single replacement shared across concurrent callers.
Skill explorer admission, mobile drawer hit-testing, squad session bridges, and archive protection previews:dsh-skill-explorerconsults the optional hostconnectionservice so reverse-proxy requests admitted via--trusted-hostor a signed browser session pass straight into/api/dsh-skill-explorer/*(issues #2025, #2026);dsh-web-allanddsh-remote-web-uimark the mobile sidebar drawerz-index: 1100 !importantand set the aggregate mask topointer-events: none, preventing the runtime-injected official layout stylesheet from winning the equal-specificity tie and burying the open drawer beneath its own mask (issues #2012, #2013, #2014);dsh-agentsbridgesuiWorkspaceandsessionsper instance viactx.injectso providers mounting after the plugin enable session entry points dynamically while deployments without them keep the buttons visibly disabled with an explanation; anddsh-session-archiveships host-sideattachedandin-flightprotection reasons and merges them underin-flight > current > attached > runningso row delete buttons, fully protected batch selections, and confirmation skip counts match the host's authoritative plan (issue #2022).
LiangShen catalog admission and fact folding, diagram URL sanitization, and Windows UnicodeHOME:dsh-liangshenreads the step tool surface fromtools.schemas(agent, context.toolSet)and pages viactx.tools.restrict(), fixing false no-tools assertions in seeded child sessions on SDK 2.0.22+ (issue #2016), and updatesfoldFactLedgerto replay bothtool/ptc-dispatchandtool/callevents while ignoring errored dispatches so pinned facts reach[Working Context]under the defaultptcpresentation;dsh-diagramsparses attribute URLs before checking their scheme sojavascript:URLs split by TAB/LF/CR or prefixed with C0 control characters are stripped (issue #2017); anddsh-win-bashexplicitly suppliesHOME(base.HOME ?? homedir()) to the vendored MSYS bash so Windows profiles with non-ASCII characters are not corrupted by ANSI code-page derivation (issue #2028).
The four satellite repositories align to0.4.16: the skin center (dsh-skins) adds three new skins (equation-sea,pixel-whale, andmd3, expanding the catalog to 65 skins), convertsdiy-journalfonts to Woff2 and compresses artwork to shrink the package by 62%, covers floating-surface shadow and radius tokens and fixes three token names inmodel-dorm, improvesequation-searight-rail and market-card contrast, excludes the attachment rail from composer send-key rules across four skin templates, and restricts the opaque fullscreen-panel fill in the skin center to the opendata-sidebar-right-openstate; the pet plugin (dsh-pet) repaints the eight-framewhale-girl-refinedrunning rows to erase the stray far-arm cuff and hand at the waist and mirrorsrunning-leftpixel-for-pixel fromrunning-right; the community plugin index (dsh-community-plugins) retires 52 legacy entries whose host floor predates0.2.0, registersdsh-plugin-desktop-notify,@chendaleiq/dsh-plugin-auto-update,dsh-tutorloop,dsh-character-cards,dsh-power-menu-mac, anddsh-keenable, and restoresdsh-llm-verifierfor a catalog of 106 plugins; and the preset center (dsh-presets) aligns its version to0.4.16.
Upgrade Notes
- The DSH host floor remains
>=0.2.2-rc.1: this release does not raisedsh.engines.dshor the@deepseek-ai/dshpeer dependency floor; any host already running0.4.15can upgrade directly. @linxin666/dsh-updatepackage removal and profile compatibility: the standalone self-update package is removed from the repository and its release line ends here, with version checks and updates handled by the official Plugins page. The aggregate retains the@linxin666/dsh-web-all/updatesilent tombstone andretiredPluginsentry so existing aggregate profiles upgrade without manual edits; users who installed@linxin666/dsh-updatestandalone can still resolve0.4.15from npm and are advised to uninstall it in favor of the official Plugins page.- Retirement of the remote-bridge offline question claim TTL knob: pending questions in
dsh-remote-bridgenow appear on both the desktop browser panel and paired phones with first-answer-wins settlement, and the 10-minute exclusive offline claim window (along withDSH_REMOTE_BRIDGE_OFFLINE_CLAIM_TTL_MS) has been removed; setting that environment variable now has no effect. - Pre-launch fail-closed check for forced dispatcher presets on legacy Agent Teams: on deployments where the legacy official Agent Teams runtime (
spawn_teammate) is active, task board cards carrying unfinished subtasks are now refused before any session is created instead of spawning a session that hangs forever at the compatibility gate. Upgrade to the current Agent Teams generation or disable the legacy runtime and restart the host before running parent cards with subtasks. - Upgrade entry matrix: there is no Doctor pre-launch migration in this repository; the official Plugins page (or the plugin manager update task) remains the recommended upgrade entry with configuration backup,
--dump-configprecheck, and automatic rollback. Restartdsh weband refresh the browser after upgrading so host service and client bundle changes take effect. - Platform verification: this release passed the local gate suite and read-only verification on Linux (Ubuntu x86_64). Windows and macOS remain unverified on physical hardware — the explicit
HOMEinjection indsh-win-bashfor non-ASCII Windows user profiles (issue #2028) is covered by unit tests onshellEnvironment()without a physical Windows mount check.
New Features
- [remote-bridge] Show pending user questions and approvals on both the desktop browser panel and paired phones with first-answer-wins settlement, keeping offline question claims alive until answered, expired by the host, or unloaded
- [market] Add the
equation-sea,pixel-whale, andmd3skins to the Workshop (65 skins total) and shrink thediy-journalskin package by 62% - [market] Register the community plugins
dsh-plugin-desktop-notify,@chendaleiq/dsh-plugin-auto-update,dsh-tutorloop,dsh-character-cards,dsh-power-menu-mac, anddsh-keenablein the Workshop, and restoredsh-llm-verifier
Bug Fixes
- [remote-bridge] Pass claimed questions and approvals through to the host answerer chain immediately, notify the other surface on settlement, and suppress duplicate APNs pushes while a desktop browser client is live
- [market] Decompress undeclared gzip response streams from tunneled hosts and set
Cache-Control: no-transformso the edge does not double-compress pages into mojibake on mobile (#2030) - [task-board] Fail closed before creating a session when a card with unfinished subtasks is forced onto the LiangShen preset on a deployment running the legacy Agent Teams runtime (#2031)
- [win-bash] Explicitly supply
HOME(inheritingbase.HOMEor falling back to Nodehomedir()) to the vendored MSYS bash so Unicode user profiles are not corrupted by ANSI code-page derivation (#2028) - [skill-explorer] Admit requests accepted by the host
connectionservice (--trusted-hostand signed browser sessions) into/api/dsh-skill-explorer/*(#2025 #2026) - [browser-view] Replace closed CDP sessions automatically and split the 5-second external connect bound from the 30-second command timeout budget
- [session-archive] Ship host-side
attachedandin-flightprotection reasons and merge them by authoritative precedence so row delete buttons, fully protected batch selections, and confirmation skip counts match the host (#2022) - [agents] Bridge the optional
uiWorkspaceandsessionsservices per instance viactx.injectso late-mounting providers enable session openers while deployments without them keep the buttons visibly disabled with a reason - [web,remote-web-ui] Mark the mobile sidebar drawer
z-indexas!importantand setpointer-events: noneon the aggregate mask so the runtime-injected official layout sheet cannot bury the drawer beneath its mask (#2012 #2013 #2014) - [liangshen] Fold both
tool/ptc-dispatchandtool/callevents infoldFactLedgerwhile skipping errored PTC dispatches so pinned facts reach[Working Context]under the defaultptcpresentation - [liangshen] Read the step tool surface from
tools.schemas(agent, context.toolSet)and page viactx.tools.restrict()to prevent false no-tools assertions in seeded child sessions on SDK 2.0.22+ (#2016) - [diagrams] Parse attribute URLs before matching their scheme so
javascript:URLs split by TAB/LF/CR or prefixed with C0 control characters are stripped (#2017) - [pin] Map
@deepseek-ai/dsh-client-ui-slotsto the registry copy indsh-message-editanddsh-web-settingsand align the mutabledsh-user-questionsanswer signature indsh-remote-bridgeso localtypecheckandbuildpass under the host SDK pin - [market] Poll the secret list after refreshing
TURNSTILE_SECRETandASSET_ATTEST_SECRETindeploy-marketto wait out the version propagation race - [pet] Repaint
whale-girl-refinedleft and right running frames to erase the stray far-arm cuff and hand at the waist and refresh the Workshop spritesheet asset (#2021)
Other Changes
- [dsh-update] Remove the
@linxin666/dsh-updatefamily self-update package outright (sources, the Russianupdatedictionary, six shared-module sync targets, and four gate baseline rows) while keeping the@linxin666/dsh-web-all/updatesilent tombstone, handing plugin version checks and updates to the official Plugins page - [market] Retire 52 community plugin entries whose host floor predates
0.2.0and rebuildmarket/distacross the skin, plugin, and pet satellite updates (now 65 skins, 12 pets, 106 plugins, and 33 presets) - [satellites] Advance all four submodule gitlinks (
dsh-skins,dsh-pet,dsh-community-plugins,dsh-presets) to their0.4.16release commits, syncing the fullscreen-open qualifier and the intake decision records - [remote-bridge] Remove the retired offline question claim window from the bilingual READMEs to match dual-surface display and first-answer-wins settlement
- [readme] Align the root bilingual READMEs with the current plugin roster, catalog counts, and model configuration examples, and escape tilde ranges to prevent GFM strikethrough rendering
- [notes] Record decision notes on the host SDK pin local gate fix, the
dsh-updatepackage removal, mobile drawer hit-testing, and explicitHOMEinwin-bash
v0.4.15
2026年11月05日
本次发布的主轴是队列与退役:全部家族包的宿主下限随 SDK 队列推进到 DSH 0.2.2-rc.1,同时把已被官方能力覆盖的 dsh-git-graph 整包退掉,Git 变更视图交回官方 @deepseek-ai/dsh-workspace-changes。功能面上新增 dsh-diagrams,在会话转录与文档预览里把 mermaid 围栏原地渲成 SVG 图示,并按帧调度、按主题记忆化控制渲染成本;dsh-win-bash 在挂载前核验载荷缓存的强制性完整性标签,堵住 Low 完整性 bash 导致的 Permission denied(issue #2007);远程接入(dsh-remote-bridge)的配对面板与宿主日志改为只交代地址种类,公网主机名不再以文本出现。四个卫星仓在本版同版本对齐到 0.4.15。
DSH 队列推进到
0.2.2-rc.1:主工作区、shared、脚手架与全部家族包消费的@deepseek-ai/*一起迁到0.2.2-rc.1,@deepseek-ai/cordis到4.1.0、schemastery到3.19.0、cosmokit到1.9.0,dsh.engines.dsh与宿主 peer 下限同步抬到>=0.2.2-rc.1。同批落地两处契约漂移的修复:dsh-remote-web-ui的插件卡座席把事件签名擦成参数类型,以适配cordis@4.1.0的泛型on;dsh-agents的宿主面探针不再要求sessionProjections.stateOf。对照dsh-v0.2.2-alpha.3与dsh-v0.2.2-rc.1两个标签,非清单源码差异为零:官方 loader 名册仍为 192 个 id、浏览器冻结平台表仍为 11 个模块。相对0.4.14消费的0.2.1-rc.3队列,官方 CSS token 集合由 329 项增至 335 项:新增六条插画令牌(--dsw-alias-illustration-background与它的-backing、-detail、-inset、-shadow、-surface)与--dsw-alias-state-done-primary,删除官方外壳已撤掉的--dsw-specific-sidebar-nav-item-hover。
dsh-git-graph退役,Git 变更视图交回官方:官方 DSH 现已自带@deepseek-ai/dsh-workspace-changes,家族再养一套 Git 面已属重复,于是整包删除(126 个受控文件):聚合包不再挂载web-ui-git-graph行、不再依赖它,也不再随包发布它的 ru 字典、设置桥白名单与移动端屏蔽规则。老 profile 记录的@linxin666/dsh-web-all/git-graph保留为静默 no-op 的退役空壳,否则 import 阶段会抛ERR_PACKAGE_PATH_NOT_EXPORTED并带倒整组聚合;已发布的@linxin666/dsh-client-ui-git-graph@0.4.14仍留在 registry,单独安装它的用户照旧可用。随之离开的能力是git_worktree模型可见工具、$DSH_HOME/worktrees/托管目录与空白会话 hero 行的分支 chip;worktree 会话隔离交给官方 experimental 的client-ui-forge(自带 worktree 管理与 diff)。
新增dsh-diagrams:mermaid 围栏就地出图:官方 markdown 渲染器不提供代码块扩展缝,mermaid 围栏只能按普通代码块显示,而家族原有的 mermaid 能力随dsh-aionui-panel一起走了。新包用一个页面侧观察者同时覆盖会话转录与文档预览(两者共用同一个官方渲染器),把 mermaid 围栏用宿主按需提供的运行时原地渲成 SVG,并跟随外壳明暗重绘。原始代码块只隐藏不销毁,复制按钮仍旧复制源码;语法错、流式未闭合、运行时取不到,任何一种失败都原样恢复成代码块,不向调用方抛错。运行时由一条只读、过家族配对栅栏的宿主路由同源提供(/api/dsh-diagrams/vendor/mermaid.js,只答GET与HEAD,不访问任何 CDN),渲出的 SVG 在 mermaid 自身的 strict 级别之外再过一遍净化,剥掉可执行元素、on*处理器与javascript:URL。
出图按帧调度并按主题记忆化:mermaid 的解析与布局同步跑在页面主线程上,因此出图不再一次全发:一帧画一张(十二张图的文档照样可滚动),净化结果按「主题 + 源码」记忆化(上限 32 条,主题来回切与宿主重绘都不重算),运行时只在调色板真正变化时重新初始化,隐藏标签页把requestAnimationFrame掐掉时还有 48 毫秒兜底。被解析器拒绝的围栏只在源码确实变化后、经过 400 毫秒静默期才重试,避免它自己的回滚改动 DOM 又把观察者叫醒成死循环。文本标签强制走 SVG 文本(htmlLabels: false),否则 mermaid 的<foreignObject>标签会被净化器整段剥掉、读作一个空盒子。
dsh-win-bash核验载荷缓存的强制性完整性标签(issue #2007):此前的缓存校验只比 SHA256 清单与文件字节,而包内载荷与带 Low 完整性标签的坏副本在字节上完全相同,于是哈希命中会让一棵不可用的树在重启、插件重载与更新之后一直存活。用户在danger-full-access会话里遇到git add、mktemp与 Node 写文件全部Permission denied,重启 DSH 与重建常驻 shell 均无效。现在挂载前除了哈希还核验标签:读取只走%SystemRoot%\System32\icacls.exe <path> /save(绝不查PATH)并解码 UTF-16LE SDDL,(ML;...;LW)与低于 8192 的S-1-16-*判为 Low;没有 SACL 即默认 Medium,High 与 System 标签、以及卷根的OINPIO继承标签都不是降级。SDDL 的 SID 写法与系统语言无关,本地化 Windows 上同样可用;全过程只读,不改任何标签、DACL、令牌或用户目录,不需要原生依赖也不需要提权,POSIX 宿主零开销。
配对面板与宿主日志只交代地址种类:面板不再把公网地址写成文字,改为「二维码已包含公网地址,扫码后 iPhone 自动连上这台电脑」。一次性配对码 30 秒即焚,而持久公网主机名一旦渲染成文字,会比它出现的每一张截图活得久;二维码本身已经带着手机需要的地址,「复制配对码」交出的仍是同一个{token,url}串。局域网字面量不属于这一类事实(它本来就只在当前网络内可达),所以仍然点名:「二维码指向局域网地址 {origin},iPhone 需与本机在同一网络」。宿主日志同一口径:pair a device with <本机 ws 链接>之后只跟(phone: public)或(phone: lan),一个地址都没有时不带后缀,公网主机名不再进入会被粘贴出去的日志。判定收在一处(core/pair-address.ts),面板说种类、日志说种类,同一份配置在两个面上不会再各说各话。
四个卫星仓同版本对齐到0.4.15:皮肤中心(dsh-skins,5415a7e01b9244e02ca6808928451f00cbf3b2ae)在语义属性契约里登记diagrams插件与它拥有的diagrampart,随dsh-git-graph离队删掉 15 套皮肤里已匹配不到元素的图谱样式规则,并把 verdandi 输入卡下方的读数条收成一张纸面上的一行:两枚读数药丸并肩、中间一道金色细线、上下文环在最右收尾,宽度按内容收窄、放不下时整行折行,上下文环也不再像贴在纸面右端的贴片,自定义主题则停发官方已撤掉的--dsw-specific-sidebar-nav-item-hover(侧边栏悬停背景走--dsw-alias-interactive-bg-hover);宠物(dsh-pet,d19284a539618e5eadb6c263d842008a2b600bb0)修好扩展页在cordis4.1 新泛型事件签名下的类型兼容,并把队列对齐到0.2.2-rc.1;社区插件索引(dsh-community-plugins,04ce116569aaa00c876175fb66d14ea90e7a0328)收录组件看板dsh-widget-board,条目从 150 增至 151;预设中心(dsh-presets,8f15e62b03dabf68d147fb92a911652dd0fd1bca)纯队列对齐,lib/三个产物与0.4.14逐字节相同。
升级须知
- DSH 最低版本提高到
0.2.2-rc.1:全部家族包的dsh.engines.dsh与@deepseek-ai/dsh对等依赖下限从>=0.2.1-rc.3抬到>=0.2.2-rc.1。旧宿主上的行为是明确的降级而不是故障:官方 boot gate 会跳过该 bundle——不抛错、不删任何数据、其余 bundle 照常启动;插件管理器与 CLI 一侧则以 HTTP 412 拒绝安装,并提示requires DSH >=0.2.2-rc.1。要装 0.4.15,请先把宿主升到0.2.2-rc.1或更高。已经在 0.2.2 线上的宿主只需跟进版本号:dsh-v0.2.2-alpha.3与dsh-v0.2.2-rc.1之间没有任何非清单源码差异。 dsh-git-graph退役:该行从聚合包移除,能力由官方workspace-changes承接;@linxin666/dsh-web-all/git-graph子路径仍保留,作为静默 no-op 的退役空壳(tombstone),老 profile 里记录的行名照旧可解析,独立包@linxin666/dsh-client-ui-git-graph@0.4.14仍可从 registry 单独安装。曾把该行设为disabled的 profile 会残留一条覆盖行,启动时打印一次patch: entry "web-ui-git-graph" not found警告(不影响启动与数据),在插件管理器里对该插件做任一次操作即自动回收(prune 幂等)。- 升级入口支持矩阵:本版本不存在 Doctor 预启动迁移:
dsh --help上没有doctor子命令,dsh-doctor家族包已于 2026-09-23 退役。插件管理器的更新任务是唯一具备配置备份(cordis.patch.yml.bak-plugin-manager)、--dump-config预检与异常自动回滚的迁移入口;直接执行dsh plugin add只做行名修复,不清覆盖行,因此上面那条web-ui-git-graph覆盖行只有插件管理器那一次操作会回收它。 - Windows 缓存重建方式:本版唯一的平台专属变更是
dsh-win-bash在挂载前校验载荷缓存的强制性完整性标签。它是 fail-safe 的:标签不符的缓存不再复用(宿主改在DSH_HOME之外的隔离缓存根重新发布可执行树),缓存不可写时不写它;所有候选都不可用或不可核验时回退到包内树运行,那与0.4.14的可用性等价。全程不抛错、不删用户数据、也不改任何 DACL。需要重建缓存时删除$DSH_HOME/win-bash即可,缓存是内容寻址的,重建幂等。 - 梁神预置的调度规则需要重启后生效:本次把梁神预置的规则块同步到上游当前的 Agent Teams 运行时,新增宿主面执行守卫(被委派的子会话调用
ask_user_question、create_goal、update_goal、exit_plan_mode会以DELEGATED_CALLER被拒;子会话仍在运行时纯 sleep 等待会以ACTIVE_CHILD_SLEEP_FORBIDDEN被拒,真实工作与后台任务照常通过),并明确计划模式是用户自己的开关。规则块同时由 35,447 字符压到 24,589,每步常驻成本约降 2,700 token。守卫是预置行而不是宿主安装,因此只对重启dsh web之后新建的会话生效。 - 平台验证声明:本版在 Linux(Ubuntu x86_64)环境下完成了完整的本地门禁套件、运行时验证与发布前审计(已实测)。Windows 未在物理实机上验证——本机为 Linux,
dsh-win-bash的标签核验(icacls /save读取、隔离缓存根发布、unsafe-integrity拒绝分支)只有单平台 CI 的纯逻辑用例与带真实icacls的单元覆盖,没有任何一次真实 Windows 主机上的挂载验证;macOS 同样未做实机验证。
新功能
- [diagrams] 在会话转录与文档预览里把 mermaid 围栏原地渲染为 SVG 图示
- [diagrams] 逐帧调度出图并按「主题 + 源码」记忆化,被拒围栏只在源码变化后重试
- [remote-bridge] 配对面板只陈述二维码携带的地址种类,不再打印公网地址
- [agents] 共存门同时识别两代官方 Agent Teams bundle,并在告警里一并点名
- [liangshen] 调度规则块新增宿主面执行守卫,并把决策压成一句一条
- [market] 商店注册社区插件
dsh-widget-board并列入编辑推荐 - [dsh-web-all] 家族聚合包退役
dsh-git-graph挂载行
修复
- [win-bash] 挂载前核验载荷缓存的强制性完整性标签,杜绝 Low 完整性 bash 写入失败 (#2007)
- [win-bash] 带 Low 标签的数据树上改在
DSH_HOME之外的隔离缓存根发布可执行树 - [remote-bridge] 局域网判定锚定整个主机名,避免
10.example.com一类公网名被当成本地地址打印 - [remote-bridge] 面板与宿主日志共用同一份地址判定,两种分类口径不再各说各话
- [remote-web-ui] 插件卡座席的事件签名擦为
never参数类型以适配cordis4.1.0 - [agents] 宿主面探针不再把
sessionProjections.stateOf计入必需面
其他改动
- [deps] 家族队列推进到 DSH
0.2.2-rc.1(中间经停0.2.2-alpha.3),cordis到4.1.0、schemastery到3.19.0、cosmokit到1.9.0 - [deps] CI 与发布工作流改用 Node 24.9.0
- [skins] 皮肤仓 gitlink 随 verdandi 读数条、diagrams 契约登记与图谱样式退役前移
- [market] 随皮肤 gitlink 重建商店产物与编辑推荐(151 个插件)
- [readme] 按 GitHub API 重新同步贡献者名单
- [readme] 移除 Git 图谱与 worktree 相关条目,补上
dsh-diagrams的包条目 - [docs] 记录
marketing/存放宣传片工程的目录约定 - [notes] 记录 2026-11-03 上游 Agent Teams 复核结论与 fork 基线保持不动的理由
- [notes] 记录 SDK cohort
0.2.2-rc.1、dsh-git-graph退役与梁神调度守卫的决策 - [test] 补齐配对面板定位地址的文案路径与地址来源的用例覆盖
- [test] 第二条连接器状态路径的断言改用
node:path拼接以保持平台中立
English
This release is about the cohort and a retirement: every family package raises its host floor as the SDK cohort advances to DSH 0.2.2-rc.1, and dsh-git-graph is removed outright because the official runtime now ships the same surface, with Git change views handed back to the official @deepseek-ai/dsh-workspace-changes. On the feature side the new dsh-diagrams renders mermaid fences in the chat transcript and the document preview, scheduling the work per frame and memoizing per theme so a long transcript stays scrollable; dsh-win-bash verifies the mandatory integrity label of its payload cache before mount, closing the Low-integrity shell that broke writes with Permission denied (issue #2007); and remote access (dsh-remote-bridge) states only the kind of address in the pairing panel and in the host log, so a public hostname no longer leaves as text. The four satellite repositories align to 0.4.15.
The DSH cohort advances to
0.2.2-rc.1: the root workspace,shared, the scaffold and every family package move their@deepseek-ai/*consumption to0.2.2-rc.1, with@deepseek-ai/cordisat4.1.0,schemasteryat3.19.0andcosmokitat1.9.0, and bothdsh.engines.dshand the host peer raised to>=0.2.2-rc.1. Two contract drifts are repaired in the same batch: the plugin card seat indsh-remote-web-uierases its event signature to parameter types for the genericonofcordis@4.1.0, and the host face probe indsh-agentsno longer requiressessionProjections.stateOf. Against thedsh-v0.2.2-alpha.3anddsh-v0.2.2-rc.1tags the non-manifest source diff is zero: the official loader roster is still 192 ids and the browser frozen platform table is still 11 modules. Against the0.2.1-rc.3cohort of0.4.14the official CSS token set grows from 329 to 335 entries: six illustration tokens (--dsw-alias-illustration-backgroundwith its-backing,-detail,-inset,-shadowand-surface), plus--dsw-alias-state-done-primary, arrive while the official shell drops--dsw-specific-sidebar-nav-item-hover.
dsh-git-graphis retired and Git change views return to the official plugin: the official DSH now ships@deepseek-ai/dsh-workspace-changes, so a second Git surface in the family is duplication; the package is deleted outright (126 tracked files), the aggregate no longer mounts theweb-ui-git-graphrow, no longer depends on it and no longer publishes its ru dictionary, settings-bridge whitelist entry or mobile block rule. The@linxin666/dsh-web-all/git-graphsubpath stays as a silent no-op retirement shell, because without it an older profile row would throwERR_PACKAGE_PATH_NOT_EXPORTEDat import and take the whole aggregate down; the published@linxin666/dsh-client-ui-git-graph@0.4.14stays on the registry, so anyone installing it on its own keeps working. What leaves with the package is thegit_worktreemodel-visible tool, the managed$DSH_HOME/worktrees/directory and the branch chip in the blank-session hero row; worktree session isolation goes to the official experimentalclient-ui-forgeplugin, which brings its own worktree management and diff.
Newdsh-diagramspackage renders mermaid fences in place: the official markdown renderer publishes no code-block extension seam, so a mermaid fence could only render as an ordinary code block, and the family own mermaid support left withdsh-aionui-panel. The new package uses one page-side observer to cover both the chat transcript and the document preview (they share the same official renderer), renders mermaid fences into SVG in place with a runtime the host serves on demand, and repaints them when the shell flips light or dark. The original block is only hidden, never destroyed, so the copy button still copies the source, and every failure (syntax error, half-streamed fence, missing runtime) restores the code block untouched instead of throwing into the caller. The runtime is served same-origin by one read-only host route behind the family pairing fence (/api/dsh-diagrams/vendor/mermaid.js,GETandHEADonly, no CDN contacted), and rendered SVG passes a second sanitizing pass beyond the strict security level of mermaid, stripping script-capable elements,on*handlers andjavascript:URLs.
Diagrams are painted one per frame and memoized per theme: mermaid parses and lays out synchronously on the page main thread, so the work is scheduled instead of fired at once: one diagram per frame (a document with twelve diagrams stays scrollable), the sanitized SVG is memoized per theme and source (capped at 32 entries, so a palette flip back and a host re-render cost nothing), the runtime is re-initialized only when the palette actually changes, and a hidden tab that throttlesrequestAnimationFrameto nothing falls back to a 48 millisecond timer. A fence the parser rejects is retried only after a 400 millisecond quiet period and only once its source actually changed, because its own rollback mutates the DOM and retrying on every mutation would spin the page forever. Text labels are forced to SVG text (htmlLabels: false), since the<foreignObject>labels of mermaid are stripped whole by the sanitizer and read back as an empty box.
dsh-win-bashverifies the mandatory integrity label of its payload cache (issue #2007): the cache check compared only the SHA256 manifest and the file bytes, and the packaged payload and a Low-integrity copy are byte-identical, so a hash hit kept an unusable tree alive across restarts, plugin reloads and updates. In adanger-full-accesssessiongit add,mktempand Node file writes all failed withPermission denied, and neither restarting DSH nor rebuilding the persistent shell helped. The mount now verifies the label as well as the hash: the label is read only through%SystemRoot%\System32\icacls.exe <path> /save(never throughPATH) and decoded from UTF-16LE SDDL, where(ML;...;LW)and aS-1-16-*RID below 8192 read as Low; no SACL means Medium, and High or System labels and the volume root inherited label are not downgrades. SDDL writes SIDs the same way in every system language, so a localized Windows works too; the read is entirely passive, changes no label, DACL, token or user directory, needs no native dependency and no elevation, and costs nothing on POSIX hosts.
The pairing panel and the host log state only the kind of address: the panel no longer prints a public address as text, saying instead that the QR code carries the public address and that the iPhone connects to this computer as soon as it scans. A one-shot pairing code burns in 30 seconds, while a durable public hostname printed as text outlives every screenshot it appears in; the QR symbol already carries the address the phone needs, and Copy pairing code still hands out the same{token,url}string. A LAN literal is not that fact, because it only answers inside the network the page is already on, so the line still names it and says the iPhone must be on the same network. The host log follows the same rule:pair a device with <machine-local ws link>is followed only by(phone: public)or(phone: lan), with no suffix when no address was found, so a public hostname no longer enters a log that will be pasted elsewhere. The classification lives in one home (core/pair-address.ts), so the panel and the log answer with the same word for one configuration.
The four satellite repositories align to0.4.15: the skin center (dsh-skins,5415a7e01b9244e02ca6808928451f00cbf3b2ae) registers thediagramsplugin and thediagrampart it owns in the semantic attribute contract, drops the Git graph styling rules that can no longer match from 15 skins, and folds the verdandi composer readout strip into one row on one paper: two readout pills side by side, a gold hairline between them, the context ring closing the line on the right, the row sized to its readings and wrapping when the composer is too narrow, with the ring no longer reading as a patch stuck to the right edge, and custom themes stop emitting the--dsw-specific-sidebar-nav-item-hoverthat0.2.2retired, since sidebar hover backgrounds go through--dsw-alias-interactive-bg-hover. The pet plugin (dsh-pet,d19284a539618e5eadb6c263d842008a2b600bb0) fixes the type compatibility of its extension page under the new generic event signature ofcordis4.1 and aligns the cohort to0.2.2-rc.1. The community plugin index (dsh-community-plugins,04ce116569aaa00c876175fb66d14ea90e7a0328) adds the widget boarddsh-widget-board, growing the catalog from 150 to 151 entries. The preset center (dsh-presets,8f15e62b03dabf68d147fb92a911652dd0fd1bca) aligns the cohort only, with its threelib/artifacts byte-identical to0.4.14.
Upgrade Notes
- The DSH floor rises to
0.2.2-rc.1:dsh.engines.dshand the@deepseek-ai/dshpeer dependency of every family package move from>=0.2.1-rc.3to>=0.2.2-rc.1. The behaviour on an older host is a named downgrade rather than a fault: the official boot gate skips the bundle, throwing nothing, deleting no data, and booting the remaining bundles as usual, while the plugin manager and the CLI refuse the install with HTTP 412 and the messagerequires DSH >=0.2.2-rc.1. Raise the host to0.2.2-rc.1or higher before installing 0.4.15. A host already on the 0.2.2 line only follows the version number, because there is no non-manifest source diff betweendsh-v0.2.2-alpha.3anddsh-v0.2.2-rc.1. dsh-git-graphis retired: the row is removed from the aggregate and the capability passes to the officialworkspace-changesplugin; the@linxin666/dsh-web-all/git-graphsubpath stays as a silent no-op tombstone, so a row name recorded in an older profile still resolves, and the standalone package@linxin666/dsh-client-ui-git-graph@0.4.14remains installable from the registry. A profile that had set the row todisabledkeeps one override row and logspatch: entry "web-ui-git-graph" not foundonce at startup, which affects neither startup nor data; any single operation on that plugin in the plugin manager reclaims it, and the prune is idempotent.- Upgrade entry matrix: this version has no Doctor pre-launch migration:
dsh --helpcarries nodoctorsubcommand, and thedsh-doctorfamily package retired on 2026-09-23. The plugin manager update task is the only migration entry with a configuration backup (cordis.patch.yml.bak-plugin-manager), a--dump-configprecheck and automatic rollback on failure; a directdsh plugin addonly fixes row names and leaves override rows in place, so only that plugin manager operation reclaims theweb-ui-git-graphoverride row above. - Rebuilding the Windows cache: the only platform-specific change in this version is
dsh-win-bashverifying the mandatory integrity label of its payload cache before mount. It is fail-safe: a cache whose label does not match is not reused (the host publishes the executable tree into an isolated cache root outsideDSH_HOMEinstead), and an unwritable cache is never written. When no candidate is usable or verifiable the tool runs from the packaged tree, which matches the availability of0.4.14. Nothing throws, no user data is deleted and no DACL is changed along the way. To rebuild the cache, delete$DSH_HOME/win-bash; the cache is content-addressed, so rebuilding is idempotent. - The LiangShen preset rule block needs a restart: this release syncs the rule block of the LiangShen preset to the current upstream Agent Teams runtime, adding a host-plane execution guard (a delegated child calling
ask_user_question,create_goal,update_goalorexit_plan_modeis refused withDELEGATED_CALLER, and a pure sleep wait while a child still runs is refused withACTIVE_CHILD_SLEEP_FORBIDDEN, while real work and background jobs pass), and states that plan mode is the switch of the user. The block is also compacted from 35,447 to 24,589 characters, about 2,700 tokens less resident cost per step. The guard is a preset row rather than a host install, so it applies to sessions created afterdsh webrestarts. - Platform verification: this release was verified with the full local gate suite, runtime checks and the pre-release audit on Linux (Ubuntu x86_64), measured on the machine that produced it. Windows remains unverified on physical hardware: the label verification in
dsh-win-bash(icacls /savereads, the isolated cache root publication, theunsafe-integrityrefusal branch) is covered only by single-platform CI logic cases and unit tests with a realicacls, with no mount verified on an actual Windows host, and macOS is likewise unverified on physical hardware.
New Features
- [diagrams] Render mermaid fences in the chat transcript and the document preview as SVG
- [diagrams] Schedule one diagram per frame and memoize per theme and source, retrying a rejected fence only after its source changes
- [remote-bridge] State the kind of address the QR carries in the pairing panel instead of the public origin
- [agents] Recognize either generation of the official Agent Teams bundle in the coexistence gate and name both in the warning
- [liangshen] Add a host-plane execution guard to the dispatch rule block and compact one decision per rule
- [market] Register the community plugin
dsh-widget-boardand feature it in editor picks - [dsh-web-all] Retire the
dsh-git-graphrow from the aggregate package
Bug Fixes
- [win-bash] Verify the payload cache mandatory integrity label before mount to end Low-integrity bash write failures (#2007)
- [win-bash] Publish the executable tree into an isolated cache root outside
DSH_HOMEon a Low-labelled data tree - [remote-bridge] Anchor the LAN rule to the whole hostname so a public name such as
10.example.comis never printed as a local address - [remote-bridge] Share one address rule between the panel and the host log so the two classifications cannot disagree
- [remote-web-ui] Erase the plugin card seat event signature to
neverparameter types forcordis4.1.0 - [agents] Stop counting
sessionProjections.stateOfamong the required host faces
Other Changes
- [deps] Advance the family cohort to DSH
0.2.2-rc.1(stopping at0.2.2-alpha.3on the way), withcordisat4.1.0,schemasteryat3.19.0andcosmokitat1.9.0 - [deps] Move CI and the release workflow to Node 24.9.0
- [skins] Move the skins gitlink for the verdandi readout strip, the diagrams contract rows and the Git graph styling retirement
- [market] Rebuild the store artifacts and editor picks from the new skins gitlink (151 plugins)
- [readme] Sync the contributor list from the GitHub API
- [readme] Drop the Git graph and worktree entries and add the
dsh-diagramspackage row - [docs] Record the
marketing/directory convention for promo film projects - [notes] Record the 2026-11-03 upstream Agent Teams review and why the fork baseline stays put
- [notes] Record the decisions on the
0.2.2-rc.1cohort, thedsh-git-graphretirement and the LiangShen dispatch guard - [test] Cover the located-address copy path and the address source in the pairing panel tests
- [test] Build both sides of the second connector state path assertion with
node:pathto stay platform-neutral
v0.4.14
2026年11月02日
本次发布集中在控制面治理、跨平台运行环境加固与底层协议健壮性提升:应用市场(dsh-market)中继控制面全面重做,引入收敛缓存与统一限流预算以彻底解决 Cloudflare 账号 API 配额耗尽问题,部署流程全量迁移至 Cloudflare 官方 cf CLI;远程接入(dsh-remote-bridge)修正推送中继缺省地址并支持按订阅层级路由中继租约;插件管理器(dsh-plugin-manager)支持在 systemd 用户服务下请求 unit 级重启,并补充 bundle 挂载落地校验;家族聚合包退役 web-ui-update 行;Windows 终端(dsh-win-bash)改为从包外受校验缓存副本执行载荷并在进程退出时回收私有临时目录,根除 ERR_PNPM_EPERM 阻塞;浏览器视图(dsh-browser-view)支持带选区裁剪与缩放的高清 PNG 截图;dsh-git-graph 固定子进程英文环境避免误判覆盖守卫。四个卫星仓在本版同版本对齐到 0.4.14。
中继控制面全面重做与限流预算收紧:中继控制面引入收敛缓存与 D1 额度守卫(每 5 分钟 600 次),有效租约直接基于缓存响应而不再消耗 Cloudflare 账号 API 额度,彻底解决申领风暴造成的全站限流;传输模式默认值翻转为 bridge,租约支持按订阅层级路由与多会合点分流;D1 迁移
0011新增三列缓存字段;全部 15 项中继限制统一在relay-limits.js声明并冻结,注册/申领与 bridge 连接窗口收紧至 300 秒;中继失败一律回落至统一冻结错误码;deploy-market部署脚本全面迁至官方cfCLI 并增加网络层故障重试;推送中继缺省地址修正为应用真实使用的账号服务。
插件管理器支持 systemd 重启与 Bundle 落地校验:当宿主运行在 systemd 用户服务下时,插件管理器从 cgroup 与INVOCATION_ID准确识别所属用户 unit 并请求 systemd 重启当前服务,线协议新增第四态systemd;新增 bundle 选择落地判定(bundleSelectionMissing),杜绝因构建脚本门禁导致依赖已写入 profile 但 bundle 挂载丢失的假成功现象;家族聚合包正式退役web-ui-update(dsh-update)挂载行,存量 profile 凭 tombstone 导出与retiredPlugins清单平滑兼容。
Windows 终端环境与生命周期加固:彻底解决 Windows 下常驻进程占用导致包目录无法删除、阻碍插件更新与重装的ERR_PNPM_EPERM缺陷(issue #1996),dsh-win-bash改为通过内容校验哈希将可执行载荷解包至<DSH_HOME>/win-bash/runtime/<key>包外目录运行;每个 shell 进程退出、超时、中止或任务取消时,强制回收其专属私有临时目录,并在插件挂载时自动清理孤儿目录(issue #1993)。
浏览器视图支持带选区与缩放的高清 PNG 截图:dsh-browser-view的browser_screenshot工具支持clip(CSS 像素裁剪矩形,无缝承接browser_snapshot节点外框)、scale(1x/2x/3x 缩放)与format(默认png无损格式),避免全视口低画质 JPEG 压缩丢失微小界面细节或过度消耗模型视觉 Token 预算,支持基于当前标签页真实视口规格规划截图。
任务看板事件流健壮性与团队配置卡片优化:修复任务看板 SSE 事件流在网络静默或写入故障时不报错导致状态镜像僵死的问题,在连接/重连时主动同步快照,并在有在途执行任务时按间隔轮询宿主对齐状态;团队协作插件设置项重构为嵌套设置卡片规范布局,修复多语言标签换行挤压与排版割裂问题;任务看板支持同步 GitHub Issue 关闭状态并按仓库分组。
四个卫星仓同版本对齐到0.4.14:四个卫星仓先发并对齐至0.4.14。皮肤中心(dsh-skins,ff01ddcfe00588656ade6e35a8410f91bdf8a12c)包含 intake 决策记录提交f4c2992;宠物(dsh-pet,9ed843bccee3d2604ce0ac31f55cbde9bda97c7f)包含 review 决策记录提交da737fc;社区插件索引(dsh-community-plugins,a58eab289e159a9e8bf9f634ef4ed09537042536)扩充至 150 条(新增dsh-model-everything与dsh-composer-ease,既有条目零改写);预设中心(dsh-presets,d6828f85ac7900c02e8f5a6e1fa66e4995895cfc)纯版本对齐。
升级须知
- 中继控制面限流预算收紧:中继控制面(
dsh-marketWorker)的限流窗口从 60 秒收紧至 300 秒,per-id 额度由 6 次降至 3 次,per-IP 额度调整为 60 次(按客户端 IP 原样计数);桥门(bridge door)复用同一 300 秒窗口,连接预算等效由「6 次/分钟」变为「6 次/5 分钟」。这是用户可感知的行为变化:在网络抖动或频繁断线重连时,客户端更容易触发 HTTP 429 限流响应,客户端在遇到限流时会自动按退避窗口等待。 - 中继数据库迁移与传输模式翻转:
- 新增 D1 迁移
0011_relay_lease_convergence_cache.sql,仅对relay_leases表追加三列可空字段(converged_at/token_cache/token_at),旧行读出 NULL 会自动触发重新收敛并填充缓存,无需历史数据回填;部署顺序由scripts/deploy-market严格保证「先cf d1 migrations apply,再cf deploy」。 - 中继租约传输模式的部署默认值已由 quick 翻转为 bridge,但既有租约行保持自己记录的传输模式(upsert 的
ON CONFLICT分支不覆写mode列),因此默认值翻转仅对新申领的租约生效。
- 新增 D1 迁移
- 重启线协议第四态与旧页面兼容:
dsh-plugin-manager重启线协议新增第四态systemd(线传输形态{restart: {mode: 'systemd', unit}})。若宿主运行在 systemd 用户服务下,未刷新 JS 的旧前端页面点击「立即重启」会因无法识别systemd模式而弹出错误提示,此时只需直接刷新浏览器页面即可恢复正常交互与重启,无数据损失。 - 聚合包退役
web-ui-update行:家族聚合包@linxin666/dsh-web-all移除web-ui-update(dsh-update)挂载行,保留 tombstone 子路径导出与retiredPlugins清单登记。曾将该行显式设为disabled的用户 profile,在每次启动时会在控制台输出一条patch: entry "web-ui-update" not found提示,直到用户在插件管理器中执行一次常规更新以清理孤儿覆盖配置;该提示不影响宿主正常启动,也不会造成配置或数据丢失。 - 升级入口支持矩阵与人工迁移:
- 升级支持矩阵沿用 0.4.13:仓库内不存在 Doctor 预启动迁移;直接执行
dsh web不会安装新版本(仅在启动后修复插件行名);插件管理器的更新任务是唯一具备配置备份、--dump-config预检与异常自动回滚的迁移入口。通过手工 CLI 升级会保留孤儿 disabled 覆盖行。 - 若升级中途中断或需要手工恢复,请遵循标准三步:
dsh plugin remove @linxin666/dsh-web-all(或旧包名@linxin666/dsh-web-ui-all)dsh plugin add @linxin666/dsh-web-all@0.4.14- 将
dsh.profile.bundles中的旧包名原位替换为@linxin666/dsh-web-all(官方 CLI 仅写入dependencies而不写入bundles,遗漏此步会导致skipping profile bundle)。若中断后 profile 出现空dependencies但bundles仍指旧名,切勿执行dsh plugin install,直接重新执行上述三步。
- 升级支持矩阵沿用 0.4.13:仓库内不存在 Doctor 预启动迁移;直接执行
- 平台验证声明:本版在 Linux(Ubuntu x86_64)环境下完成了完整的本地门禁套件、运行时验证与发布前审计(已实测)。macOS 与 Windows 未在物理实机上验证;未经验证的具体面包括:
dsh-win-bash的包外载荷解包与私有临时目录回收(Windows 专属代码路径,仅经单平台 CI 自动化测试覆盖)、dsh-plugin-manager的 systemd 重启分支在生产用户环境的表现(本地仅通过单测与临时 unit 桩验证,未覆盖复杂 cgroup 嵌套)、以及 Windows 下插件管理器的文件权限、重命名与备份逻辑。
新功能
- [remote-bridge] 支持按订阅层级路由中继租约
- [remote-bridge] 支持自定义中继控制面基址与公共后缀
- [remote-bridge] 重塑配对面板文案并展示 iOS 测试群链接
- [browser-view] 支持带选区裁剪(clip)与缩放(scale)的高清 PNG 截图
- [market] 使用 Cloudflare 官方
cfCLI 部署 Workers 与 D1 迁移 - [dsh-web-all] 家族聚合包退役
dsh-update挂载行 - [task-board] 支持同步 GitHub Issue 关闭状态并按仓库分组展示
修复
- [remote-bridge] 推送中继缺省地址指向 App 真正使用的账号服务
- [plugin-manager] 宿主由 systemd 用户服务拉起时请求当前 unit 重启
- [market] 在入库绑定前校验 tunnel id 避免生成 undefined 导致 D1 写入拒绝
- [market] 向收敛缓存检查传递 lease id,避免缓存比对失效导致重复收敛
- [market] 为桥接租约补齐所有字段占位,杜绝 undefined 绑定引发存储异常
- [task-board-team] 团队设置卡片默认收起以契合看板设置项行为
- [task-board-team] 团队设置区块重构为标准嵌套设置卡片
- [market] 注册写入失败时统一返回冻结的存储故障响应
- [win-bash] 从包外受校验缓存副本启动载荷,避免 Windows 进程锁定导致更新报 EPERM (#1996)
- [win-bash] shell 进程结束时回收其私有临时目录并清理孤儿目录 (#1993)
- [market] 短窗口回收原始心跳遥测并透传部署捕获输出
- [market] 引入收敛缓存与额度守卫,避免中继申领耗尽账号 API 预算
- [market] 桥接流加入流量控制窗口,链路异常一律返回冻结状态码
- [market] 识别 CLI 网络层报错短语并在部署瞬态故障时自动重试
- [git-graph] 固定 git 子进程语言为英文(
LANG=C),避免覆盖守卫误判 - [test] 允许 cohort 门禁识别工作区 overrides 声明的豁免包
- [remote-bridge] 仅在有配对设备或需配对时按需申领中继租约,并对状态日志去重
- [market] 账号预算耗尽时停止向 Cloudflare 发起调用
- [remote-bridge] 将申领重试间隔上限约束在 Cloudflare 限流窗口内
- [market] 约束中继租约 GC 范围并在账号预算耗尽时降级处理
- [remote-bridge] 推送通知中携带审批类通知的 category 标识以便渲染交互按钮
- [task-board] 及时关闭挂起的 SSE 事件流并在存在在途任务时轮询校验状态
- [plugin-manager] 检测到 bundle 选择未写入 profile 时判定安装失败
- [plugin-manager] 在 CLI 创建的 profile 上真正清理指向已退役行的孤儿覆盖行
- [plugin-manager] 迁移回滚检查移除新包退出码并在失败时如实报告未完成
- [plugin-manager] 允许更新启动预检失败后直接重试重装而不受 409 拦截
其他改动
- [remote-bridge] 记录 local1 测试机显式配置中继地址的原因
- [notes] 记录桥接流控栅栏判定机制与静默等待窗口
- [remote-bridge] 用拒绝栅栏替代固定 sleep 等待,明确测试静默窗口
- [market] 完善中继测试桩以拒绝 D1 不支持的非法绑定
- [notes] 将控制面决策记录指向单一限流模块
- [market] 统一声明中继全部 15 项限流与窗口预算至单一模块
- [market] 固化中继代理路径的错误响应状态与响应体规范
- [market] 钉住社区合并提交并重建商店目录(扩充至 150 个插件)
- [archive] 记录中继申领风暴导致 Cloudflare 429 的根本原因
- [notes] 在重试决策记录中补充 CLI 网络层报错短语
- [notes] 记录 cohort 门禁解除桌面宿主锁定的决策
- [notes] 记录 cohort 门禁对 overrides 声明豁免的判定逻辑
- [deps] 为 rc.5 依赖 overrides 重新生成 pnpm-lock.yaml
- [deps] 将工作区
@deepseek-ai依赖钉在宿主 DSH 运行树(开发模式) - [notes] 记录冷启动窗口内客户端自行重建 socket 纪元的机制
- [archive] 将切流回退步骤指向新中继备份
- [archive] 记录实测中继回滚过程与数据
- [archive] 记录中继切流指标读数与回滚及重入流程
- [archive] 归档中继切流交接记录、实证与后续步骤
- [notes] 记录已上线中继服务环境契约与 HTTP 透传边界
- [notes] 提出将中继会合点迁移出 Cloudflare 的设计提案
- [notes] 同步中继控制面关于预算守卫的决策记录
- [archive] 记录桌面外壳 SSE 转发探针验证结果
- [task-board] 记录事件流中断恢复机制与在途任务校验决策
- [task-board] 在 README 中梳理看板镜像重新读取的 5 处入口
- [task-board] 将事件流异常纳入看板镜像重新读取触发条件
English
This release focuses on control plane governance, cross-platform runtime hardening, and low-level protocol resilience: the Workshop (dsh-market) relay control plane has been overhauled with a convergence cache and unified rate-limit budgets to eliminate Cloudflare account API exhaustion, and its deployment pipeline is fully migrated to the Cloudflare official cf CLI; remote access (dsh-remote-bridge) corrects the default push relay address and routes relay leases by subscription tier; the plugin manager (dsh-plugin-manager) adds systemd user unit restarts and bundle landing verification; the aggregate package retires the web-ui-update row; the Windows shell (dsh-win-bash) runs payloads from a verified cache outside the package and cleans up private temporary directories upon exit to eliminate ERR_PNPM_EPERM locks; the browser view (dsh-browser-view) supports clipped and scaled lossless PNG screenshots; and dsh-git-graph pins child git processes to English to prevent overwrite guard misjudgment. The four satellite repositories align to 0.4.14.
Relay control plane overhaul and rate-limit budget tightening: The relay control plane introduces a convergence cache and a D1 account budget guard (capped at 600 calls per 5 minutes), answering active claims directly from cached state without spending Cloudflare account API quota and resolving claim storm throttles. The default transport mode flips to bridge, and leases support subscription-tier routing and multi-meeting-point distribution. D1 migration
0011adds three nullable convergence cache columns. All 15 relay limits are unified and locked inrelay-limits.js, with registration/claim and bridge connection windows tightened to 300 seconds. Relay failures return unified frozen error codes.deploy-marketswitches completely to the officialcfCLI with network-layer retry logic, and the default push relay endpoint is corrected to the account service actually used by the mobile app.
Plugin manager adds systemd service restart and bundle landing verification: When the host runs under a systemd user service, the plugin manager identifies the cgroup andINVOCATION_IDto request a unit-level restart via systemd, adding a fourthsystemdstate to the restart wire protocol. A new bundle landing verification check (bundleSelectionMissing) rejects updates where build-script gates write dependencies to the profile but drop bundle entries. The aggregate package officially retires theweb-ui-update(dsh-update) row, maintaining smooth compatibility for existing profiles via tombstone exports andretiredPluginsregistration.
Windows shell execution and lifecycle hardening: Resolves theERR_PNPM_EPERMpackage-directory lock defect on Windows (issue #1996), where persistent background bash processes blocked plugin updates and reinstalls;dsh-win-bashnow unpacks and executes verified payloads outsidenode_modulesunder<DSH_HOME>/win-bash/runtime/<key>. Each shell process reclaims its private temporary directory upon termination, timeout, abort, or cancellation, and orphaned temporary directories are swept on plugin mount (issue #1993).
Browser view adds clipped and scaled lossless PNG screenshots:dsh-browser-viewaddsclip(CSS pixel bounding box matchingbrowser_snapshot),scale(1x/2x/3x), andformat(defaulting to losslesspng) parameters tobrowser_screenshot, preventing fine 1-2px layout details from being lost to lossy JPEG compression or wasting vision token budgets, while planning screenshot sizes based on the tab's active viewport.
Task board event stream resilience and team settings card refinement: Resolves an issue where silent disconnects or write failures caused SSE event streams to stall without triggering browser reconnects; the transport now resynchronizes snapshots on connect/reconnect and polls in-flight tasks until settled. The team settings section is refactored into a standard nested settings card layout to prevent label squeezing and broken wrapping, and task boards support syncing GitHub issue close state grouped by repository.
The four satellite repositories align to0.4.14: All four satellites publish first and align to0.4.14. The skin center (dsh-skins,ff01ddcfe00588656ade6e35a8410f91bdf8a12c) includes intake decision commitf4c2992; pet (dsh-pet,9ed843bccee3d2604ce0ac31f55cbde9bda97c7f) includes review decision commitda737fc; the community plugin index (dsh-community-plugins,a58eab289e159a9e8bf9f634ef4ed09537042536) expands to 150 plugins (addingdsh-model-everythinganddsh-composer-easewith zero modifications to existing entries); and the preset center (dsh-presets,d6828f85ac7900c02e8f5a6e1fa66e4995895cfc) aligns versions cleanly.
Upgrade Notes
- Relay Control Plane Rate Limit Budget Tightening: The rate-limit window for the relay control plane (
dsh-marketWorker) is tightened from 60s to 300s, the per-id budget is lowered from 6 to 3, and the per-IP budget is adjusted to 60 (counted per client IP directly); the bridge door reuses this 300s window, effectively reducing connection budgets from 6 per minute to 6 per 5 minutes. This is a user-perceptible change: under network jitter or frequent reconnects, clients are more likely to receive HTTP 429 rate-limit responses, and clients will wait according to their backoff window. - Relay Database Migration and Transport Mode Flip:
- D1 migration
0011_relay_lease_convergence_cache.sqladds three nullable columns (converged_at/token_cache/token_at) torelay_leases. Legacy rows reading NULL automatically re-converge and populate the cache without requiring a backfill. The deployment sequence inscripts/deploy-marketstrictly enforcescf d1 migrations applybeforecf deploy. - The default relay lease transport mode flips from quick to bridge, but existing lease rows retain their recorded transport mode (the upsert's
ON CONFLICTclause does not overwrite themodecolumn), so the default flip only affects newly created leases.
- D1 migration
- Restart Protocol Fourth State and Legacy Page Compatibility: The restart wire protocol in
dsh-plugin-manageradds a fourth statesystemd(wire shape{restart: {mode: 'systemd', unit}}). On hosts managed by systemd user units, an unrefreshed browser page clicking Restart will display an error due to the unrecognized mode; simply refreshing the page restores normal behavior with no data loss. - Retirement of
web-ui-updateRow from Aggregate: Aggregate@linxin666/dsh-web-allremoves theweb-ui-update(dsh-update) mount row while maintaining tombstone subpath exports andretiredPluginsregistration. Profiles that previously set this entry todisabledwill log apatch: entry "web-ui-update" not foundwarning on startup until the user runs an update via the plugin manager; host startup and data integrity are unaffected. - Upgrade Entry Support Matrix and Manual Recovery:
- The upgrade matrix follows 0.4.13: There is no Doctor pre-launch migration; executing
dsh webdirectly does not install new versions (it only fixes row names after startup); only the plugin manager update task performs backups,--dump-configprechecks, and rollbacks. Manual CLI upgrades retain orphaned disabled override rows. - If manual recovery is needed, follow the three standard steps:
dsh plugin remove @linxin666/dsh-web-all(or legacy name@linxin666/dsh-web-ui-all)dsh plugin add @linxin666/dsh-web-all@0.4.14- In
dsh.profile.bundles, in-place replace the legacy name with@linxin666/dsh-web-all(the official CLI only updatesdependencies, notbundles; missing this step causesskipping profile bundle). If interrupted leaving emptydependencieswhilebundlespoints to the old name, do not rundsh plugin install; repeat the three steps above.
- The upgrade matrix follows 0.4.13: There is no Doctor pre-launch migration; executing
- Platform Verification Notice: This release was fully verified with the complete local test suite, runtime checks, and pre-release audits on Linux (Ubuntu x86_64) (tested). macOS and Windows remain unverified on physical hardware. Unverified areas include:
dsh-win-bashout-of-package runtime staging and private temp directory reclamation (Windows-specific paths covered only by single-platform CI),dsh-plugin-managersystemd restarts in production environments (verified via unit tests and mock units, but not in complex cgroup hierarchies), and file permissions, rename, and backup behavior on Windows.
New Features
- [remote-bridge] Route relay leases by subscription tier
- [remote-bridge] Make relay control plane base and suffix configurable
- [remote-bridge] Reword pairing panel and link iOS beta Discord
- [browser-view] Capture lossless PNG screenshots with clip and scale
- [market] Deploy Cloudflare Workers and D1 migrations with official
cfCLI - [dsh-web-all] Retire
dsh-updaterow from aggregate package - [task-board] Sync GitHub issue close state and group by repository
Bug Fixes
- [remote-bridge] Point default push relay URL to account service used by the app
- [plugin-manager] Request systemd unit restart when host is launched by systemd user service
- [market] Grade tunnel id before binding to prevent undefined values in D1 batch
- [market] Pass lease id into convergence cache check to prevent redundant re-convergences
- [market] Supply explicit nulls for bridged lease fields to eliminate undefined bindings
- [task-board-team] Open team settings card collapsed by default
- [task-board-team] Render team settings block as a nested settings card
- [market] Return frozen storage failure code when registration write fails
- [win-bash] Run payload from verified cache copy outside package to prevent EPERM locks on Windows (#1996)
- [win-bash] Reclaim each shell's private temporary directory upon termination and sweep orphans (#1993)
- [market] Prune raw heartbeats on short window and forward captured deployment output
- [market] Prevent relay claim path from spending account API budget via convergence cache and guards
- [market] Add flow-control window to bridge streams and return frozen error codes on failure
- [market] Retry deployments on CLI network-layer failure wording
- [git-graph] Pin git child locale to English (
LANG=C) to prevent overwrite guard misjudgment - [test] Allow cohort gate to recognize workspace overrides as declared exemptions
- [remote-bridge] Claim relay leases on demand and deduplicate state logs
- [market] Stop calling Cloudflare API once account budget is exhausted
- [remote-bridge] Cap failed claim retries within Cloudflare rate-limit window
- [market] Bound relay lease GC and gracefully handle exhausted account budgets
- [remote-bridge] Include approval category in push payloads to render actionable banner buttons
- [task-board] Terminate stalled SSE event streams and poll in-flight tasks until settled
- [plugin-manager] Fail installation when bundle selection fails to land in profile
- [plugin-manager] Clean up orphan overrides pointing to retired rows on CLI-created profiles
- [plugin-manager] Check exit code when removing new package during migration rollback and report incomplete status
- [plugin-manager] Allow retrying updates directly after boot preflight failure without 409 blocking
Other Changes
- [remote-bridge] Document reason for explicit relay URL configuration on local1 test host
- [notes] Record bridge flow-control fence and quiet window
- [remote-bridge] Replace fixed sleeps with refusal fences to define test quiet window
- [market] Update relay test doubles to refuse bindings rejected by D1
- [notes] Point control-plane note at limits module
- [market] Consolidate all 15 relay limits and window budgets into a single module
- [market] Pin frozen error codes and response schemas for relay proxy path
- [market] Pin community merge commits and rebuild store catalog (expanded to 150 plugins)
- [archive] Record root cause of Cloudflare 429 throttles from relay claim storm
- [notes] Add CLI network-layer wording to retry note
- [notes] Record removal of desktop host coupling from cohort gate
- [notes] Document cohort gate declared overrides exemption logic
- [deps] Regenerate pnpm-lock.yaml for rc.5 workspace overrides
- [deps] Pin workspace
@deepseek-aicohort to host DSH tree (development mode) - [notes] Document client-initiated socket epoch recreation within cold-start window
- [archive] Point cutover return step at new-relay backup
- [archive] Record measured relay rollback
- [archive] Record cutover readings and rollback/return procedure
- [archive] Hand off relay cutover, evidence, and remaining steps
- [notes] Record shipped relay server, env contract, and HTTP passthrough boundary
- [notes] Propose moving relay meeting point off Cloudflare
- [notes] Synchronize relay control-plane note with budget guards
- [archive] Record desktop shell SSE forwarding probe results
- [task-board] Record event stream stall recovery and in-flight verification note
- [task-board] Document five mirror re-read entry points in README
- [task-board] List stream error among mirror re-read trigger conditions
v0.4.13
2026年10月31日
本次发布包含多项核心架构升级与新特性:远程访问链路(remote-bridge)接管全部网络接入基建并收敛入站网关,家族聚合包正式退役旧浏览器镜像 remote-web-ui;任务看板引入基于 Go 独立自建中枢 team-hub 的团队协作扩展体系,并支持卡片图片与文件附件;浏览器视图新增直连外部浏览器的 real-browser CDP 模式;官方插件页面接入统一展示元数据通道与内置插件分组。四个卫星仓在本版同版本对齐到 0.4.13,其中皮肤中心彻底修复 Windows 平台原生 addon 引起的插件安装阻塞缺陷。
远程接入栈完整迁入
remote-bridge,聚合包退役remote-web-ui:网络接入基建(中继注册、云穿透隧道、Durable Object 连接器、局域网绑定转发与防火墙控制)全数收敛至packages/dsh-remote-bridge,新增仅绑定回环地址的入站网关(ingress-gate),严格将外部暴露面收敛至/ios/v1协议。家族聚合包@linxin666/dsh-web-all移除remote-web-ui挂载行,存量 profile 凭 tombstone 导出与retiredPlugins清单平滑兼容,不中断启动流程;中继身份目录与设备状态保留历史路径,已配对移动端无需重新配对。
任务看板团队协作与 Go 单二进制自托管服务team-hub:引入多 Host 共享的团队协作扩展(@linxin666/dsh-task-board-team),配合全新独立 Go 服务team-hub(SQLite 存储、内存重放与实时 WebSocket 频道,零外部依赖)。看板扩展契约新增followUp与rework可选能力;支持人类或 Agent 负责人、GitHub OAuth 登录与管理员邮箱初始化引导、Host Token 节点认领与带租约执行、待答问题求助路由与前置运行工作区认领闸门。
任务看板支持卡片附件,隔离模型凭据:看板 schema 升级至 v7,卡片支持上传图片与文件附件;账本严格遵循「只存元数据与 sha256 摘要,绝不存原始字节」,字节经由官方附件存储(ctx.attachments)校验。修复模型选择器中提供商名称的展示;provider 集成凭据不再裸露在线上广播账本中。
浏览器视图新增真实浏览器 CDP 模式:dsh-browser-view新增对外部 Chrome/Edge 进程 CDP 端点(http://127.0.0.1:9222)的直连接管模式(显式 opt-in),支持在真实 profile 登录态下接管页面与投屏,且不干扰默认隔离浏览器模式。
插件页展示元数据与内置插件分组:全家族包补齐官方locale/<lang>.json展示元数据(支持中英双语,部分含俄语),聚合包家族行展示面向用户的本地化名称;官方插件页面底部新增内置插件分组与更新检测工具栏;彻底清除 5 个历史已退役家族的空壳导出。
四个卫星仓同版本对齐到0.4.13:四个卫星仓先发并对齐至0.4.13。皮肤中心(dsh-skins,66ec9f1)将 CSS 安全转换隔绝在短生命周期 worker 进程中,彻底解决 Windows 下原生 addon 导致插件安装失败的问题;宠物(dsh-pet,9ccb048)、社区插件索引(dsh-community-plugins,3b0673d)与预设中心(dsh-presets,92c3154)在本区间无功能变更,同批对齐发布。
升级须知
-
更新任务误报已在 0.4.13 修复:
plugin-manager不再把 pnpm 11 的构建脚本门禁(ERR_PNPM_IGNORED_BUILDS)造成的非零退出码报成失败;此前该情形会被报成更新失败,而安装其实已经生效。措辞按本版修复处理,状态判定与实际安装结果保持一致。 -
远程访问路径变更:浏览器配对路径随
remote-web-ui从聚合退役,手机端走remote-bridge的/ios/v1协议;若此前曾单独安装过@linxin666/dsh-remote-web-ui,升级后必须卸载它(否则与 bridge 争同一个中继身份与租约)。已配对的移动端无需重新配对。 -
两处行为变化:设置页「内置插件」分区由聚合默认下线(禁用本插件可恢复);任务看板 wire 不再下发 provider 集成凭证字段。
-
0.3.x 存量人工迁移:不存在 Doctor 预启动迁移;旧包
@linxin666/dsh-web-ui-all冻结在 0.3.6 且已 deprecated,其网关在当前运行时(rc.5)不服务,无法 GUI 自动迁移。给出可执行的三步迁移步骤:dsh plugin remove @linxin666/dsh-web-ui-alldsh plugin add @linxin666/dsh-web-all@0.4.13- 把
dsh.profile.bundles里的旧名原位替换为新名@linxin666/dsh-web-all(官方 CLI 只写dependencies,不写bundles;漏掉第三步会skipping profile bundle)。
若迁移中途中断(profile 变成空
dependencies、bundles仍指旧名),不要按提示执行dsh plugin install(会把已废弃的 0.3.6 装回来),按上面三步重做。 -
平台验证声明:本版在 macOS 实测通过;Linux 与 Windows 未验证。未验证的具体面包括:新增回环监听(
ingress-gate)、$DSH_HOME/remote-bridge/model-efforts.json的新权限位(目录 0700 / 文件 0600)、以及task-board-team的路径解析(含 Windows 盘符与~,只读)。 -
退役家族说明:
doctor/desktop-launcher/dsh-perf/describe-image/model-capabilities五个家族的残留导出已清除,它们在 0.4.12 就已不挂载,无功能损失;残留行会被记为failed import但不影响宿主启动。
新功能
- [remote-bridge] 接管网络接入栈,并从聚合包中退役 remote-web-ui
- [task-board] 支持卡片附件
- [team-hub] 成员支持通过评论可
@的 handle 标识命名 - [team-hub] 支持通过账号服务按邮箱初始化首个管理员
- [team-hub] 支持通过账号服务按邮箱邀请成员
- [team-hub] 在成员传输形态中暴露 account_user_id
- [team-hub] 新增 Go 静态单二进制自托管运行时
- [team-hub] 新增 Node 自托管运行时
- [plugin-manager] 在官方插件页面列出内置插件
- [team-hub] 支持凭账号服务断言完成成员登录
- [remote-bridge] 支持经由托管中继投递推送通知
- [remote-bridge] 在设备花名册中携带中继令牌
- [team-hub] 支持初始化首个团队及其首位管理员
- [plugins] 本地化插件页展示元数据并彻底移除退役家族
- [browser-view] 新增真实浏览器 CDP 模式
- [remote-bridge] 记住每个模型的推理强度配置
- [team-hub] 强制执行 A4 Host 契约
- [task-board] 支持从扩展任务草稿转发执行目标
- [task-board-team] 新增 team-hub provider 扩展包
- [team-hub] 新增 Agent 花名册并重塑问题与活动流形态
- [team-hub] 新增 issue 状态机、租约、问题、评论、收件箱与路由
- [team-hub] 新增 GitHub 登录、会话与 Host 令牌、成员关系与 APNs 推送
- [team-hub] 新增 D1 schema、核心模块与团队频道
- [task-board] 看板扩展契约新增可选的 follow-up 与 rework 能力
修复
- [remote-bridge] 向配对二维码提供 socket URL,而非源地址自身的协议方案
- [remote-bridge] 将配对触发按钮安放在页脚末端
- [market] 适配皮肤 CSS 隔离转换
- [task-board] 在选择器中展示模型提供商
- [team-hub] 正确解析含转义换行的 APNs p8 密钥
- [team-hub] 统一会话密钥环境变量名称
- [task-board] provider 集成凭据不暴露在看板广播数据中
- [remote-bridge] 中继推送时同步传递卡片解除状态
- [task-board-team] 仅在绑定有效运行工作区时认领 issue
- [remote-bridge] 仅丢弃判定为过期的档位,且仅在确实过期时丢弃
- [remote-bridge] 保留可读的推理强度行并扣留过期档位
- [task-board-team] 对客户端服务进行探测而非直接读取
- [git-graph] 消除分支胶囊定位引发的反馈死循环 (#1972)
- [task-board-team] 在令牌修复与重连期间保留待结算项并与 hub 对齐
- [task-board-team] 尚有待结算项时不再认领新卡片,对齐 hub 准入门禁
- [task-board-team] 对 hub 回复已过期的结算停止无效重试
- [task-board-team] 通过单次在途请求认领返工,对被拒绝的结算执行重试
- [team-hub] 每次全新认领时铸造新的尝试编号
- [team-hub] 遇到冲突的 Agent 名称时跳过而非导致整批注册失败
- [team-hub] 按限额命名 Host 配额测试并列出邀请状态码
- [task-board-team] 在频道升级请求头中提供 Host Token
- [task-board-team] 严格契合冻结的传输样例
- [task-board-team] 经由草稿钉住成员预设并等待 hub 应答
其他改动
- 将远程访问呈现为移动端 App,不再展示已退役的浏览器镜像路径
- [market] 按钉住的输入源同步市场静态资产
- [satellites] 钉住皮肤中心 CSS worker 修复提交
- [team-hub] 对齐初始化引导契约、文档与笔记中的邮箱查询逻辑
- [team-hub] 退役 Worker 与 Node 实现,保留单一 Go hub 实现
- [archive] 将跨仓相对链接替换为纯文本引用
- [archive] 修复断言 jwks 端点并收紧环境矩阵
- [archive] 补充自托管服务部署交接文档
- [task-board] 记录团队协作功能交付总结
- 移除空文件
- [remote-bridge,task-board-remote] 调整两处测试用例以符合 test-standards BDD 规范
- [task-board-remote] 在传输层钉住镜像卡片的团队载荷
- [notes] 记录中继投递的技术路线与决策
- [remote-bridge] 补充中继链路测试覆盖
- [notes] 将团队协作笔记迁移至 implemented 并记录部署事实
- [task-board-team] 采纳 hub 端初始化引导契约样例
- [archive] 归档已部署 team-hub 的交接记录
- [team-hub] 在 workers.dev 域名下提供 hub 服务
- [team-hub] 将部署指向已创建的 D1 数据库
- [team-hub] 改用 cf 工具而非 wrangler 进行部署
- [team-hub] 统一通过 cf 命令行工具部署
- [market] 再次按钉住的输入源同步市场资产
- [sync-shared] 适配浏览器设置卡片的跨包副本同步
- [task-board-team] 使账本路径断言具备跨平台兼容能力
- [archive] 补充 git-graph 分支胶囊验证截图 (#1972)
- [task-board-team] 列明哪些结算拒绝属于可重试情形
- [task-board-team] 按其实际测试内容为租约失效认领测试命名
- [task-board-team] 将过期的结算明确描述为终态
- [task-board-team] 明确评论线程比对所读取的样例名称
- [task-board-team] 阐明认领、重连与结算的具体行为
- [team-hub] 阐明谁负责铸造 attempt 以及命名冲突的处理方式
- [team-hub] 逐一校验每个契约样例元素与每项事件
- [team-hub] 指出规格正文中仍存在出入的一处状态码
- [team-hub] 记录 A4 阶段决策与待同步正文
- [team-hub] 敲定 Host 契约、socket 鉴权与令牌单元
- [team-hub] 发布 Host 契约样例文件
- 在按路径过滤的车道中运行 team-hub 类型检查与测试
- [task-board] 记录任务草稿执行目标的设计事实
- [team-hub] 将实现决策吸纳进通信协议规范
- [task-board-team] 注册包并在词表中补充俄文文案
- [team-hub] 定义 Agent 列表、问题与活动流的传输结构
- [team-hub] 记录部署输入项与协议偏离点
- [team-hub] 搭建独立 Workers 工程脚手架
- [team-hub] 补充身份、收件箱、问题与活动的只读接口
- [task-board] 在包契约规则中列出 follow-up 与 rework
- [task-board] 在扩展契约笔记中记录 follow-up 与 rework
- [team-hub] 明确返工执行前必须先认领
- [team-hub] 补齐协议评审中发现的缺失项
- [team-hub] 新增 team-hub 通信协议规格 v1
- [notes] 提出任务看板团队协作扩展提案
- [plugin-manager] 明确迁移映射表的唯一写入者
- [readme] 从 GitHub API 同步贡献者名单
English
This release delivers core architectural upgrades and new capabilities: the remote access path (remote-bridge) takes over the full network ingress infrastructure with a hardened ingress gate, while the aggregate package officially retires the legacy browser mirror remote-web-ui; the task board introduces team collaboration powered by the standalone Go self-hosted hub team-hub and adds card attachments for images and files; the browser view introduces a real-browser CDP mode; and official plugin page display metadata and built-in plugin grouping are established. The four satellite repositories align to 0.4.13, with the skin center isolating CSS safety transforms in short-lived workers to eliminate plugin installation failures on Windows.
The remote ingress stack moves into
remote-bridge, and the aggregate retiresremote-web-ui: All network ingress infrastructure (relay registry, cloudflared tunnels, Durable Object connectors, LAN forwarding and firewall controls) converges intopackages/dsh-remote-bridge. A loopback-only ingress gateway (ingress-gate) strictly restricts the external attack surface to the/ios/v1protocol. The aggregate@linxin666/dsh-web-allremovesremote-web-ui, with existing profiles smoothly supported via tombstone exports andretiredPluginsregistration without launcher interruptions; relay identity and device states keep their historical paths so paired devices remain paired.
Task board team collaboration and the Go standalone serviceteam-hub: Introduces multi-host team collaboration via@linxin666/dsh-task-board-teamand the standalone Go serviceteam-hub(SQLite storage, in-memory replay and real-time WebSocket channels, zero external dependencies). The task board extension contract adds optionalfollowUpandreworkcapabilities, supporting human or Agent assignees, GitHub OAuth login and admin email bootstrap, Host Token node claims with leases, question routing and workspace claim gates.
Task board card attachments and credential isolation: The task board schema upgrades to v7, supporting image and file card attachments. The ledger stores metadata and sha256 digests only—never raw bytes—with bytes validated through official attachment storage (ctx.attachments). Model pickers now display the model provider name, and provider integration credentials stay off the public board wire.
Browser view gains real-browser CDP mode:dsh-browser-viewadds an explicit opt-in mode connecting directly to an external Chrome/Edge CDP endpoint (http://127.0.0.1:9222), allowing page inspection and screencasting using real profile logins without altering the default isolated browser mode.
Plugin page display metadata and built-in plugin group: All family packages supply officiallocale/<lang>.jsondisplay metadata (bilingual Chinese/English, with Russian where applicable), rendering localized display titles in the aggregate; the official Plugins page gains a built-in plugin group and an update toolbar; five retired plugin shells are fully removed.
The four satellite repositories align to0.4.13: All four satellites publish first and align to0.4.13. The skin center (dsh-skins,66ec9f1) isolates CSS safety transforms inside short-lived worker processes, resolving Windows plugin install failures caused by native addons; pet (dsh-pet,9ccb048), community plugin index (dsh-community-plugins,3b0673d) and preset center (dsh-presets,92c3154) carry no functional changes and align their version numbers.
Upgrade Notes
-
Update Task False Alarms Fixed in 0.4.13:
plugin-managerno longer reports a non-zero exit code caused by pnpm 11's build script gate (ERR_PNPM_IGNORED_BUILDS) as a failure; previously this condition was reported as an update failure even though installation had already taken effect. Fixed in this release to align status reporting with actual installation results. -
Remote Access Path Changes: The browser pairing path is retired from the aggregate along with
remote-web-ui, and mobile devices connect viaremote-bridge's/ios/v1protocol; if@linxin666/dsh-remote-web-uiwas previously installed standalone, it must be uninstalled after upgrading (otherwise it will contend with bridge for the same relay identity and lease). Paired mobile devices do not need to re-pair. -
Two Behavioral Changes: The "Built-in Plugins" section in Settings is taken offline by default by the aggregate (disabling this plugin restores it); the task board wire no longer transmits provider integration credential fields.
-
Manual Migration for 0.3.x: There is no Doctor pre-launch migration; the legacy package
@linxin666/dsh-web-ui-allis frozen at 0.3.6 and deprecated, and its gateway does not serve under the current runtime (rc.5), making automatic GUI migration impossible. Follow these three executable steps:dsh plugin remove @linxin666/dsh-web-ui-alldsh plugin add @linxin666/dsh-web-all@0.4.13- In-place replace the legacy name with the new name
@linxin666/dsh-web-allindsh.profile.bundles(the official CLI only writesdependencies, notbundles; omitting the third step results inskipping profile bundle).
If migration is interrupted halfway (the profile ends up with empty
dependencieswhilebundlesstill references the legacy package name), do not rundsh plugin installas prompted (which reinstalls the deprecated 0.3.6); redo the three steps above instead. -
Platform Verification Notice: This release was tested and verified on macOS; Linux and Windows remain unverified. Specific unverified areas comprise: the newly added loopback listener (
ingress-gate), new permission bits for$DSH_HOME/remote-bridge/model-efforts.json(directory 0700 / file 0600), and path resolution intask-board-team(including Windows drive letters and~, read-only). -
Retired Plugin Families Notice: Residual exports for the five families
doctor/desktop-launcher/dsh-perf/describe-image/model-capabilitieshave been cleared; they were already unmounted in 0.4.12, with no loss of functionality; residual lines will be logged asfailed importbut do not affect host startup.
New Features
- [remote-bridge] Take over the ingress stack and retire remote-web-ui from the aggregate
- [task-board] Add card attachments
- [team-hub] Name members by a mention handle a comment can @
- [team-hub] Bootstrap the first admin by email through the account service
- [team-hub] Invite members by email through the account service
- [team-hub] Expose account_user_id on the member wire shape
- [team-hub] Add the Go self-hosted runtime as a static binary
- [team-hub] Add self-hosted Node runtime
- [plugin-manager] List built-in plugins on the official Plugins page
- [team-hub] Sign members in with account service assertions
- [remote-bridge] Deliver push notifications through the hosted relay
- [remote-bridge] Carry the relay token in the device roster
- [team-hub] Bootstrap the first team and its first admin
- [plugins] Localize plugin page display metadata and remove retired families
- [browser-view] Add real-browser CDP mode
- [remote-bridge] Remember each model's reasoning effort
- [team-hub] Enforce the A4 host contract
- [task-board] Forward execution targets from an extension task draft
- [task-board-team] Add the team-hub provider extension package
- [team-hub] Add the agent roster and reshape questions and activity
- [team-hub] Add the issue state machine, leases, questions, comments, inbox and router
- [team-hub] Add GitHub login, session and host tokens, membership and APNs
- [team-hub] Add the D1 schema, core modules and the team channel
- [task-board] Add optional follow-up and rework provider capabilities
Bug Fixes
- [remote-bridge] Hand the pairing QR a socket URL, not the origin's own scheme
- [remote-bridge] Seat the pairing trigger on the footer's trailing edge
- [market] Support isolated skin CSS transform
- [task-board] Show model provider in pickers
- [team-hub] Read the APNs p8 key through its escaped newlines
- [team-hub] Unify the session key environment name
- [task-board] Keep provider integration credentials off the board wire
- [remote-bridge] Carry the card dismissal across the relay push
- [task-board-team] Claim issues only with a run workspace bound
- [remote-bridge] Drop only the level judged stale, and only a really stale one
- [remote-bridge] Keep readable effort rows and withhold stale levels
- [task-board-team] Probe client services instead of reading them
- [git-graph] Stop the hero chip placement feedback loop (#1972)
- [task-board-team] Keep an owed settlement through a token fix and reconnect like the hub
- [task-board-team] Never claim a card whose settlement is still owed, and match the hub gates
- [task-board-team] Stop retrying a settlement the hub answered as expired
- [task-board-team] Claim a rework through one flight and retry refused settlements
- [team-hub] Mint a new attempt on every fresh claim
- [team-hub] Skip a clashing agent name instead of failing the registration
- [team-hub] Name the host quota test after its limit and list the invite status codes
- [task-board-team] Present the Host Token in the channel upgrade header
- [task-board-team] Conform to the frozen wire samples
- [task-board-team] Pin the member preset through the draft and wait for the hub
Other Changes
- Present remote access as the phone app, not the retired browser path
- [market] Sync assets with pinned inputs
- [satellites] Pin skin CSS worker fix
- [team-hub] Align bootstrap contract, docs, and notes with email lookup
- [team-hub] Retire the Worker and Node implementations, keep the Go hub
- [archive] Replace cross-repo relative links with plain text references
- [archive] Fix assertion jwks endpoint and tighten env matrix
- [archive] Add self-hosted services deployment handoff document
- [task-board] Record team collaboration delivery summary
- Remove empty file
- [remote-bridge,task-board-remote] Meet test-standards BDD rules in two specs
- [task-board-remote] Pin the mirror card's team payload on the wire
- [notes] Record the relay delivery road
- [remote-bridge] Cover the relay road
- [notes] Migrate team collaboration note to implemented and record deployment facts
- [task-board-team] Accept the hub-side bootstrap contract sample
- [archive] Hand off the deployed team hub
- [team-hub] Serve the hub on its workers.dev hostname
- [team-hub] Point the deployment at the created D1 database
- [team-hub] Deploy with cf instead of wrangler
- [team-hub] Deploy through cf instead of wrangler
- [market] Sync assets with pinned inputs
- [sync-shared] Account for browser settings card copies
- [task-board-team] Make ledger path assertion platform aware
- [archive] Add the git-graph hero chip verification image (#1972)
- [task-board-team] List which settlement refusals stay retryable
- [task-board-team] Name the lapsed-lease claim test after what it exercises
- [task-board-team] Describe an expired settlement as final
- [task-board-team] Name the sample the comment-thread comparison reads
- [task-board-team] State the claim, reconnect and settlement behaviour
- [team-hub] State who mints the attempt and how a name clash registers
- [team-hub] Compare every contract sample element and every event
- [team-hub] Point at the one status code the spec text still contradicts
- [team-hub] Record the A4 decisions and the text still to sync
- [team-hub] Settle the host contract, socket auth and token units
- [team-hub] Publish the host contract samples
- Run team-hub typecheck and tests in a path-filtered lane
- [task-board] Record the task draft execution targets
- [team-hub] Fold implementation decisions into the protocol
- [task-board-team] Register the package and add its Russian copy
- [team-hub] Define agent list and question and activity wire shapes
- [team-hub] Record deployment inputs and the protocol deviations
- [team-hub] Scaffold the standalone Workers project
- [team-hub] Add identity, inbox, question and activity reads
- [task-board] List follow-up and rework in the package contract rules
- [task-board] Record follow-up and rework in the extension contract note
- [team-hub] Claim before rework
- [team-hub] Close protocol review gaps
- [team-hub] Add team-hub protocol specification v1
- [notes] Propose task board team collaboration extension
- [plugin-manager] Make the migration map name its one writer
- [readme] Sync contributor list from GitHub API
Generated automatically by the release pipeline (scripts/release-notes.mjs).
由发布管线自动生成(scripts/release-notes.mjs)。
详细ChangeLog