26 instantiations of DetectionRule
aspire (26)
Telemetry\CodingAgentDetector.cs (26)
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("zed", ["ZED_ENVIRONMENT", "ZED_TERM"]), 38new("kimi", ["KIMI_CLI"]), 39new("openhands", ["OR_APP_NAME"], "OpenHands"), 40new("goose", ["GOOSE_TERMINAL", "GOOSE_PROVIDER"]), 41new("cline", ["CLINE_TASK_ID"]), 42new("roo", ["ROO_CODE_TASK_ID"]), 43new("windsurf", ["WINDSURF_SESSION"]), 44new("replit", ["REPL_ID"]), 45new("augment", ["AUGMENT_AGENT"]), 46new("antigravity", ["ANTIGRAVITY_AGENT"]), 47new("generic_agent", ["AGENT_CLI"])
2 references to DetectionRule
aspire (2)
Telemetry\CodingAgentDetector.cs (2)
15private static readonly DetectionRule[] s_detectionRules = 58foreach (var rule in s_detectionRules)