22 instantiations of AnyPresentEnvironmentRule
dotnet-aot (21)
parent\dotnet\Telemetry\LLMEnvironmentDetectorForTelemetry.cs (21)
31new EnvironmentDetectionRuleWithResult<string>("cowork", new AnyPresentEnvironmentRule(getEnvironmentVariable, "CLAUDE_CODE_IS_COWORK")), 33new EnvironmentDetectionRuleWithResult<string>("claude", new AnyPresentEnvironmentRule(getEnvironmentVariable, "CLAUDECODE", "CLAUDE_CODE", "CLAUDE_CODE_ENTRYPOINT")), 35new EnvironmentDetectionRuleWithResult<string>("cursor", new AnyPresentEnvironmentRule(getEnvironmentVariable, "CURSOR_EDITOR", "CURSOR_AI", "CURSOR_TRACE_ID", "CURSOR_AGENT")), 37new EnvironmentDetectionRuleWithResult<string>("gemini", new AnyPresentEnvironmentRule(getEnvironmentVariable, "GEMINI_CLI")), 39new EnvironmentDetectionRuleWithResult<string>("copilot-cli", new AnyPresentEnvironmentRule( 48new AnyPresentEnvironmentRule(getEnvironmentVariable, "COPILOT_AGENT"))), 50new EnvironmentDetectionRuleWithResult<string>("codex", new AnyPresentEnvironmentRule(getEnvironmentVariable, "CODEX_CLI", "CODEX_SANDBOX", "CODEX_CI", "CODEX_THREAD_ID")), 56new EnvironmentDetectionRuleWithResult<string>("amp", new AnyPresentEnvironmentRule(getEnvironmentVariable, "AMP_HOME")), 58new EnvironmentDetectionRuleWithResult<string>("qwen", new AnyPresentEnvironmentRule(getEnvironmentVariable, "QWEN_CODE")), 60new EnvironmentDetectionRuleWithResult<string>("droid", new AnyPresentEnvironmentRule(getEnvironmentVariable, "DROID_CLI")), 62new EnvironmentDetectionRuleWithResult<string>("opencode", new AnyPresentEnvironmentRule(getEnvironmentVariable, "OPENCODE_AI")), 64new EnvironmentDetectionRuleWithResult<string>("zed", new AnyPresentEnvironmentRule(getEnvironmentVariable, "ZED_ENVIRONMENT", "ZED_TERM")), 66new EnvironmentDetectionRuleWithResult<string>("kimi", new AnyPresentEnvironmentRule(getEnvironmentVariable, "KIMI_CLI")), 70new EnvironmentDetectionRuleWithResult<string>("goose", new AnyPresentEnvironmentRule(getEnvironmentVariable, "GOOSE_TERMINAL", "GOOSE_PROVIDER")), 72new EnvironmentDetectionRuleWithResult<string>("cline", new AnyPresentEnvironmentRule(getEnvironmentVariable, "CLINE_TASK_ID")), 74new EnvironmentDetectionRuleWithResult<string>("roo", new AnyPresentEnvironmentRule(getEnvironmentVariable, "ROO_CODE_TASK_ID")), 76new EnvironmentDetectionRuleWithResult<string>("windsurf", new AnyPresentEnvironmentRule(getEnvironmentVariable, "WINDSURF_SESSION")), 78new EnvironmentDetectionRuleWithResult<string>("replit", new AnyPresentEnvironmentRule(getEnvironmentVariable, "REPL_ID")), 80new EnvironmentDetectionRuleWithResult<string>("augment", new AnyPresentEnvironmentRule(getEnvironmentVariable, "AUGMENT_AGENT")), 82new EnvironmentDetectionRuleWithResult<string>("antigravity", new AnyPresentEnvironmentRule(getEnvironmentVariable, "ANTIGRAVITY_AGENT")), 84new EnvironmentDetectionRuleWithResult<string>("generic_agent", new AnyPresentEnvironmentRule(getEnvironmentVariable, "AGENT_CLI")),
Microsoft.DotNet.Cli.Definitions (1)
Telemetry\CIEnvironmentDetectorForTelemetry.cs (1)
35new AnyPresentEnvironmentRule(