28 instantiations of DetectionRule
aspire (28)
Telemetry\CodingAgentDetector.cs (28)
17new("cowork", ["CLAUDE_CODE_IS_COWORK"]), 18new("claude", ["CLAUDECODE", "CLAUDE_CODE", "CLAUDE_CODE_ENTRYPOINT"]), 19new("cursor", ["CURSOR_EDITOR", "CURSOR_AI", "CURSOR_TRACE_ID", "CURSOR_AGENT"]), 20new("gemini", ["GEMINI_CLI"]), 22new("copilot-cli", ["COPILOT_CLI", "GITHUB_COPILOT_CLI_MODE", "GH_COPILOT_WORKING_DIRECTORY", "COPILOT_MODEL", "COPILOT_ALLOW_ALL", "COPILOT_GITHUB_TOKEN"]), 25new("copilot-app", ["AI_AGENT"], "github_copilot_app_agent"), 28new("copilot-vscode", ["AI_AGENT"], "github_copilot_vscode_agent"), 29new("copilot-vscode", ["COPILOT_AGENT"]), 30new("codex", ["CODEX_CLI", "CODEX_SANDBOX", "CODEX_CI", "CODEX_THREAD_ID"]), 31new("aider", ["OR_APP_NAME"], "Aider"), 32new("plandex", ["OR_APP_NAME"], "plandex"), 33new("amp", ["AMP_HOME"]), 34new("qwen", ["QWEN_CODE"]), 35new("droid", ["DROID_CLI"]), 36new("opencode", ["OPENCODE_AI"]), 37new("opencode", ["OPENCODE"], "1"), 38new("opencode", ["OPENCODE_PID"], allowEmptyValue: true), 39new("zed", ["ZED_ENVIRONMENT", "ZED_TERM"]), 40new("kimi", ["KIMI_CLI"]), 41new("openhands", ["OR_APP_NAME"], "OpenHands"), 42new("goose", ["GOOSE_TERMINAL", "GOOSE_PROVIDER"]), 43new("cline", ["CLINE_TASK_ID"]), 44new("roo", ["ROO_CODE_TASK_ID"]), 45new("windsurf", ["WINDSURF_SESSION"]), 46new("replit", ["REPL_ID"]), 47new("augment", ["AUGMENT_AGENT"]), 48new("antigravity", ["ANTIGRAVITY_AGENT"]), 49new("generic_agent", ["AGENT_CLI"])
2 references to DetectionRule
aspire (2)
Telemetry\CodingAgentDetector.cs (2)
15private static readonly DetectionRule[] s_detectionRules = 60foreach (var rule in s_detectionRules)