Skip to content

fix(macOS): honor discovered gateway ports#375

Closed
kkarimi wants to merge 2 commits intoopenclaw:mainfrom
kkarimi:fix/macos-remote-gateway-ports
Closed

fix(macOS): honor discovered gateway ports#375
kkarimi wants to merge 2 commits intoopenclaw:mainfrom
kkarimi:fix/macos-remote-gateway-ports

Conversation

@kkarimi
Copy link
Contributor

@kkarimi kkarimi commented Jan 7, 2026

Summary

  • parse gatewayPort from Bonjour TXT and retain it on discovered gateways
  • update gateway.remote.url when selecting a discovered gateway so remote ports stay accurate
  • derive the remote bridge tunnel port from the remote gateway port and avoid remote-url overrides

Testing

  • swift build (apps/macos)

@kkarimi kkarimi force-pushed the fix/macos-remote-gateway-ports branch from 8d3a5d6 to 7bdfced Compare January 7, 2026 09:11
@kkarimi kkarimi force-pushed the fix/macos-remote-gateway-ports branch from 7bdfced to 9de5809 Compare January 7, 2026 09:15
@kkarimi kkarimi changed the title macOS: honor discovered gateway ports fix(macOS): honor discovered gateway ports Jan 7, 2026
@steipete
Copy link
Contributor

steipete commented Jan 7, 2026

Thanks Nima! Welcome to the Clawtributors! Say hi on Discord!

@steipete steipete self-assigned this Jan 7, 2026
@steipete
Copy link
Contributor

steipete commented Jan 7, 2026

Landed on main via cherry-pick + follow-up fixes.

Commits:

  • a5b2962 fix(macos): honor discovered gateway ports
  • 85e536f fix(macos): validate remote ports (host-match guard + tests + changelog)

Thanks @kkarimi!

@steipete steipete closed this Jan 7, 2026
dgarson added a commit to dgarson/clawdbot that referenced this pull request Feb 9, 2026
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