Thanks, everyone!
Court went very well. My attorney approached his attorney with our offer, and they accepted. Went in front of the judge, answered a bunch of questions, and the judge approved everything.
Whew.
Now I just need to appear in court for the criminal charges and talk to the prosecutor and judge to ask them to dismiss the charges. That was part of my agreement in exchange for getting what I wanted - which is a psych eval, supervised visitation until we get the recommendation as a result of the psych eval, communication with me limited to only about our daughter and parenting time, and no entering my house, pickups and dropoffs to be curbside only. He agreed to all of it.
I am so relieved....yet feeling so sad for him at the same time. I never wanted any of this to happen, but I know it needs to - for our daughter's sake....and hopefully, it will help him in the long run, forcing him to get the help that he needs in order to be healthy.
I'd imagine that many people walk into court for restraining orders and criminal charges with such anger and wanting justice....I didn't feel any of that. Just sadness about it all....and, of course, the anxiety of not knowing what was going to happen.
Thanks so much, everyone, for your support.