If you're going to store the heat, then you might as well reexpand the cooled compressed gas, recovering some of the energy of compression and cooling it further, and also store that "cold". You can then recover the stored energy by exploiting the hot/cold temperature difference between the two thermal stores. Doing this is functionally equivalent to adiabatic CAS, but doesn't require storage of any compressed gas.