I was annoyed that OpenCode and pi.dev don't support that, so I made this small plugin for the pi (pi.dev) coding agent to implement the same feature.
First plugin that does this for pi.dev that I could find.
It's been useful for me so I hope it's useful for you.