Antigravity 1.5.15
新功能 6 項
/context 顯示自動壓縮門檻
對話越聊越長、快接近模型上限,你可能想知道究竟何時會觸發整理。/context 的容量標題底下新增了一列自動壓縮門檻。
環境變數(程式啟動時讀取的設定)AGY_CLI_AUTO_COMPACT_OVERRIDE 也改為支援所有符合條件的模型。想自己抓時機壓縮對話,只要設好這個變數,就能指定在多少 token(AI 處理與計費的文字單位)時啟動,上限為該模型的脈絡視窗大小。
數值可用 700000 這類具體數量、800K 或 0.5M 這類縮寫,或 80% 這類百分比。設好後,在 /context 和 /model 都能看見目前生效的設定。⟦就像替倉庫設好八分滿警報,以前快堆滿才慌張騰空間,現在你能自訂幾成滿就提前整理,看板上也看得到目前門檻。⟧
官方原文
Added an auto-compaction threshold row under the capacity header in /context, and updated AGY_CLI_AUTO_COMPACT_OVERRIDE to support all eligible models: pass a token count (700000), a K or M shorthand (800K, 0.5M), or a percentage (80%) up to the model's context window to set when conversations compact, and see the active override in /context and /model.
本機對話紀錄改為預設全部保留
以前每次啟動命令列工具,它只會留著最近 500 筆本機對話,更早之前的紀錄一啟動就會被刪掉。現在預設會把所有存下來的對話全部保留在 ~/.gemini/antigravity-cli/conversations,不再自動清理舊對話。
官方原文
Changed local conversation storage to keep all saved conversations in ~/.gemini/antigravity-cli/conversations by default; previously the CLI pruned older saved conversations beyond the 500 most recent at startup.
遠端控制網頁改版專案選擇器與環境切換
打開遠端控制網頁的首頁或新對話窗格找專案,再也不用點進只有三個項目的 Recent 分組和層層子選單了。專案選擇器現在改成依最近使用排序的單層可捲動清單,上下滑動就能挑。
如果目前有可用的遠端環境,This Computer/Remote 選擇器會排在專案選擇器前面。它能依環境篩選專案,並各自記住你在各環境最後用過的專案。想在遠端開啟本機的 GitHub 專案,也能從 Clone from This Computer 直接開啟。
整理手機通訊錄時,以前把常用聯絡人塞進三個固定格子再一層層點開,現在直接按最近聯絡順序攤平列出,切換工作或私人帳號還會記住你上回找誰。
官方原文
Improved the project picker on the home screen and new-conversation panes of the Remote Control browser view: it now shows a flat, scrollable list of projects sorted by recency instead of a three-item Recent group and nested submenus, and when remote environments are available, places the This Computer / Remote picker ahead of the project picker to filter projects by environment, remember your last-used project in each one, and open local GitHub projects remotely from Clone from This Computer.
遠端控制網頁排隊訊息卡顯示正在等的任務
用瀏覽器介面發新訊息給代理,主回覆寫完但背景還有工作沒結束,以前畫面上只會寫著 Sends after agent finishes working。現在排隊訊息卡的標題改顯示 Waiting on ...,並列出活躍中的子代理數量,以及最多兩個非 daemon(長期在背景常駐執行的小程式)背景任務或計時器的標題。
至於開發伺服器這類背景常駐任務不會卡住排隊佇列,你隨時按下 Send Now 也照樣能立刻送出訊息。
排隊等銀行櫃檯叫號時,以前告示只寫「服務中請稍候」,現在會直接顯示前面有幾位行員在忙、正在等哪兩份文件;旁邊一直運轉的冷氣機不算在內,急件一樣能立刻送出。
官方原文
Improved the queued-messages card in the Remote Control browser view when the agent's main turn has finished but background work is still holding the queue: instead of Sends after agent finishes working, the header now shows Waiting on ... with the active subagent count and up to two non-daemon background task or timer titles, while daemon tasks such as dev servers don't hold the queue and Send Now still sends right away.
遠端控制權限視窗用粗體標示放行目標
授權代理操作檔案或執行指令前,最怕整排選項文字一樣細、看不清到底放行了哪裡。遠端控制網頁的權限確認提示現在會把「always allow(永遠允許)」選項標籤裡的目標資料夾路徑、指令樣式或網域名稱加粗。
你在視窗裡修改目標內容時,粗體標示也會跟著即時更新,這條規則放行的範圍一眼就能看清。
官方原文
Improved permission prompts in the Remote Control browser view by bolding the target folder path, command pattern, or domain in "always allow" option labels — updating live when you edit the target — so the scope a rule grants stands out at a glance.
tokyo night 配色提高文字對比度
選用 tokyo night 配色主題時,展開的思考過程、工具輸出和調暗的提示文字以前容易跟代理回覆混在一起。現在調整了文字對比度,這些區塊能清楚和代理的正式回覆區分開來,同時保持好讀。
官方原文
Improved text contrast in the tokyo night color scheme so expanded thoughts, tool output, and dimmed hints stand apart from agent responses while staying easy to read.
修正 5 項
Orchestrator 思考力度與 /btw 修好
開啟 Orchestrator 讓規劃與執行分開跑時,未設定的角色與新選取的模型家族,以前預設採用該家族最高思考等級。現在 /model 中 Orchestrator 列的 Planner 與 Executor,預設 Effort 改成 high。沒有 high 則仍採用該家族最高等級。
存在 settings.json 的 "orchestrator" 選項不會改變。
在其中用 /btw 問旁支問題時,過去會失去規劃再執行的分工,現在會沿用設好的 Planner、Executor 模型與 Effort。⟦請建築師和工班施工,過去一開案就全速燒腦到極限,問個小問題也找不到原班人馬;現在預設先開高檔位,臨時插話問事照樣由原本分工接手。⟧
官方原文
Changed the default thinking Effort for the Orchestrator row's Planner and Executor roles in /model to high when available (falling back to the model family's highest offered level otherwise); previously unset roles and newly selected model families defaulted to the family's highest level, such as xhigh or max. Your saved "orchestrator" choices in settings.json are unchanged.
Fixed /btw side questions in conversations using Orchestrator dropping plan-and-execute instead of inheriting your configured Planner and Executor models and thinking Effort.
/config 終端機警告誤報與說明截斷修好
在 Windows 的終端機打開 /config 查看 Rendering Mode,以前常看到誤報警告或被切掉的說明文字。
Windows PowerShell 或 Command Prompt 主控台沒有設 TERM 時,過去會誤報 ⚠ terminal does not support alt screen。這個誤報已經修好。
Rendering Mode 像 ⚠ alt screen unavailable — run ssh -t 這類警告,以前會用暗字和設定說明黏在一起。找不到終端機名稱時還會寫成 terminal "unknown",超過三行的多行設定說明也會被截斷,這些顯示問題現在都修好了。
官方原文
Fixed /config showing a false ⚠ terminal does not support alt screen warning under Rendering Mode in Windows PowerShell and Command Prompt consoles when TERM is unset.
Fixed /config running Rendering Mode warnings (such as ⚠ alt screen unavailable — run ssh -t) into the setting description in dim text, saying terminal "unknown" when the terminal name is unavailable, and cutting off multi-line setting descriptions past three lines.
agy acp 編輯器載入與回合狀態修好
透過 agy acp 把寫程式工具接上代理後,過去常碰到對話紀錄讀不完、夾帶附件讓指令失靈,或是工作還沒跑完就提前結束。
載入長對話會等歷史重播完才回覆,不再滿 2 秒就截斷。接上執行中工作階段會保留權限與提問提示,找不到工作階段 ID 改回 -32002 錯誤碼,不再回 -32603。
先附加檔案、選取區、圖片或連結再打 /plan、/compact 等斜線指令或 skill,不會再被跳過。0 位元組空檔會保留,網址與帶行號資源連結不再被當成本機路徑。
主回覆寫完時若還有子代理或非 daemon 任務在跑,回合會跨過背景喚醒等它們完成並回報合計 token 用量。開發伺服器這類常駐任務仍立刻結束回合。
中斷或取消回合時,進行中的工具呼叫不再卡在編輯器裡。沒產出指令或差異的失敗工具呼叫,現在也會附上錯誤訊息。
官方原文
Fixed agy acp replying to session/load before finishing history replay (or cutting off replay after 2 seconds on long conversations), dropping active permission or question prompts when attaching to a running session, and returning JSON-RPC error -32603 instead of -32002 when a session ID does not exist.
Fixed agy acp skipping leading slash commands or skills (such as /plan or /compact) when the editor attached files, selections, images, or links ahead of the prompt text, dropping empty (0-byte) attached files, and treating web URLs or line-range resource links as local file paths.
Fixed agy acp ending a session/prompt turn as soon as the agent's initial reply finished while non-daemon background tasks or subagents were still running; the turn now stays open across background wake-ups until that work finishes and reports the combined token usage, while daemon tasks such as dev servers still let the turn end right away.
Fixed agy acp leaving in-progress tool calls stuck open in the editor when a turn is interrupted or canceled with session/cancel, and omitting error messages on failed tool calls that produced no command or diff output.
遠端控制分割終端機分頁不再重載跑掉
在瀏覽器開著遠端操控介面、從側邊欄把指令視窗拆成兩格並排,以前畫面會突然整片刷新,害你原本滑到的位置跟游標焦點都不見,現在不會再發生了。現在新增分割窗格時,會保留最舊的那一格作為整組的主窗格與分頁標題。如果有終端機已經結束、同一時間又有另一個終端機開啟,畫面也會自動從已結束的分頁移開。
官方原文
Fixed splitting a terminal tab in the side panel of the Remote Control browser view reloading the terminal and losing its scroll position and focus, kept the oldest pane as the group's lead pane and tab title when new split panes are added, and moved off an exited terminal tab when another terminal opened at the same time.
遠端控制長對話載入舊訊息按鈕不再亂捲
遠端控制網頁長對話頂端那顆可用鍵盤和螢幕閱讀器聚焦的 Load older messages 按鈕,以前常讓操作卡住。過去它在手機上會被標題列切到邊緣,聚焦或點擊後畫面還會捲回對話最底部。這些問題都已經修好,現在按 Esc 會收起這顆按鈕,不再誤關外層的手機抽屜。
官方原文
Fixed the keyboard- and screen-reader-focusable Load older messages pill at the top of long conversations in the Remote Control browser view clipping against the mobile title bar, scrolling back to the bottom of the chat when focused or clicked, and letting Esc close an enclosing mobile drawer instead of dismissing the pill.