Antigravity 1.1.16
新功能 4 項
MCP 伺服器可用子命令管理
要替 AI 接上外部工具時,MCP(Model Context Protocol,讓 AI 連接外部工具的協定)伺服器設定不必再手改 mcp_config.json。你可用 mcp add、mcp remove、mcp list、mcp enable、mcp disable 管理使用者層級的伺服器,並透過 --type、--env、--header 處理 stdio 與 HTTP 類型。⟦像替配電箱的每個開關貼好標籤;要新增、移除、查看、開啟或停用,都直接操作對應開關,不必拆開牆面重接電線。⟧
官方原文
Added mcp subcommands (add, remove, list, enable, disable) for managing MCP servers in your user-level mcp_config.json without hand-editing it, covering both stdio and HTTP servers through --type, --env and --header.
Fixed the /mcp panel dropping enabledTools, timeoutSeconds, url and tools.eager from mcp_config.json when you toggled a server on or off; it now preserves any field it does not recognize, so configuration written by a newer client survives an edit.
/mcp 啟停伺服器時保留設定欄位
在 /mcp 面板啟停伺服器時,先前可能讓 mcp_config.json 裡的 enabledTools、timeoutSeconds、url、tools.eager 消失。現在面板編輯時會保留它們,也會保留新版客戶端寫入而它還不認得的欄位。⟦像文書人員更新表格時,只改你指定的勾選欄,不會抹掉其他已填好的資料;連暫時看不懂的新欄位也原樣留下。⟧ 因此,較新客戶端寫下的設定經過面板啟停後仍能存活。
官方原文
Added mcp subcommands (add, remove, list, enable, disable) for managing MCP servers in your user-level mcp_config.json without hand-editing it, covering both stdio and HTTP servers through --type, --env and --header.
Fixed the /mcp panel dropping enabledTools, timeoutSeconds, url and tools.eager from mcp_config.json when you toggled a server on or off; it now preserves any field it does not recognize, so configuration written by a newer client survives an edit.
大型工作區找檔更快,也會略過忽略清單
專案很大時,在提示列輸入 @ 找檔不必再看著結果慢慢跟上。查找改由內建的 ripgrep 執行,並會等你按鍵停下再查;檔名正好符合查詢的檔案,也會排在只是包含它的資料夾或產生檔之前。⟦這像在倉庫喊出物品名稱,管理員先等你講完,再把標籤完全相同的箱子遞到最前面。⟧而且 .antigravityignore 已列出的檔案不會再出現在 @ 路徑補全裡。
官方原文
Improved @ file path completion in large workspaces by running the lookup through the bundled ripgrep and debouncing keystrokes, and by ranking a file whose name matches your query above a directory or generated artifact that merely contains it.
Fixed @ file path completion showing files that were in your .antigravityignore.
Gemini API Key 也能調推理力度,窄終端機不再擠字
用 Gemini API key 登入後,Gemini 3.6 Flash 與 Gemini 3.7 Flash 終於能用 /effort 調整 reasoning effort(推理力度,模型回答前投入多少思考)。這條登入路徑以前誤說兩個模型不能調,其他登入方式卻早已可調。挑選 /effort 或 /model 時,窄終端機裡時間軸量表下方的推理力度說明若放不下,現在會省略,讓量表保持可讀。⟦旋鈕原本鎖住又貼滿擠在一起的說明,現在能轉動,讀數也看得清楚。⟧
官方原文
Improved /effort so it adjusts reasoning effort for Gemini 3.6 Flash and Gemini 3.7 Flash when you sign in with a Gemini API key, a route that previously reported those models as not adjustable even though the same models were adjustable on every other sign-in path.
Fixed the reasoning-effort description under the timeline gauge in the /effort and /model pickers overflowing on narrow terminals, where it is now omitted so the gauge stays readable.
修正 11 項
不支援 OSC 8 時,連結不再印出控制碼
若你用的終端機不支援 OSC 8 超連結,例如 Terminal.app,畫面不會再把控制碼原樣印成文字。這類終端機原本無法解讀控制碼,會把它照字面顯示;現在程式先偵測支援情況,避免送出這些控制碼。偵測也延伸到指令輸出與提醒訊息,兩處以前仍不管終端機是否支援就送出超連結。⟦像印刷廠發現讀者沒有隱形墨水閱讀器,便改印可讀文字,不會讓一串標記留在紙上。⟧現在三處都會先辨識是否能處理 OSC 8。
官方原文
Fixed links printing as raw escape sequences on terminals that do not implement OSC 8 hyperlinks, such as Terminal.app, and extended the same detection to command output and alert bodies, which still emitted hyperlinks unconditionally.
不支援 Kitty 鍵盤協定時,提示列不再累積等號
終端機不支援 Kitty 鍵盤協定(讓終端機辨識鍵盤輸入方式)時,提示列不會再每隔幾秒多出一個 =。原本 renderer(負責畫面顯示的程式部分)會定期重新啟用該協定,但終端機沒有把控制訊號當作協定內容解讀,反而把它印成文字。⟦像每隔幾秒替教室重設投影機的控制訊號,沒有被機器接收,反而一遍遍寫到白板上。⟧現在不支援時,重新啟用協定不會留下等號。
官方原文
Fixed a = character accumulating in the prompt every couple of seconds on terminals that do not implement the Kitty keyboard protocol, where the renderer's periodic re-arming of that protocol was printed as literal text instead of being interpreted.
產物檔名有空格時,清單、預覽與標題終於一致
你打開名稱含空格的產物時,清單列、內嵌預覽與詳細標題現在會寫同一個檔名。以前它可能顯示 quarterly%20plan.md,把空格寫成百分比跳脫字元,讀起來像另一個檔案。⟦這像同一部電影在片頭、海報與節目單各處,都一致使用真正的片名。⟧名稱中的空格會正常顯示。因此從清單點進預覽或詳細頁,不必猜眼前的名稱是不是同一份產物。
官方原文
Fixed the artifact list showing a percent-escaped filename such as quarterly%20plan.md for artifacts whose name contains a space, so the list row, the inline preview and the detail header all spell the name the same way.
文字換行後,提示列游標不再走錯位置
在提示列輸入較長文字、內容換到下一行後,游標現在會留在正確位置。先前編輯器算錯換行後的座標,游標看起來可能指著一處,實際插入文字卻落在另一處。⟦像用尺在折過的紙上量位置,折線以前讓刻度接不上;現在尺會沿著紙面繼續量。⟧這在反覆修改長句時尤其容易察覺,也不再誤導你。你在長提示中移動、補字或刪字時,眼睛看到的位置便能對上正在編輯的位置。
官方原文
Fixed the prompt editor's cursor becoming misaligned when text wrapped.
MCP 讀取 PDF、音訊等二進位資源不再被丟掉
MCP 伺服器回傳 PDF、音訊或其他非圖片二進位內容時,read_resource 不會再悄悄把它們丟掉。現在每個 blob 都會先卸到磁碟,只有小型文字與圖片資源會直接嵌進回應。⟦像博物館先把每件藏品放進庫房,展板只嵌小幅文字與圖片;大件也不會因此被丟棄。⟧因此大型 PDF、音訊與其他二進位資源能被使用,而非在讀取途中消失。
官方原文
Fixed read_resource discarding non-image binary content returned by an MCP server, which now offloads every blob to disk and inlines only small text and image resources, so large PDFs, audio and other binary resources are usable instead of silently dropped.
Workforce Identity Federation 登入不再頻繁失效
使用 Workforce Identity Federation 登入時,不會再因為更新 token(授權令牌,證明登入仍有效的憑據)走錯端點而被登出。問題原本出在更新程序跑到標準登入端點,而不是聯邦登入端點,導致登入狀態大約每小時反覆失效。⟦這像門禁證定時換發有效印章,更新資料卻送到另一棟大樓的發卡機;現在它會送回對應的機器。⟧你用這種聯邦身分登入後,更新授權令牌會留在正確的登入流程中。
官方原文
Fixed Workforce Identity Federation sign-in signing you out roughly every hour, because the token refresh went to the standard sign-in endpoint rather than the federated one.
內建 skills 會被正確標示與分組
查看 /skills 時,隨 CLI 一起提供的 skills 現在會正確被認成內建項目。以前它們被誤報為非內建,導致 --output-format json 的 builtin 旗標不正確,/skills 面板分組也跟著放錯。⟦像店裡自有品牌商品被貼成外來寄賣品,貨架自然擺錯區;現在標籤與貨架都回到正確位置。⟧若你用 JSON 輸出供其他工具讀取,或直接在面板瀏覽,兩種呈現會對上。
官方原文
Fixed skills that ship with the CLI being reported as not built-in, so the builtin flag in the /skills listing under --output-format json is accurate and the /skills panel groups them correctly.
自訂或 SDK 代理也能問 /btw,失敗會顯示真實錯誤
對話進行到一半想岔問一件小事時,/btw 不再因為你正在使用自訂或 SDK 定義的 agent(代理,代替你執行特定任務的 AI 設定)而報 planner 設定錯誤。側問可在任何正在執行的 agent 下運作。若側問本身失敗,畫面也不會一律猜成 model returned an empty response;有自己的錯誤時,會顯示那個錯誤。⟦像問診單可交給不同科別的醫師處理,不會因身分欄位不同退回;若檢查失敗,報告會寫真正的異常。⟧
官方原文
Fixed /btw failing with a planner configuration error in conversations driven by a custom or SDK-defined agent, so side questions work regardless of which agent you are running.
Fixed a failed /btw side question always reporting model returned an empty response, which was a hardcoded guess rather than the real failure; the card now shows the side question's own error when there is one.
已完成背景任務不再留在進行中清單
背景任務做完後,狀態列、active-items 清單與 /tasks 面板不會再繼續把它當成進行中。過去任務明明結束,三個位置的資訊卻沒有同步移除,容易讓人以為還要等待。⟦像火車已到站,月台看板卻仍寫著行駛中;現在三塊看板會一同更新。⟧你查看狀態列、active-items 或 /tasks 時,看到的會是仍在背景執行的任務。
官方原文
Fixed the status line, the active-items list and the /tasks panel continuing to show background tasks that had already finished.
壞掉的 settings.json 不會再被預設值覆蓋
如果 settings.json 因格式錯誤而無法解析,CLI 現在拒絕儲存,卻不會把它覆蓋成預設設定。以前只要之後有任何內容被儲存,所有原有設定都可能被默默還原;現在拒絕儲存時,檔案會維持逐位元組相同,狀態列也會點名是哪個檔案。⟦像發現契約有一頁看不懂時,櫃台不再把整份換成空白範本,而是原封放回去讓你手動修好。⟧原有內容不會被抹掉。
官方原文
Fixed the CLI overwriting a settings.json it could not parse with default settings, which silently reverted every setting the next time anything was saved; a refused save now leaves the file byte-identical so you can repair it by hand, and the status line names the file.
父代理沒指定模型時,inherit 子代理仍能啟動
你把子代理的 model 留成 inherit 時,即使父代理本身沒有模型,子代理現在仍能開始工作。舊行為會在啟動時失敗,因為它沒有可繼承的模型。現在會改用預設的快速層級。⟦像接力隊找不到前一棒交來的棒子,不會整隊停在起跑線,而是拿起備用接力棒繼續跑。⟧因此 inherit 的意思仍優先沿用父代理;父代理沒有模型時,才落到預設快速層級。
官方原文
Fixed a subagent whose definition leaves model at inherit failing to start when the parent agent has no model of its own, which now falls back to the default fast tier.