hedgequantx 2.8.2 → 2.8.3
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
|
@@ -316,18 +316,20 @@ const drawConnectionTest = async (agents, boxWidth, clearWithBanner) => {
|
|
|
316
316
|
return { success: false, error: 'No agents' };
|
|
317
317
|
}
|
|
318
318
|
|
|
319
|
-
clearWithBanner();
|
|
320
319
|
const W = boxWidth - 2;
|
|
321
320
|
|
|
321
|
+
// Show loading state with complete box
|
|
322
|
+
clearWithBanner();
|
|
322
323
|
console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));
|
|
323
324
|
console.log(chalk.cyan('║') + chalk.yellow.bold(centerText('AI AGENTS CONNECTION TEST', W)) + chalk.cyan('║'));
|
|
324
325
|
console.log(chalk.cyan('╠' + '═'.repeat(W) + '╣'));
|
|
326
|
+
const loadingText = ' Testing connections... Please wait';
|
|
327
|
+
console.log(chalk.cyan('║') + chalk.yellow(loadingText) + ' '.repeat(W - loadingText.length) + chalk.cyan('║'));
|
|
325
328
|
console.log(chalk.cyan('║') + ' '.repeat(W) + chalk.cyan('║'));
|
|
329
|
+
console.log(chalk.cyan('╚' + '═'.repeat(W) + '╝'));
|
|
326
330
|
|
|
327
|
-
// Run pre-flight check
|
|
328
|
-
const spinner = ora({ text: 'Testing connections...', color: 'yellow' }).start();
|
|
331
|
+
// Run pre-flight check (no spinner, box stays complete)
|
|
329
332
|
const results = await runPreflightCheck(agents);
|
|
330
|
-
spinner.stop();
|
|
331
333
|
|
|
332
334
|
// Clear and redraw with results
|
|
333
335
|
clearWithBanner();
|