Skip to content

v8.7.0

Choose a tag to compare

@knoop7 knoop7 released this 26 May 10:17

Bug Fixes

  1. Fix tool memory leak - Resolved resource leak after tool execution completion
  2. Fix mini channel loading error - Corrected initialization failure in mini mode
  3. Fix LLM channel control mechanism - Unified intent filtering with allowlist mode
  4. Fix frontend history messages - Resolved incomplete message rendering issues
  5. Fix streaming response leak - Added stream_end event for proper frontend state cleanup
  6. Fix cache hit rate - Optimized caching strategy for better performance
  7. Fix clock prefix invalidation - Removed redundant time checks causing resource waste
  8. Fix Markdown formatting issues - Resolved MD rendering corruption
  9. Fix final response crash - Suppressed lit-html nextSibling errors preventing page crash
  10. Fix long-running tool timeout - Improved timeout handling for extended tasks
  11. Fix DefaultAgent intent bypass - Patched async_recognize_intent to enforce filtering
  12. Fix intent bypass - Early patch prevents import-time bypass
  13. Fix CSS message overflow - Corrected container overflow and word-break issues
  14. Fix tool result state corruption - Removed blocking to preserve lit-html state
  15. Fix duplicate intent processing - Eliminated redundant HA built-in intent execution

New Features

  1. Add channel marker - Support for distinguishing AI channel sources
  2. Add intent allowlist filter - Only 8 high-frequency intents preserved (broadcast, light, cover, toggle)
  3. Add early_patch_intents - Module-load-time patching prevents bypass
  4. Add tool partial success warning style - Visual distinction between full failure and partial success
  5. Add stream_end websocket event - Frontend knows exactly when streaming completes
  6. Add unhandledrejection suppression - Silently handle known lit-html errors

Code Refactoring

  1. Reorganize runtime folder - Split into agent/, core/, hooks/, llm/, storage/, utils/ subdirectories
  2. Remove services folder - Migrated to runtime/utils/ and scrapers/
  3. Clean up 64 redundant files - Deleted duplicate files from legacy paths
  4. Optimize CSS message containers - Fixed overflow and line-break behavior
  5. Remove _render blocking logic - Avoid lit-html internal state corruption
  6. Unify intent processing entry points - Patch both async_handle_intents and DefaultAgent.async_recognize_intent
  7. Simplify tool visibility logic - Removed minimal tool mode, full toolset for all external AIs
  8. Consolidate patch definitions - Single _ALLOWED_INTENTS set for all filtering
  9. Improve code organization - Better separation of concerns across runtime modules

Full Changelog: v8.6.0...v8.7.0