Skip to content

Relay auth token + custom-relay health in connection-path sheet; repin to v0.0.56 - #23

Merged
andrewchen5678 merged 2 commits into
mainfrom
relay-discovery
Jul 20, 2026
Merged

andrewchen5678 merged 2 commits into
mainfrom
relay-discovery

Conversation

@andrewchen5678

Copy link
Copy Markdown
Contributor

iOS side of the relay/discovery/connection-path port.

  • Show custom-relay /healthz health and the relay auth token field in the connection-path sheet (ProxyController, ConnPathSheet, ContentView).
  • Repin Packages/Flextunnel/Package.swift to the flextunnel v0.0.56 release xcframework.
  • Add the on-demand "Verify against flextunnel commit" workflow.

🤖 Generated with Claude Code

Andrew Chen and others added 2 commits July 20, 2026 10:51
Consume the new fields from the flextunnel FFI's flextunnel_conn_path /
flextunnel_start:

- queryConnPath() now returns a ConnectionSnapshot (paths + customRelays) and
  decodes the custom_relays[] array (url, working: Bool?, error). ConnPathSheet
  renders a "Custom relays" section — Working / Not working — <error> / Status
  unavailable — below the paths, mirroring ezvpn-apple.
- Settings gains relayAuthToken, sent as relay_auth_token in the start config
  (trimmed; null when empty). A SecureField for it sits under the Relay URLs
  field in the setup form.

Backward-compatible with the pinned release (unknown config fields are ignored;
an absent custom_relays decodes to empty). Verified against a flextunnel source
commit via the verify-flextunnel-commit workflow.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@andrewchen5678
andrewchen5678 merged commit cfd5f96 into main Jul 20, 2026
1 check passed
@andrewchen5678
andrewchen5678 deleted the relay-discovery branch July 20, 2026 19:10
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.

1 participant