Antigravity 1.5.6
新功能 5 項
蜂群儀表板加入蜂王與動態蜂卡,終端機即時呈現分工狀態
你在終端機使用蜂群模式讓多位代理人協同解決問題時,常需要確認每位成員到底是在待命中還是忙碌運作。輸入 /swarm board 開啟儀表板,頂端標頭現在新增了蜂王標誌,成員名冊(Roster)裡的每位在線成員旁也都會標上 🐝 符號。⟦就像看體育賽事的分組計分板一樣,以前名牌只有靜態文字,誰在場上跑動得逐行確認;現在看板頂端直接掛上代表隊長的標誌,正在跑動的隊員卡片還會動態拍翅,視窗夠大的黑白螢幕也會呈現像素點陣圖。⟧如果你的終端機支援 Kitty 圖像協定(例如 Kitty 或 Ghostty),每位成員都會顯示一張專屬的彩色小蜂卡,只要該成員正在處理工作,卡片上的小蜜蜂就會拍動翅膀。在 tmux 等其他終端機中,只要視窗大小達到 60×35 以上,標頭也會以像素畫呈現蜂王。
官方原文
Added the swarm's queen bee to the /swarm board header and a 🐝 beside each live member in the Roster; in terminals with Kitty graphics, such as Kitty and Ghostty, each member gets its own colored bee card that flaps while that member is working, and other terminals, including tmux, show the queen as pixel art when the window is at least 60×35.
停止掛鉤新增延續狀態欄位,避免測試檢查陷入無限迴圈
當你替代理人設定了自訂的自動化檢查,要求它在結束任務前必須先跑完測試時,很容易因為重複觸發而卡在同一個環節。現在停止掛鉤(Stop hook,在準備結束任務時觸發的小程式)的 JSON 輸入中,新增了名為 continuation_active 的布林值欄位。⟦跟出差報帳的審核單一樣,以前審核員每次看到單據就要求補齊發票,代理人補件後再次送審又被同一條規定攔下;現在單據上蓋有處理中的戳記,審核員確認已在跑流程就不會重複退件。⟧當代理人已經在處理先前停止掛鉤所要求的延續任務時,這個欄位會標記為 true。這樣一來,像是「收尾前先跑測試」這類掛鉤就能直接辨識出自己先前已經提出過請求,不會在代理人跑完測試準備收工時再次發動攔截,徹底避免了無窮迴圈。
官方原文
Added a continuation_active field to the JSON input of Stop hooks, which is true while the agent is already working on a continuation an earlier Stop hook requested, so a hook such as "run the tests before finishing" can tell it has already asked and avoid looping.
企業模型閘道支援推理複用,原生工具呼叫與長文字輸出更穩
在企業環境中透過私有閘道串接外部模型時,管理員常需要確保自訂模型能順利呼叫工具並完整輸出長文字。
管理員設定中的模型清單(models.list[])新增了 supportsThoughtCirculation 選項,讓閘道背後的非 Gemini 模型可複用先前輪次的推理內容,未設定時維持預設。
過去部分透過閘道提供的模型缺少原生工具宣告,導致無法可靠呼叫工具。現在閘道目錄中的所有模型,包含環境變數 AGY_LLM_GATEWAY_MODELS 列出的項目,都會帶上原生工具宣告。
自訂 Gemini 模型過去輸出會在 8,192 個 token(AI 處理與計費的文字單位)處截斷。現在預設放寬為與內建模型相同的 65,535 個上限,若明確指定 maxOutputTokens 則優先採用。
官方原文
Added a supportsThoughtCirculation option to admin-managed model entries (models.list[] in admin settings), so organizations can let non-Gemini models behind an enterprise model gateway reuse their reasoning from earlier turns; when it is unset, the model's default applies.
Fixed some models served through an enterprise model gateway being sent requests without native tool declarations, which kept the agent from calling tools reliably; every model in the gateway's catalog, including models listed in AGY_LLM_GATEWAY_MODELS, now gets native tool calls.
Fixed custom Gemini models served through an enterprise model gateway or an admin model list, such as tuned models, cutting off long edits and file writes at 8,192 output tokens; they now default to the same 65,535-token output limit as built-in Gemini models, and an explicit admin maxOutputTokens value still takes precedence.
Auto 模式放寬安全讀取審查,查詢公開資料與公鑰不再反覆確認
當你開啟 Auto 模式讓代理人自動跑指令時,若指令需要離開終端機沙盒,常會因為嚴苛的審查機制而頻繁跳出確認。⟦好比圖書館閱覽室的安檢關卡,以前讀者翻閱架上的公開報刊或出示借書證,都要被當作調閱珍本檔案逐次簽核;現在公開資料與名片快速放行,只有私人借閱卡與外帶藏書依舊維持嚴格查驗。⟧現在安全讀取顯著減少打擾:讀取 GitHub API、向既有複本拉取進度或下載 raw.githubusercontent.com 等單檔,不再檢查儲存庫熱門度、年齡與發布狀態,但完整複製時依然保留。數字開頭的主機名稱不再被誤判為 IP 位址。讀取 ~/.ssh/config、known_hosts、authorized_keys 或公鑰(*.pub)不再視為機密,但私鑰依舊防護,傳送任何 .ssh 檔案至外部仍一律阻擋。
官方原文
Improved Auto mode's review of commands that would leave the terminal sandbox so it asks less often on safe reads: GitHub API reads, fetches into an existing clone, and single-file downloads such as raw.githubusercontent.com URLs no longer get the repository popularity, age, and release checks that cloning a repository still gets, host names that start with a digit are no longer mistaken for IP addresses, and reading ~/.ssh/config, known_hosts, authorized_keys, or public keys (*.pub) is no longer treated as reading secrets, while private keys still are and sending any .ssh file elsewhere is still blocked.
外掛管理健全驗證與安裝交易機制,完整載入技能並阻擋危險檔案
開發或安裝第三方外掛時,路徑配置不當或安裝中斷常會導致功能缺失或殘留損壞檔案。
執行 agy plugin validate 時,若掛鉤(特定事件觸發的小程式)指令使用舊版未設定的 ${PLUGIN_ROOT} 或 $PLUGIN_ROOT,會警告並建議改用相對路徑,僅在 --strict 時判為失敗。
執行 agy plugin install 現在會安裝並載入 Claude Code 外掛在 "skills" 欄位宣告的技能資料夾,若路徑遺失、無技能或指向外部則在摘要警告。
安裝與 agy plugin import 匯入改採一次切換,失敗會還原舊版,並拒絕含指向外部的符號連結(指向外掛外的捷徑檔)、FIFO 或裝置檔的外掛。若指令檔名無法當成技能目錄名則以警告略過,不再中斷匯入。
官方原文
Improved agy plugin validate to warn when a plugin hook command uses ${PLUGIN_ROOT} or $PLUGIN_ROOT, which older CLI versions do not set, and to suggest a relative path instead, since hooks already run in the plugin's folder; the warning fails validation only with --strict.
Fixed agy plugin install ignoring the skill folders that a Claude Code plugin lists in the "skills" field of its manifest; those skills are now installed and loaded, and the install summary warns about listed paths that are missing, contain no skill, or point outside the plugin.
Fixed agy plugin install and agy plugin import leaving a half-copied plugin that still loaded as enabled when an install failed partway; installs are now swapped in all at once and the previous version is restored on failure, plugins containing symlinks that point outside the plugin, FIFOs, or device files are refused, and a command whose file name cannot be used as a skill folder name is skipped with a warning instead of failing the import.
修正 3 項
憑證帳號支援 Auto 模式,修正無沙盒系統重複審批與權限重置
當你在團隊環境中設定專案權限或使用特定憑證登入時,常會受限於帳號分類或因為環境相容性而遭遇重複提示。
透過應用程式預設憑證(AGY_ADC_AUTH)登入的 Google Cloud 按量帳號已比照一般按量帳號開放 Auto 模式。Gemini Enterprise 帳號則維持管理員設定,包含 unsandboxed(...) 拒絕與詢問規則,不提供 Auto 模式。
若在缺乏原生沙盒的環境(例如 Windows 主機或停用使用者命名空間的 Linux)強制開啟沙盒,過去會重複提示與報錯,現在指令經審核一次即可執行。
修正使用 /permissions 編輯專案規則時會清除遷移標記的錯誤,避免應用程式重複遷移並在開啟沙盒時遺失 command(...) 允許規則。
官方原文
Changed pay-as-you-go Google Cloud accounts that sign in with Application Default Credentials (AGY_ADC_AUTH) to use the same permission settings as other pay-as-you-go accounts, which makes Auto mode available to them; Gemini Enterprise accounts keep following their organization's admin-controlled permission settings, including their unsandboxed(...) deny and ask rules, and are not offered Auto mode.
Fixed duplicate approval prompts and sandbox errors for organizations that enforce sandbox mode on machines without an OS sandbox, such as some Windows hosts or Linux with user namespaces disabled; commands now ask for review once and then run.
Fixed editing project rules with /permissions clearing the marker that records the project's permission rules as already migrated, which made the Antigravity app migrate them again and could drop command(...) allow rules when the sandbox is on.
復原與重做操作正確保留游標,不再跳至輸入列末端
在終端機輸入較長的提示詞時,如果打錯字想要復原修改,游標的停留位置會直接影響編輯節奏。以前在輸入列中執行復原或重做,包含在 Vim 模式下按下 u 鍵,游標都會不由分說地直接跳到整串輸入內容的最末端,害你必須手動按鍵移回修改處。現在這個問題已經修好,游標在復原或重做後會正確回到剛才進行編輯的位置。
官方原文
Fixed undo and redo in the prompt, including u in Vim mode, moving the cursor to the end of the input; the cursor now returns to where the undone or redone edit was made.
修復蜂群面板跳離問題,並校正協同主控回覆與連線連結
在蜂群模式中穿梭於儀表板與個別成員的對話紀錄時,操作順暢度與主控代理人的回覆品質息息相關。
過去從 /swarm board 儀表板按下 o 鍵開啟成員對話後,按下 esc 鍵會直接掉出面板並回到終端機提示字元。現在按下 esc 會正確返回儀表板,並完整保留你先前的選取項目、篩選條件、焦點窗格與縮放比例。
在協同主控(coordinator)方面,過去被退回重讀已讀過的留言時,有時會回傳單行敷衍語句而非真實回答,這項錯誤已經修好。主控在後續輪次也不再提供命令列打不開的 sidecar:// 連結,而是正確引導使用 /swarm board。同時,以 agy -p 在無頭模式(headless,沒有視覺介面的執行模式)啟動蜂群時,也不會再指向無頭環境無法開啟的儀表板。
官方原文
Fixed pressing esc in a swarm member's conversation opened from /swarm board with o dropping you back at the prompt; it now returns to the board with the same selection, filter, focused pane, and zoom.
Fixed a swarm coordinator sometimes ending its turn with a one-line filler reply instead of its real answer after being sent back to re-read board posts it had already read, fixed a coordinator offering a sidecar:// board link that the CLI cannot open instead of /swarm board on later turns of a swarm, and fixed agy -p runs that start a swarm pointing you to /swarm board, which headless runs cannot open.