Skip to content

v1.3.106

Choose a tag to compare

@topcheer topcheer released this 03 Jul 10:46
· 4071 commits to main since this release

v1.3.106

Features

HTTP proxy support for LLM providers and MCP connections

All outbound HTTP traffic now respects standard proxy environment variables (HTTP_PROXY, HTTPS_PROXY, NO_PROXY). Previously only IM adapters had per-platform proxy env vars — LLM API calls and remote MCP connections bypassed the proxy entirely.

What's covered:

Component Mechanism
OpenAI / Gemini / Copilot providers http.ProxyFromEnvironment in provider transport
Anthropic provider option.WithHTTPClient() injecting proxy-aware transport
MCP HTTP/SSE client NewInsecureAwareClient now uses ProxyFromEnvironment
MCP WebSocket client Custom websocket.Dialer with Proxy: http.ProxyFromEnvironment
MCP OAuth handler Inherits via NewInsecureAwareClient
General utilities (web_fetch, etc.) Inherits via WrapTransport

Usage:

export HTTPS_PROXY=http://127.0.0.1:7890
export HTTP_PROXY=http://127.0.0.1:7890
export NO_PROXY=localhost,127.0.0.1

Go's ProxyFromEnvironment checks both upper and lower case variants of the env vars.

Fixes

Debug log ring buffer expanded (500 → 2000)

The in-memory debug ring buffer was too small at 500 entries — active sessions could easily push hundreds of log lines, pushing out useful diagnostic context. Expanded to 2000 entries so debug_log retains a longer history for troubleshooting.

Removed noisy token estimation log

Removed a debug.Log call in estimateTokensForMessages that fired on every single message estimation, flooding the debug log with unhelpful msgs=N tokens=N lines during normal operation.

Previous releases in this cycle

  • v1.3.105 — Flaky a2a/auth CI tests tagged as integration_local; data race fix in a2a Server
  • v1.3.104 — Flaky TestClaudeCallback_CodeExchange timeout fix
  • v1.3.103 — Windows cross-compile fix (unused unsafe import)
  • v1.3.102 — Session index cross-process race fix; microcompact removal; multi-file tools auto-merge; GGCODE.md init prompt