usage

Antigravity 1.0.8

工具與目錄
在這頁

新功能 2 項

01

「模型與額度」頁面重新設計

終端機介面變得更實用也更美觀了。現在你可以像一般打指令一樣,按方向鍵「上」來找回之前打過的快捷指令(slash commands,像 /plan 這些),不用每次都重打,而且在選單裡打字時,也不會再發生「打 /conv 結果系統硬是幫你補全成 /conv-switch 並關掉選單」這種自作聰明的毛病。「模型與額度」頁面重新設計,畫面最底下的狀態列也會隨時告訴你現在用了多少額度和處於什麼執行模式。當你在看歷史對話或任務清單時,如果你的視窗太窄,系統會自動隱藏不重要的欄位以免版面擠爆,而且時間和狀態也會對齊得清清楚楚。就像你常去的咖啡廳重新裝潢,不但點單機終於會記住你常點的隱藏菜單,而且就算用小桌子,服務生也會幫你把餐盤排得整整齊齊。

官方原文

Added support for capturing slash command history, allowing users to use the up arrow to replay previously entered slash commands.

Redesigned the "Models & Quota" page (enabled by default, replacing the legacy usage page) to gracefully handle disabled quota buckets by displaying a dimmed "Disabled" status and omitting the progress bar.

Added display of quota usage and execution mode in the status line.

Redesigned the /resume conversation picker to align the workspace column and added adaptive column dropping (workspace, time, steps) to support narrow terminals.

Redesigned the /tasks list and detail views for better alignment and readability, placing start times on the left, right-aligning status, and capping the panel height.

Fixed an autocomplete bug where a command that is an exact prefix of another (e.g., /conv vs /conv-switch) would aggressively auto-complete and hide the suggestions menu.

02

設定檔終於寫對位置,拒絕權限後不再卡死

系統裡的設定與狀態同步現在變得更精準了。以前你用 /hooks 幫系統掛上自動執行腳本時,它會傻傻地把設定檔寫錯資料夾,導致你設定半天背後的程式卻讀不到;現在終於會乖乖寫進共用的設定檔目錄裡了。當你切換專案或加入新目錄時,你自己寫的快捷指令和技能也會立刻在自動補齊選單裡現身,不用再重開程式。如果你儲存設定失敗,狀態列現在會立刻閃紅燈警告你。另外,以前如果你拒絕了代理的某個執行權限,然後馬上又傳訊息給它,它會因為還沒從被拒絕的錯愕中回過神來而當機;現在這個「反應慢半拍」的毛病也治好了。就像你去辦公所,以前你在櫃檯填的申請單會被收進錯的檔案櫃,而且就算你剛加入新部門的通訊錄,也要等隔天大家才查得到你;現在這些資料都即時連線了,而且如果你剛拒絕推銷員,他也不會再擋在門口不讓你跟下一個客人講話。

官方原文

Fixed a bug where the /hooks command wrote configurations to ~/.gemini/antigravity-cli/hooks.json instead of the shared ~/.gemini/config/hooks.json, ensuring hooks remain synchronized between the TUI and the backend.

Fixed dynamic reloading of custom skills and system slash commands, ensuring they are instantly discovered in autocomplete upon conversation switch or /add-dir.

Improved configuration saving by propagating write failures as transient error flashes on the statusline.

Improved settings inheritance by ensuring the CLI inherits the use_ai_credits setting from global user settings on startup.

Fixed a race condition where sending a message immediately after denying a permission request would fail due to incomplete backend cleanup.

修正 1 項

03

解決貼上大量文字與舊電腦當機的問題

大量單行貼上不再拖慢輸入框。以前如果你一次貼上超級長(例如好幾萬字)的一行文字,輸入框會因為來不及處理而卡住很久;現在它會聰明地把它折疊成一個小圖示,不再拖垮效能。用 /btw 更省 token,並支援串流回覆,也改用一邊生成一邊印字的方式,不再斷尾。如果你用的是很舊的電腦(沒有支援硬體加速的 CPU),以前一開程式就會直接崩潰,現在也能正常打開了。另外,Windows 與部分 Linux 系統(Wayland)的剪貼簿讀取也修好了,而且系統現在會檢查剪貼簿裡的檔案大小,防止你貼上超大檔案時把記憶體整個吃光。就像換了更強的抽水馬達,以前如果一次倒太多水進去水管就會塞住甚至爆管,現在它會先幫你打包分流,連舊房子的老水管也能撐得住,而且還順便把幾個地方漏水的問題修好了。

官方原文

Improved /btw to be more token efficient and support streaming responses for a smoother user experience and fixed premature truncation.

Fixed a CPU compatibility issue (SIGILL on non-AES-NI CPUs), preventing immediate crashes on startup on older CPUs (like Intel Ivy Bridge) or VM environments that lack AES-NI support.

Added a per-line guard against extremely long single-line pastes in the TUI prompt editor to prevent performance lag, replacing them with an expandable placeholder.

Fixed a TUI hang in the artifact view during long sessions by optimizing the rendering complexity of large step histories.

Fixed potential OOM risks when reading large clipboard files by verifying file size before reading.

Fixed Windows and Wayland-only Linux distributions clipboard image and file reading.