hedgequantx 2.9.16 → 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 +1 -1
- package/src/menus/dashboard.js +1 -4
- package/src/pages/ai-agents-ui.js +13 -5
package/package.json
CHANGED
package/src/menus/dashboard.js
CHANGED
|
@@ -243,10 +243,7 @@ const handleUpdate = async () => {
|
|
|
243
243
|
|
|
244
244
|
spinner.succeed(`UPDATED TO V${latestVersion}!`);
|
|
245
245
|
console.log(chalk.green('\n ✓ UPDATE SUCCESSFUL!'));
|
|
246
|
-
console.log(chalk.yellow('\n
|
|
247
|
-
|
|
248
|
-
// Small delay then exit - the user will run hqx again
|
|
249
|
-
await new Promise(r => setTimeout(r, 1500));
|
|
246
|
+
console.log(chalk.yellow('\n Run ') + chalk.cyan('hqx') + chalk.yellow(' to start the new version.\n'));
|
|
250
247
|
process.exit(0);
|
|
251
248
|
|
|
252
249
|
} catch (error) {
|
|
@@ -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
|
|
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
|
-
//
|
|
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) + '╗'));
|