The most likely meaning of "compassionately" is the following one:
with understanding.
Explanation:
"Compassion" has a lot to do with "empathy" and "sympathy", that is, being able to put yourself in one's shoes and understand their problems and behavior. Therefore, if you act compassionately, you act with understanding, which means the way you act is both empathetic and sympathetic.