tool for detachable ptys with optional tailscale discovery