x402-bazaar 3.2.2 → 3.2.4
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/bin/cli.js +1 -1
- package/package.json +1 -1
- package/src/commands/init.js +30 -12
package/bin/cli.js
CHANGED
package/package.json
CHANGED
package/src/commands/init.js
CHANGED
|
@@ -504,23 +504,41 @@ export async function initCommand(options) {
|
|
|
504
504
|
|
|
505
505
|
log.box('What\'s next?', summaryLines.join('\n'));
|
|
506
506
|
|
|
507
|
-
// Print critical info AFTER the box so it's visible even when output is truncated
|
|
508
|
-
if (walletMode === 'generate' && network === 'skale') {
|
|
509
|
-
console.log('');
|
|
510
|
-
log.success(chalk.bold('✅ Gas (CREDITS) will be auto-funded on first use — no ETH needed!'));
|
|
511
|
-
console.log('');
|
|
512
|
-
log.info(chalk.bold('💰 Fund your wallet with USDC on SKALE on Base:'));
|
|
513
|
-
log.dim(` ${chalk.cyan('https://x402bazaar.org/fund')} — Bridge from any chain in 1 click`);
|
|
514
|
-
log.dim(` ${chalk.cyan('https://bridge.skale.space')} — Native SKALE bridge`);
|
|
515
|
-
console.log('');
|
|
516
|
-
}
|
|
517
|
-
|
|
518
507
|
log.dim(' Need help? https://x402bazaar.org');
|
|
519
|
-
log.dim(' Dashboard: https://x402-api.onrender.com/dashboard');
|
|
520
508
|
log.dim(' Re-configure: npx x402-bazaar init');
|
|
521
509
|
console.log('');
|
|
522
510
|
|
|
523
511
|
printNonInteractiveHint('init');
|
|
512
|
+
|
|
513
|
+
// === CRITICAL: Print AFTER everything else so it's the LAST thing in output ===
|
|
514
|
+
// Claude Code AI summarizes tool output — only tail lines are reliably shown
|
|
515
|
+
if (walletMode === 'generate' && network === 'skale') {
|
|
516
|
+
console.log('');
|
|
517
|
+
console.log('='.repeat(70));
|
|
518
|
+
console.log('');
|
|
519
|
+
console.log(' IMPORTANT — After restarting, ask your agent to run: setup_wallet');
|
|
520
|
+
console.log('');
|
|
521
|
+
console.log(' This will:');
|
|
522
|
+
console.log(' - Auto-fund 0.1 CREDITS for gas on SKALE (free, no ETH needed)');
|
|
523
|
+
console.log(' - Show your wallet balance on both Base and SKALE');
|
|
524
|
+
console.log(' - Provide bridge links to fund your wallet with USDC');
|
|
525
|
+
console.log('');
|
|
526
|
+
console.log(' Fund USDC: https://x402bazaar.org/fund (bridge from any chain)');
|
|
527
|
+
console.log(' SKALE Bridge: https://bridge.skale.space');
|
|
528
|
+
console.log('');
|
|
529
|
+
console.log('='.repeat(70));
|
|
530
|
+
console.log('');
|
|
531
|
+
} else if (walletMode === 'generate') {
|
|
532
|
+
console.log('');
|
|
533
|
+
console.log('='.repeat(70));
|
|
534
|
+
console.log('');
|
|
535
|
+
console.log(' IMPORTANT — After restarting, ask your agent to run: setup_wallet');
|
|
536
|
+
console.log(' Then fund your wallet with USDC + ETH on Base.');
|
|
537
|
+
console.log(' Bridge: https://x402bazaar.org/fund');
|
|
538
|
+
console.log('');
|
|
539
|
+
console.log('='.repeat(70));
|
|
540
|
+
console.log('');
|
|
541
|
+
}
|
|
524
542
|
}
|
|
525
543
|
|
|
526
544
|
/**
|