The browser is probably a non-issue, more a passing thought now. I definitely do not want to bundle or bring in Chromium. If it was a deal-breaker, I would've just gone the Electron route. Appreciate you sharing your WebView extension though, looks neat!
So many times I see projects here I don’t really need, but I always learn something from their readme and code. A lot of time I learn something I can apply to my project. In this case, I use Node-PTY for my terminal control plane but when I run more than 50 agents, it crashes. Maybe using your pty will let me run more agents.
I haven't performance or load tested, it's on the backlog; so I'd be curious on whether this works for your use-case. And if not, feel free to log an issue!