clawmoney 0.15.52 → 0.15.53
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/dist/commands/relay-setup.js +16 -28
- package/package.json +1 -1
|
@@ -221,38 +221,26 @@ export async function relaySetupCommand() {
|
|
|
221
221
|
// Only claude is wired up for now; codex/gemini will follow the
|
|
222
222
|
// same pattern.
|
|
223
223
|
if (selectedClis.includes("claude") && !hasClaudeFingerprint()) {
|
|
224
|
-
//
|
|
225
|
-
//
|
|
226
|
-
//
|
|
227
|
-
//
|
|
228
|
-
//
|
|
229
|
-
|
|
230
|
-
const
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
else {
|
|
235
|
-
log.step("Capturing Claude fingerprint (runs `claude -p hi` once, ~5-15s)...");
|
|
236
|
-
}
|
|
224
|
+
// Append-only progress: print the ◇ line once, then append a
|
|
225
|
+
// single "." every 600ms until the bootstrap finishes. This
|
|
226
|
+
// avoids the `\r`-based spinner that stacks frames in Jack's
|
|
227
|
+
// terminal (see earlier iteration history), while still giving
|
|
228
|
+
// visible "working…" feedback.
|
|
229
|
+
process.stdout.write(`${chalk.gray("◇")} Capturing Claude fingerprint ${chalk.dim("(runs `claude -p hi` once, ~5-15s)")}`);
|
|
230
|
+
const ticker = setInterval(() => {
|
|
231
|
+
process.stdout.write(chalk.dim("."));
|
|
232
|
+
}, 600);
|
|
237
233
|
try {
|
|
238
234
|
const fp = await bootstrapClaudeFingerprint({ timeoutMs: 45_000 });
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
}
|
|
244
|
-
else {
|
|
245
|
-
log.success(successMsg);
|
|
246
|
-
}
|
|
235
|
+
clearInterval(ticker);
|
|
236
|
+
process.stdout.write("\n");
|
|
237
|
+
log.success(`Claude fingerprint captured ` +
|
|
238
|
+
chalk.dim(`(device=${fp.device_id.slice(0, 8)}… cc_version=${fp.cc_version || "?"})`));
|
|
247
239
|
}
|
|
248
240
|
catch (err) {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
}
|
|
253
|
-
else {
|
|
254
|
-
log.warn(errMsg);
|
|
255
|
-
}
|
|
241
|
+
clearInterval(ticker);
|
|
242
|
+
process.stdout.write("\n");
|
|
243
|
+
log.warn(`Claude fingerprint capture failed: ${err.message}`);
|
|
256
244
|
log.message(chalk.dim("Claude providers will be registered but the daemon won't be able " +
|
|
257
245
|
"to serve them until you bootstrap the fingerprint. " +
|
|
258
246
|
"Make sure `claude` is installed and logged in, then re-run setup."));
|