Antigravity 1.5.5
新功能 4 項
/swarm 預覽版支援多代理人協作,透過共享看板分工推進任務
面對大型架構重構或跨模組調查時,只靠單一對話往往得排隊等待 AI 一步步執行。現在輸入 /swarm <任務> 就能開啟預覽版蜂群模式。主要代理人會轉為協調員,在各自獨立的工作階段中加入多位工作代理人,彼此透過共享留言板平行處理工作。工作代理人可以從既有成員的對話衍生分支,並自由選用 /model 選單裡的任何模型。遇到模型額度用盡時,工作代理人會暫停作業而非持續重試。要是整組蜂群陷入停擺,監控代理人會主動向協調員發出警示。由於每位工作代理人都是獨立運作並消耗額度,因此斜線選單上特別標記為 (Preview & Quota Heavy)。⟦跟研發專案指派多組小組分頭調查一樣,以前一人卡關進度就中斷;現在各組在公佈欄留言同步情報,碰上材料短缺先原地待命,監工發現全線停工也會通報主持主管。⟧
官方原文
Added swarms as a preview: start one with /swarm <task> and the agent becomes a coordinator that adds worker agents, each in its own conversation, which work on the task in parallel and collaborate through a shared message board; workers can be forked from an existing member's conversation, run on any model in the /model picker, and pause instead of retrying when their model runs out of quota, and a monitor worker alerts the coordinator when the whole swarm stalls. /swarm is labeled (Preview & Quota Heavy) in the / menu because every worker is a separate agent that uses your quota.
全螢幕看板與狀態列掌握 Swarm 進度,支援快捷鍵即時監控
當背景有多位代理人同時運作時,隨時掌握各成員的發言與進展至關重要。蜂群運作期間,輸入框下方的作用中項目系統匣會顯示 ● Swarm(<標題>) 列,即時呈現最新留言與發文總數,完成時標記為 Done。你可以在該列按 Enter 開啟 /swarm board 全螢幕看板,或按 alt+x 關閉提示列(可自訂為 swarm.dismiss)。平常也能隨時按 alt+s 叫出看板(可自訂為 swarm.board)。看板分為成員名單(呈現各成員狀態與模型)、貼文牆與 Markdown 預覽窗格,並支援完整導覽按鍵:
``` tab / shift+tab # 在各窗格間切換 z # 放大目前聚焦的窗格 enter # 展開或隱藏選取的訊息 [ / ] # 上下逐篇瀏覽貼文 p # 篩選特定成員的貼文與標記提及 o # 開啟成員的子代理人詳細資訊 f # 自動跟隨最新發布的貼文 esc # 返回前一個畫面 ```
好比戰情室監控多組外勤任務,以前只能盯著終端機逐行盲猜動態;現在主螢幕分割呈現人員狀態與通報細節,手邊儀表板也能快速展開追蹤。
官方原文
Added /swarm board, a full-screen live view of the current swarm that also opens with alt+s (rebindable as swarm.board), with a Roster of members showing each one's state and model, a Posts feed, and a Message pane that renders the selected post as Markdown; tab and shift+tab move between panes, z zooms the focused pane, enter shows or hides the message, [ and ] step through posts, p filters the feed to one member's posts and the posts that mention them, o opens a member's subagent details, f follows new posts, and esc backs out.
Added a ● Swarm(<title>) row to the active-items tray below the prompt while a swarm runs, showing the latest post and the post count and then Done when the swarm finishes; press Enter on the row to open /swarm board, or alt+x (swarm.dismiss) to dismiss it.
新增環境變數停用內建 ripgrep,避開端點防護軟體攔截
在受企業資安管控的電腦上搜尋程式碼時,防毒軟體常會把工具臨時解壓縮出來的執行檔當成威脅阻擋。環境變數現在新增了 ANTIGRAVITY_DISABLE_EMBEDDED_RIPGREP。只要將它設為 true,指令列工具就不會再解壓縮並執行隨附的 ripgrep 搜尋工具。這項設定專為終端安全防護軟體阻擋內建工具的情境設計。啟用後,搜尋流程會改用系統環境變數 PATH 中已安裝的 ripgrep,或是直接使用內建搜尋機制。⟦宛如攜帶專用工具組進入管制廠區,以前保全會扣留臨時拆封的隨身器具導致作業中斷;現在允許直接登記使用廠內合格的常駐設備,不用再強行解封。⟧
官方原文
Added the ANTIGRAVITY_DISABLE_EMBEDDED_RIPGREP environment variable, which you can set to true to stop the CLI from extracting and running its bundled ripgrep, for example when endpoint security software blocks it, so searches use a ripgrep on your PATH or the built-in search instead.
支援應用程式預設憑證使用 Gemini 4 Carbon,提供 Low、Medium、High 三個版本
如果你用 Google Cloud 憑證登入開發環境,想換個模型試試,現在多了新選擇。只要透過應用程式預設憑證(AGY_ADC_AUTH)登入,/model 選單與啟動參數 --model 都會出現 Gemini 4 Carbon,並提供 Low、Medium、High 三個版本。想指定其中一個,就在選單裡挑,或在啟動時加上 --model 並帶入對應的版本名稱。⟦就像專業維修廠的工具櫃裡多放了三把規格不同的扳手,以前走這條憑證通道只能用原本那幾把;現在多了三個選項可選,想用哪一把自己決定。⟧
官方原文
Added Gemini 4 Carbon (Low, Medium, and High) to /model and --model when you sign in with Application Default Credentials (AGY_ADC_AUTH).
修正 6 項
企業模型閘道強制加密連線,並修復 Gemini 格式請求欄位
企業內部通常會架設專屬閘道轉發 AI 請求,以落實資料治理並稽核傳輸內容。設定遠端企業模型閘道網址時,現在一律強制使用 https:// 加密連線。除非閘道位在同一台主機上(例如 localhost、127.0.0.0/8 或 ::1),否則若設定為未加密的 http:// 網址,工具會直接拒絕並回報錯誤,不再以明文送出提示詞。過去向企業閘道發送 Gemini 格式的請求時,工具會附帶非標準的 sessionId 欄位,導致嚴格檢查格式的閘道拒絕所有請求。這個格式問題已經修好。⟦如同企業內部設置機密公文傳送管道,以前允許明信片平信投遞且封條格式不符會被退回;現在遠端傳送一律強制密封掛號,信件代碼也改用標準規範封存。⟧
官方原文
Changed enterprise model gateway URLs to require https:// unless the gateway runs on the same machine (localhost, 127.0.0.0/8, or ::1); a remote gateway configured with a plain http:// URL is now rejected with an error instead of receiving your prompts unencrypted.
Fixed enterprise model gateways that validate the request format rejecting every request, because the CLI sent a non-standard sessionId field in Gemini-format requests.
匯入 Claude Code 外掛自動轉換指令與掛鉤,補齊相容對應
搬移 Claude Code 外掛時,指令與掛鉤格式常因環境不同而無法載入。以前執行 agy plugin import 會把指令轉成無法載入或全名為 SKILL 的技能。現在每個指令都會以所在資料夾命名,agy plugin validate 也不再對殘留的 commands/ 目錄警告。過去直接複製 hooks/hooks.json,會使掛鉤(特定事件發生時被觸發的小程式)遭到略過。現在轉換時會將工具名稱對應為內建工具並套用 60 秒逾時,無對應項目則於摘要列出警告。⟦猶如更換轉接頭,以前規格不合會整批失效;現在自動將舊接腳轉換為標準插孔,無法對應的線路也會標註警示。⟧
官方原文
Fixed agy plugin import turning Claude Code plugin commands into skills that did not load or were all named SKILL; each command now becomes a skill named after its folder, including commands with no frontmatter or with Claude Code-style values such as argument-hint: [base branch] [focus], and agy plugin validate no longer warns about the leftover commands/ folder.
Fixed agy plugin import copying certain plugin's hooks/hooks.json unchanged, which caused the plugin's hooks to be skipped; PreToolUse, PostToolUse, Stop, and startup SessionStart hooks are now converted, with tool names in matchers mapped to built-in tools (for example Bash to run_command) and a default 60-second timeout, and hooks with no equivalent are listed as warnings in the import summary.
無頭模式執行結束自動關閉,逾時 30 秒強制退出
在自動化腳本中以無頭模式(沒有視覺介面的執行模式)呼叫工具時,若背景工作卡住常會導致整個排程停滯。以前使用 agy -p 跑完任務印出結果後,若遇上對話標題產生等背景工作卡死,程式有時永遠不會結束退出。現在工具會在 30 秒內完成關閉程序。這個問題已經修好。
官方原文
Fixed agy -p headless runs sometimes never exiting after printing their result when a background task, such as conversation title generation, got stuck; the CLI now finishes shutting down within 30 seconds.
/teamwork 執行狀態改存應用程式資料夾,避免同目錄相互覆寫
在同一個專案目錄下平行啟動多組團隊協作時,狀態檔案混用容易引發衝突。以前執行 /teamwork 會把狀態寫入工作目錄下的 .agents/teamwork/ 資料夾,若在同一個工作區同時執行兩次,彼此的狀態就會互相覆寫。現在每次執行都會在工具的應用程式資料目錄下建立獨立資料夾存放狀態。這個問題已經修好。
官方原文
Fixed /teamwork writing run state into .agents/teamwork/ in your working directory, where two runs in the same workspace could overwrite each other; each run now keeps its state in its own folder under the CLI's app data directory.
終端機檔案連結改列完整相對路徑,無點擊支援也能辨識位置
透過 SSH 連線或在傳統終端機中工作時,畫面往往無法直接點擊開啟超連結。以前代理人回覆檔案連結時只顯示檔名,在無法點擊連結的終端機(例如 Terminal.app、screen 或 SSH 連線)中無法辨識檔案位置。現在標籤會明確顯示相對於工作目錄的路徑、相對於 ~/ 的路徑或絕對路徑。這個問題已經修好。
官方原文
Fixed links to files in agent responses showing only the file name, which made the file's location impossible to tell in terminals that cannot open clickable links, such as Terminal.app, screen, or over SSH; labels now show the path relative to your working directory, relative to ~/, or the absolute path.
子代理人與工作者完整保留暫存變更,支援大型目錄獨立副本
請子代理人或蜂群工作者分頭修改程式碼時,若未提交的修改無法同步會造成進度混亂。以前子代理人與蜂群工作者取得 Git 專案副本時只會從最後一次提交開始,導致尚未提交的改動全部遺失。現在它們的工作樹(Git 讓同一專案平行開多份副本的功能)會完整包含已暫存、未暫存與未追蹤的所有變更。即使專案未納入版本控制,也能為工作者提供隔離的工作區資料夾,支援上限達 100,000 個項目與 4 GiB 容量。這個問題已經修好。
官方原文
Fixed subagents and swarm workers that get their own copy of a Git repository starting from the last commit and losing your uncommitted work; their worktree now includes your staged, unstaged, and untracked changes, and agents outside version control can give a subagent or worker an isolated copy of the workspace folder, for folders up to 100,000 entries and 4 GiB.