You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
ACP token & context-window usage reporting (core/acp.py, docs/acp.md, tests/test_acp.py): Emits live session/update (usage_update with calibrated used context tokens and model size capacity) on session creation/load, after each prompt step, on cancellation rollback, and on model switches, and includes per-turn usage (inputTokens, outputTokens, totalTokens, and cachedReadTokens when present, including subagent usage deltas) in session/prompt responses.
Complete ACP session, command, diff, terminal, cache, and subagent support (core/acp.py, core/defaults.json, docs/acp.md, tests/test_acp.py): Added session/list (sessionCapabilities.list with cwd filtering and nextCursor pagination across active and persisted runs), available_commands_update + slash-command/skill dispatch (/compact, /undo, /status, /new, /skill, /agent, and discovered project/global commands and skills), structured diff content blocks on edit_file / write_file, live terminal content blocks in AcpClientEnvironment.execute_bash, cache_ttl (5m, 1h, off) session configOptions, and SubagentTool.on_step progress streaming via agent_thought_chunk.
Fixed
TUI scrolling & event-loop hang (core/tui.py): Fixed _read_pending() resetting stdscr from its 50ms poll timeout to blocking mode on real curses.window instances (which lack gettimeout()), preventing the UI/spinner/streaming view from freezing after any escape sequence until the next keypress or message; enabled direct SGR (1006) + X10 mouse wheel fallback when curses.BUTTON5_PRESSED is unavailable (macOS system ncurses) so scrolling down works reliably after scrolling up; and split concatenated escape/mouse-wheel bursts in _drain_escape_sequence() while handling KEY_SPREVIOUS / KEY_SNEXT and clicked wheel masks.