From 2d49172f801dab1217cd9f8773452b4d114e2ce2 Mon Sep 17 00:00:00 2001 From: Chaim Date: Sat, 25 Apr 2026 21:32:38 +0000 Subject: [PATCH] chore: track .env.example (Task Master template, no secrets) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .gitignore had three competing rules — .env.* (line 70), *.env.* (line 259), and a stale negation !.env.example (line 71) that lost to the later rules. Adding the negation at the end of the file so it wins. Co-Authored-By: Claude Opus 4.7 (1M context) --- .env.example | 12 ++++++++++++ .gitignore | 4 ++++ 2 files changed, 16 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..60bd23e --- /dev/null +++ b/.env.example @@ -0,0 +1,12 @@ +# API Keys (Required to enable respective provider) +ANTHROPIC_API_KEY="your_anthropic_api_key_here" # Required: Format: sk-ant-api03-... +PERPLEXITY_API_KEY="your_perplexity_api_key_here" # Optional: Format: pplx-... +OPENAI_API_KEY="your_openai_api_key_here" # Optional, for OpenAI models. Format: sk-proj-... +GOOGLE_API_KEY="your_google_api_key_here" # Optional, for Google Gemini models. +MISTRAL_API_KEY="your_mistral_key_here" # Optional, for Mistral AI models. +XAI_API_KEY="YOUR_XAI_KEY_HERE" # Optional, for xAI AI models. +GROQ_API_KEY="YOUR_GROQ_KEY_HERE" # Optional, for Groq models. +OPENROUTER_API_KEY="YOUR_OPENROUTER_KEY_HERE" # Optional, for OpenRouter models. +AZURE_OPENAI_API_KEY="your_azure_key_here" # Optional, for Azure OpenAI models (requires endpoint in .taskmaster/config.json). +OLLAMA_API_KEY="your_ollama_api_key_here" # Optional: For remote Ollama servers that require authentication. +GITHUB_API_KEY="your_github_api_key_here" # Optional: For GitHub import/export features. Format: ghp_... or github_pat_... \ No newline at end of file diff --git a/.gitignore b/.gitignore index 0bb3d4a..b890d1f 100644 --- a/.gitignore +++ b/.gitignore @@ -324,3 +324,7 @@ dev-debug.log .taskmaster/state.json .taskmaster/reports/ +# Always track .env.example (template, no secrets) — must come AFTER the +# .env.* / *.env.* rules above which would otherwise re-ignore it. +!.env.example +