github docker/cagent v1.23.2

6 hours ago

This release adds header forwarding capabilities for toolsets and includes several bug fixes and code improvements.

What's New

  • Adds support for ${headers.NAME} syntax to forward upstream API headers to toolsets, allowing toolset configurations to reference incoming HTTP request headers

Bug Fixes

  • Fixes race condition in isFirstRun using atomic file creation
  • Fixes nil pointer dereference when RateLimit is present without Usage
  • Fixes double-counting of session costs with cumulative usage providers
  • Fixes Ctrl+K key binding conflict in session browser by reassigning CopyID to Ctrl+Y
  • Fixes model selection functionality

Improvements

  • Adds input validation and audit logging to shell tool
  • Adds input validation and error handling to RunBangCommand

Technical Changes

  • Extracts shared helpers for command-based providers to reduce code duplication
  • Removes duplication from config.Resolv
  • Moves GetUserSettings() from pkg/config to pkg/userconfig as Get()
  • Removes redundant Reader interface from pkg/config
  • Fixes leaked os.Root handle in fileSource.Read
  • Makes small improvements to cmd/root

What's Changed

New Contributors

Full Changelog: v1.23.1...v1.23.2

Don't miss a new cagent release

NewReleases is sending notifications on new releases.