v1.3.135
v1.3.135
Release date: 2026-07-06
Agent Intelligence
- Trajectory Confidence Scorer (HTC-inspired): New holistic trajectory quality metric that detects deteriorating agent runs early. Combines 6 signals (tool diversity, edit success rate, error clustering, momentum, overall success rate, trajectory length) to compute a 0-100 confidence score. Intervenes at score < 30 before error-streak triggers.
- Efficiency-Weighted Playbook Ranking: Strategy hints now rank by composite score (frequency × efficiency) instead of pure frequency. Patterns that complete tasks faster are prioritized over frequently-seen but slow patterns. Inspired by SICA's utility function.
- Overseer Drift Reset Fix: Reset
driftLevelinoverseer.reset()to prevent stale drift levels from suppressing detection in subsequent runs. - Monitoring Reset Timing: Moved all monitoring system resets (error streak, overseer, repetition tracker) to run start to prevent false-positive matching from previous runs.
- Semantic Importance Contains Matching: Fixed tool result semantic importance detection to use
Containsmatching with comment-line exclusion for more accurate preservation during context clearing.
Network and Integration
- Timeout-Aware HTTP Client: Replaced
http.DefaultClientwith timeout-aware client in DingTalk and PC adapters to prevent indefinite hangs. - Daemon Bridge Context Cancel: Fixed missing
context.Cancel()infinishRunSlotandCloseto prevent goroutine leaks in daemon mode.
Desktop (Wails)
- Command Palette: Fully functional command palette with keyboard navigation. Supports new session, search, share, context toggle, theme toggle, settings, and sidebar toggle.
- Session Sidebar: Enhanced with keyboard navigation, date grouping, and model badge display.
- Animated Typing Indicator: Better streaming feedback with animated typing indicator.
IM (Instant Messaging)
- WhatsApp Markdown Converter: Native WhatsApp formatting support — converts markdown to WhatsApp's
*bold*,_italic_,~strike~,`code`syntax instead of stripping all formatting. - Markdown Stripping: Added
stripMarkdown()utility for platforms without markdown support (IRC, Signal, WhatsApp, WeCom). - Message Length Limits: Corrected per-platform message length limits based on official documentation.
Data Safety
- Atomic Playbook Save: Playbook persistence now uses temp file + rename pattern to prevent corruption if the process is interrupted mid-write.
- Bubble Sort Replacement: Replaced O(n²) bubble sort with
sort.Slicein playbook eviction and hint ranking.