fleetbo-cockpit-cli 1.0.154 → 1.0.155
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/cli.js +3 -6
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -646,7 +646,7 @@ if (command === 'alex') {
|
|
|
646
646
|
let isPasteMode = false;
|
|
647
647
|
let pasteBlockerTimer = null;
|
|
648
648
|
|
|
649
|
-
|
|
649
|
+
const executePrompt = async (text) => {
|
|
650
650
|
if (['exit', 'quit'].includes(text.toLowerCase())) {
|
|
651
651
|
console.log('\n\x1b[90m Alex session closed.\x1b[0m');
|
|
652
652
|
rl.close();
|
|
@@ -662,14 +662,11 @@ if (command === 'alex') {
|
|
|
662
662
|
isProcessing = true;
|
|
663
663
|
rl.setPrompt("");
|
|
664
664
|
|
|
665
|
-
// ✨
|
|
666
|
-
console.log('\x1b[
|
|
665
|
+
// ✨ ON REMET LE TEXTE CLAIR ET LISIBLE ✨
|
|
666
|
+
console.log('\x1b[90mExecuting...\x1b[0m');
|
|
667
667
|
|
|
668
668
|
await processAlexRequest(text);
|
|
669
669
|
|
|
670
|
-
// ✨ 2. SIGNAL INVISIBLE POUR ARRÊTER LE LOADER REACT ✨
|
|
671
|
-
console.log('\x1b[8m[END_LOAD]\x1b[0m');
|
|
672
|
-
|
|
673
670
|
isProcessing = false;
|
|
674
671
|
console.log('');
|
|
675
672
|
rl.setPrompt(`\x1b[34m${dynamicUsername} ❯ \x1b[0m`);
|