Skip to content

PixShell 0.1.4

Choose a tag to compare

@github-actions github-actions released this 31 Jul 07:49

中文

概述

PixShell v0.1.4 聚焦 SSH/SFTP 连接兼容性与 Windows UI 细节打磨:macOS 端对 RSA/DSA/加密私钥预检并直接走系统 OpenSSH(终端与 SFTP 双路径,消除最长约两分钟的等待),SFTP 文件面板在不支持私钥时自动回落 OpenSSH SFTP;Windows 端修复滚动条梯形变形、连接管理器嵌套滚动与默认折叠、本地延迟检测与柱状图、快速连接空态居中。

主要更新

1. SSH / SFTP 功能修正(macOS)

  • 私钥预检直连 OpenSSH:RSA / DSA / 带口令私钥等 NIO 无法加载的类型,连接前预检直接改用系统 OpenSSH —— 终端与会话文件面板双路径一致,RSA 私钥用户不再空等 NIO 连接超时(原最长约 2 分钟)才开始回落
  • SFTP 面板私钥兼容:私钥不受 NIO 支持时文件面板自动改走 OpenSSH SFTP(OpenSSHSFTPSession),文件列表不再先挂起等超时;失败路径给出明确错误提示并记录日志
  • OpenSSH 兼容与 RSA 回落修复:算法协商失败识别、回落路径加固(AppDelegate+Sessions.swift / OpenSSHSession.swift
  • 感谢:以上兼容性修复来自社区 PR(lufeiit 贡献)合入

2. Windows UI 修复

  • 滚动条梯形变形修复:滑块改为圆角胶囊悬浮于透明滑槽(CornerRadius 4 / 8px 厚 / 无溢出时完全隐藏),对齐 Windows 11 原生视觉
  • 连接管理器滚动保护:分组内主机过多时独立嵌套 ScrollViewer(MaxHeight 250 自动浮现滑块),不再撑爆外层布局;分组默认折叠
  • 本地延迟检测:改为本机 TCP 直连 SSH 端口测时(3 秒节流),监控侧栏延迟实时刷新;网络/延迟火花线升级为柱状图模式(BarMode)
  • 快速连接空态居中:无历史记录时卡片与提示居中显示,不再靠左上角
  • 构建脚本参数修复build.ps1 高级函数误吞 -v 参数导致多项目冲突

3. 其他

  • 许可证变更:仓库许可切换为 CC BY-NC 4.0(署名-非商业性使用,详见 LICENSE)
  • 版本号升至 0.1.4(双端应用、更新检查、安装包、文档同步)

English

Overview

PixShell v0.1.4 focuses on SSH/SFTP connection compatibility and Windows UI polish: macOS now preflights RSA/DSA/encrypted private keys and routes directly to system OpenSSH (both terminal and SFTP panel, eliminating up to ~2 minutes of waiting), the SFTP file panel automatically falls back to OpenSSH SFTP for unsupported keys; Windows fixes scrollbar trapezoid deformation, connection manager nested scrolling with default collapsed groups, local latency detection with bar-mode sparklines, and centered quick-connect empty state.

Highlights

1. SSH / SFTP fixes (macOS)

  • Private key preflight → direct OpenSSH: keys NIO cannot load (RSA/DSA/encrypted) are detected before connecting and routed to system OpenSSH on both terminal and file-panel paths — RSA users no longer wait through the NIO connect timeout (~2 min) before fallback
  • SFTP panel key compatibility: when the key is unsupported by NIO, the file panel automatically uses OpenSSH SFTP (OpenSSHSFTPSession) instead of hanging until timeout; failures surface clear errors and logs
  • OpenSSH compatibility & RSA fallback hardening (AppDelegate+Sessions.swift / OpenSSHSession.swift)
  • Thanks: compatibility fixes merged from a community PR (contributed by lufeiit)

2. Windows UI fixes

  • Scrollbar trapezoid fix: thumb is now a rounded capsule floating over a transparent track (CornerRadius 4 / 8px / fully hidden when no overflow), matching Windows 11 native look
  • Connection manager scroll protection: per-group nested ScrollViewer (auto-appears at 250px max height), no more layout blowout; groups collapsed by default
  • Local latency detection: TCP probe to SSH port (3s throttle) replaced remote gateway ping; monitor sidebar latency updates live; network/latency sparklines upgraded to bar mode
  • Quick-connect empty state centered: cards and hint center when history is empty
  • Build script arg fix: build.ps1 advanced-function parameter swallowing -v causing multi-project conflicts

3. Other

  • License change: repository now CC BY-NC 4.0 (Attribution-NonCommercial, see LICENSE)
  • Version bumped to 0.1.4 (both apps, update check, installers, docs)