A plugin agent that automatically generates high-quality test cases for code changes and new features