Antigravity 1.1.15
新功能 3 項
串流 JSON 讓外部程式續用同一段對話
你要讓外部程式連續把多筆問題交給 Antigravity 時,現在可在 print mode(把回答直接印出的模式)加上 --input-format stream-json。它會從 stdin(程式接收輸入的管道)讀取每行一筆 JSON 提示,每則訊息在同一段對話跑一回合。驅動程式可以讓這段工作階段一直開著,不必每筆都另起對話。⟦這像白板保留同一幅草圖;每次添上一筆,都接著同一份構想。⟧
官方原文
Added --input-format stream-json to print mode, which reads newline-delimited JSON prompts from stdin and runs one turn per message in a single conversation, so a driver can keep a session open.
代理與外掛可點名要套用的規則檔
替代理安排規則時,可以在 Markdown agent frontmatter(檔案開頭的欄位區)直接加 rules:,列出要套用的規則檔。被這樣點名的規則一定會套用,不必再承接整棵 rule tree。外掛也能在最上層放 rules.json,宣告它隨附的規則檔,方式與既有 skill 宣告一致。⟦像交代新人只帶指定幾頁手冊,不必抱走整個資料櫃;外掛也把自帶手冊列在封面。⟧
官方原文
Added a rules: key to markdown agent frontmatter, so an agent can name rule files directly instead of inheriting your whole rule tree; a rule named this way always applies.
Added plugin support for a top-level rules.json, so a plugin can declare the rule files it ships the same way it already declares its skills.
轉圈提示會顯示工具名稱,也不再跳回泛稱
代理正在跑工具時,轉圈那行現在會說出正在跑哪個 tool call(代理請工具執行的動作)。快速接連呼叫工具的空檔,它也不再閃回通用標籤。⟦像維修櫃台亮出目前經手人的名牌;換手很快時,名牌不會忽然變成沒名字的牌子。⟧這讓你能看懂代理此刻在忙什麼,而非只盯著一個轉圈符號。看著這行時,也不用猜它是否真的仍在處理工作,更加方便判讀。
官方原文
Added a more specific hint on the spinner line, which now names the tool call the agent is currently running.
Fixed the spinner line flickering to a generic label between quick tool calls.
修正 7 項
預載記憶體配置元件的主機可正常開啟 CLI
有些主機會用 LD_PRELOAD(啟動前指定要載入程式庫的環境變數)。它會先載入自己的記憶體配置元件(allocator,決定程式如何取得記憶體)。CLI(在終端機裡操作的工具)以前會在介面出現前就中止,例如 Cloud TPU VM images。現在這類主機不會在啟動時把 CLI 擋在門外。⟦這像會場先裝上自家的插座轉接器;接待台終於能開門,而不是來客尚未進場就停電。⟧
官方原文
Fixed the CLI aborting at startup on hosts that preload their own allocator through LD_PRELOAD, such as Cloud TPU VM images, where it died before the interface appeared.
還原登入資料後,帳號與計費選擇不再遺失
登入資料從系統 keyring(保存登入憑證的地方)還原時,個人帳號不再在啟動就撞上資源耗盡錯誤,後續重複的帳號檢查也減少。CLI 重新啟動後,計費專案與它選定的授權級別也會保留,不需因為重開工具再重新選擇,這些選擇會一起保留。⟦像舞台重啟時控制台載回上回特別選定的燈光設定,不會在一開場就反覆測試,也不會忘了原先選用的模式。⟧
官方原文
Fixed personal accounts hitting a resource-exhausted error at startup when saved credentials were restored from the system keyring, and cut the repeated account checks that followed.
Fixed your billing project, and the license tier it selects, being lost when the CLI restarted and restored saved credentials from the system keyring.
企業帳號不再誤報額度用完
企業使用者若透過 Application Default Credentials(應用程式預設憑證)登入,現在不會再看到錯誤的「Out of credits」訊息。這一項修正處理的正是這個誤報。⟦像門口的餘額看板把有效通行證誤讀成餘額歸零;錯誤的「Out of credits」顯示現在不再出現。⟧登入時曾看見這個提示的企業使用者,現在不會再看到錯誤的「Out of credits」訊息。
官方原文
Fixed a spurious "Out of credits" message for enterprise users signed in through Application Default Credentials.
矮終端機裡的模型清單能捲動,也對得齊欄位
終端機高度不夠顯示全部模型時,/model 選擇器不再把模型或自己的標頭截掉,清單可以捲動。模型名稱含非 ASCII 字元時,欄位也改按顯示格數計寬度,不再按位元組數量算錯位置。⟦像書架太矮時改用可上下滑動的目錄,而且每本書名不論字形寬窄都排在同一欄。⟧你能看完整清單,也較容易讀對每列資訊,不必猜被截掉的模型或欄位內容。
官方原文
Fixed the /model picker cutting off models, and its own header, on terminals too short to show every model; the list now scrolls.
Fixed the /model picker misaligning its columns for model names that are not plain ASCII, by measuring column widths in display cells rather than bytes.
串流文字不再把非 ASCII 字元顯示成替代符號
回覆以串流方式一段段送出時,非 ASCII 字元以前可能被毀成替代字元。互動式畫面與 --output-format stream-json 的文字增量都受影響。現在兩處都會保留原來的字元,不會把讀到一半的文字換成看不懂的符號,內容可照原樣讀下去。⟦像傳真機把原稿的特殊字形壓成方塊;現在紙張送到兩個收件口時,都能留下原本的字。⟧
官方原文
Fixed streamed text corrupting non-ASCII characters into replacement characters, in both the interactive display and --output-format stream-json text deltas.
對話產物放進子資料夾也會列出
對話產生的檔案若放在 artifact directory 的子資料夾,例如 scratch/,以前不會出現在 artifact list(產物清單)。artifact directory 是對話產物的存放處。現在這些子資料夾裡的產物也會被列出。⟦像把工作文件收入有標籤的內頁夾;清單終於會翻進內頁,而不是只數桌面最上層。⟧這讓放進 scratch/ 的檔案能和其他對話產物一起找到。
官方原文
Fixed artifacts written into a subdirectory of a conversation's artifact directory, such as scratch/, never appearing in the artifact list.
讀取 WAV 音檔時會先校正媒體類型
讀取 .wav 音檔時,原本可能因不支援的媒體類型而失敗。現在會先正規化非標準的 MIME type(檔案內容類型標記),例如 audio/wave,再交給模型處理。⟦像收件人先把不合規的地址寫法改成郵局認得的格式,再把包裹送上分揀帶。⟧因此 .wav 不會只因標記寫法不同就被當成不支援的媒體,不會在中途被擋下。
官方原文
Fixed reading a .wav file failing as an unsupported media type, by normalizing non-canonical MIME types such as audio/wave before they reach the model.