Set boundaries, do not leave the house. Work on yourself, stick to DB. Detach and GAL. Keep reading and posting. You have TIME. Get some lawyer´s advice, keep your info to yourself, don´t snoop anymore, you have the answers you need.
Be there for your children and move forward. And yep...you need to sleep, you need to ease your mind. You are the owner of your destiny man.
I was a WW husband sometime ago. I managed to get back home. But I needed to get back the respect for my wife before I was able to think clear. Affair fog was everywhere. Stand there, set boundaries. Your W is free to go if she wants but she can´t be into a cake eating party if she stays. And you wait fo no one man, that´s a passive attitude.