What determines how much of each good and service should be supplied in capitalist theory?

The invisible hand of the market
Central planners coordinating with the government
The unions and guilds
Elected leaders setting quotas