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