helixmind 0.5.8 → 0.5.10
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/chat.ts"],"names":[],"mappings":"AAsFA,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAqND,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,
|
|
1
|
+
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/cli/commands/chat.ts"],"names":[],"mappings":"AAsFA,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC5B;AAqND,wBAAsB,WAAW,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,IAAI,CAAC,CA6jHrE"}
|
|
@@ -2487,14 +2487,15 @@ export async function chatCommand(options) {
|
|
|
2487
2487
|
inputMgr.prompt();
|
|
2488
2488
|
}
|
|
2489
2489
|
else {
|
|
2490
|
-
// Restore existing input at original cursor position, then set paste block
|
|
2490
|
+
// Restore existing input at original cursor position, then set paste block.
|
|
2491
|
+
// Do NOT call inputMgr.prompt() — user is already at the prompt.
|
|
2492
|
+
// rl.prompt() resets cursor to 0, which would undo our cursor restore.
|
|
2491
2493
|
if (existingInput) {
|
|
2492
2494
|
replaceReadlineInput(existingInput);
|
|
2493
2495
|
rl.cursor = Math.min(existingCursor, existingInput.length);
|
|
2494
2496
|
}
|
|
2495
2497
|
inputMgr.setPasteBlock(trimmed);
|
|
2496
2498
|
pendingPasteText = inputMgr.pendingPaste;
|
|
2497
|
-
inputMgr.prompt();
|
|
2498
2499
|
}
|
|
2499
2500
|
}
|
|
2500
2501
|
// Build Jarvis identity context for system prompt injection (when daemon is active)
|