Why not use a browser?
OpenCode has a webUI, you can simply host that on your machine at home and VPN to it.
https://opencode.ai/docs/server/ (sadly no screenshots, but its a pretty good GUI, looks like their desktop app)
From that page:
> The opencode serve command runs a headless HTTP server that exposes an OpenAPI endpoint…
Unless I missed it, there’s no mention of a web UI?
You need tmux to be able to resume the same session from anywhere, mosh-server to make ssh resilient to sketchy mobile connections, and blink shell https://blink.sh/ to have a high quality iOS shell with a mosh and ssh client built right in to resume at any time.
Far more resilient and performant than a web client.