helixmind 0.5.20 → 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 +7 -6
- package/dist/cli/commands/chat.js.map +1 -1
- package/dist/cli/sessions/manager.d.ts +2 -2
- package/dist/cli/sessions/manager.d.ts.map +1 -1
- package/dist/cli/sessions/manager.js +3 -3
- package/dist/cli/sessions/manager.js.map +1 -1
- package/dist/cli/sessions/tab-view.d.ts +6 -3
- package/dist/cli/sessions/tab-view.d.ts.map +1 -1
- package/dist/cli/sessions/tab-view.js +39 -4
- package/dist/cli/sessions/tab-view.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
|
@@ -22,7 +22,7 @@ import { initializeTools } from '../agent/tools/registry.js';
|
|
|
22
22
|
import { runAgentLoop, AgentController, AgentAbortError } from '../agent/loop.js';
|
|
23
23
|
import { PermissionManager } from '../agent/permissions.js';
|
|
24
24
|
import { UndoStack } from '../agent/undo.js';
|
|
25
|
-
import { renderStatusBar, getGitInfo
|
|
25
|
+
import { renderStatusBar, getGitInfo } from '../ui/statusbar.js';
|
|
26
26
|
import { CheckpointStore } from '../checkpoints/store.js';
|
|
27
27
|
// keybinding module is imported directly by checkpoints/browser.ts
|
|
28
28
|
import { runCheckpointBrowser } from '../checkpoints/browser.js';
|
|
@@ -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 = [];
|
|
@@ -2522,7 +2523,7 @@ export async function chatCommand(options) {
|
|
|
2522
2523
|
// Prepend tab bar to status line 1 when background sessions exist
|
|
2523
2524
|
let line1 = statusLine1;
|
|
2524
2525
|
if (sessionMgr.all.length > 1) {
|
|
2525
|
-
const tabBar =
|
|
2526
|
+
const tabBar = sessionMgr.renderTabs(Math.floor(w / 2));
|
|
2526
2527
|
line1 = `${tabBar} ${statusLine1}`;
|
|
2527
2528
|
}
|
|
2528
2529
|
// Refresh hint line on row 1 (prevents stale border/status from previous layout)
|