usage

Antigravity 1.5.13

工具與目錄
在這頁

新功能 3 項

01

模型清單新增 Gemini 4 Neon

想改用新模型處理手邊的開發或資料整理工作,現在只要透過 AGY_ADC_AUTH 應用程式預設憑證登入,就能在指令裡選到它。在對話輸入 /model,或於啟動時帶上 --model,裡面多了 Gemini 4 Neon 的 Low、Medium、High 與 XHigh 四個選項。公司有架設企業模型閘道(集中控管連線的模型入口)的話,透過閘道也已支援 Gemini 4 Neon。⟦就像工具箱裡新添了一把四段力道的電鑽,不論用個人識別證或走公司統一入口,都能直接拿來上工。⟧

官方原文

Added Gemini 4 Neon (Low, Medium, High, and XHigh) to /model and --model when you sign in with Application Default Credentials (AGY_ADC_AUTH), and added support for Gemini 4 Neon through an enterprise model gateway.

02

Markdown 表格拖曳複製只取選定欄位

從 AI 生成的表格複製一欄文字,以前常把框線跟旁邊那欄的字一併帶進剪貼簿。這個改動套用在 full screen (altscreen) 顯示模式,以及用來瀏覽生成結果的產物檢視器。

只要滑鼠從 Markdown 表格內開始拖曳,選取範圍就會沿著欄位走。只在單一欄內拖曳,就只會複製那一欄的文字;跨欄拖曳時,則會複製完整儲存格並以 Tab 字元隔開,不再帶入框線或隔壁欄的字。⟦抄寫藥盒背面那張成分表時,以前手指一滑就會連格線和隔壁欄一起念錯行,現在視線會穩穩鎖在你要的那幾欄上。⟧

官方原文

Improved mouse selection in Markdown tables in the full screen (altscreen) rendering mode and the artifact viewer: a drag that starts in a table now follows its columns, so you copy only the text of the column you drag in, or whole cells separated by tabs when you drag across columns, instead of the borders and the text of neighboring columns.

03

代理合併執行多步驟任務以減少輪數

交辦一個包含搜尋、讀寫檔案和下指令的任務,過去代理常拆成多輪分次處理。現在遇到這類多步驟任務,它會把彼此獨立的搜尋、讀檔與編輯集中到同一步驟一起執行,並將相關的終端機指令串成單一指令,因此能用更少的輪數完成任務。⟦跟進廚房備料一樣,以前洗一根蔥走一趟流理台、拿瓶醬油又走一趟,現在把互不衝突的備菜一次做好,相連的動作順手串起來,出餐就少繞好多彎。⟧

官方原文

Improved how the agent works through multi-step tasks: it now runs independent searches, file reads, and edits together in one step and chains related shell commands into a single command, so tasks take fewer turns.

修正 10 項

04

自訂模型不再忽略 settings.json 停用旗標

接上自己設定的模型卻老是收到思考或工具呼叫請求,以前就算把功能關掉也照送不誤。這個問題已經修好,現在只要在 settings.json 的 modelFeatures 把 supportsThinking 或 supportsToolCalls 設為 false,CLI 就不會再向不支援的模型要求這些功能。

官方原文

Fixed custom models in settings.json ignoring modelFeatures flags set to false, such as supportsThinking and supportsToolCalls, so the CLI no longer requests thinking or tool calls from a model you've marked as not supporting them.

05

代理不再擅自開啟 swarm 消耗額度

沒輸入 /swarm 的情況下,以前代理有時會擅自啟動 swarm(多代理協作模式),消耗比單一代理多出許多的額度。這個問題已經修好,目前不會再將 swarm 技能提供給代理主動呼叫,而你手動輸入 /swarm 依然跟以前一樣能正常使用。

官方原文

Fixed agents starting a swarm on their own when you hadn't typed /swarm, which can use far more of your quota than a single agent; the swarm skill is no longer offered to the agent, and /swarm works as before.

06

非 QWERTY 鍵盤快捷鍵改依配置對應

習慣用非標準 QWERTY 鍵盤在 Ghostty 等終端機打字,以前按 Ctrl 或 Alt 快捷鍵常會誤觸別的鍵。這個問題已經修好,無論 Neo2、Dvorak、AZERTY 或德文 QWERTZ 配置,Ctrl+C、Ctrl+D 等組合鍵現在都會依實際鍵盤配置運作。

官方原文

Fixed Ctrl and Alt shortcuts, such as Ctrl+C and Ctrl+D, acting as a different key on non-QWERTY keyboard layouts like Neo2, Dvorak, AZERTY, or German QWERTZ in terminals such as Ghostty; shortcuts now follow your keyboard layout.

07

Vim 模式在驚嘆號模式執行命令不再只換行

開著 Vim 操作、打 ! 進終端機下指令,過去打完按 Enter 卻只會往下多空一行,指令送不出去。這個問題已經修好,現在於相同模式下按 Enter 就會直接執行指令。

官方原文

Fixed Enter adding a new line instead of running the command in ! shell mode when Vim mode is on.

08

Termux 執行 agy update 不再失敗

跑 agy update 更新工具,Android 的 Termux 環境過去總是失敗。畫面上會跳出 directory /apex/com.android.runtime/bin is not fully accessible 錯誤。這個問題已經修好,現在在 Termux 執行這項指令不會再出現這個錯誤。

官方原文

Fixed agy update on Android (Termux) failing with a directory /apex/com.android.runtime/bin is not fully accessible error.

09

/config 的 Send Immediately 提示更正

代理還在跑的時候想先插話傳訊息,以前看設定畫面的說明會以為送出就會直接打斷目前工作。這項說明現在已經更正,在 /config 的 Queued Messages 底下查看 Send Immediately 選項,會清楚寫明你的訊息會加入目前這輪對話,代理跑完眼前的這一步後就會讀到。

官方原文

Fixed the /config hint for the Send Immediately option of Queued Messages, which said it interrupts the agent; it now says your message joins the current turn and the agent reads it after its current step.

10

JSON 輸出重試成功後改回報 SUCCESS

用 --output-format json 或 stream-json 讀取結果,過去只要中途重試過模型請求,就算最後成功,status 仍會顯示 ERROR 並夾帶舊錯誤。這個問題已經修好,現在只要 CLI 重試後完成執行,結果的 status 就會正確寫成 SUCCESS。

官方原文

Fixed the status of --output-format json and stream-json results reading ERROR, with the error of a failed attempt, for runs that succeeded after the CLI retried a model request; they now report SUCCESS.

11

外部編輯器連 agy acp 的操作與顯示修正

透過 agy acp 把 Zed 或 JetBrains AI Chat 這類編輯器連上 Antigravity,現在檔案路徑、選單與訊息呈現都照實運作。

代理執行終端機指令的目錄以前會誤用編輯器啟動時的位置,例如家目錄;現在改回在該工作階段的專案資料夾執行。

在 Zed 等編輯器附上還沒存檔的內容給代理時,以前代理只看得到硬碟上舊的存檔;現在能直接讀取編輯器傳來的最新內容。

接上企業模型閘道時,編輯器模型選單過去會出現內部 MODEL_PLACEHOLDER_... 代號與重複名稱;現在每個模型只依代號列一次,同名模型旁也會標出代號。

模型請求重試時,編輯器聊天室以前每次都會跳出 API error (attempt N),連後來成功也不例外。現在重試過程比照終端機保持安靜,只有全部重試都失敗時才顯示錯誤。

官方原文

Fixed agy acp running the agent's shell commands in the directory the editor launched it from, such as your home directory, instead of the session's project folder.

Fixed agy acp ignoring the file contents an editor attaches to a prompt, such as a file with unsaved changes in Zed; the agent now sees the editor's copy instead of the last saved version on disk.

Fixed model pickers in editors connected through agy acp, such as Zed and JetBrains AI Chat, showing internal MODEL_PLACEHOLDER_... IDs and several rows with the same name when you use an enterprise model gateway; each model is now listed once under its model ID, and models that share a name show their ID next to it.

Fixed agy acp showing an API error (attempt N) message in the editor's chat each time the CLI retried a model request, even when the retry succeeded; retries are now silent, as in the terminal, and the chat shows an error only when every retry fails.

12

/antigravity-guide 不再讀成轉址頁

問代理最新版本有什麼新東西,讓它透過內建 /antigravity-guide 技能查官方文件或更新紀錄時,過去只會讀到轉址通知,讀不到實際頁面。這個問題已經修好,現在能讀到頁面內容來回答問題。

官方原文

Fixed the built-in /antigravity-guide skill reading a redirect notice instead of the page when the agent looked up the Antigravity docs or changelog to answer your questions, such as what's new in the latest release.

13

遠端控制網頁回答權限提示不再跳位或重置

在遠端控制網頁替代理批核請求,以前送出回答後畫面常會跑掉,網路微斷一下還得重填。

回答完權限提示後,過去對話畫面會隨著提示框關閉往下滑動,打亂原本的閱讀位置;現在對話會停在你正在看的段落。

若遇到短暫斷線,權限提示原本會整個重置,導致你挑好的選項、修改過的指令或路徑,以及在 No 欄位輸入的文字全部遺失;現在這些內容都會保留下來。

官方原文

Fixed the Remote Control browser view jumping when you answer a permission prompt; the conversation now stays where you were reading instead of sliding down as the prompt closes.

Fixed permission prompts in the Remote Control browser view resetting after a brief connection drop, which lost the option you had picked, your edits to the command or path, and anything you had typed for the No option.