helixmind 0.5.21 → 0.5.22

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.
@@ -346,10 +346,11 @@ export async function chatCommand(options) {
346
346
  process.stdout.write(`\r\x1b[K ${chalk.yellow('\u23F3')} ${chalk.dim(`Rate limit: waiting ${Math.ceil(waitMs / 1000)}s (${reason})`)}`);
347
347
  }
348
348
  });
349
- // Initialize agent tools
350
- await initializeTools();
351
- // Analyze project context
352
- const project = await analyzeProject(process.cwd());
349
+ // Initialize agent tools + analyze project IN PARALLEL (saves ~100-200ms)
350
+ const [, project] = await Promise.all([
351
+ initializeTools(),
352
+ analyzeProject(process.cwd()),
353
+ ]);
353
354
  // Conversation history (for agent loop, we use ToolMessage format)
354
355
  const messages = [];
355
356
  const agentHistory = [];