Renewable energy and energy storage are essential technologies for decarbonizing energy systems. Expansion planning of the two technologies considering source-side carbon responsibility has been well studied. However, expansion planning considering both source-side and load-side carbon responsibility, which may simultaneously stimulate the carbon reduction potential of source and load, has been rarely studied. To fill this research gap, this paper proposes a bi-layer wind turbine generator (WTG) and demand-side battery (DSB) coordinated planning framework considering wind power and load uncertainties. Moreover, a novel source-load bilateral carbon trading (BCT) mechanism based on the Aumann-Shapley method is proposed to stimulate the WTG and DSB configuration. In the bi-layer planning framework with BCT mechanism, WTG and DSB capacity planning with the two-stage stochastic optimization are conducted in the upper and lower layer, respectively. Finally, test results on a modified IEEE 24-bus system demonstrate that the proposed framework with BCT mechanism can effectively motivate the planning configuration of WTG and DSB and carbon mitigation. Compared with the models with unilateral carbon trading mechanisms, the proposed model has advantages in stimulating configuration of WTG and DSB, reducing carbon emissions, and balancing source-load economic burden from carbon trading.