What about when SSHing to an external server, or working in a container?
Hand your agent a tmux session.
This might have changed but Warp was not able to do this without “warpifying” the SSH host.
I mean… Claude Code desktop will SSH into anything and start coding for ya. Which could sound horrifying but if you setup an isolated system for that specifically its not that horrifying.
Nanobot will happily ssh to a host and do things on it. I'm sure that's just a skill away for pi or opencode.