本版是四个插件的可靠性修复版: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