Skip to content

v1.73.0

Choose a tag to compare

@docker-read-write docker-read-write released this 03 Jun 12:50
· 147 commits to main since this release
2b369ce

This release improves MCP catalog server management, fixes streaming issues with AI providers, and adds memory protection for file search operations.

What's New

  • Adds --json flag to alias list command for structured output
  • Adds ContextLimit helper to modelinfo for centralized context window handling
  • Blocks enable_remote_mcp_server until the server is actually connected, eliminating the need to re-ask questions

Improvements

  • Removes command queueing - commands are now sent immediately
  • Removes empty query truncation from MCP server search, showing all matching servers
  • Restricts MCP catalog to OAuth and anonymous-access servers only, removing API key complexity

Bug Fixes

  • Fixes Gemini parallel tool responses by coalescing them into a single Content
  • Fixes custom OpenAI provider routing for Responses-only models (gpt-4.1, o-series, gpt-5, Codex)
  • Fixes memory explosion in search_files_content by capping output at 1 MiB and skipping large files
  • Fixes MCP catalog retry logic for existing unstarted entries
  • Fixes rollback behavior when MCP server Start is cancelled during OAuth or Tools operations
  • Fixes conversation caching to exclude failed chat continuations

Technical Changes

  • Refactors registry operations to reuse single session across digest and pull operations
  • Updates OpenAI handler to support newer Responses stream event shapes
  • Uses cmd.Context() instead of context.Background() for proper cancellation support
  • Uses strings.Builder for message merging to reduce memory allocations
  • Improves search_files_content memory handling for symlinks and device files

What's Changed

  • docs: update CHANGELOG.md for v1.72.0 by @docker-read-write[bot] in #2974
  • docs: document alias list --json flag and failure-safe conversation caching by @aheritier in #2977
  • refactor: reuse registry session for OCI pulls by @dgageot in #2975
  • openai: handle newer Responses stream event shapes by @rumpl in #2976
  • fix(gemini): coalesce parallel tool responses into a single Content by @t-mizumoto1203 in #2959
  • Don't queue commands by @rumpl in #2979
  • chore: bump direct Go dependencies by @dgageot in #2980
  • fix: use cmd.Context() instead of context.Background() by @dgageot in #2981
  • feat(mcp_catalog): block enable_remote_mcp_server until the server is connected by @trungutt in #2973
  • fix: prevent memory explosion in search_files_content by @dgageot in #2983
  • refactor: remove empty query truncation from MCP server search by @dgageot in #2984
  • fix(providers): route Responses-only models on custom OpenAI providers by @Sayt-0 in #2985
  • feat: add ContextLimit helper to modelinfo by @dgageot in #2982
  • test(mcp): fix staticcheck SA5011 nil-pointer errors in oauth_test by @dgageot in #2989
  • refactor: use strings.Builder for message merging in oaistream by @dgageot in #2986
  • refactor: restrict mcp_catalog to oauth and none auth only by @dgageot in #2988

New Contributors

Full Changelog: v1.72.0...v1.73.0