Just like a house install where code requires an inspection for proper clearances. Proper roof
termination and back wall heat protection. When we were young we were at a friends parents cottage using a wood burning stove that didn't have the proper wall shielding. We smelled something so started looking around and the attic had a lot of smoke in it. The paneling wasn't burning on the interior side but it was so hot in the wall cavity that it was smoking. We ripped it apart and put it out just in time.
When I built my house I remember it had a special class of pipe which I believe was triple wall with stainless liner? Pricey but house hasn't burned down. I'd be doing the same thing as you if staying long term in very cold weather. I was caught in a cold snap in Colorado in a FW and burned 30 pounds of propane a day plus electric.