fleetbo-cockpit-cli 1.0.153 → 1.0.154

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.
Files changed (2) hide show
  1. package/cli.js +6 -3
  2. 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
- const executePrompt = async (text) => {
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,11 +662,14 @@ if (command === 'alex') {
662
662
  isProcessing = true;
663
663
  rl.setPrompt("");
664
664
 
665
- // ✨ LE FAMEUX MESSAGE EXECUTING POUR TOUS LES ENVOIS
666
- console.log('\x1b[90mExecuting...\x1b[0m');
665
+ // ✨ 1. SIGNAL INVISIBLE POUR DÉMARRER LE LOADER REACT
666
+ console.log('\x1b[8m[START_LOAD]\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
+
670
673
  isProcessing = false;
671
674
  console.log('');
672
675
  rl.setPrompt(`\x1b[34m${dynamicUsername} ❯ \x1b[0m`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.153",
3
+ "version": "1.0.154",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",