hedgequantx 2.9.17 → 2.9.18

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.9.17",
3
+ "version": "2.9.18",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -334,19 +334,27 @@ const drawConnectionTest = async (agents, boxWidth, clearWithBanner) => {
334
334
 
335
335
  const W = boxWidth - 2;
336
336
 
337
- // Show loading state with complete box (centered vertically and horizontally)
337
+ // Show loading state with spinner
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
342
  console.log(chalk.cyan('║') + ' '.repeat(W) + chalk.cyan('║'));
343
- console.log(chalk.cyan('║') + chalk.yellow(centerText('Testing connections... Please wait', W)) + chalk.cyan('║'));
344
- console.log(chalk.cyan('║') + ' '.repeat(W) + chalk.cyan('║'));
345
- console.log(chalk.cyan('╚' + '═'.repeat(W) + '╝'));
346
343
 
347
- // Run pre-flight check (no spinner, box stays complete)
344
+ // Start spinner on the loading line
345
+ const spinnerText = 'Testing connections... Please wait';
346
+ const spinner = ora({
347
+ text: spinnerText,
348
+ spinner: 'dots',
349
+ color: 'yellow'
350
+ }).start();
351
+
352
+ // Run pre-flight check
348
353
  const results = await runPreflightCheck(agents);
349
354
 
355
+ // Stop spinner
356
+ spinner.stop();
357
+
350
358
  // Clear and redraw with results
351
359
  clearWithBanner();
352
360
  console.log(chalk.cyan('╔' + '═'.repeat(W) + '╗'));