Never stop coding. Free MIT AI gateway: one endpoint, 375 providers (150+ free), 1,400+ models Kimi, Claude, GPT, Gemini, GLM, DeepSeek, MiniMax. Works with Claude Code, Codex, Cursor, OpenCode, Cline & Copilot. Quota-aware auto-fallback, RTK+Caveman compression saves 15-95% tokens, MCP/A2A, Desktop/PWA. Built by 900+ contributors
TypeScript a2aai-agentsai-gatewayanthropicclaudeclaude-codeclinecodexcopilotcursordeepseekfree-aigeminikimillm-gatewaymcpopenaiopenai-proxyqwentoken-saver
export const ANTIGRAVITY_CLIENT_PROFILE_VALUES = ["ide", "cli"] as const;
export type AntigravityClientProfile = (typeof ANTIGRAVITY_CLIENT_PROFILE_VALUES)[number];
export const DEFAULT_ANTIGRAVITY_CLIENT_PROFILE: AntigravityClientProfile = "ide";
export type AntigravityClientProfileSetting = AntigravityClientProfile;
export const ANTIGRAVITY_CLIENT_PROFILE_OPTIONS: Array<{
value: AntigravityClientProfileSetting;
labelKey: "antigravityClientProfileIde" | "antigravityClientProfileCli";
}> = [
{ value: "ide", labelKey: "antigravityClientProfileIde" },
{ value: "cli", labelKey: "antigravityClientProfileCli" },
];
export function normalizeAntigravityClientProfile(value: unknown): AntigravityClientProfile {
if (typeof value === "string") {
const normalized = value.trim().toLowerCase();
if (normalized === "ide" || normalized === "cli") {
return normalized;
}
// Read-only compatibility for values persisted before the official CLI profile
// replaced OmniRoute's synthetic harness/sdk naming. New writes are validated
// against ANTIGRAVITY_CLIENT_PROFILE_VALUES and cannot reintroduce these aliases.
if (normalized === "harness" || normalized === "sdk") {
return "cli";
}
}
return DEFAULT_ANTIGRAVITY_CLIENT_PROFILE;
}
export const normalizeAntigravityClientProfileSetting = normalizeAntigravityClientProfile;