Not sure if they meet your needs, but Aeros has a bunch of undo MIDI messages that aren’t listed in the Google spreadsheet, including ones that undo all layers: Aeros Undo Redo w/Controller BUG? - #4 by BrennanSingularSound
As I reported here though, several cc37 messages seem to be buggy, and it doesn’t look like the latest update addresses this.