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