繁體中文

新功能

自動模式登場,常規修改直接放行免反覆確認

在終端機裡請 AI 幫忙寫程式或改檔案時,每動一行代碼都要停下來等你按 Enter 同意,流程往往被打得支離破碎。

新加入的自動模式(auto mode,自動核准安全操作的執行模式)會自動放行檔案編輯與安全指令,但在執行不可逆操作前依然會主動提示。要是指令可能脫離終端機沙盒(限制程式執行範圍的隔離環境),還會先交由另一個獨立代理人審查。你可以輸入 --mode auto、在 /config 裡選擇 Agent Mode,或是按 Shift+Tab 鍵循環切換模式。這項功能目前已支援 Linux 與 macOS,Windows 支援則會在後續版本推出。

新功能

新增 /compact 指令,隨時壓縮對話釋放記憶空間

和 AI 討論專案來回好幾輪之後,對話紀錄越積越長,往往會把模型一次能閱讀的長度塞得滿滿當當。

現在你可以隨時輸入 /compact 來壓縮對話並釋出脈絡視窗(context window,AI 一次能讀取與記住的最大文字範圍)。單獨執行 /compact 會總結目前的對話並結束這個回合。若是輸入 /compact <message>,它則會在完成總結後接著回答你的新問題。壓縮執行期間終端機會顯示 Compacting conversation... 進度標籤,按 Esc 鍵就能隨時取消。處理完成後還會清楚列出總共整理了多少步對話,以及脈絡縮小了多少。

新功能

/diff 支援語法上色與折疊,大檔捲動不再凍結

在終端機核對程式碼變更時,面對落落長的未改動文字往往難以閱讀,遇到超大檔案甚至還會凍結畫面。

/diff 現在加入語法上色,新增與刪除行帶有底色,各色彩配置也依 token(程式碼語法標記記號)顯示專屬顏色。選用 Terminal 配色能自動偵測終端機深淺底色配對顏色,/config 與初次安裝也能直接預覽 /diff 樣貌。區塊標頭現在會標示上方隱藏的未改動行數,按 Ctrl+O 可展開或收合游標處折疊,按 f 則切換僅變更或全文;未提交檔案與 diff 一致即可操作,無法使用時頁尾會說明。目前畫面只渲染螢幕可見行,捲動、展開或開啟全文不再凍結;超過 100,000 行或 10 MB 的檔案則停用展開與全文並於頁尾提示。

問題修復

遠端 iTerm2 顏色降級已修復,SSH 連線可享完整色彩

透過 SSH 連線使用 iTerm2 時,以前若遇到未轉發 COLORTERM 的情況,終端機顯示會被降級成 256 色。現在只要設定了 LC_TERMINAL=iTerm2,除非 COLORTERM 或 NO_COLOR 另有指定,否則會直接啟用完整的 24 位元色彩;這項色彩降級問題已經修好,遠端登入時也能正常顯示鮮明配色。

English

FEATURE

Auto Mode Arrives, Allowing Routine Changes Directly Without Repeated Confirmations

When asking AI to write code or edit files in the terminal, having to pause and press Enter for every single line often shatters your workflow.

The newly added auto mode (an execution mode that automatically approves safe operations) automatically allows file edits and safe commands, yet it still prompts before executing irreversible actions. If a command might escape the terminal sandbox (an isolated environment restricting program execution scope), an independent agent reviews it first. You can enter --mode auto, select Agent Mode in /config, or press Shift+Tab to cycle through modes. This feature is currently supported on Linux and macOS, with Windows support arriving in a future release.

FEATURE

New /compact Command Compresses Conversations Anytime to Free Up Memory

After multiple rounds of project discussions with AI, accumulating conversation logs often crowd the model's reading limit to capacity.

You can now enter /compact at any time to compress conversations and free up the context window (the maximum range of text an AI can read and retain at once). Running /compact by itself summarizes the current conversation and ends the turn. If you enter /compact <message>, it answers your new question right after finishing the summary. During compression, the terminal displays a Compacting conversation... progress indicator, and pressing Esc cancels at any time. Once finished, it clearly lists the total number of dialogue steps organized and how much context was reduced.

FEATURE

/diff Adds Syntax Highlighting and Folding, Ending Scrolling Freezes on Large Files

When reviewing code changes in the terminal, long stretches of unchanged text are often tedious to read, and unusually large files can even freeze the display.

The /diff command now adds syntax highlighting, with tinted backgrounds for added and deleted lines, and each color scheme displays dedicated colors based on tokens (syntax units in code). Selecting the Terminal theme automatically detects terminal background tones to match colors, and /config as well as initial installation offer direct previews of /diff. Block headers now indicate the number of hidden unchanged lines above them. Pressing Ctrl+O expands or collapses the fold at the cursor, while pressing f toggles between changes-only and full text. These operations work as long as uncommitted files match the diff, and the footer explains when they are unavailable. Currently, only lines visible on screen are rendered, so scrolling, expanding, or opening full text no longer freezes. Files exceeding 100,000 lines or 10 MB disable expansion and full text while showing a footer notice.

BUGFIX

Remote iTerm2 Color Degradation Fixed, Restoring Full Color Over SSH

When using iTerm2 over an SSH connection, terminal display previously degraded to 256 colors if COLORTERM was not forwarded. Setting LC_TERMINAL=iTerm2 now directly enables full 24-bit color unless COLORTERM or NO_COLOR specifies otherwise. This color degradation issue has been resolved, allowing vivid color schemes to display normally during remote logins.

原始 CHANGELOG

Original changelog自動模式登場,常規修改直接放行免反覆確認
Added Auto mode, which approves file edits and safe commands without asking and still prompts before irreversible actions; commands that would leave the terminal sandbox are first reviewed by a separate agent. Choose it with `--mode auto`, from `Agent Mode` in `/config`, or by pressing `Shift+Tab` to cycle modes. Auto mode is available on Linux and macOS, with Windows support coming later.
Original changelog新增 /compact 指令,隨時壓縮對話釋放記憶空間
Added the `/compact` command to compact the conversation on demand and free up the context window: `/compact` on its own summarizes the conversation and ends the turn, and `/compact <message>` summarizes it and then answers your message. While it runs the CLI shows a `Compacting conversation...` progress label that you can cancel with `Esc`, and when it finishes it shows how many steps were summarized and how much smaller the context became.
Original changelog/diff 支援語法上色與折疊,大檔捲動不再凍結
Added syntax highlighting to the `/diff` file view, with token colors for each color scheme and a background tint on added and removed lines. With the `Terminal` color scheme the CLI detects whether your terminal has a light or dark background and picks matching colors. The color scheme previews in `/config` and first-run setup now show a sample exactly as `/diff` draws it.
Added folding to the `/diff` file view: each hunk header now shows how many unchanged lines are hidden above it, `Ctrl+O` expands or collapses the fold nearest the cursor, and `f` switches between showing only the changes and the whole file. Both keys work on uncommitted changes when the file on disk still matches the diff, and the footer explains when they can't be used.
Improved `/diff` performance on very large files by rendering only the rows on screen, so scrolling, expanding folds, and opening the whole file no longer freeze the CLI. Expanding folds and showing the whole file are turned off for files over 100,000 lines or 10 MB, and the footer says why.
Original changelog遠端 iTerm2 顏色降級已修復,SSH 連線可享完整色彩
Fixed colors being reduced to 256 colors in iTerm2 over SSH, where `COLORTERM` is not forwarded; the CLI now uses full 24-bit color when `LC_TERMINAL=iTerm2` is set, unless `COLORTERM` or `NO_COLOR` says otherwise.