hedgequantx 2.7.66 → 2.7.68

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.7.66",
3
+ "version": "2.7.68",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -232,22 +232,13 @@ const handleCliProxyConnection = async (provider, config, boxWidth) => {
232
232
  await prompts.waitForEnter();
233
233
  }
234
234
 
235
- // Wait for login process to save the auth file (it exits on its own after saving)
236
- const spinner = ora({ text: 'SAVING CREDENTIALS...', color: 'yellow' }).start();
235
+ // Kill login process - we don't need to wait for it
237
236
  if (loginResult.childProcess) {
238
- await new Promise((resolve) => {
239
- const timeout = setTimeout(() => {
240
- try { loginResult.childProcess.kill(); } catch (e) { /* ignore */ }
241
- resolve();
242
- }, 10000);
243
- loginResult.childProcess.on('exit', () => {
244
- clearTimeout(timeout);
245
- resolve();
246
- });
247
- });
237
+ try { loginResult.childProcess.kill(); } catch (e) { /* ignore */ }
248
238
  }
249
- spinner.text = 'LOADING MODELS...';
250
- await new Promise(r => setTimeout(r, 1000));
239
+
240
+ // Fetch models directly from CLIProxy API (models are already available)
241
+ const spinner = ora({ text: 'LOADING MODELS...', color: 'yellow' }).start();
251
242
  const modelsResult = await cliproxy.fetchProviderModels(provider.id);
252
243
  spinner.stop();
253
244