This release adds experimental MCP Events push subscriptions, improves Gemini 4 model support, expands the browser WASM profile, and includes several TUI enhancements and bug fixes.
What's New
- Adds experimental MCP Events push subscriptions (SEP-3415 event discovery over stdio and Streamable HTTP), gated behind per-toolset
experimental.mcp_events: true - Adds an optional top margin in taller terminals (enabled via
Settings → Appearance → Show top margin) - Sets the terminal window title from the session title in the lean TUI, formatted as
<appName>: <session title> - Includes Anthropic (Claude) support in the small browser WASM profile alongside OpenAI
Improvements
- Improves Gemini 4 thinking, gateway effort forwarding, and catalog support; refreshes the
models.devsnapshot to includegemini-4-neon,gemini-4-carbon,gemini-4-hydrogen, andgemini-4-argon - Applies low thinking and output headroom for Gemini title generation
- Honors
NoThinkingbudget 0 on Gemini 2.5 title generation - Shrinks the small browser WASM profile by excluding unused HTTP tracing, skill loading, image codecs, unsupported hooks, and unused Anthropic dependency code
Bug Fixes
- Fixes run registry incorrectly treating a process as dead when
kill(pid, 0)returnsEPERM(process exists but belongs to another user) - Fixes TUI crash on files containing invalid UTF-8 bytes during word-diff tokenizing
- Preserves invalid UTF-8 bytes correctly in word-diff tokenizing (previously expanded one-byte U+FFFD to three bytes)
Technical Changes
- Fixes flaky script-expansion test on Linux CI caused by
ETXTBSYwhen parallel tests fork processes during script writes
What's Changed
- chore(deps): bump the actions group across 1 directory with 2 updates by @dependabot[bot] in #5006
- TUI - Add top margin by @krissetto in #5015
- docs: update CHANGELOG.md for v1.164.0 by @docker-read-write[bot] in #5019
- feat(leantui): set terminal title from session title by @rumpl in #5021
- test(skills): fix flaky script-expansion test (ETXTBSY) by @trungutt in #5020
- feat: add experimental MCP Events push subscriptions by @rumpl in #4895
- fix(tui): preserve invalid UTF-8 bytes in word-diff tokenizing by @TDnorthgarden in #5023
- docs: auto-update for merged PRs (2026-11-24) by @aheritier in #5025
- fix(gemini): improve Gemini 4 thinking, gateway effort, and catalog support by @aheritier in #5003
- feat(wasm): include Anthropic in the small browser profile by @dgageot in #5027
- fix(runregistry): keep runs whose pid we may not signal by @TDnorthgarden in #4982
- perf(wasm): shrink the small browser profile by @dgageot in #5028
Full Changelog: v1.164.0...v1.165.0