github docker/cagent v1.20.4

18 hours ago

This release improves session handling with relative references and tool permissions, along with better table rendering in the TUI.

What's New

  • Adds support for relative session references in --session flag (e.g., -1 for last session, -2 for second to last)
  • Adds "always allow this tool" option to permanently approve specific tools or commands for the session
  • Adds granular permission patterns for shell commands that auto-approve specific commands while requiring confirmation for others

Improvements

  • Updates shell command selection to work with the new tool permission system
  • Wraps tables properly in the TUI's experimental renderer to fit terminal width with smart column sizing

Bug Fixes

  • Fixes reading of legacy sessions
  • Fixes getting sub-session errors where session was not found

Technical Changes

  • Adds test databases for better testing coverage
  • Automatically runs PR reviewer for Docker organization members
  • Exposes new approve-tool confirmation type via HTTP and ConnectRPC APIs

What's Changed

Full Changelog: v1.20.3...v1.20.4

Don't miss a new cagent release

NewReleases is sending notifications on new releases.