usage

Antigravity 1.0.13

工具與目錄
在這頁

新功能 1 項

01

指令放行機制更聰明,認得輸出轉向也更安全

現在「永遠允許執行」的指令名單變得更嚴謹也更聰明了。以前只要指令名字有部分對得上,系統可能就會放行,現在預設改成必須「完全一模一樣」才算數,除非你自己加上 regex: 前綴來指定使用正規表示式(regular expression,一種用符號表示文字特徵的寫法)。同時,它也沒那麼死板了:如果你只是把原本已經允許的指令結果輸出存進檔案(像 指令 > 檔案 這樣),系統不會因為你多加了輸出轉向的寫法就把你擋下來。就像大樓警衛,以前只要名牌上有一樣的字就放人,現在預設只認全名,但如果你只是手上多拿了個要存進倉庫的箱子,他也不會故意刁難你。

官方原文

Improved command permission security by making "Always Approve" rule matching strict (non-regex) by default, while allowing users to explicitly opt-in to regex matching by prepending rules with regex:.

Improved command permission usability by relaxing redirection checks, allowing safe commands with output redirection (e.g., tool > file) to match without requiring strict full-command approval.

修正 1 項

02

修好畫面切換死當與打字復原失效問題

切換畫面、快速復原不再卡死。現在當你在不同畫面間切換(例如打開子代理詳情或登出)時,鍵盤不會再突然完全沒反應卡死,輔助說明的面板也會正確關閉。如果你在輸入框裡打字太快並頻繁按復原(undo)或重做(redo),歷史紀錄也不會再亂掉。打上帶有斜線的特殊捷徑指令時,送出的瞬間那個斜線也不會因為畫面更新而短暫消失,你打什麼它就顯示什麼。此外,退出程式時也不會再囉嗦地印出兩行重複的提示,清爽多了;而叫代理去瀏覽網頁時,它也不會因為忘記帶上瀏覽器專用的內部提示詞而失敗。就像開車,以前切換排檔時方向盤偶爾會卡死,音響也會短暫消音,現在整台車的操控變得順暢無比。

官方原文

Resolved bugs during UI transitions (such as opening subagent details or logging out) by introducing a unified synchronization mechanism that prevents key lockups and ensures overlay panels like the /help view are properly reset.

Fixed a bug in the CLI prompt editor where undo and redo history stacks could become desynchronized during rapid mutations by decoupling the history state into a unified, pointer-backed structure.

Fixed a bug where the CLI would temporarily render skill commands without their slash prefix during optimistic updates by deferring prefix stripping to the serialization boundary, ensuring the UI always displays exactly what the user typed.

Fixed a redundant CLI exit message by removing the "Resume in the same project" hint line, leaving only the standard resume command to simplify exit output.

Fixed a bug where browser-related prompt sections were missing from the agent's prompt registry, ensuring browser-based tasks execute reliably.