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
{{ message }}
Repository navigation
OPE-211: Wire Revert message to session revert #495
Tapping Revert message in the Session Chat message sheet should revert the session from that user turn, the same way /undo already does.
Reported on iOS. The sheet shows Revert message + Copy message, but Revert only copies the bubble text back into the composer (onRestoreToComposer) and dismisses. It never calls revertSession. During a busy turn that restore is easy to miss, so the control looks dead.
Real revert already exists on /undo in SessionChatCommands (abort if busy, revertSession, restore text, refresh revert state). The message-sheet action should use that path for the tapped user message, not only the latest one.
Remaining:
Revert message on a user bubble reverts the session from that message (abort if busy, then revertSession)
Composer gets the reverted prompt text so the user can edit and resend
Activity