Deploying OSDK app with Marketplace - TypeScript variable templates

Hi

I’m trying to deploy an OSDK app from one Space to another and I want to parameterize variables in the TS code to be specified during install.

I see there is an experimental feature: https://www.palantir.com/docs/foundry/announcements/2025-02#bootstrap-development-with-typescript-osdk-templates

Where you can simply wrap your variables with double handlebars, and then you’ll be asked to provide the variable value on Marketplace install.

The example in the docs is like this:
{{FOUNDRY_HOSTNAME}}="yourdomain.palantirfoundry.com" // .env files, .npmrc, foundry.config.json {{APPLICATION_CLIENT_ID}}="1564cead075af0e23eb1799ac0f6381f" // .env files {{APPLICATION_PACKAGE_NAME}}="osdk-sample-app-20" // package.json and any code file which references the package {{APPLICATION_RID}}="ri.third-party-applications.main.application.7ebc94b7-bad3-45a9-a063-d7fc0ccd2873" // foundry.config.json {{REPOSITORY_RID}}="ri.stemma.main.repository.35d25ea4-973d-4112-a7d3-04c31efa1875" // .npmrc setting.sh

However on install it does not replace the value but the variable with the specified Marketplace parameter.

So instead of:

{{APPLICATION_CLIENT_ID}}="1564cead075af0e23eb1799ac0f6381f"

becoming

{{APPLICATION_CLIENT_ID}}="newclientid-as-specified-on-mp-install"

it becomes:

{{newclientid-as-specified-on-mp-install}}="1564cead075af0e23eb1799ac0f6381f"

Am I doing something wrong here?

Best,

Ivar