Relay-connected environments now discover direct LAN and Tailscale routes to the same server and reconnect through them automatically, with the relay as fallback. - Server: authenticated GET /api/remote-access/endpoints (relay:read) advertises the server's own loopback/LAN/Tailscale endpoints, aware of the configured binding. Tailscale endpoint synthesis hoisted from desktop into @t3tools/tailscale and shared. - Client: while relay-connected, a scoped discovery fiber fetches advertised endpoints through the tunnel, probes direct candidates, verifies the environment id, and stores a per-environment route override. The supervisor replaces the lease without backoff and the relay broker connects through the override using the cached DPoP access token (host-independent; only per-request proofs are URL-bound). A failed direct route clears the override, starts a cooldown to prevent route flapping, and falls back to the relay in the same prepare call. Co-Authored-By: Claude Fable 5 <[email protected]>
T3 Code docs
Using T3 Code
- Install and first run
- Permission modes
- Keyboard shortcuts
- Remote access
- Keeping app and server in sync
- Source control integrations
- Background service (Linux)
- Providers: Codex · Claude
Mobile app: apps/mobile/README.md
Working on T3 Code
Everything below is for maintainers. Setup lives in the root README; policy in CONTRIBUTING.md; agent rules in AGENTS.md.
- Architecture overview
- Workspace layout
- Glossary
- Scripts
- Connection runtime
- Providers
- Remote environments
- Server updates
- Resource telemetry
- Environment auth
- T3 Connect
- CI gates