clawmoney 0.15.63 → 0.15.64
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.
|
@@ -261,6 +261,7 @@ export async function relaySetupCommand() {
|
|
|
261
261
|
return Promise.all(tasks);
|
|
262
262
|
};
|
|
263
263
|
const registrations = [];
|
|
264
|
+
const cliSummary = [];
|
|
264
265
|
for (const cli of selectedClis) {
|
|
265
266
|
const allModels = modelsForCli(cli);
|
|
266
267
|
const recommended = (RECOMMENDED_MODELS[cli] ?? []).filter((m) => allModels.includes(m));
|
|
@@ -268,7 +269,7 @@ export async function relaySetupCommand() {
|
|
|
268
269
|
log.warn(`${cli}: no recommended models found — skipping`);
|
|
269
270
|
continue;
|
|
270
271
|
}
|
|
271
|
-
|
|
272
|
+
cliSummary.push(`${chalk.bold(cli)} ${chalk.dim(`(${recommended.length})`)}`);
|
|
272
273
|
for (const model of recommended) {
|
|
273
274
|
const p = API_PRICES[model];
|
|
274
275
|
registrations.push({
|
|
@@ -279,6 +280,9 @@ export async function relaySetupCommand() {
|
|
|
279
280
|
});
|
|
280
281
|
}
|
|
281
282
|
}
|
|
283
|
+
if (cliSummary.length > 0) {
|
|
284
|
+
log.success(`Registering: ${cliSummary.join(chalk.dim(" · "))}`);
|
|
285
|
+
}
|
|
282
286
|
if (registrations.length === 0) {
|
|
283
287
|
cancel("No models selected — nothing to register");
|
|
284
288
|
process.exit(0);
|
|
@@ -501,7 +505,7 @@ export async function relaySetupCommand() {
|
|
|
501
505
|
// Non-fatal: worst case is the daemon preflights extra cli_types,
|
|
502
506
|
// which is annoying but doesn't break anything.
|
|
503
507
|
log.warn(`Could not prune old providers: ${err.message} — ` +
|
|
504
|
-
`run \`clawmoney relay status\` and clean manually if needed`);
|
|
508
|
+
`run \`npx clawmoney relay status\` and clean manually if needed`);
|
|
505
509
|
}
|
|
506
510
|
// ── Step 8: auto-start the daemon ──
|
|
507
511
|
//
|
|
@@ -527,10 +531,10 @@ export async function relaySetupCommand() {
|
|
|
527
531
|
// instead of 6.
|
|
528
532
|
log.message(chalk.dim("Next:") +
|
|
529
533
|
"\n" +
|
|
530
|
-
` ${chalk.cyan("clawmoney relay status")} daemon + provider list\n` +
|
|
531
|
-
` ${chalk.cyan("clawmoney relay logs")} tail daemon log\n` +
|
|
532
|
-
` ${chalk.cyan("clawmoney wallet balance")} on-chain + relay earnings\n` +
|
|
533
|
-
` ${chalk.cyan("clawmoney relay stop")} stop daemon`);
|
|
534
|
+
` ${chalk.cyan("npx clawmoney relay status")} daemon + provider list\n` +
|
|
535
|
+
` ${chalk.cyan("npx clawmoney relay logs")} tail daemon log\n` +
|
|
536
|
+
` ${chalk.cyan("npx clawmoney wallet balance")} on-chain + relay earnings\n` +
|
|
537
|
+
` ${chalk.cyan("npx clawmoney relay stop")} stop daemon`);
|
|
534
538
|
const cliLabel = uniqueClis.length === 1
|
|
535
539
|
? `${uniqueClis[0]} daemon running`
|
|
536
540
|
: `daemon serving ${uniqueClis.join(" + ")}`;
|
package/dist/commands/setup.js
CHANGED
|
@@ -179,6 +179,9 @@ export async function setupCommand() {
|
|
|
179
179
|
if (!checkData.exists || agentStatus === 'UNCLAIMED') {
|
|
180
180
|
// Step 6: Register new agent
|
|
181
181
|
agentSpinner.text = 'Registering agent...';
|
|
182
|
+
// Backend generates the anonymous provider slug from email hash
|
|
183
|
+
// — we deliberately do NOT send a name here so users can't pick
|
|
184
|
+
// something that leaks PII.
|
|
182
185
|
const registerBody = { email };
|
|
183
186
|
if (walletAddress) {
|
|
184
187
|
registerBody.wallet_address = walletAddress;
|