- 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, fromAgent Modein/config, or by pressingShift+Tabto cycle modes. Auto mode is available on Linux and macOS, with Windows support coming later. - Added the
/compactcommand to compact the conversation on demand and free up the context window:/compacton 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 aCompacting conversation...progress label that you can cancel withEsc, and when it finishes it shows how many steps were summarized and how much smaller the context became. - Added syntax highlighting to the
/difffile view, with token colors for each color scheme and a background tint on added and removed lines. With theTerminalcolor scheme the CLI detects whether your terminal has a light or dark background and picks matching colors. The color scheme previews in/configand first-run setup now show a sample exactly as/diffdraws it. - Added folding to the
/difffile view: each hunk header now shows how many unchanged lines are hidden above it,Ctrl+Oexpands or collapses the fold nearest the cursor, andfswitches 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
/diffperformance 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. - Fixed colors being reduced to 256 colors in iTerm2 over SSH, where
COLORTERMis not forwarded; the CLI now uses full 24-bit color whenLC_TERMINAL=iTerm2is set, unlessCOLORTERMorNO_COLORsays otherwise.