What's New
Performance
- MCP config caching — temp files reused by content hash instead of creating/deleting per request
- System prompt caching — skill file contents cached with mtime invalidation, assembled prompts cached by skill combination (eliminates repeated disk reads + string concatenation every chat turn)
- Single DB lookup per session — reuses initial query instead of multiple redundant lookups
- Compact sub-agent prompts — saves ~3,000 tokens per multi-agent sub-task
- Auto-mode skill condensed — ~80% fewer tokens in skill instructions
Bug Fixes
- Project switch session leak — stale
sessionIdfrom previous project could leak into messages sent before async load completed - Cross-project session reuse — sessions with mismatched
workdirare no longer reused - Draft/attachments lost on project switch — input text, attachments, and reply-to state now saved and restored when switching between projects
Improvements
- Chat duration tracking —
doneevents now includedurationfield for timing - Queue editor — resizable textarea, larger editing area
- Dependency context increased — multi-agent dependency context raised from 500 → 2,000 chars
- Tool input storage — truncated to 10k chars to prevent oversized DB rows
- Reply content truncation — reply preview limited to 200 chars for performance
Full Changelog: v5.9.5...v5.10.0