Make the caramel (if using soft caramels): In a small saucepan, warm 20–24 unwrapped soft caramels with 1–2 tablespoons heavy cream over low heat.
Stir until smooth and thick, then cool to room temperature. If using a thick caramel sauce or dulce de leche, set it aside.
Mix the cheesecake filling: In a medium bowl, beat 6 ounces cream cheese with 2 tablespoons granulated sugar and 1/2 teaspoon vanilla until smooth. Chill for 15–20 minutes to firm up slightly.
Cream the butter and sugars: In a large bowl, beat 1/2 cup unsalted butter with 1/2 cup granulated sugar and 1/2 cup light brown sugar until light and fluffy, about 2–3 minutes.
Add the egg and vanilla: Beat in 1 large egg and 1 teaspoon vanilla extract until combined.
Scrape down the bowl.
Whisk dry ingredients: In a separate bowl, whisk 1 3/4 cups all-purpose flour, 1 tablespoon cornstarch, 1/2 teaspoon baking powder, and 1/2 teaspoon fine salt.
Combine: Add dry ingredients to the butter mixture and mix on low until just combined. Do not overmix. The dough should be soft but not sticky.
Chill briefly: Cover the bowl and chill the dough for 20–30 minutes.
This helps control spread and makes shaping easier.
Preheat and prep: Heat oven to 350°F (175°C). Line two baking sheets with parchment paper.
Shape the cookies: Scoop dough into 2-tablespoon portions. Roll into balls, then use your thumb or the back of a teaspoon to make a deep well in the center of each ball.
Fill with cheesecake: Spoon about 1 teaspoon of the chilled cheesecake mixture into each well.
Top with 1 teaspoon of caramel or drizzle a bit over the cheesecake center.
Seal or swirl: For a stuffed cookie, pinch a thin layer of dough over the top to enclose the filling, then gently roll to smooth. For open-face cookies, leave the filling exposed and swirl the caramel slightly with a toothpick.
Bake: Arrange 2 inches apart on the baking sheet. Bake 10–12 minutes, until edges are set and just lightly golden.
The centers should look slightly soft.
Finish: Sprinkle with a pinch of flaky sea salt if you like. Cool on the sheet for 10 minutes, then transfer to a rack. The centers will set as they cool.
Serve: Enjoy slightly warm for gooey centers, or at room temperature for a thicker cheesecake texture.