mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-20 01:11:18 +00:00
OpenClaw runs a web dashboard on port 18791 of the remote VM. This change SSH-tunnels that port to localhost and auto-opens the browser, giving users a web UI with zero CLI knowledge needed. - Add TunnelConfig to AgentConfig interface (agents.ts) - Add startSshTunnel function with port-finding logic (ssh.ts) - Capture gateway token in closure so the same token is used for both the remote config and the browser URL (agent-setup.ts) - Wire tunnel into orchestration pipeline between preLaunch and interactiveSession (orchestrate.ts) - Add getConnectionInfo to CloudOrchestrator interface and implement in all SSH-based clouds (DO, Hetzner, AWS, GCP) - Local: opens browser directly at localhost:18791 - Sprite: gracefully skipped (no standard SSH) - Add USER.md bootstrap to guide OpenClaw users to web dashboard Closes #2449 Supersedes #2418 Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: L <6723574+louisgv@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| agent-setup.ts | ||
| agent-tarball.ts | ||
| agents.ts | ||
| billing-guidance.ts | ||
| cloud-init.ts | ||
| oauth-constants.ts | ||
| oauth.ts | ||
| orchestrate.ts | ||
| parse.ts | ||
| paths.ts | ||
| result.ts | ||
| ssh-keys.ts | ||
| ssh.ts | ||
| type-guards.ts | ||
| ui.ts | ||