You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v1.7.22: Fix append_to_file UI integration, stuck detector, overflow tool stripping, dropped tool status display, HTML escaping in chat
Fix 1: Rewrite _appendToFile() with full UI integration - IPC events (files-changed, agent-file-modified), undo backup, projectPath guard. Add append_to_file to isFileOp and open-file lists in sendToolExecutionEvents.
Fix 2: Change STUCK_THRESHOLD from 2 to 3. Fix paramsHash to include p.content (not just p.text) so append_to_file calls with different content produce different hashes. Apply to both local and cloud paths.
Fix 3: Overflow Step 3 no longer strips ALL tools. Replace buildStaticPrompt('chat') (which returned empty tool list) with preamble + getCompactToolHint('general', {minimal:true}) providing 7 core tools.
Fix 4: Dropped tool calls (write_file with no content) now show 'Skipped - no content provided' instead of false 'Completed OK' checkmark. Applied in both persisted message and inline segment renderers.
Fix 5: Escape HTML tags in markdownInlineToHTML() before markdown processing. Model-generated raw HTML no longer renders as DOM elements in chat.
0 commit comments