Sshairy 0.3.8
本版本大幅增强终端 AI 补全与行内任务,Agent 不再默认限制步数,新增 AI 规则与主机备注、Airy 文件编辑与搜索,SFTP 支持最多四栏和按主机起始目录,并首次提供未签名的 iOS 安装包。
终端补全
- 新增历史灰字:输入与历史命令匹配时直接显示灰色补全,不请求模型,可在设置中关闭(9de137c)
- AI 补全一次最多给出 3 个候选,Ctrl+↓/↑(macOS 为 Cmd+↓/↑)在候选间切换,灰字后的角标显示当前序号;Ctrl/Cmd+→ 只接受下一个词(9de137c、5ac1c72、106aae7、98ca58d)
- 沿灰字继续输入时保留建议,相同前缀复用已有回答,同一命令的历史优先,可引用前面输出中出现过的名称,响应更快(c10e506)
- 上一条命令失败且提示符为空时,优先给出修正后的命令(7b27ad0)
- AI 设置中显示本次运行的补全请求、建议与采纳次数(9de137c)
- 终端设置新增「保存命令历史」,默认关闭:开启后按主机保存命令历史,新会话可直接用于补全,疑似含秘密的命令不保存,也不发给 AI(8f14942)
终端 AI 与 Airy
- Agent 默认不再限制步数和总时长,上下文将满时自动压缩;设置中可选「每隔几步暂停」,到达后点「继续」接着执行;「单次回复工具数」默认 25,超出部分交给模型分批调用;上下文放不下、单条内容过大和范围过多分别给出提示(dc34388)
- 行内任务记住当前 shell 最近 3 次请求与回复,可直接追问,✦ 说明随回复流式显示(c10e506)
- 行内任务可转交 Airy:需求、已执行的命令和最后一条说明会填进 Airy 输入框,不自动发送(99abfbe)
- AI 设置新增「规则」,主机新增「AI 备注」,监控还会读取服务器的发行版、包管理器与 init 系统;这些信息供行内任务、补全和 Airy 使用,疑似秘密的行会被剔除(7b27ad0)
- Airy 回复中的 shell 代码块可一键「填入终端」,不会自动回车;审批精确命令时可选「本会话允许」(c0466a5)
- Airy 新增 files_edit 精确替换与 files_search 有界搜索,审批卡显示改动差异(6d22a53)
文件
- 主机可设置文件面板的起始目录,适合 SFTP 根目录很深的堡垒机;目录无法列出时回到家目录(bb1700b)
- SFTP 页面最多可开四栏,以可调整大小的网格排列,「发送到」按栏列出(bb1700b、c0559ff)
- shell 每次执行命令都改写历史文件时,停靠文件面板不再每次闪出刷新提示(c39b3a3)
修复
- 本地 PowerShell 执行 cls 后,提示符无法识别,补全和 AI 补全都不再出现(77e2234)
- AI 补全把 --short 等长选项误判为不存在而拒收(41fa37d)
- 补全弹窗中的历史提示没有居中(28e2610)
- 手机开启生物识别锁后,从终端页切回时锁屏没有盖住终端(9e6d8b7)
- iOS 终端中输入法的退格键无法删除文字(1c09c76)
- macOS 的 Dock 图标比其他应用大一圈,且与 Windows、安卓图标不一致;现在三端使用同一套图标,并按苹果规范缩放(18e6cda,#7)
手机、平板与平台
- 触摸长按终端会选中单词,可拖动扩展选区,松手后弹出复制、粘贴、全选菜单(e8cf071、0de7487)
- macOS 去掉系统标题栏,交通灯按钮移到横跨窗口的应用顶栏上(ee3fbd2)
- 新增 iOS 版(iPhone 与 iPad),支持 Face ID 锁、互联发现与「文件」App 访问;检查到更新时可在浏览器中打开下载页(fb73b1c、cfc62b5)
- GitHub 新增问题反馈与功能建议表单(569a999)
下载
- Windows x64 提供安装版和便携版 EXE
- macOS 提供适用于 Apple 芯片和 Intel 的通用 DMG 与 ZIP,改用自签名证书签名(3f6815e)
- Linux x64 提供 AppImage 和 deb
- Android 8.0 及以上可选择 arm64-v8a、armeabi-v7a 或 x86_64 APK,沿用预览版签名,可直接覆盖安装
- iOS 提供未签名 IPA,需要自行签名后安装;尚未在真机上验证
查看自 v0.3.5 起的全部提交
This release greatly improves terminal AI completion and inline tasks, removes the default Agent step limit, adds AI rules and host notes plus file editing and search for Airy, opens up to four SFTP columns with a per-host start folder, and ships the first unsigned iOS package.
Terminal completion
- History ghost: when what you type matches a history command, the rest shows in gray without asking the model; it can be turned off in settings (9de137c)
- AI completion offers up to 3 candidates; Ctrl+Down/Up (Cmd+Down/Up on macOS) switches between them and a badge after the ghost shows the position; Ctrl/Cmd+Right accepts only the next word (9de137c, 5ac1c72, 106aae7, 98ca58d)
- Typing along the ghost keeps the suggestion, answers are reused by prefix, history of the same command comes first, names from earlier output may be suggested, and suggestions arrive sooner (c10e506)
- After a failed command at an empty prompt, a corrected command is suggested first (7b27ad0)
- AI settings show this run's completion requests, suggestions, and acceptances (9de137c)
- "Save command history" in terminal settings, off by default, keeps history per host so new sessions can complete from it; commands that look like secrets are not saved, and the history is never sent to AI (8f14942)
Terminal AI and Airy
- The Agent no longer has a default step or time limit and compacts its context when it gets full. "Pause every N steps" in settings stops for "Continue"; "Tool calls per reply" defaults to 25, and extra calls go back to the model to batch. Running out of context, oversized content, and too large a scope now each have their own message (dc34388)
- Inline tasks remember the last three requests and replies of this shell for follow-ups, and the ✦ note streams as it arrives (c10e506)
- Hand an inline task over to Airy: the request, the commands run, and the last note fill Airy's input without sending (99abfbe)
- "Rules" in AI settings, "AI notes" on hosts, and the distribution, package manager, and init system read by the monitor feed inline tasks, completion, and Airy; lines that look like secrets are dropped (7b27ad0)
- Shell code blocks in Airy's replies have "Fill terminal", which never presses Enter; exact command approvals add "Allow for this session" (c0466a5)
- Airy gains files_edit exact replacement and bounded files_search, and the approval card shows the diff (6d22a53)
Files
- A host can set the folder its file panes start in, for bastions whose SFTP tree starts deep; panes fall back to home when it cannot be listed (bb1700b)
- The SFTP page opens up to four columns in a resizable grid, and Send to lists each column (bb1700b, c0559ff)
- The docked files panel no longer flashes the refresh bar when the shell rewrites its history file after every command (c39b3a3)
Fixes
- After cls in local PowerShell, the prompt was not recognized and completions and AI completion stopped appearing (77e2234)
- AI completion rejected long options such as --short as unknown (41fa37d)
- The history hint on the completion popup was not centered (28e2610)
- With the biometric lock on, returning to the app on the terminal page left the terminal uncovered (9e6d8b7)
- The soft keyboard Backspace did not delete text in the iOS terminal (1c09c76)
- The macOS Dock icon was larger than other apps' and differed from the Windows and Android icons; all three now share one icon, scaled to Apple's icon grid (18e6cda, #7)
Phones, tablets, and platforms
- A touch long press on the terminal selects a word, dragging extends it, and releasing opens a Copy, Paste, Select all menu (e8cf071, 0de7487)
- macOS drops the system title bar and puts the traffic lights on an app top bar that spans the window (ee3fbd2)
- New iOS build for iPhone and iPad with the Face ID lock, Link discovery, and access from the Files app; when an update is found, the download page opens in the browser (fb73b1c, cfc62b5)
- GitHub has bug report and feature request forms (569a999)
Downloads
- Windows x64 has an installer and a portable EXE
- macOS has a universal DMG and ZIP for Apple silicon and Intel, now signed with a self-signed certificate (3f6815e)
- Linux x64 has an AppImage and a deb
- Android 8.0 and later has separate arm64-v8a, armeabi-v7a, and x86_64 APKs signed with the existing preview certificate, so they install over earlier versions
- iOS has an unsigned IPA that you sign yourself before installing; it has not been tested on a device yet
View all commits since v0.3.5