hedgequantx 2.9.22 → 2.9.23
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
|
@@ -334,17 +334,22 @@ const drawConnectionTest = async (agents, boxWidth, clearWithBanner) => {
|
|
|
334
334
|
|
|
335
335
|
const W = boxWidth - 2;
|
|
336
336
|
|
|
337
|
-
// Show loading state with spinner
|
|
337
|
+
// Show loading state with spinner inside closed box
|
|
338
338
|
clearWithBanner();
|
|
339
339
|
console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));
|
|
340
340
|
console.log(chalk.cyan('║') + chalk.yellow.bold(centerText('AI AGENTS CONNECTION TEST', W)) + chalk.cyan('║'));
|
|
341
341
|
console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
|
|
342
|
+
|
|
343
|
+
// Centered spinner text inside box
|
|
344
|
+
const spinnerText = 'Testing connections...';
|
|
345
|
+
const paddedText = centerText(spinnerText, W);
|
|
346
|
+
console.log(chalk.cyan('║') + chalk.yellow(paddedText) + chalk.cyan('║'));
|
|
342
347
|
console.log(chalk.cyan('║') + ' '.repeat(W) + chalk.cyan('║'));
|
|
348
|
+
console.log(chalk.cyan('╚' + '═'.repeat(W) + '╝'));
|
|
343
349
|
|
|
344
|
-
// Start spinner
|
|
345
|
-
const spinnerText = 'Testing connections... Please wait';
|
|
350
|
+
// Start spinner below the box
|
|
346
351
|
const spinner = ora({
|
|
347
|
-
text:
|
|
352
|
+
text: '',
|
|
348
353
|
spinner: 'dots',
|
|
349
354
|
color: 'yellow'
|
|
350
355
|
}).start();
|