Skip to content

DBX SSH plugin 0.7.4

Choose a tag to compare

@jinpy666 jinpy666 released this 05 Oct 02:25
· 35 commits to main since this release

终端稳定性与导入加固 + ZMODEM sz 自动接收 / Terminal hardening, import fixes & automatic ZMODEM sz receive — main @ 03c3c3e

0.7.4 正式版。内容与 0.7.4-beta.1 完全一致,经 beta 验证后仅版本号转正。五平台 .dbxp 与 release-candidates.json 由 CI 在本 Release 上自动构建上传;安装走插件中心或 scripts/install.sh(安装与 DBX 重启为人工动作)。

新增 / Added

  • ZMODEM 下载(sz)自动接收:远端跑 sz 时终端自动接管收流——进度浮条(文件名/百分比/多文件计数/速度)+ 取消按钮,落盘与 trzsz 下载同一三段式(宿主 fileTransfer 逐块流式 / 本机 sidecar 落盘 / web-docker 浏览器兜底 512 MiB);远端文件名净化(防路径逃逸与 Windows 保留名),rz 上传或 trzsz 传输期间的 sz 请求干净拒绝。
    ZMODEM downloads (sz) are received automatically: progress overlay with cancel, the same three-tier saving pipeline as trzsz (host fileTransfer streaming / sidecar downloads dir / browser fallback), sanitized remote file names, and clean denial during rz uploads or trzsz transfers.

修复 / Fixed

  • 导入对话框加固与跨平台一致:AppleScript/PowerShell 插值转义(特殊字符路径不再静默失败乃至注入脚本);对话框占用时第二次「导入」即提示而非叠出第二个窗口;Linux kdialog 文件过滤与 zenity 同一扩展名集合。
    Import dialog hardening: platform script escaping, single-flight second-click guard, kdialog filter parity with zenity.
  • 终端提示符与转义序列:远端 dotfile 自带 OSC 7 与插件钩子双发射时提示符前不再多空行;截断 CSI 序列后的提示帧正确重同步补换行。
    Terminal prompts: OSC 7 double-emission dedup; resync after truncated CSI sequences.
  • 批量发送准确性:本地会话发送前存活复核(已关闭会话如实报失败,不再假报成功);目标列表刷新防过期覆盖;快速命令名按 code point 截断。
    Batch send: liveness recheck before send, stale-refresh guard, code-point-safe name truncation.
  • sudo 读文件与自动应答:显式 length 超上限钳到 8 MiB 并如实上报 truncated(不再全文件灌内存);登录密码自动应答词表补「口令:」。
    sudo reads & auto-answer: length clamped to 8 MiB with honest truncation; password auto-answer gains 「口令:」.
  • 会话关闭报错:关闭时传输清理失败降级为日志,不再让关闭动作误报失败。
    Session close: transfer-cleanup failure is logged instead of failing the close.

工程 / Engineering

  • 提示词判定统一语料:前后端测试共同加载,词表单侧漂移显式失败。
  • 终端浮层键权仲裁器:手工互斥矩阵收口为优先级表(七键维度),#150/#152 全部回归场景快照钉死——下一个浮层的接入成本从改 N 处门降为加一行 claim。
  • Shared prompt-classification corpus (Rust + frontend load one contract); terminal overlay key-arbiter priority table replacing the hand-maintained exclusion matrix.

完整变更见 CHANGELOG.md。