feat: support remote OpenClaw gateway via Tailscale#310
Open
bluwavesd wants to merge 1 commit intoValueCell-ai:mainfrom
Open
feat: support remote OpenClaw gateway via Tailscale#310bluwavesd wants to merge 1 commit intoValueCell-ai:mainfrom
bluwavesd wants to merge 1 commit intoValueCell-ai:mainfrom
Conversation
Add configurable gateway host and remote token to connect ClawX to a remote OpenClaw instance over Tailscale (or any network). Changes: - Add gatewayHost and gatewayRemoteToken to persisted app settings - Add host field to GatewayStatus type (electron + renderer) - GatewayManager skips local process management for remote hosts (no spawning, port scanning, Python checks, or config repair) - All WebSocket URLs use the configurable host - Connect handshake omits device identity for remote hosts to avoid 'pairing required' errors (token-only auth) - Extract buildConnectFrame() into testable module with 4 unit tests - Settings UI: Host input + Remote Gateway Token input (appears when host is non-localhost) in the Gateway settings card - Control UI URL uses configured host - i18n strings for new fields Co-Authored-By: Oz <oz-agent@warp.dev>
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add configurable gateway host and remote token to connect ClawX to a remote OpenClaw instance over Tailscale (or any network).
Changes
gatewayHostandgatewayRemoteTokento persisted app settingsbuildConnectFrame()into testable module with 4 unit testsHow to use
100.x.y.z)~/.openclaw/openclaw.json→gateway.auth.tokenTesting
pnpm run typecheck✅pnpm run lint✅pnpm test— 86 tests pass (including 4 new remote gateway tests)