A woman who was charged with selling Friends star Matthew Parry the dose of the drug that killed him has agreed to plead guilty.