13 references to AnyPresentEnvironmentRule
dotnet (12)
Telemetry\LLMEnvironmentDetectorForTelemetry.cs (12)
13
new EnvironmentDetectionRuleWithResult<string>("claude", new
AnyPresentEnvironmentRule
("CLAUDECODE", "CLAUDE_CODE_ENTRYPOINT")),
15
new EnvironmentDetectionRuleWithResult<string>("cursor", new
AnyPresentEnvironmentRule
("CURSOR_EDITOR", "CURSOR_AI")),
21
new
AnyPresentEnvironmentRule
("GH_COPILOT_WORKING_DIRECTORY", "COPILOT_CLI"))),
23
new EnvironmentDetectionRuleWithResult<string>("codex", new
AnyPresentEnvironmentRule
("CODEX_CLI", "CODEX_SANDBOX")),
29
new EnvironmentDetectionRuleWithResult<string>("amp", new
AnyPresentEnvironmentRule
("AMP_HOME")),
31
new EnvironmentDetectionRuleWithResult<string>("qwen", new
AnyPresentEnvironmentRule
("QWEN_CODE")),
35
new EnvironmentDetectionRuleWithResult<string>("opencode", new
AnyPresentEnvironmentRule
("OPENCODE_AI")),
37
new EnvironmentDetectionRuleWithResult<string>("zed", new
AnyPresentEnvironmentRule
("ZED_ENVIRONMENT", "ZED_TERM")),
43
new EnvironmentDetectionRuleWithResult<string>("goose", new
AnyPresentEnvironmentRule
("GOOSE_TERMINAL")),
45
new EnvironmentDetectionRuleWithResult<string>("cline", new
AnyPresentEnvironmentRule
("CLINE_TASK_ID")),
47
new EnvironmentDetectionRuleWithResult<string>("roo", new
AnyPresentEnvironmentRule
("ROO_CODE_TASK_ID")),
49
new EnvironmentDetectionRuleWithResult<string>("windsurf", new
AnyPresentEnvironmentRule
("WINDSURF_SESSION")),
Microsoft.DotNet.Cli.Definitions (1)
Telemetry\CIEnvironmentDetectorForTelemetry.cs (1)
35
new
AnyPresentEnvironmentRule
(