@Erin298 there isn't enough information in your description to know how the space would be treated under the STR rules in San Francisco. If the space is a separately rentable unit, then they might consider it *not* to be part of your residence, which would mean you could not rent it at all.
If the space *is* part of your residence, then as long as you are home when the guests are, you can rent it all you want.
I have heard of cases going either way, and it really can come down to very minor details about how the space integrates with the rest of your residence.