Antigravity 1.0.3
新功能 2 項
額度用完不用怕,全新 G1 點數支援上線
當你的標準額度用光時,不用再苦苦等待了。系統現在正式支援「G1 點數(G1 credits)」,並推出全新的 UseG1Credits 設定,只要開啟它,當標準額度耗盡時,系統就會自動扣點數讓你繼續使用。你可以在畫面底下的狀態列即時看到還剩多少點數,也可以用全新的 /credits 指令打開點數面板,甚至能直接在裡面點擊連結購買充值。就像你手機的網路流量用完時,以前只能被迫斷網等下個月,現在系統會自動幫你用預付卡扣款繼續飆網,而且隨時能查餘額跟儲值。
官方原文
Added support for G1 credits in the Antigravity CLI. Users can now utilize G1 credits when their standard quota runs out. This includes a new UseG1Credits setting to enable automatic credit usage and a real-time display of remaining credits in the status bar.
Added a new /credits panel that provides an in-CLI interface with a direct link to purchase additional G1 credits.
畫面排版更精緻,多題問卷不再忘記答案
長程式碼差異會依視窗寬度換行。如果你是用蘋果的終端機(Apple Terminal),現在會看到全新設計的標誌。在挑選或設定程式的主題顏色時,預覽畫面變得更真實了,會把「警告訊息」和「思考過程」的顏色也秀給你參考,網址底線也不會再亂畫。當你在看程式碼差異(/diff)時,如果文字太長,現在它會聰明地根據你的視窗大小自動換行,不會再被卡掉一半。當系統連環問你問題時(例如設定精靈),如果你按左鍵想回到上一題修改,以前它會把你剛剛辛辛苦苦打的答案跟選項忘得一乾二淨,現在它終於學會記住你的作答進度了。就像你在填線上表單,以前按了「上一頁」填好的資料就會全部消失重來,現在系統會貼心地幫你把寫到一半的字都保留著。
官方原文
Redesign CLI logo on Apple Terminal.
Improved color scheme preview in settings and onboarding: added warnings and thought process examples to the preview, and corrected link styling to only underline the URL.
Fixed /diff detail view truncation: implemented dynamic line wrapping based on terminal viewport width and added automatic tab-to-space expansion to prevent layout overflow.
Fixed AskQuestion state management: memorizes selected options, write-in values, and UI states when navigating back and forth (KeyLeft) between questions in multi-question dialogs.
修正 1 項
解決卡死、編輯器開不了與專案找不到的怪病
輸入框開頭按左移不再無限卡死。以前在輸入框打字時,如果你在最開頭的空白處按熱鍵往左跳,程式就會陷入死胡同無限當機,現在已經修好了。在終端機介面裡想關掉某個外部 MCP 工具時,以前按了「關閉」卻因為系統寫錯設定檔位置而關不掉,現在終於能確實把工具卸載了。如果你有自訂文字編輯器(像是在 $EDITOR 裡寫 --alternate-editor=vi),以前系統會因為不懂得處理等號而導致編輯器打不開,現在它看得懂了。另外,系統在尋找你的專案資料夾時,如果遇到壞掉的捷徑(symlink),以前會直接當機放棄尋找,現在它懂得自動跳過壞掉的捷徑,繼續找出其他正常的專案。就像你去巡房,以前只要遇到一扇壞掉打不開的門,你就會直接下班回家,現在你懂得繞過那扇門去檢查其他的房間了。
官方原文
Fixed an infinite loop in the prompt input. Navigating left (wordLeft) when encountering spaces at the very beginning of the input no longer causes an infinite hang.
Fixed custom MCP server disabling via the TUI. Resolved a directory path mismatch where pressing the [Disable] button wrote to the legacy mcp_config.json path instead of the migrated config/mcp_config.json path, ensuring custom MCP servers can now be successfully disabled and unloaded.
Fixed $EDITOR environment variable parsing: resolved issues where arguments containing = (e.g., --alternate-editor=vi) were incorrectly split, causing editor launch failures.
Fixed project discovery robustness: updated the CLI to skip invalid or broken symlinks in .antigravitycli/ rather than failing immediately, allowing discovery of valid projects.