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.
- package/dist/cli/commands/chat.js +5 -4
- package/dist/cli/commands/chat.js.map +1 -1
- package/dist/spiral/embeddings.d.ts +5 -1
- package/dist/spiral/embeddings.d.ts.map +1 -1
- package/dist/spiral/embeddings.js +18 -4
- package/dist/spiral/embeddings.js.map +1 -1
- package/dist/spiral/engine.d.ts +2 -1
- package/dist/spiral/engine.d.ts.map +1 -1
- package/dist/spiral/engine.js +6 -3
- package/dist/spiral/engine.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
351
|
-
|
|
352
|
-
|
|
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 = [];
|