very nice game
Mini against Chesspartner
It may have been better if the question was rephrased however the question is valid. I, as black, would have tried to find an opportunity to stop the King side attack. ...h6 or ...h5 may have produced a different game. Although weakening the King side. Without looking again at the game there was a possible Bishop exchange around move 8 so I was considering whether black (the computer) would have been better served to play ....h5 as soon as possible after white's 8.h4.

The chess moves were manually written down because Chesspartner doesn't score the game (ugh).
In the Caro-kann you do want to attend to the h-pawn by White. If white gets too far, he can break things up to great effect.

here's another sample of letting the h-pawn run.
http://www.chess.com/forum/view/game-showcase/my-little-chessvictim
good times, good times
Here's a game I played yesterday against Chesspartner on Hard.