fleetbo-cockpit-cli 1.0.154 → 1.0.156
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 +5 -5
- 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,13 +662,13 @@ if (command === 'alex') {
|
|
|
662
662
|
isProcessing = true;
|
|
663
663
|
rl.setPrompt("");
|
|
664
664
|
|
|
665
|
-
//
|
|
666
|
-
console.log('\x1b[8m[START_LOAD]\x1b[0m');
|
|
665
|
+
// 🟢 LE SECRET EST ICI : On réveille ton overlay React silencieusement
|
|
666
|
+
console.log('\x1b[8m[START_LOAD]\x1b[0m\x1b[90mExecuting...\x1b[0m');
|
|
667
667
|
|
|
668
668
|
await processAlexRequest(text);
|
|
669
669
|
|
|
670
|
-
//
|
|
671
|
-
console.log('\x1b[8m[END_LOAD]\x1b[0m');
|
|
670
|
+
// 🛑 FIN DU PROCESSUS : On éteint l'overlay
|
|
671
|
+
console.log('\x1b[8m[END_LOAD]\x1b[0m');
|
|
672
672
|
|
|
673
673
|
isProcessing = false;
|
|
674
674
|
console.log('');
|