Preheat oven to 350°F (175°C). Line an 8×8-inch pan with parchment paper and lightly grease.
In a mixing bowl, combine the cookie dough, egg, peanut butter, flour, vanilla, and salt. Mix until the dough becomes a smooth, thick batter.
Press half the batter evenly into the prepared pan.
Top with one pack of Bequet caramels, evenly spaced or gently pressed in.
Spread remaining batter over the caramels, smoothing the top.
Bake for 25 minutes, then remove and top with the remaining caramels.
Return to oven for another 10 minutes, until the edges are golden and the center looks set but still soft.
Cool completely in the pan before slicing into squares.