I don't know much about frogs, but I have lizards that venture into my grow tents and I just leave them to it, they take out other bugs I don't want . Same with spiders. I don't mind them, they catch gnats flying around
It was probably hiding out in your soil. But they generally dig down into soil during the fall to hunker down for winter
Or it may have hitched a ride on you from outside somewhere.
I kept one as a pet for a couple of years that did that.
Frogs are cool.