v1.3.136
Release v1.3.136
Date: 2026-07-07
Summary
42 commits since v1.3.135. This release includes significant IM adapter improvements, desktop GUI enhancements, i18n work, agent optimization, and data safety fixes.
IM Adapter Improvements
- Rate limit retry (429): Added HTTP 429 rate-limit retry with Retry-After backoff for Slack, Discord, Mattermost, DingTalk, and Feishu adapters
- Message splitting: Added proper message splitting for QQ, WeCom, DingTalk, and WeChat adapters (previously truncated)
- API response validation: Fixed DingTalk, Feishu, and WeChat to check error codes in response body on HTTP 200
- Markdown handling: Strip markdown syntax for plain text fallbacks in QQ, Feishu; convert GFM tables to plain text for non-table platforms
- Slack: Fixed bold→italic collision in markdownToMrkdwn conversion
- Mattermost: Fixed Send to handle all event types
- Twitch: Handle newlines in PRIVMSG messages
- Telegram: Add inter-message delay for multi-chunk sends
- WhatsApp: Added missing Close() method (resource leak fix)
- i18n: Localized unauthorized user messages and team/swarm labels across IM adapters
- Consolidation: Consolidated duplicated message splitters into shared splitForOutbound
Desktop GUI Enhancements
- Code blocks: Copy button + language label per code block in ChatView
- Scroll-to-bottom: Floating button when scrolled away from bottom
- Context progress bar: Visual context usage indicator with hover copy
- Command palette: Enhanced with icons, view navigation, recently-used tracking
- Smart diff preview: Approval dialog now shows diff preview
- Keyboard shortcuts: Help dialog (Cmd+/), session context menu, inline rename
- Markdown: Open external links in system browser; added missing CSS for hr/strong/em/del/img
- Skeleton loading: Loading screens for list views
TUI / i18n
- Replaced hardcoded English strings with translatable keys throughout TUI
- Localized follow strip, status bar, reasoning effort labels
Agent & Context Optimization
- Parallel tool execution: Concurrent read-only tool execution per LLM batch (LLMCompiler/W&D-inspired)
- Speculative execution: Pattern-aware tool pre-execution during LLM generation (PASTE-inspired)
- Strategy playbook: Learns successful tool patterns and injects strategy hints
- Trajectory confidence scorer: Holistic trajectory quality scoring with early intervention (HTC-inspired)
- Smart verify hint: Resets edit counter when agent proactively builds; context-aware messages
- Reactive ratchet rules: Matches known error patterns in tool results in real-time
- Tool memoization: Cache for repeated read-only tool results with mtime/TTL invalidation
Data Safety & Concurrency Fixes
- Stream manager: Fixed concurrent map read/write panic when StopTarget called during streaming (m.targets access without mutex)
- Swarm manager: Clean up m.results entries on team deletion to prevent memory leak
- A2A client: Drain push response body and fix misleading log on error status
- WeChat: Validate iLink ret/errcode in sendmessage response
Bug Fixes
- Desktop: Rules of Hooks violation fix, sidebar keyboard nav guard
- Desktop: i18n hardcoded English strings for reasoning effort and follow view
- Agent: gofmt parallel_tools.go