Skip to content

Update OpenClaw gateway connect handshake payload#415

Merged
BunsDev merged 1 commit intomainfrom
okcode/gateway-connect-test
Apr 11, 2026
Merged

Update OpenClaw gateway connect handshake payload#415
BunsDev merged 1 commit intomainfrom
okcode/gateway-connect-test

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 11, 2026

Summary

  • Aligns the gateway test client with the newer connect.params.client shape, including explicit client identity, display name, device family, and backend mode.
  • Updates the gateway client payload to send base64url device fields, a normalized device fingerprint, and the newer v3 signature format.
  • Adds compatibility handling for persisted auth state and improves test diagnostics when the gateway rejects client identity fields.

Testing

  • Added/updated unit coverage in apps/server/src/openclawGatewayTest.test.ts for the modern connect handshake payload.
  • Not run: bun fmt
  • Not run: bun lint
  • Not run: bun typecheck

- Send the newer client identity and device metadata fields
- Encode device keys and signatures in the expected format
- Add test coverage for the modern connect request payload
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 11, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 11, 2026 1:50am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 11, 2026 1:50am

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 11, 2026
@BunsDev BunsDev merged commit 83a6bce into main Apr 11, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant