hedgequantx 2.7.80 → 2.7.81
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -373,11 +373,14 @@ const ensureRunning = async (onProgress = null) => {
|
|
|
373
373
|
* @returns {Promise<Object>} { success, url, childProcess, isHeadless, error }
|
|
374
374
|
*/
|
|
375
375
|
const getLoginUrl = async (provider) => {
|
|
376
|
+
// CLIProxyAPI login flags per provider (from --help)
|
|
376
377
|
const providerFlags = {
|
|
377
|
-
anthropic: '-claude-login',
|
|
378
|
-
openai: '-codex-login',
|
|
379
|
-
google: '-
|
|
380
|
-
qwen: '-qwen-login'
|
|
378
|
+
anthropic: '-claude-login', // Claude Code
|
|
379
|
+
openai: '-codex-login', // OpenAI Codex
|
|
380
|
+
google: '-login', // Gemini CLI (Google Account)
|
|
381
|
+
qwen: '-qwen-login', // Qwen Code
|
|
382
|
+
antigravity: '-antigravity-login', // Antigravity
|
|
383
|
+
iflow: '-iflow-login' // iFlow
|
|
381
384
|
};
|
|
382
385
|
|
|
383
386
|
const flag = providerFlags[provider];
|