tailscale
tailscale
The tailscale worker drives the installed tailscale CLI on the Console host
and exposes its whole surface as typed functions, plus a Console page. Every
function returns structured data with keys, secrets, and capability maps
stripped; every command that changes network reachability or node behaviour
is approval-gated. Requires Tailscale installed on the host; most functions
also need the node signed in and connected.
Publishing has two visibilities. Serve is tailnet-only: reachable by devices
signed into this tailnet, with Tailscale identity headers on every request.
Funnel is public: reachable by anyone with the link, no identity headers,
ports 443/8443/10000 only, and it needs allow_funnel in the worker
configuration plus confirm_public on the request. Stopping a Funnel route
removes public access and keeps the tailnet route; stopping a Serve route
removes it entirely. The worker never runs serve reset or funnel reset
unless serve::reset is called with confirm=true.