Interesting idea! I like the idea of more deeply integrating code agent with the terminal (e.g. shell, ptys, etc).

It's spawning PTYs but does it support SSH'ing into a remote session and running commands from a remote shell? That's something I built into zmx in order to scratch that "debugging in a remote VM" itch.

https://zmx.sh