Antigravity 1.5.9
新功能 4 項
新增 run_workflow 分派多代理工作流
手邊有一大疊會議紀錄想同時摘要、分類再彙整成總表,過去得盯著畫面一步步下指令。現在所有人都能用 run_workflow 工具,讓代理程式直接跑一段 Python 工作流腳本。它會把任務平行或分階段拆給多個子代理(幫忙分頭做事的助手),最後再把結果收攏起來。
就算電腦沒裝過 Python 也能照跑,因為這個工具直接用 CLI(文字指令介面)內建的版本來執行。⟦以前像你一個人扛著掃把從客廳掃到陽台,現在則像班長開出一張掃除表,同時派同學擦窗和拖地,等地板乾了再叫下一組人排桌椅。⟧
官方原文
Added the run_workflow tool for everyone: the agent can run a Python workflow script that fans work out to many subagents in parallel or in stages and then combines their results. It uses the Python bundled with the CLI, so you don't need Python installed.
管理員設定新增 pluginControls 管控外掛
沒有購買 Gemini Enterprise 的公司,管理員過去沒辦法統一控管外掛。現在管理員設定新增 pluginControls 區塊,提供外掛控制項。
pluginsDisabled 不只會禁止安裝或啟用外掛,連內建外掛都會被擋下無法載入。marketplaceDisabled 則會關閉外掛市集,保留已經裝好的外掛繼續運作。原本就使用 Gemini Enterprise 的組織,依然照各自的 Cloud Console 政策走,不受影響。⟦過去沒買企業平台就只能放任大家自己裝外掛,現在像在賣場拆掉新貨架不准再上架,或乾脆把整間店的電源總閘拉下來,連原本附的設備都停轉。⟧
官方原文
Added a pluginControls section to managed admin settings, so organizations that don't use Gemini Enterprise can control plugins too: pluginsDisabled stops all plugins from loading, including built-in ones, and blocks installing or enabling them, while marketplaceDisabled turns off the plugin marketplace but keeps installed plugins working. Gemini Enterprise users keep following their organization's Cloud Console policy.
/resume 載入變快且支援唯一前綴指定對話
在很長的工作階段想用 /resume 接回舊對話,挑選清單以前會去抓所有開啟對話的完整紀錄,常卡在 Loading conversations...。現在清單不再預先抓取全部歷史紀錄,打開就會順暢許多。
直接輸入 /resume <id> 時,只要輸入的前綴剛好只對到一個對話(例如狀態列顯示的短編號),就能直接跳轉。要是輸入了找不到的編號,現在會明確回報 conversation <id> not found,不再默默打開挑選清單。⟦開通訊錄找人時也一樣,以前得先把每位聯絡人的全套檔案搬上桌才讓你挑,現在只列清單就能選,打上開頭幾碼還能直接命中。⟧
官方原文
Improved /resume: the conversation picker no longer fetches the full history of every open conversation, so it no longer stalls on "Loading conversations..." in long sessions, and /resume <id> now accepts any prefix that matches exactly one conversation, such as the short ID shown in the status line, and reports conversation <id> not found for an unknown ID instead of silently opening the picker.
/browser 工作階段錄影改存 .mp4 檔
請瀏覽器子代理用 /browser 操作網頁並錄下工作階段時,過去存出來的檔案格式是 .webm。現在改成透過 Chrome 內建的螢幕錄製功能進行錄影,存下來的檔案格式也換成 .mp4。
官方原文
Improved /browser subagent session recordings, which are now .mp4 files made with Chrome's built-in screen recording instead of .webm.
效能 1 項
Auto mode 審查跨沙盒指令變快也更少逾時
打開 Auto mode 執行可能跨出終端機沙盒(限制程式活動的安全隔離區)的指令時,過去常要等很久才等到審查結果,甚至等到失敗。現在審查機制能直接搜尋對話內容、列出資料夾並搜尋檔案,不用再為了每次確認都另起一個隔離指令來查,因此判斷更快、也更不容易逾時。⟦跟進無塵室查資料一樣,以前每確認一個細節都得重穿全套防護衣進去一趟,難怪動不動就逾時;現在直接在門口翻紀錄就能放行。⟧
官方原文
Improved Auto mode's review of commands that would leave the terminal sandbox, so it decides faster and times out less often: the reviewer can now search the conversation, list directories, and search files directly instead of starting a sandboxed command for each check.
修正 12 項
修補 HTTP MCP 轉址時外洩自訂標頭的漏洞
透過 HTTP 連線的 MCP(讓 AI 連接外部工具的協定)伺服器,可以設定 API Key 這類自訂標頭。過去只要該伺服器回傳轉址,這些標頭就可能跟著被轉送給另一個主機。現在這個安全漏洞已經修好,自訂標頭只會送往你原本設定好的伺服器來源,不會跟著轉送到別的主機。⟦拿著寫有密語的信封去拜訪合作店家也一樣,以前對方門口貼條子叫你改去別家,你順手就把密函交給新地址;現在只有原本約好的店才收得到。⟧
官方原文
Fixed a security issue where custom headers configured for an HTTP MCP server, such as API keys, could be forwarded to a different host when the server responded with a redirect; they are now sent only to the configured server's own origin.
終端機不再受理異常視窗尺寸以免卡死
終端機偶爾會從亂掉的控制序列收到負數或極端龐大的長寬數字,過去這會害 CLI 當場凍結或吃掉大量記憶體。這個問題已經修好,現在遇到格式錯誤或不合理的尺寸回報會直接忽略。
官方原文
Fixed the terminal UI accepting malformed or implausible window-size reports, such as negative or extremely large dimensions from stray escape sequences, which could make the CLI freeze or use excessive memory; these reports are now ignored.
修正 agy acp 登入備援與錯誤回報等問題
跑完 agy acp --login 後,如果 settings.json 裡指定的驗證方式沒有對應憑證,工作階段過去會報錯 Authentication required。例如設定了 gemini-api-key 卻沒給 GEMINI_API_KEY 時,現在 CLI 會改用你存好的登入紀錄當備援,不會直接失敗。
ACP 客戶端傳入的 MCP 伺服器名稱如果帶有空白或其他特殊字元,送出的提示詞現在也能正常執行,不再失敗。
回合失敗時,以前只會籠統顯示 Agent execution terminated due to error.,現在會回報模型錯誤或額度不足等具體原因。
對串接 ACP 客戶端的開發者來說,編輯完成後送出的差異比對內容,修改前後兩段文字結尾不會再多帶一個換行。
官方原文
Fixed several agy acp issues: a session no longer fails with "Authentication required" after agy acp --login when settings.json names an auth method that has no credential (such as gemini-api-key without GEMINI_API_KEY), because the CLI now falls back to your saved login; prompts no longer fail when the ACP client passes an MCP server whose name contains spaces or other special characters; a failed turn now reports its specific error, such as a model or quota error, instead of "Agent execution terminated due to error."; and the diffs sent for completed edits no longer carry an extra trailing newline in oldText and newText.
含 UTF-8 BOM 標記的設定與驗證檔不再失靈
有些檔案存檔時會在開頭加上 UTF-8 BOM(一種隱藏的編碼標記),過去這類檔案常會讓讀取動作出錯,現在幾項主要問題都已經修好。
在 settings.json 寫入 "modelProvider" 後,第一次執行就會直接套用。agy acp 也能正確讀取你的設定與驗證選項,不再退回預設的備援設定。
用 agy plugin validate 檢查帶有這種標記的 hooks.json 時,現在會跑完所有檢查,並指出真正的語法錯誤和行號,不再怪罪給 BOM。
官方原文
Fixed more cases of files saved with a UTF-8 byte order mark (BOM) being mishandled: "modelProvider" in settings.json is now honored on the first run, agy acp now loads your settings and authentication options instead of falling back to defaults, and agy plugin validate now runs all of its checks on such a hooks.json and reports the real syntax error and line instead of blaming the BOM.
修正遠端接續對話並帶入 -i 提示詞的錯誤
從指令列同時帶上 --remote-agent 與 --conversation 或 --continue 接續對話,以前若再補上互動提示詞參數就會出錯。一旦一併傳入 -i 或 --prompt-interactive,這個提示詞不會送進舊對話,反而會意外開出一串新對話。
這個問題已經修好,現在會先等舊對話紀錄載入完成,再把提示詞送進該對話。這段提示詞也會像手動輸入一樣立刻出現在畫面,若前一輪還在跑就乖乖排隊,送出失敗也會回報。
官方原文
Fixed -i/--prompt-interactive together with --remote-agent and --conversation or --continue: the prompt is now sent to the resumed conversation after its history loads, instead of starting a new conversation, and it is handled like typed input, so it shows right away, waits behind a running turn, and reports a failed send.
Windows 版 ! 指令保留引號並連動關閉子程式
在 Windows 上用 ! 執行殼層指令,PowerShell 過去會吃掉雙引號,像是 ! git commit -m "two words" 沒辦法照原樣執行。現在雙引號會完整保留,指令怎麼打就怎麼跑。
在工作面板強制結束任務或直接離開 CLI 時,過去由 ! 啟動的程式會被留在背景繼續跑,任務狀態也一直顯示執行中。現在關閉 CLI 或中止任務時,會一併結束那些啟動的程式,不再放著繼續跑。
官方原文
Fixed ! shell commands on Windows: PowerShell no longer drops double quotes, so commands like ! git commit -m "two words" run exactly as typed, and quitting the CLI or killing the task in the tasks panel now also ends the programs the command started instead of leaving them running and the task marked as running.
Windows SSH 下 /copy 可正常複製進本機
透過 SSH 遠端連到 Windows 執行 CLI,使用 /copy 或其他剪貼簿動作時,過去複製的文字送不到本機剪貼簿。這些文字還會被寫進 CLI 的紀錄檔裡。這個問題已經修好,現在內容會正常進到你的本機剪貼簿,也不再寫入紀錄檔。
官方原文
Fixed /copy and other clipboard actions on Windows over SSH: the copy now reaches your local clipboard, and the copied text is no longer written to the CLI log file.
修正 Windows 排程自動化漏掉多行提示詞
在 Windows 上讓任務照時間表自動跑,若內容寫了好幾行,以前執行時卻只收得到第一行。這個問題已經修好,現在不管是時間到了自動執行,還是由你手動觸發,每一次都會完整拿到整份提示詞。
官方原文
Fixed scheduled automations on Windows receiving only the first line of a multi-line prompt; each scheduled or manually triggered run now gets the full prompt.
macOS 版不再每小時重複跳出鑰匙圈錯誤視窗
Mac 用戶要是遇上系統鑰匙圈寫入失敗,過去畫面上大約每小時就會跳出一次 Keychain Not Found 視窗。原因是 CLI 每次更新登入 token(用來驗證身分的授權令牌)都會再試著寫進鑰匙圈。
這個問題已經修好,現在只要寫入失敗,在這次工作階段剩下的時間裡,CLI 會改把登入資料存進檔案,不再一直重試鑰匙圈。
官方原文
Fixed the macOS "Keychain Not Found" dialog reappearing about once an hour: after a keychain write fails, the CLI now saves your sign-in token to its file-based storage for the rest of the session instead of retrying the keychain on every token refresh.
MCP 與外掛的啟動和登入不再無故失敗
連上 MCP 伺服器或替外掛進行帳號驗證,過去有幾種情況很容易讓工作卡在半路。
幾個子代理正準備啟動時若剛好重新載入 MCP 伺服器,過去可能意外開出重複的伺服器程式,害部分子代理的工具失效或登入失敗。這個問題已經修好,重載伺服器時不會再因此開出重複程序。
在沒有 IPv4 本機位址的機器上,例如純 IPv6 虛擬機,替 MCP 或外掛做 OAuth(網頁跳轉授權登入機制)時,過去會毫無反應就失敗。現在只要連不上 127.0.0.1,登入回傳網址就會自動改用 [::1] 當備援。
從 /plugin 登入外掛帳號時,有時流程其實已經成功了,畫面卻偶爾誤報尚未完成,現在登入完成後會正確反映成功狀態。
官方原文
Fixed a race where reloading MCP servers while several subagents were starting could launch duplicate MCP server processes, leaving some subagents with broken MCP tools or failed sign-ins.
Fixed MCP server and plugin OAuth sign-in on machines without an IPv4 loopback address, such as IPv6-only VMs; the sign-in callback now falls back to [::1] when 127.0.0.1 is unavailable instead of failing silently.
Fixed signing in to a plugin from /plugin sometimes reporting that the sign-in didn't finish when it had just succeeded.
按 Ctrl+O 展開工具群組不再跳位或漏摘要
按下 Ctrl+O 展開畫面的工具群組,過去整塊介面常會跟著上下亂跑。這個問題已經修好,現在收合提示會留在與展開提示同一行,展開時畫面不會再跳位。
在低詳細度模式下,展開後的畫面過去會漏掉 token(計算文字用量的單位)摘要行,現在這行資訊也會一起顯示出來。
官方原文
Fixed tool groups jumping around when expanded with Ctrl+O: the collapse hint now stays on the same line as the expand hint, and in low verbosity the token summary line no longer disappears from the expanded view.
修正手機遠端控制網頁無法往下滑選模型的問題
拿著手機開瀏覽器遙控、想挑別的選項時,以前手指撥過第一屏清單就會卡住,排在後面的怎麼點都選不到。這個問題已經修好,現在在遠端控制網頁裡能用手指正常往下滑動,選取清單後段的模型。
官方原文
Fixed the model selector in the Remote Control browser view on phones, where the list could not be scrolled by touch past the first screen, so models near the end of the list could not be selected.