Undo / revert last X suggestion(s) without needing to use Git

Ideally you can select your last “prompt” and “applied result code”, and cursor then undo’s all changes until then (a git-free / local version control)