I think a Deus Ex Machina is fine for a mid-point scene, rather than a story climax. And she’s a member of their team.