繁體中文

問題修復

遠端控制啟動時會改用空著的連接埠

要以 --remote-control 開啟遠端控制(remote control,讓另一端連入操作的功能)時,連接埠若已有人使用,工具原本會拒絕啟動。現在它會請作業系統提供可用的連接埠。

對需要啟動遠端控制的人來說,連接埠被占用不再直接使它無法開始。

新功能

終端機太窄時可隱藏開頭標誌圖案

在窄終端機查看輸出、用螢幕閱讀器讀內容或準備錄影時,若開頭橫幅的標誌圖案擋住資訊,設定 AGY_CLI_HIDE_LOGO。這個環境變數(程式在啟動時收到的設定)會在這次啟動隱藏橫幅上的標誌圖案,版本和帳號資訊仍會照原樣保留顯示。

它不會連版本和帳號資訊一起隱藏。

新功能

可略過終端機畫面的繪製最佳化

Antigravity 的渲染器(把文字畫到終端機畫面的部分)通常會使用兩項最佳化。它先以 diffing 最佳化(比對新舊內容差異)找出變動區域,接著以 dirty-rectangle 最佳化重畫。後者只繪製變動區域。當終端機畫面不如預期,想不用這兩項最佳化來檢查時,設定 AGY_CLI_DISABLE_ESCAPE_SEQUENCE_OPTIMIZATIONS。這會在這次啟動略過兩者。

English

BUGFIX

Remote control now finds an open port when starting

When you start remote control with --remote-control, the tool used to refuse to start if its port was already taken. It now asks the operating system for an available port.

A taken port no longer stops remote control from getting started.

FEATURE

Hide banner art when it gets in the way

When banner art blocks information in a narrow terminal, a screen reader, or a recording, set AGY_CLI_HIDE_LOGO. This environment variable (a setting passed to a program when it starts) hides the art for that launch.

The version and account lines remain visible.

FEATURE

A switch to bypass terminal rendering optimizations

Antigravity's renderer (the part that draws text in the terminal) uses two optimizations. It first uses diffing optimization (comparing old and new content) to find changed areas, then uses dirty-rectangle optimization to redraw them. The latter redraws only changed areas. When terminal output does not look right and you want to check it without either optimization, set AGY_CLI_DISABLE_ESCAPE_SEQUENCE_OPTIMIZATIONS. This bypasses both for that launch.

原始 CHANGELOG

Original changelog遠端控制啟動時會改用空著的連接埠
Fixed `--remote-control` refusing to start whenever port was taken, so it now takes a free port from the operating system.
Original changelog終端機太窄時可隱藏開頭標誌圖案
Added the `AGY_CLI_HIDE_LOGO` environment variable for narrow terminals, screen readers and recordings where the banner's logo art gets in the way; setting it suppresses the art while keeping the version and account lines.
Original changelog可略過終端機畫面的繪製最佳化
Added `AGY_CLI_DISABLE_ESCAPE_SEQUENCE_OPTIMIZATIONS` to bypass the renderer's dirty-rectangle and diffing optimizations.