Beat butter with brown and granulated sugar until light and fluffy, then mix in eggs and vanilla until smooth.
Whisk flour, baking soda, baking powder, salt, cinnamon, and cornstarch in a separate bowl.
Mix dry ingredients into the butter mixture just until combined, folding in any add ins if using.
Cover and chill the dough for at least 30 minutes.
Chop and chill caramels, softening with a little cream if needed.
Preheat oven to 350°F, fill dough portions with caramel, seal, roll, and place on lined baking sheets.
Bake for 10 to 12 minutes until edges are lightly golden and centers stay soft.
Cool briefly, transfer to a rack, and sprinkle with sea salt while warm.