Not sure about how it works with Codex now, but with Claude you can just start a terminal session of claude code with your code checked out locally on your computer, and then enable remote control which lets you control that session from your phone.

So basically, it is like you are typing on your terminal on your computer from your phone.

basically yeah. the codex/claude desktop apps work the same way