Antigravity 1.5.1
新功能 5 項
agy acp 開放帳號所有可用模型,支援任何 ACP 客戶端
在偏好的程式碼編輯器中透過 agy acp 串接模型時,挑選清單不再受工具種類限制。⟦如同走進連鎖咖啡廳,以前只有旗艦店的機台能點選特調飲品,其他分店只能選基本美式;現在只要登入同一個會員帳號,每台點餐螢幕都會列出帳號可選的所有品項。⟧過去只有少數列在固定名單上的編輯器,才能挑選 Gemini 以外的模型,其他串接的用戶端都無法選用。現在這項限制已經移除。只要是你帳號有權限使用的模型,agy acp 都會完整提供給每一個連接的 ACP 客戶端。
官方原文
Changed agy acp to offer every model available to your account to every ACP client, where previously only a fixed list of editors were offered models other than Gemini.
遠端代理模式的分頁標籤重新命名,清楚區分介面與遠端設定
只要加上 --remote-agent 參數開啟遠端工作階段,並輸入 /config 調整選項,畫面上方的分頁名稱便有了更精確的標記。⟦好比音響擴大機上的旋鈕標籤,以前只印著「本機」與「遠端」,讓人摸不清到底在調螢幕還是外接喇叭;現在直接改印「顯示面板」與「外接音箱」,看字面就知道在調整哪一部份。⟧以往這類工作階段裡的設定分頁標為 Local 與 Remote,容易讓人混淆各自掌管的範圍。現在分頁正式改為 TUI 與 Remote Agent,清楚表明一邊用來設定終端機介面,另一邊專門調整遠端代理。兩個分頁底下的所有設定項目本身都維持不變。
官方原文
Changed the tabs in /config during --remote-agent sessions from Local and Remote to TUI and Remote Agent, so it is clear that one configures the terminal UI and the other the remote agent; the settings on each tab are unchanged.
終端指令退出後縮短等待,背景程序佔用時 1 秒內接續
請代理在終端機執行指令時,若指令啟動了持續在背景運作的程序,對話流程切換得更即時。⟦跟交響樂團的樂章銜接一樣,以前指揮剛放下指揮棒,只要後方定音鼓的餘音還沒徹底消散,整個樂團就要在台上乾等;現在只要主要樂器停奏,指揮便能立刻帶領大家進入下一段旋律。⟧以前終端機指令雖然已經執行完畢退出,但只要它衍生的背景程序仍佔用著輸出通道,代理會原地等待 5 秒才繼續往下走。現在這項等待已縮短至至多約 1 秒,讓代理能迅速接續執行後續任務。
官方原文
Improved how quickly the agent moves on after a terminal command exits while a background process it started still holds the command's output open, which now takes at most about 1 second instead of 5.
子代理等待回應時標明工具名稱,精確掌握卡住原因
委派子代理執行任務的多工過程中,輸入框上方的狀態提示能直接看出它需要你做什麼。⟦就像診所診間外的叫號燈,以前只亮著含糊的「處理中」,病患在門外完全不知道該不該進去;現在燈號會直接改亮「等待驗光」,大家一看就知道接下來要配合哪個檢查項目。⟧以往在輸入框上方的子代理狀態列中,如果子代理卡住並等待你的輸入,狀態只會籠統顯示為 Blocked · Processing...,讓人無法判斷它究竟是在運算還是等候回應。現在狀態會直接列出卡住它的工具名稱,例如顯示為 Blocked · AskQuestion,清楚指出它正等著你回答問題。
官方原文
Improved subagent rows above the prompt so a subagent that is blocked waiting on you names the tool it is waiting on, such as Blocked · AskQuestion, instead of Blocked · Processing....
終端沙盒限縮外掛真實令牌替換範圍,防止網址反射外洩
終端機沙盒環境內運行的各類外掛程式,連線授權資訊的防護機制多了一道防線。⟦彷彿持代驗憑條領取機密文件,以前只要任何收件欄填上代號,系統都會換成正式印鑑,容易被回寄外洩;現在只准在指定的授權欄位換上真實印鑑,其他地方一律不予替換。⟧在外掛程式發出請求時,真實的授權令牌(token,用來向第三方服務驗證身分的憑證令牌)現在只會在網路請求的 Authorization 標頭中替換代用標記。這能防止惡意指令把代用標記刻意塞在網址或自訂標頭中,避免外部網站將替換後的真實令牌反射回傳而導致憑證外流。
官方原文
Improved how plugin OAuth credentials are protected in the terminal sandbox: a plugin's real token now replaces its stand-in only in a request's Authorization header, so a command can no longer get a website to echo the real token back by sending the stand-in in another header or in the URL.
修正 5 項
修復 agy acp 工作階段狀態同步,提示取消與表單不再卡死
透過 ACP 協定與編輯器長時間協同作業時,多項工作階段的中斷與通知問題已獲得修正。⟦有如郵政窗口的叫號系統,以前只要前一位民眾中途抽單,常常導致下一位號碼連帶作廢,舊表單還留在櫃檯;現在中途取消會確實結案,後續叫號與表單關閉都井然有序。⟧以前若在提示執行時關閉、重新載入或恢復工作階段,原本的提示會無限懸掛,現在會正式標示為已取消。手動取消提示也不再連帶中止隨後送出的下一道指令。
通知的傳遞順序也已校正,session/update 不會再晚於 session/prompt 回應才抵達。權限請求與提問表單若已在其他地方完成回答,或所屬提示已經結束,現在都會自動關閉,不再殘留於畫面上阻礙後續提示。
官方原文
Fixed several agy acp session bugs: closing, reloading, or resuming a session while a prompt runs now ends that prompt as cancelled instead of leaving it hanging, cancelling a prompt no longer also stops the next prompt sent right after it, session/update notifications no longer arrive after the session/prompt reply for that prompt, and permission requests and question forms now close when they are answered elsewhere or their prompt ends, instead of blocking later prompts or receiving their answers.
修復 Windows 檔案編輯換行符號錯誤,改善非 ASCII 亂碼與行程釋放
Windows 使用者在終端操作時,檔案換行格式、文字編碼與外部工具殘留行程等問題已獲得修復。
針對採用 CRLF 換行符號的檔案,以前編輯常因找不到目標文字(target content not found)而中斷。現在會精準比對換行符號,新增的行數也會沿用檔案原本的換行格式。
當代理執行的指令輸出包含非 ASCII 字元時,以前容易顯示亂碼或直接報錯。現在會自動以 UTF-8 模式(PYTHONUTF8=1)執行 Python,並將 PowerShell 的輸出編碼切換為 UTF-8。若你自己已設定 PYTHONUTF8,就以你的設定為準。
透過標準輸入運行的 MCP 伺服器(Model Context Protocol,讓 AI 連接外部工具的協定)停止後,其子行程也不會再殘留背景,解決外掛目錄因檔案被佔用而無法升級的困擾。
官方原文
Fixed file edits on Windows failing with target content not found in files that use CRLF line endings, so edits now match whichever line endings the file uses and the lines they insert keep the file's line endings.
Fixed agent-run commands on Windows failing or returning garbled text when their output contains non-ASCII characters, by running Python in UTF-8 mode (PYTHONUTF8=1, unless you have set PYTHONUTF8 yourself) and switching PowerShell's output encoding to UTF-8.
Fixed stdio MCP servers on Windows leaving their child processes running after the server stops, which could lock plugin folders and make plugin upgrades fail because the files were in use.
企業登入與雲端憑證環境下,外掛市集與指令恢復正常運作
依賴企業模型閘道或應用程式預設憑證(AGY_ADC_AUTH)登入的環境下,外掛管理功能現在能正常使用。以前在這類驗證環境下執行 agy plugin 指令,會遇到功能不可用且外掛市集完全空白的情況。現在這個問題已經修好,能正常列出外掛市集並執行各項外掛指令。
官方原文
Fixed agy plugin commands being unavailable, with no plugin marketplaces listed, when you sign in with Application Default Credentials (AGY_ADC_AUTH) or through an enterprise model gateway.
browser 代理移出對話清單,回歸專屬子代理定位
開啟新對話挑選要互動的代理時,選單不再顯示專供內部呼叫的工具。以前內建的 browser 代理會誤列在對話啟動清單中;但它本質上是設計給主代理在背景調用的子代理。現在它已從一般對話選單中移除,並維持原有的子代理運作方式。
官方原文
Fixed the built-in browser agent being listed among the agents you can start a conversation with, since it is meant to run only as a subagent, which it still does.
GNU screen 內複製功能修復,文字精準送入剪貼簿
習慣在 GNU screen 終端環境中操作的使用者,剪貼簿現在能精確接收複製內容。以前在 GNU screen 內使用選取即複製或輸入 /copy 時,文字常常無法順利送入剪貼簿,選取較長文字時終端機畫面還會殘留多餘的雜亂字元。現在這個問題已經修好,複製內容會正確進入剪貼簿且畫面維持乾淨。
官方原文
Fixed copy-on-select and /copy inside GNU screen, so copied text now reaches your clipboard and long selections no longer leave stray characters in the terminal.