From 365a62e64e315ee135baa6a75c64e4b739c014b4 Mon Sep 17 00:00:00 2001 From: Rob E Date: Thu, 14 May 2026 14:05:58 +1000 Subject: [PATCH] Add ClaudeCode environment variable support --- pkg/services/api/automation_environment_provider.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/services/api/automation_environment_provider.go b/pkg/services/api/automation_environment_provider.go index ed5338a3..1b7fcec3 100644 --- a/pkg/services/api/automation_environment_provider.go +++ b/pkg/services/api/automation_environment_provider.go @@ -17,6 +17,9 @@ var knownEnvironments = map[string][]string{ // https://docs.microsoft.com/en-us/azure/devops/pipelines/build/variables "AzureDevOps": {"TF_BUILD", "BUILD_BUILDID", "AGENT_WORKFOLDER"}, + // https://code.claude.com/docs/en/env-vars + "ClaudeCode": {"CLAUDECODE"}, + // https://confluence.atlassian.com/bamboo/bamboo-variables-289277087.html "Bamboo": {"bamboo_agentId"}, "AppVeyor": {"APPVEYOR"},