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