Skip to content

fix(desktop): pass gateway token to OpenClaw launchd plist#697

Merged
lefarcen merged 1 commit intorelease/v0.1.8from
hotfix/v0.1.8-gateway-token
Mar 30, 2026
Merged

fix(desktop): pass gateway token to OpenClaw launchd plist#697
lefarcen merged 1 commit intorelease/v0.1.8from
hotfix/v0.1.8-gateway-token

Conversation

@lefarcen
Copy link
Copy Markdown
Collaborator

What

Add OPENCLAW_GATEWAY_TOKEN to the OpenClaw launchd plist.

Why

Fresh installs of v0.1.8 have all channels stuck in "connecting" β€” controller WS rejected with gateway token mismatch. The openclaw plist was missing the token env var.

How

  • Added OPENCLAW_GATEWAY_TOKEN to openclaw plist env vars
  • Added parity regression test for both plists

Checklist

  • pnpm typecheck passes
  • Plist parity tests pass

The OpenClaw launchd plist was missing OPENCLAW_GATEWAY_TOKEN, causing
all channels to be stuck in 'connecting' on fresh installs where no
openclaw.json existed yet to provide the token fallback.

Added parity test verifying BOTH plists contain the token.
@lefarcen lefarcen merged commit c22ade5 into release/v0.1.8 Mar 30, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants