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
feat: inline edit diff/undo into tool indicators with summary card
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
0 commit comments