Was there a period of time prior to her leaving and finding out that the two of you spoke about this at all?
She most likely is feeling confused, betrayed and angry as a result of which she's left now?
If she still loves you, there may be a way to work on this together.
She may be waiting for an apology, a plan for you to tell her what the next steps would be i.e. marital counseling, talking about this together honestly, giving her some time (not necessarily 6 mo) to sort out her feelings, you letting her know how you'd work on yourself (what had led to this texting situation in the first place ex. you felt bored within the marriage, you felt needed by your ex, you acted w/o thinking about the outcome, etc)
Her decision is quite rash it seems and after some time, she may be able to talk about this situation objectively. It would be important for her that you own your own part in this w/o her feeling blamed for what had led you to seek your ex out.
She has to regain her trust of you and sense of self worth. This most likely had affected her self esteem as a woman and a wife. Mainly, she would want to see some kind of change on your part about how you're acting hence forth.
Feel free to reply.