Skip to content

v1.3.137

Choose a tag to compare

@topcheer topcheer released this 06 Jul 23:11
· 3865 commits to main since this release

v1.3.137

Released: 2026-07-07

Agent Improvements

  • Budget Guard (BAGEN-inspired): Per-step token cost trend monitoring — detects when recent steps cost significantly more than earlier ones (backtracking pattern) and warns the agent before tokens are wasted on doomed trajectories
  • Superseded File Result Compaction: Automatically compacts stale re-reads of the same file in context — if the agent reads a file, edits it, then reads it again, the older content is replaced with a placeholder, recovering context space
  • KV Cache Optimization: System prompt now uses selective cache_control breakpoints to optimize KV cache hit rates across turns
  • Checkpoint Pointer Fix: Fixed a bug where checkpoint pointers could alias into the backing array, causing data corruption during session restore

IM Provider Reliability

  • Context-aware delays across all adapters: All IM adapters (QQ, Telegram, Discord, Slack, DingTalk, Feishu, Matrix, Mattermost, WeChat, WeCom, IRC, Twitch, Signal, WhatsApp) now use select+ctx.Done() for inter-message delays and rate-limit backoffs, aborting immediately when the agent is cancelled
  • Signal sendText: HTTP POST now uses http.NewRequestWithContext (was ignoring cancellation), and 429 rate-limit backoff is context-aware
  • Image download: HTTP requests for image downloads now propagate context for cancellation
  • Slack: Rate limit delay, markdown link/header conversion improvements
  • Matrix: M_LIMIT_EXCEEDED retry with inter-message delay
  • WeChat: Markdown stripping for outbound messages, inter-message delay
  • WeCom: Wired inter-message delay, fixed markdown stripping

Desktop UX

  • Auto-expanding textarea: Replaced single-line input with auto-resizing textarea
  • Welcome screen: Quick-start prompts for empty sessions with keyboard shortcut hint
  • Drag-and-drop images: Drag image files into the chat area for attachment
  • Date separators: Visual separators between messages from different days
  • Message timestamps: Displayed on all messages (removed duplicate timestamp)
  • Enhanced ToolMessage: Copy button on expanded tool results, line count indicator on collapsed bars, content truncation at 200 lines with full output via Copy button
  • Copy buttons: Hover copy on user messages, copy button on error messages
  • GFM task list CSS: Styled checkboxes, table zebra striping and hover highlight
  • Copy conversation: Export entire conversation as markdown to clipboard
  • Unread message badge: Shows count of new messages when scrolled up on scroll-to-bottom button
  • Accessibility: aria-live="polite" and role="log" on message container for screen readers
  • Context panel: Token formatting improvements, progress bar color gradient (green→amber→red)
  • CSS completeness: Added h4-h6 headers, inline code distinct color

Provider & Integration Fixes

  • Provider retry cap: Retry-After header delay now capped at providerRetryBackoffCap to prevent excessive backoff
  • A2A RequestInput: Closes done channel and execute respects input-required state, preventing stuck tasks