usage

Antigravity 1.0.12

工具與目錄
在這頁

新功能 2 項

01

預覽與留言更順手,連結能點且不怕誤刪

現在在終端機裡審閱差異與留註解變得更安全也更靈活了。以前你在註解模式打字打到一半,如果不小心按到 Esc,千辛萬苦打好的字就會瞬間灰飛煙滅;現在它會貼心跳出確認對話框攔住你。看程式碼差異時,如果你不小心按下一筆跳過了想看的地方,現在可以按 shift+n 直接「倒車」回去看上一筆。此外,現在終端機裡的網址連結真的可以點擊了,按住熱鍵點一下就能直接在瀏覽器打開;清空歷史對話畫面的快捷鍵(ctrl+o)也修好重新復活,不會再失靈。就像看實體報紙變成看電子書一樣,現在不但可以在文章上點連結,不小心翻頁還能按 shift+n 退回,而且寫在旁邊的便條紙也不會因為風吹就飛走。

官方原文

Added a confirmation prompt when pressing Esc in comment mode with unsaved modifications to prevent users from accidentally discarding their work in review views.

Introduced reverse diff cycling navigation mapped to shift+n in unified diff review mode to allow users to easily cycle backwards through diff blocks.

Added dynamic OSC8 terminal hyperlink support to render clickable links in supporting terminals, with automatic fallback stripping for backward compatibility.

Fixed a regression where ctrl+o scrollback clearing failed by restoring the use of cached fields rather than shared pointer comparisons for trajectory toggle detection.

Fixed incorrect key strings by removing the unsupported backtab default binding and correcting invalid pgdn references to pgdown to align with Bubble Tea v2 canonical names.

02

啟動專案更直覺,設定檔優先順序與企業連線不再雷人

你可以更直接地管理並啟動不同專案了。現在只要在啟動時加上 --project 或 --new-project,就能直接指定或建立專案,不用管你現在人在哪個資料夾。設定檔的優先順序也變聰明了,專案專屬的權限設定現在會確實蓋過全域設定,不會再發生「明明專案設定了卻不理我」的窘境。如果你在公司裡使用,以前因為企業防火牆的深度封包檢測(DPI)會誤擋系統的加密連線,導致你一直斷線;現在系統找回了最佳化設定,連線能順利穿透防火牆了。另外,系統也不會再自作聰明把你寫在程式碼區塊裡的 Makefile 語法當成數學公式亂改一通了。就像去不同的分公司上班,現在你只要報上分公司名字就能直接上工,當地的員工守則會確實蓋過總公司的規定,而且公司的門禁系統也不會再把你的正常公事包誤認為危險物品而被警衛攔下。

官方原文

Added support for --project and --new-project launch flags to allow users to explicitly set or create projects, and updated the project resolution logic to default regardless of the active workspace.

Improved permission config merging priorities by ensuring project-specific configurations (located in ~/.gemini/config/projects/) take precedence over global settings in ~/.gemini/antigravity-cli/settings.json.

Fixed an enterprise network connectivity issue by restoring AES-NI compile-time optimizations, which prevents Deep Packet Inspection (DPI) firewalls from incorrectly flagging and resetting TLS connections.

Fixed a rendering bug where Makefile syntax (like $(call ...)) inside code blocks was mistakenly parsed and mangled by LaTeX math expansion, by introducing a state machine that restricts expansion to prose segments.