From 6c487a1bd918538d7037622df8dd9fbf0b8a7186 Mon Sep 17 00:00:00 2001 From: Matt Vollmer Date: Fri, 17 Oct 2025 12:01:17 -0400 Subject: [PATCH] Update environment variable examples in templates Replace EXTERNAL_SERVICE_API_KEY with three specific API key examples: - ANTHROPIC_API_KEY - OPEN_AI_KEY - AI_GATEWAY_API_KEY This provides clearer guidance for users on which API keys they might need. --- packages/blink/src/cli/init-templates/index.ts | 6 +++--- .../src/cli/init-templates/scratch/_noignore.env.local | 4 +++- .../src/cli/init-templates/scratch/_noignore.env.production | 4 +++- .../cli/init-templates/slack-bot/_noignore.env.production | 4 +++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/packages/blink/src/cli/init-templates/index.ts b/packages/blink/src/cli/init-templates/index.ts index cf0f88f..c172588 100644 --- a/packages/blink/src/cli/init-templates/index.ts +++ b/packages/blink/src/cli/init-templates/index.ts @@ -4,9 +4,9 @@ export const templates = { scratch: { ".env.local": - "\n# Store local environment variables here.\n# They will be used by blink dev for development.\n# EXTERNAL_SERVICE_API_KEY=\n", + "\n# Store local environment variables here.\n# They will be used by blink dev for development.\n# ANTHROPIC_API_KEY=\n# OPEN_AI_KEY=\n# AI_GATEWAY_API_KEY=\n", ".env.production": - "# Store production environment variables here.\n# They will be upserted as secrets on blink deploy.\n# EXTERNAL_SERVICE_API_KEY=\n", + "# Store production environment variables here.\n# They will be upserted as secrets on blink deploy.\n# ANTHROPIC_API_KEY=\n# OPEN_AI_KEY=\n# AI_GATEWAY_API_KEY=\n", ".gitignore": "# dependencies\nnode_modules\n\n# config and build\n.blink\n\n# dotenv environment variables file\n.env\n.env.*\n\n# Finder (MacOS) folder config\n.DS_Store\n", "AGENTS.md": @@ -22,7 +22,7 @@ export const templates = { ".env.local": "\n# Store local environment variables here.\n# They will be used by blink dev for development.\nSLACK_BOT_TOKEN=xoxb-your-token-here\nSLACK_SIGNING_SECRET=your-signing-secret-here\n", ".env.production": - "# Store production environment variables here.\n# They will be upserted as secrets on blink deploy.\n# EXTERNAL_SERVICE_API_KEY=\n", + "# Store production environment variables here.\n# They will be upserted as secrets on blink deploy.\n# ANTHROPIC_API_KEY=\n# OPEN_AI_KEY=\n# AI_GATEWAY_API_KEY=\n", ".gitignore": "# dependencies\nnode_modules\n\n# config and build\n.blink\n\n# dotenv environment variables file\n.env\n.env.*\n\n# Finder (MacOS) folder config\n.DS_Store\n", "AGENTS.md": diff --git a/packages/blink/src/cli/init-templates/scratch/_noignore.env.local b/packages/blink/src/cli/init-templates/scratch/_noignore.env.local index 5c610a6..435fc92 100644 --- a/packages/blink/src/cli/init-templates/scratch/_noignore.env.local +++ b/packages/blink/src/cli/init-templates/scratch/_noignore.env.local @@ -1,4 +1,6 @@ # Store local environment variables here. # They will be used by blink dev for development. -# EXTERNAL_SERVICE_API_KEY= +# ANTHROPIC_API_KEY= +# OPEN_AI_KEY= +# AI_GATEWAY_API_KEY= diff --git a/packages/blink/src/cli/init-templates/scratch/_noignore.env.production b/packages/blink/src/cli/init-templates/scratch/_noignore.env.production index b823d6e..74043d2 100644 --- a/packages/blink/src/cli/init-templates/scratch/_noignore.env.production +++ b/packages/blink/src/cli/init-templates/scratch/_noignore.env.production @@ -1,3 +1,5 @@ # Store production environment variables here. # They will be upserted as secrets on blink deploy. -# EXTERNAL_SERVICE_API_KEY= +# ANTHROPIC_API_KEY= +# OPEN_AI_KEY= +# AI_GATEWAY_API_KEY= diff --git a/packages/blink/src/cli/init-templates/slack-bot/_noignore.env.production b/packages/blink/src/cli/init-templates/slack-bot/_noignore.env.production index b823d6e..74043d2 100644 --- a/packages/blink/src/cli/init-templates/slack-bot/_noignore.env.production +++ b/packages/blink/src/cli/init-templates/slack-bot/_noignore.env.production @@ -1,3 +1,5 @@ # Store production environment variables here. # They will be upserted as secrets on blink deploy. -# EXTERNAL_SERVICE_API_KEY= +# ANTHROPIC_API_KEY= +# OPEN_AI_KEY= +# AI_GATEWAY_API_KEY=