Repository navigation
Antigravity Max (agy-max) v1.4.1
适配 Antigravity 2.35.1+(已在 2.35.2 实机验证)。可在应用内「设置 -> 关于 -> 检查更新」一键 SHA-256 校验升级,也可以下载下方
agy-max-v1.4.1.zip覆盖安装。
⚠️ 升级后请完全退出 Antigravity(macOS 用⌘Q)再重新打开。 本版改动了注入客户端的前端脚本,只刷新页面不会生效。
这是 v1.4.0 之后的修复版,主要是 SSH 远程项目更稳、修好图片右键菜单,并下线了本地壁纸。没有新增设置项,也不需要改任何配置。
SSH 远程项目
- 握手被断开时自动重试一次
- 网络抖动或跳板机、网关断开连接时,SSH 会报
kex_exchange_identification或Connection closed/reset by ... port N。现在遇到这种情况会自动重试一次。 - 这时远端命令还没开始执行,所以重试不会让命令跑两次。
- 如果一直握手失败,提示会说明这是网络或网关的临时问题,不会再误导你去查密钥。
- 密码或密钥本身错了(认证失败)不会重试,免得触发服务器的封禁策略。
- 网络抖动或跳板机、网关断开连接时,SSH 会报
- 服务器没有 sftp 也能传文件
- 新版 OpenSSH 的
scp默认走 sftp。服务器的 sshd 没开 sftp 子系统时,传文件会失败。现在失败后会自动改用旧版 scp 协议(scp -O)重传,不需要手动处理。
- 新版 OpenSSH 的
- 一键免密改为给每台服务器单独生成密钥
- 以前会复用默认的
~/.ssh/id_ed25519。现在为每台服务器生成单独的~/.ssh/agy-<主机>_ed25519,并在该主机的配置里指向它,不会动你已有的默认密钥。 - 配置了密钥文件的主机会带上
IdentitiesOnly=yes。ssh-agent 里密钥很多时,不会再因为逐个试密钥把服务器允许的认证次数用光(Too many authentication failures)。 - 已经配好免密的主机不受影响,照常使用。
- 以前会复用默认的
行内图片
- 修复图片右键菜单弹不出来
- v1.4.0 的
[Image #N]图片芯片会拦截所有鼠标按键(为了点开灯箱时输入框光标不乱跳)。右键也被拦掉了,结果右键只出现悬停预览,图片菜单出不来。 - 现在只拦截左键。在缩略图或芯片文字上右键,都能正常弹出图片菜单,「复制图片」后剪贴板里是 PNG。
- v1.4.0 的
下线本地壁纸
- v1.4.0 带的「本地壁纸 (Beta)」在真实客户端里几乎看不见,为了让壁纸透出来而把外壳变透明的样式,还会把聊天区挤成中间窄窄一条。所以这一版把它整块删掉了:
- 设置页里的「本地壁纸 (Beta)」卡片;
- 壁纸图层、半透明遮罩和透明外壳样式;
wallpaperEnabled、wallpaperOpacity、wallpaperBlur、wallpaperDim四个设置项。
- 对你的影响:如果你在 v1.4.0 里开过壁纸,升级并重启后壁纸会消失,布局恢复正常。旧设置文件里留下的壁纸设置读取时会自动忽略,不会报错,也不需要手动清理。
- 其它光学主题、推理档位滑杆等 Prism 功能不受影响。
验证
- 单元测试 348 项通过、0 失败,另有 3 项只在 Windows 上运行的测试在 macOS 上跳过。
- 仓库安全检查与展示站构建通过。
- 图片右键菜单和壁纸两个问题,都是在真实客户端 Antigravity 2.35.2 上复现后修复的。
English Summary
A maintenance release on top of v1.4.0. After upgrading, fully quit Antigravity (⌘Q on macOS) and reopen it; this release changes the scripts injected into the client, so reloading the page is not enough.
- SSH handshake retry: A dropped handshake (
kex_exchange_identification,Connection closed/reset by ... port N) is retried once. The remote command had not started, so it never runs twice. Persistent handshake failures are reported as a network or gateway problem instead of a wrong key; authentication failures are not retried. - Transfers without sftp: When
scpfails because the server's sshd has no sftp subsystem, the file is sent again over the legacy scp protocol (scp -O). - Dedicated key per server: One-click passwordless login now creates
~/.ssh/agy-<host>_ed25519for each server instead of reusing your defaultid_ed25519, and usesIdentitiesOnly=yesso a crowded ssh-agent cannot exhaust the server's authentication attempts. Existing setups keep working. - Image context menu fixed:
[Image #N]chips no longer swallow right clicks, so the image context menu (Copy image, etc.) opens again, including on the chip label. - Local wallpaper removed: The barely visible "Local Wallpaper (Beta)", its layer, the see-through shell styles that squeezed the chat into a narrow column, and the four
wallpaper*settings are gone. Leftover wallpaper keys in existing settings are ignored on load. - Verification: 348 unit tests pass (3 Windows-only tests skipped on macOS); security check and site build pass; both client-side bugs were reproduced and fixed on Antigravity 2.35.2.
Package Checksum (SHA-256)
0fa1c4b42c38c26e800ed6fbf670c416ef8b9fc252c725a85d5774c37df8b57d agy-max-v1.4.1.bundle.gz