hedgequantx 2.9.102 → 2.9.104

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.102",
3
+ "version": "2.9.104",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -197,12 +197,14 @@ const oneAccountMenu = async (service) => {
197
197
  if (enableAI) {
198
198
  // Run pre-flight check - ALL agents must pass
199
199
  console.log();
200
- console.log(chalk.yellow(' Running AI pre-algo check...'));
201
- console.log();
200
+ const aiSpinner = ora({ text: 'Running AI pre-algo check...', color: 'yellow' }).start();
202
201
 
203
202
  const agents = getActiveAgents();
204
203
  const preflightResults = await runPreflightCheck(agents);
205
204
 
205
+ aiSpinner.stop();
206
+ console.log();
207
+
206
208
  // Display results
207
209
  const lines = formatPreflightResults(preflightResults, 60);
208
210
  for (const line of lines) {
@@ -289,8 +289,9 @@ class AlgoUI {
289
289
 
290
290
  // Activity header - HF style with animated spinner
291
291
  if (!this.startTime) this.startTime = Date.now();
292
- // Increment spinner frame on each render
293
- this.spinnerFrame = ((this.spinnerFrame || 0) + 1) % SPINNER.length;
292
+ // Increment spinner frame based on time (100ms per frame = visible rotation)
293
+ const elapsed = Date.now() - this.startTime;
294
+ this.spinnerFrame = Math.floor(elapsed / 100) % SPINNER.length;
294
295
  const spinner = SPINNER[this.spinnerFrame];
295
296
  const now = new Date();
296
297
  const timeStr = now.toLocaleTimeString('en-US', { hour12: false });