macro_rules! feature_consts {
($($feature:literal => $ident:ident),* $(,)?) => {
$(pub const $ident: bool = cfg!(feature = $feature);)*
};
}
feature_consts! {
"claude" => CLAUDE,
"codex" => CODEX,
"opencode" => OPENCODE,
"gemini" => GEMINI,
"cursor" => CURSOR,
"cline" => CLINE,
"devin" => DEVIN,
"qwen-code" => QWEN_CODE,
"copilot-cli" => COPILOT_CLI,
"vscode-copilot" => VSCODE_COPILOT,
"jetbrains-copilot" => JETBRAINS_COPILOT,
"kimi" => KIMI,
"kiro" => KIRO,
"zed" => ZED,
"omp" => OMP,
"openclaw" => OPENCLAW,
"kilo" => KILO,
"antigravity" => ANTIGRAVITY,
"antigravity-cli" => ANTIGRAVITY_CLI,
"pi" => PI,
"goose" => GOOSE,
"amp" => AMP,
"crush" => CRUSH,
"droid" => DROID,
"augment" => AUGMENT,
}