It hooks into the filesystem directly. Undo runs as a background watcher on a folder/project, sees file changes regardless of which app made them, and snapshots local history into ~/.undo/.
So it’s not wrapping specific apps like Cursor, VS Code, etc. Any editor or tool that writes files is covered.
It's also OSS, you can check it out.