Tailnet
Share the dev servers your agents start on your Tailscale tailnet.
Overview
When an agent starts a dev server, Tailnet shares it on your Tailscale
tailnet: localhost:3000 becomes https://<machine>.<tailnet>.ts.net:3000,
and the agent gives you the link. Open it from your phone or any other device
on your tailnet.
What you get
bb tailnet expose <port>shares a port on the thread's machine and prints its URL.bb tailnet unexpose <port>stops it,bb tailnet shareslists what is shared on every machine.- A skill that tells agents to share the servers they start and hand you the link without being asked.
- A Settings section that lists what Tailscale Serve shares on every machine, with a Stop button on the shares Tailnet made.
- Cleanup: a share belongs to the thread that made it and goes away when the thread is archived or deleted.
How it works
Tailnet runs tailscale serve on the machine the thread runs on. Shares are
HTTPS and reachable only from your tailnet: never public, never plain HTTP. It
only touches the mappings it created, and refuses a port Tailscale Serve
already uses for something else, such as bb's own address.
Tailnet needs Tailscale 1.70 or newer with MagicDNS and HTTPS certificates
turned on. To reach bb itself over Tailscale, use bb's official Tailscale
plugin. Run bb tailnet unexpose --all before you uninstall Tailnet.
More from gtramontina
More in Environments & Cloud 22
Create and manage where threads run, locally or in the cloud.


