Antigravity 1.5.16
新功能 7 項
指令列支援 -r 與 --resume 接續對話
昨天請 AI 改報告到一半關掉終端機,今天想靠對話 ID 接回同一段討論,不用再打完整的參數名稱。這版為 --conversation 加上兩個別名,直接輸入 agy -r <id> 或 agy --resume <id> 就能接續指定對話。
官方原文
Added -r and --resume command-line flag aliases for --conversation so you can resume a specific conversation by ID with agy -r <id> or agy --resume <id>.
多步驟任務現在會顯示即時步驟清單
請代理人一口氣處理好幾個動作,盯著空白畫面常會不確定它做到哪裡。在多步驟的互動回合中,輸入框上方的狀態列底下現在會展開即時清單。
只要代理人透過 update_steps 追蹤進度,狀態列就會顯示 N/M steps,若有跳過或失敗的項目也會一併計數。清單最多展開 7 個步驟,項目更多時會用 ⋮ N earlier 與 ⋮ N more 標示前後還有幾項,等全部步驟都完成就會自動收起。⟦跟去大賣場拿著紙條採買一樣,以前得靠腦袋記住買到第幾樣,現在手邊攤開的清單隨買隨劃掉,東西拿齊了還會自己收進口袋。⟧
官方原文
Added a live step checklist under the status line above the prompt during multi-step interactive turns: when the agent tracks its steps with update_steps, the status line shows N/M steps (plus any skipped or failed count) and an open checklist of up to seven steps (⋮ N earlier and ⋮ N more on longer lists) that hides automatically once all steps finish.
支援 ~/.agents/skills 技能探索
平時換用不同 AI 工具整理資料,最麻煩的是同一套做法得在各家資料夾各複製一份。現在也支援探索放在 ~/.agents/skills 的跨工具 Agent Skills(寫好流程給 AI 照做的擴充包)。
這些技能會直接出現在 /skills 清單與輸入 / 的自動補全裡,代理人執行回合時也能直接取用。如果剛好和 ~/.gemini 裡的技能撞名,仍會優先採用 ~/.gemini 的版本。⟦以前廚師每換一間廚房,都得把慣用的烹飪刀具重新擺一份;現在放到玄關的共用收納架,進哪間廚房都能順手拿來用,但屋主原本灶台上的那組還是優先。⟧
官方原文
Added discovery of user-global skills in ~/.agents/skills, so cross-tool Agent Skills appear in /skills, / autocomplete, and agent turns, with skills in ~/.gemini taking precedence on name collisions.
執行計時拆開計算並即時更新額度
等代理人處理較長的任務,看著畫面上跳動的秒數或想確認剩餘額度,最怕數字還停在舊狀態。
現在輸入框上方的狀態列會把思考與跑工具分開計時,例如分別顯示 Thinking... 12s 和 Running command... 18s。每當切換階段或換下一個工具,計時就會歸零重算。對話紀錄裡的 Thought for <duration> 標題也只算思考時間,不再把跑工具與串流回覆的時間混進去。
遇到持續一分鐘以上的長回合,模型額度會在代理人串流回覆的過程中定期刷新。回合還沒結束前,輸入 /usage、/quota 或自訂的 statusLine(顯示在終端機最底下的狀態列)指令就能看到最新額度。⟦就像廚房為洗菜和燉湯分開按碼表,牆上的瓦斯餘量表也會邊煮邊更新,不必等整鍋端上桌才發現快見底。⟧
官方原文
Improved elapsed timers while the agent is working: the status line above the prompt now times thinking (Thinking... 12s) and each running tool (Running command... 18s) separately, resetting between phases and tools, and Thought for <duration> headers in the transcript now count only thinking time instead of including tool runs and response streaming.
Improved model quota tracking during turns lasting a minute or longer by refreshing your quota periodically while the agent streams, so /usage, /quota, and custom statusLine commands stay current before the turn finishes.
全螢幕模式把輸入列固定在終端機底部
開啟 full screen (altscreen) 模式開新對話、瀏覽短對話,或剛按 Ctrl+L 清空畫面,輸入列以前會先出現在終端機上方。隨著訊息進來,輸入列才跟著往下滑。現在這幾種情況下,輸入列都會直接固定在終端機底部。
官方原文
Improved the full screen (altscreen) rendering mode to keep the prompt bar anchored at the bottom of the terminal on new, short, or Ctrl+L-cleared conversations instead of starting near the top and sliding down as messages arrive.
Auto 模式放寬工作區外安全寫檔限制
交給預設 Agent Mode 的 Auto 模式處理跨資料夾任務,以前只要寫入或改動工作區外檔案,每次都得先問過你。現在有兩種情況會直接放行。如果檔案位在 Git、Jujutsu 或 Mercurial 等版本控制存放庫(保留歷次修改紀錄的資料夾)內,就會直接處理。如果是只新增內容,例如建立新檔、在尾端附加或插入文字而不替換舊行,一樣不用先問。
不過在存放庫外覆寫或替換舊行,或碰到隱藏路徑、作業系統與開機資料夾,仍會先問。版本控制與 hook(特定事件發生時觸發的小程式)的設定資料如 .git、hooks.json 同樣要先核准,ask 與 deny 規則和組織政策也照舊生效。⟦在有複寫留底的帳本上補寫新收支,以前會計每次下筆都得先問過你;現在單純補記他能直接寫上去,但想塗改沒有留底的舊帳或翻動封條文件,照樣得先經你點頭。⟧
官方原文
Changed Auto mode (the default Agent Mode) to allow creating or editing files outside the workspace without asking when the file is inside a version-controlled repository (such as Git, Jujutsu, or Mercurial) or when the change only adds new content (creating a new file, appending, or inserting text without replacing existing lines); previously Auto mode asked before every outside-workspace file write or edit. Overwriting or replacing lines outside a repository, hidden paths, VCS and hook metadata such as .git and hooks.json, and system and startup folders still ask for approval, and your ask and deny permission rules and organization policies still apply.
停用外掛設定改為保留內建外掛運作
對採用管理員控管設定或 Gemini Enterprise 外掛控管的組織來說,過去開啟 pluginControls.pluginsDisabled 會把內建外掛一併關掉。這版調整後,這項設定會繼續封鎖已安裝、工作區與市集裡的外掛及外掛指令,但會保留內建外掛正常運作。⟦如果把門口的總電閘分成兩路,以前一拉下來連牆上的緊急指示燈也跟著全暗;現在只會切斷自己外接的延長線與插座,出廠內建的基礎照明照樣亮著。⟧
官方原文
Changed pluginControls.pluginsDisabled in managed admin settings and Gemini Enterprise plugin controls to keep built-in plugins enabled while still blocking installed, workspace, and marketplace plugins and plugin commands; previously it disabled built-in plugins as well.
修正 8 項
修正指令失敗與逾時狀態燈誤亮綠燈
打開 low、high 詳細度、/thinking 或按 Ctrl+O 展開的對話紀錄,以前常會被綠色圓點誤導,以為步驟都順利跑完。其實裡面可能有執行失敗或逾時的終端機指令,現在這兩種情況都會改亮紅燈,手動取消的指令則維持灰色。
官方原文
Fixed failed and timed-out shell commands showing a green status dot instead of a red one in low and high verbosity, /thinking, and expanded (Ctrl+O) transcript views, while keeping canceled commands gray.
修正自填回答時游標消失與輸入法錯位
代理人或子代理發問而你選擇自行打字回答,過去終端機游標會躲到畫面最底下,中、日、韓文等輸入法的組字文字還會跑到別的位置。這個問題已經修好,現在硬體游標會跟著實際編輯位置移動。
官方原文
Fixed typing a custom write-in answer to an agent or subagent question hiding the terminal cursor at the bottom of the screen and misplacing IME composition text (such as Korean, Japanese, or Chinese); the hardware cursor now tracks your editing position.
修正 macOS 經 SSH 跑 agy 重複要求登入
透過 SSH 遠端連進 macOS 執行 agy,過去會繞過你原本在 macOS Keychain(本機保管登入憑證的鑰匙圈)裡的登入狀態,每次都要求重新登入。這個問題已經修好,只要登入 Keychain 處於解鎖狀態,agy 現在會直接沿用;若處於鎖定狀態,就會改用檔案形式儲存 token(登入用的驗證令牌)作為備援。
官方原文
Fixed running agy over SSH on macOS always bypassing your existing macOS Keychain sign-in and asking you to sign in again; when your login Keychain is unlocked, agy now reuses it and falls back to file-based token storage when locked.
修正 agy acp 轉送子代理請示卡住 60 秒
在 default 或 accept-edits 模式下用 agy acp 連接編輯器,過去子代理或工作流程代理需要工具核准或向你發問,畫面會卡住 60 秒沒反應。現在已經修好,子代理的權限請求、表單提示與提問都會轉送到編輯器,你的回覆也會送回給子代理。
官方原文
Fixed agy acp stalling for 60 seconds when a subagent or workflow agent requested tool approval or asked a question in default or accept-edits mode; subagent permission requests, form prompts, and questions now forward to the editor and route your answers back to the subagent.
修正 /swarm 喚醒通知歸屬錯誤
使用 /swarm 多代理協作,過去留言板的喚醒通知會被記在最後開啟這個群組的成員名下,而非 "system"。這樣一來,針對特定成員的計時器可能提前被取消,工作者的對話壓縮時也容易擠掉協調者的指示。現在通知來源已改回 "system",不會再發生這兩種連鎖影響。
官方原文
Fixed /swarm board wakeup notifications being attributed to whichever swarm member last opened the swarm instead of "system", which could cancel member-scoped timers early and crowd out coordinator instructions when a worker's conversation compacted.
修正語音聽寫無法轉文字與錄音卡住
想在遠端控制網頁版或長對話裡直接開口輸入文字,過去語音聽寫有幾種情況會失靈。
在遠端控制網頁版,語音聽寫原本會直接錄成音訊附件,不會把說話內容轉寫進訊息框,留言框裡的麥克風按鈕還會不見。有時瀏覽器的內容安全政策(限制網頁能存取哪些功能的保護規則)也會擋住麥克風開始收音。現在這些情況已經修好,麥克風能正常收音並把語音轉成文字。
在讀過大檔案或長指令輸出的長對話裡啟動聽寫,以前容易失敗或逾時。在遠端控制網頁版若音訊片段沒有照順序送達,按下停止錄音也會卡住,現在這兩種情況都已解決。
官方原文
Fixed voice dictation in the Remote Control browser view recording an audio file attachment instead of transcribing speech into the message box (and hiding the microphone button in comment boxes), or failing to start microphone capture under the browser's content security policy.
Fixed voice dictation failing or timing out when starting in long conversations with large file reads or command outputs, and stalling when stopping a recording in the Remote Control browser view after out-of-order audio chunks.
修正遠端網頁版大型影音檔開啟失敗
在瀏覽器看遠端對話裡的錄音或影片,以前檔案稍微大一點就會直接被擋下來。只要超過 20 MB 就無法在遠端控制網頁版開啟、播放或下載,畫面還會跳出 File exceeds the 20MB display limit。現在已經修好,最高到 200 MB 的音訊與影片檔都能正常開啟、播放與下載。
官方原文
Fixed opening, playing, or downloading audio and video files larger than 20 MB (up to 200 MB) in remote conversations in the Remote Control browser view failing with File exceeds the 20MB display limit.
修正手機遠端網頁返回首頁列表跳回頂端
在行動裝置上滑了半天好不容易找到想看的項目,點進去看一眼再按上一頁,畫面卻又得重頭往下找起。過去在手機的遠端控制網頁版裡,從對話退回首頁時,專案與對話列表會直接重設回最頂端。現在已經修好,回到首頁會保留你原本的捲動位置。
官方原文
Fixed navigating back from a conversation to the mobile home screen in the Remote Control browser view resetting the projects and conversations list to the top instead of restoring your scroll position.