Just before I left for home she said that she didn't want to see me again until I had a plan for not saying hurtful things and "improving my communication".
...
We've been here before. She's said that she doesn't want to see me until I start making changes. Then she'll invite herself over to spend time together. So I'm trying to figure out a good response to this request.
...
She's probably going to want to spend time anyway but I feel bad that I don't have a good response for her.
In a "generally normal" relationship, partners might remember when one partner says something that hard-hitting ("you need to improve your communication and have a plan to stop being hurtful"), and then follow up on it in a verbal conversation where clarity and consensus are reached. And they might wait to spend time together, until after having that kind of conversation.
It doesn't sound like you're in a "generally normal" relationship. Verbal followup and conversations to gain clarity and responding to the literal words seem to make things worse.
I guess I'm wondering why you have to have a good response for her, if it won't help?
I wonder if you can focus on "doing" the relationship instead of "talking about the relationship" -- yes, OK, it would be better if she could have coherence between what she says and what she does, but it looks like despite what she's saying, she does choose to spend time with you. Is there a downside to not engaging with the wild stuff she says, and focusing on when you do spend time together, cultivating neutral to positive experiences?
The only exception I can think of is during the physical times you spend together, if she on her own brings up what she had said ("remember how I told you you needed to do XYZ"), consider finding a way to validate that that's important to her and that you'll talk about it with the T/encourage her to bring it up with the T/follow the plan or HW the T has for you in that area, etc. Something to say "Yes, AND" to her, maybe.