From 9befa7b427298c95d0c1018c217d86a82d9ed4d3 Mon Sep 17 00:00:00 2001 From: Brian Love Date: Mon, 25 May 2026 09:10:18 -0700 Subject: [PATCH] docs: align licensing env-var name on THREADPLANE_LICENSE The chat README and the new /docs/chat/getting-started/installation page use THREADPLANE_LICENSE. The older /docs/licensing/guides/setup.mdx and ci-and-offline.mdx were still using NGAF_LICENSE. Aligning on a single name across all docs. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/website/content/docs/licensing/guides/ci-and-offline.mdx | 4 ++-- apps/website/content/docs/licensing/guides/setup.mdx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/website/content/docs/licensing/guides/ci-and-offline.mdx b/apps/website/content/docs/licensing/guides/ci-and-offline.mdx index a237a08fd..0b528365d 100644 --- a/apps/website/content/docs/licensing/guides/ci-and-offline.mdx +++ b/apps/website/content/docs/licensing/guides/ci-and-offline.mdx @@ -9,13 +9,13 @@ No network call is needed to know whether a token is signed correctly. For CI builds, treat the license token like any other secret: ```bash -NGAF_LICENSE=... npm test +THREADPLANE_LICENSE=... npm test ``` Then pass it through `provideChat()`. ```ts -provideChat({ license: process.env['NGAF_LICENSE'] }); +provideChat({ license: process.env['THREADPLANE_LICENSE'] }); ``` If you call `runLicenseCheck()` directly, inject the current time only when you need deterministic tests: diff --git a/apps/website/content/docs/licensing/guides/setup.mdx b/apps/website/content/docs/licensing/guides/setup.mdx index 432aa7afc..dac281b52 100644 --- a/apps/website/content/docs/licensing/guides/setup.mdx +++ b/apps/website/content/docs/licensing/guides/setup.mdx @@ -23,7 +23,7 @@ import { const status = await runLicenseCheck({ package: '@ngaf/example', - token: process.env.NGAF_LICENSE, + token: process.env.THREADPLANE_LICENSE, publicKey: LICENSE_PUBLIC_KEY, isNoncommercial: inferNoncommercial(), });