Was it Codex or the desktop ChatGPT agent?
It was the standard ChatGPT chat app. I asked for commands and it ran them directly (after confirming)