Skip to content

Releases

v3.6.3

Choose a tag to compare

@github-actions github-actions released this 14 Aug 16:44

WebSSH v3.6.3 — 质量加固 · MCP 全链路回归 · 构建门禁

Docker:docker pull nameguoguo/webssh:3.6.3 · docker run -d -p 9627:9627 -e AUTH_TOKEN=你的密码 nameguoguo/webssh:3.6.3

发布时间:2026-08-15

对全部端进行一次系统性回归测试,修复真实缺陷并补齐三层测试覆盖,把版本一致性、产物完整性、存储键名、i18n 硬编码纳入自动门禁。

修复

  • 修复 MCP 客户端桥 SSE 解析缺陷:data: 行错误无分隔拼接、通知事件被误当 JSON-RPC 结果(工具列表静默为空);现按 SSE 规范按空行分事件、\n 拼接、过滤通知并按 id 匹配
  • 修复 Model API KV 注册表并发写丢更新:10 并发 save 曾只存活 2 条(读改写互相覆盖);新增隔离内互斥锁串行化「加载→修改→写回」,probe 改锁外快照探测、锁内按 id 合并回写,并发新增永不丢失
  • 修复终端连接状态不复位:pane 层连接成功/失败未同步 store 的 connectionStatus,连接失败后表单按钮永久禁用
  • 修复主密码校验哈希在安全/非安全上下文不一致导致的跨端免密解锁失败(标记法对齐,与加密凭据同方案)
  • 修复 SFTP 面板连接失败路径:错误展示 + 凭据回退 + 重试按钮行为纳入测试守护

测试体系(三层全覆盖)

  • 组件测试:设置面板(改密码/主题切换/模型同步开关)、解锁屏、备份、宏、收藏代码、模型管理面板(CF 503/401 降级与自建端差异)、连接错误面板、SFTP 面板
  • 状态机测试:SSH 终端三层(sshWebSocketService + TerminalDisplay + 连接错误面板)连接/断开/错误路径
  • miniflare Worker 集成测试:鉴权门、SSE + JSON 双模式 MCP 握手与 session-id 贯通、tools/call 执行/结果截断/错误透传、Model API KV 注册表 + AES 跨端互解 + AUTH_TOKEN 轮换、R2 备份校验、真实 SSH 服务器(ssh2 Server + 随机端口)上 probe/exec 成功路径

质量门禁

  • 新增 check-version:package.json / core/shared/version.mjs / win/package.json / android build.gradle 版本四处一致,并防构建脚本硬编码版本字面量
  • 新增 check-dist:web + worker bundle 产物与版本比对,条件式校验 APK(versionName/图标/assets)与桌面端产物
  • 新增 check-storage:42 个存储键统一注册,storage.ts 成为唯一读写入口,杜绝键名与真实存储 API 不符的历史问题;旧键名迁移兼容
  • 新增 check-i18n:扫描 web/core 全部中文硬编码,非 locale 文件出现中文即报错(i18n-ignore 行内豁免);已串联进 npm run lint
  • 上述门禁全部接入 npm run build postbuild 与 CI,本地构建即拦截版本漂移与旧 bundle

其他

  • 设置面板新增文字加粗开关,移除页面背景变暗特效;终端文字左侧内边距调整
  • 终端/MCP/面板关键路径测试文件全面落地,web 套件 163 测试、server 套件 126 测试全绿
  • Docker 镜像接入自动发布:新增 docker-publish.yml,推送 main 或 v* 标签即自动构建
    amd64 + arm64 双架构并推送到 Docker Hub(含 latest 与语义化标签),同时把
    DOCKERHUB.md 同步为 Hub 仓库说明;release.yml 里的镜像自检任务随之移除
  • 修复容器场景下的版本门禁误报:check-version 在 win/ 被 .dockerignore 排除时
    不再 ENOENT 崩溃,改为跳过桌面端校验(容器/纯 Web 构建本就无桌面工程)

完整文档 / Issues:https://github.com/guoxpeng/webssh · **镜像**:https://hub.docker.com/r/nameguoguo/webssh

v3.6.2

Choose a tag to compare

@github-actions github-actions released this 14 Aug 08:04
release: v3.6.2 — 语言修复 · 移动端键盘 · 多端 MCP

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

v3.6.1

Choose a tag to compare

@github-actions github-actions released this 14 Aug 06:13
release: v3.6.1 — MCP 工具桥接 · 界面整理 · SFTP 修复

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>

v3.6.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 12:51
fix(win): serveStatic path check failed on Windows backslash paths

The 6a5f8f1/94efaab desktop fix stripped the query string and added an
isFile() guard, but the traversal check still compared resolve() output
(backslashes on Windows) against a hardcoded '/' suffix, so every static
file -- including index.html -- returned 404 and the desktop shell showed
a blank page. Normalize both sides to forward slashes before comparing.

Also let electron-builder embed win.icon (icon.ico) directly by dropping
signAndEditExecutable:false, so the exe never ships with the default
Electron icon even if the rcedit patch is skipped.

v3.5.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 12:46
feat(android): regenerate launcher icons from logo.png via gen-androi…

v3.4.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 04:13
v3.4.0: Cloudflare 安全 · 数据备份 · 全自动打包

v3.3.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 02:13
v3.3.0: 六端统一 · 安全加固 · 体验重塑

v3.0.0

Choose a tag to compare

@github-actions github-actions released this 13 Aug 02:09
v3.3.0: 六端统一 · 安全加固 · 体验重塑

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Jul 16:25
v3.2.0: simplify CF deploy docs, remove $ prefix, fix cmd-input copy/…

v3.1.2

Choose a tag to compare

@guoxpeng guoxpeng released this 28 Jul 08:27

进行了小优化