This release adds AG-UI protocol server support, opt-in tool approval for A2A, OSC 7577 terminal program resume, a durable runtime, and an interactive startup banner, alongside numerous bug fixes across the runtime, A2A server, filesystem tools, and session management.
What's New
- Adds
serve ag-uicommand implementing the AG-UI protocol server, allowing any AG-UI client SDK to drive a Docker Agent agent over SSE - Adds opt-in tool approval via
INPUT_REQUIREDforserve a2a, letting A2A clients approve or reject tool calls out-of-band instead of auto-denying them - Adds a durable runtime that keeps runs on record in the session store while in flight and supports resuming a run cut off by a crash or shutdown
- Adds OSC 7577 protocol support (
--resume-instance) for terminal program resume, enabling compatible terminals to restore TUI sessions with ordered persisted tabs - Adds
compaction_threshold_tokensconfiguration option for models and agents to trigger proactive auto-compaction by absolute token count - Adds Morse to the built-in provider catalog
- Adds interactive repulsion to the startup banner — hover pushes dots away, left-click gives a stronger burst, and dots spring back to the wordmark
- Adds the
tool-approval/v1A2A extension spec
Improvements
- Redesigns the main TUI input area
- Raises the maximum request size to 32MiB (up from 1MiB) to better support image and multi-attachment requests
- Stops settled banner particle work and skips unchanged redraws
- Composites banner particles across the full terminal viewport
- Requires the standalone
sbxCLI for sandboxes instead of falling back to the legacydocker sandboxplugin; provides an actionable error whensbxis missing - Capitalizes shortcut descriptions in the TUI Help dialog
Bug Fixes
- Fixes TUI tab runtimes not being detached when a tab is closed in
--listenmode, preventing resource leaks - Fixes
Escapefailing to cancel running tools in the lean TUI after mid-stream compaction - Fixes
edit_fileaccepting anoldTextthat matches more than once; now rejects ambiguous matches - Fixes
git_logpath filter to match directories and relative paths, not just exact file names - Fixes session cost being overwritten by stale in-memory values when token usage is persisted
- Fixes
change_modelandrevert_modeloverrides not being recorded on the session, causing them to be lost after a resume - Fixes A2A server not closing the runtime when a run ends, leaving background agents running indefinitely after task completion
- Fixes A2A CORS handling to allow literal origins alongside wildcard patterns
- Fixes A2A tool approval tasks to remain cancellable and properly report cancellation outcomes
- Fixes A2A to reject null message parts, non-string approval reasons, and non-JSON-object tool arguments shown to approvers
- Fixes remote mode submitting the entire message history on each run instead of only new messages
- Fixes oversized image headers being decoded before dimension checks, guarding against image bomb attacks
- Fixes
redact_secretsto scrub tool attachment documents and run redaction before configured transform hooks - Fixes deleted session toolset teardown to dispose server-owned teams and respect shutdown deadlines
- Fixes
/btwdialog requests not being canceled when the dialog is dismissed programmatically - Fixes run registry record removal on Windows by retrying on file sharing violations
- Fixes
change_modeloverrides in isolated worktrees being applied globally instead of locally - Fixes A2A to never store a whole-tool grant for an unscoped command and to fail tasks whose tool approval pause is abandoned before persisting
- Replaces models removed from the models.dev snapshot to prevent CI failures
Technical Changes
- Refactors the runtime run loop: what a run carries between steps is gathered into one value, and a turn is split into three steps
- Refactors TUI recording and replay plumbing to isolate responsibilities between the CLI, recorder, and fake package
- Refreshes the models.dev catalog snapshot
- Replaces deprecated
claude-sonnet-4-5withclaude-sonnet-5-5 - Regenerates the TypeScript SDK for tool approval and compaction threshold tokens
- Updates Go dependencies
What's Changed
- fix: complete deleted session toolset teardown by @aheritier in #5047
- docs: update CHANGELOG.md for v1.167.0 by @docker-read-write[bot] in #5050
- fix(leantui): keep run cancel intact across mid-stream compaction by @rumpl in #5051
- feat(runtime): add a durable runtime by @rumpl in #5048
- feat(tui): make the startup banner interactive by @rumpl in #5057
- fix(redact_secrets): scrub tool attachment documents by @PerryLink in #5017
- docs: auto-update for merged PRs (2026-11-28) by @aheritier in #5061
- TUI - redesigned main input area by @krissetto in #5059
- docs: add a dedicated durable runtime section by @rumpl in #5060
- Raise max request size to 32MiB by @krissetto in #5064
- fix: replace models removed from the models.dev snapshot by @melmennaoui in #5074
- fix(sandbox): require the standalone sbx CLI by @dgageot in #5072
- Fix help dialog description capitalization by @dgageot in #5073
- refactor(tui): isolate e2e recording and replay plumbing by @dgageot in #5071
- chore: refresh models.dev snapshot (+670 -743 ~760) by @github-actions[bot] in #5070
- fix(remote): submit only new messages on each remote run by @dgageot in #5077
- feat(a2a): add opt-in tool approval via INPUT_REQUIRED by @deka in #4976
- fix(server): detach a closed TUI tab's runtime by @PerryLink in #4931
- fix(tui): cancel /btw requests when the dialog is dismissed by @TDnorthgarden in #5081
- feat: support multi-tab OSC 7577 terminal program resume by @aheritier in #5065
- fix(session): keep the session cost current when token usage is persisted by @pcbeingused33 in #5063
- feat: add Morse to the built-in provider catalog by @askmorse in #5075
- feat(compaction): add compaction_threshold_tokens and scale background threshold by @rumpl in #5085
- chore: replace deprecated claude-sonnet-4-5 with claude-sonnet-5-5 by @aheritier in #5084
- fix(runtime): isolate parallel transfer_task sessions by @nasagong in #5030
- fix(chat): reject oversized image headers before decoding by @TDnorthgarden in #5068
- fix(git): match directories in git_log path filter by @Lostmanu in #5038
- fix(a2a): close the runtime when a run ends by @trungutt in #5082
- fix(runtime): record change_model overrides on the session by @pcbeingused33 in #5058
- fix(a2a): allow literal CORS origins alongside patterns by @deka in #5088
- fix(runregistry): retry record removal on Windows sharing violations by @trungutt in #5089
- feat: add AG-UI protocol server (serve ag-ui) by @deka in #5067
- fix(filesystem): refuse an edit_file oldText that matches more than once by @vishalhabib99 in #5078
- chore: update Go dependencies by @dgageot in #5090
New Contributors
- @askmorse made their first contribution in #5075
- @Lostmanu made their first contribution in #5038
- @vishalhabib99 made their first contribution in #5078
Full Changelog: v1.167.0...v1.168.0