Skip to content

internal/bridges: add tailnet bridge support#20

Merged
mostlygeek merged 7 commits into
mainfrom
mg/portals
May 19, 2026
Merged

internal/bridges: add tailnet bridge support#20
mostlygeek merged 7 commits into
mainfrom
mg/portals

Conversation

@mostlygeek
Copy link
Copy Markdown
Collaborator

Add using tsnet.Server as a local http proxy to an Aperture instance on the tailnet. This enables using Aperture without tailscaled installed and running on the host machine.

mostlygeek and others added 6 commits May 12, 2026 00:46
Show a diagnostic menu when preflight or endpoint activation fails,
detecting Tailscale status to provide actionable guidance. Refactor
manager_test.go and tailscale_test.go to table-driven subtests.
Signed-off-by: Remy Guercio <remy@tailscale.com>
Support Copilot CLI's BYOK mode to route through the Aperture gateway.
Three backends: OpenAI Chat Completions, OpenAI Responses, and Anthropic
Messages, configured entirely via the COPILOT_PROVIDER_* env vars with
COPILOT_OFFLINE=true to bypass GitHub auth.
Validate the bridge ID fits the pattern: bridge-{hash} before joining
the tailnet. This creates consistent hostnames like:
aperture-cli-bridge-{hash}
@mostlygeek mostlygeek requested a review from wedow May 19, 2026 19:08
@mostlygeek mostlygeek merged commit 8c1e835 into main May 19, 2026
1 check passed
@mostlygeek mostlygeek deleted the mg/portals branch May 19, 2026 20:33
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.

3 participants