clawmoney 0.17.4 → 0.17.5
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.
|
@@ -275,13 +275,16 @@ export async function relaySetupCommand() {
|
|
|
275
275
|
if (available.length > 0) {
|
|
276
276
|
log.success(`Found: ${chalk.bold(available.map((d) => d.cli).join(", "))}`);
|
|
277
277
|
if (hasMissing) {
|
|
278
|
-
log.message(chalk.dim("(ClawMoney supports claude, codex, gemini,
|
|
278
|
+
log.message(chalk.dim("(ClawMoney supports claude, codex, gemini, antigravity, " +
|
|
279
|
+
"zai / moonshot / kimi-coding / qwen-coding / openai (static-key), " +
|
|
280
|
+
"and minimax (OAuth or static-key) — only these were detected on this machine)"));
|
|
279
281
|
}
|
|
280
282
|
}
|
|
281
283
|
if (available.length === 0) {
|
|
282
284
|
log.error("No supported CLI clients found locally. Install at least one of: " +
|
|
283
285
|
chalk.cyan("claude, codex, gemini") +
|
|
284
|
-
" — or run `clawmoney antigravity login` to link a Google account
|
|
286
|
+
" — or run `clawmoney antigravity login` to link a Google account, " +
|
|
287
|
+
"or `openclaw onboard` to link any supported subscription.");
|
|
285
288
|
cancel("Setup aborted");
|
|
286
289
|
process.exit(1);
|
|
287
290
|
}
|
|
@@ -353,8 +353,13 @@ async function warmupLoadCodeAssist(projectId, accessToken, userAgent, xGoogApiC
|
|
|
353
353
|
export async function preflightGeminiApi(config) {
|
|
354
354
|
configureDispatcher();
|
|
355
355
|
configureGeminiRateGuard(config);
|
|
356
|
-
|
|
356
|
+
// Auth first: a missing credential is a higher-priority, more actionable
|
|
357
|
+
// failure than a missing fingerprint. Openclaw-only providers see the
|
|
358
|
+
// right "run `openclaw onboard --auth-choice google-personal-oauth`"
|
|
359
|
+
// hint from loadGeminiOAuth() instead of a misleading "capture the
|
|
360
|
+
// fingerprint first" error.
|
|
357
361
|
const creds = await getFreshCreds();
|
|
362
|
+
const fingerprint = loadFingerprint();
|
|
358
363
|
logger.info(`[gemini-api] preflight OK (project=${cachedFingerprint?.project_id ?? "?"}, ` +
|
|
359
364
|
`ua=${cachedFingerprint?.user_agent ?? "?"})`);
|
|
360
365
|
// Warmup call — mirror real CLI startup before the first user prompt.
|