When opencode undo command fails: 1. Reset the opencode session (both IDs set to null) 2. Still remove the message from history 3. Return success instead of error This prevents corrupted sessions from blocking subsequent operations.
734 KiB
734 KiB