Conversation
The Read hook's denial message mentioned 'unsaved editor content' which caused Claude to misinterpret it as an error blocking its edits.
…erence Add compact trace logging for AI events on both node and browser sides for debugging without flooding the console. Fix _finishActiveTools to not override the delayed timeout set by _updateToolIndicator. Add "receiving N bytes..." fallback preview during tool input streaming. Instruct model to prefer Edit over Write for existing files via appendSystemPrompt. Add timestamps to MCP browser console log output.
Replace separate edit cards at bottom of response with inline Undo/Redo and Show diff controls directly on each Edit/Write tool indicator. - Send per-edit aiToolEdit events from node hooks instead of batched aiEditResult at completion, capturing toolCounter before async to avoid race conditions with the streaming loop - New _onToolEdit handler matches edit events to tool indicators by filename (handles SDK partial re-emissions gracefully) - Undo/Redo button toggles between states with green redo styling - Edit summary card at end of response shows files changed with +/- stats - Fix external change warnings: check file.exists() before disk write in Write handler to avoid triggering file watcher on existing files - Remove _appendEditCard, _onEditResult, and .ai-msg-edit CSS block
Replace per-edit undo buttons with a timeline of restore points: - Initial PUC (snapshot 0) before first AI edit per session - Summary card per response with Undo (latest) / Restore to this point - Clicked restore point shows "Restored" with green highlight - All buttons disabled during AI streaming - Extract snapshot logic into AISnapshotStore module Fix stale $messages reference via _$msgs() live DOM query helper for deferred operations (click handlers, callbacks) after SidebarTabs reparents the panel.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.