fleetbo-cockpit-cli 1.0.51 → 1.0.53

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 +9 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -481,7 +481,7 @@ if (command === 'alex') {
481
481
  inputBuffer = "";
482
482
 
483
483
  if (finalPrompt.length > 1000) {
484
- console.log(`\n\x1b[31m⛔ [Alex Safety] Mission rejetée : Taille excessive (${finalPrompt.length}/1000 caractères).\x1b[0m`);
484
+ console.log(`\n\x1b[31m⛔ [Alex Safety] Mission rejected: Excessive size (${finalPrompt.length}/1000 characters).\x1b[0m`);
485
485
  rl.setPrompt(`\x1b[34m${dynamicUsername} ❯ \x1b[0m`);
486
486
  rl.prompt();
487
487
  return;
@@ -548,7 +548,7 @@ else if (command === 'rm') {
548
548
  if (actionsDone === 0) {
549
549
  console.log(`\n\x1b[31m⚠️ No trace of module "${moduleName}" found in the OS.\x1b[0m\n`);
550
550
  } else {
551
- console.log(`\n\x1b[32m Module ${moduleName} successfully eradicated from the OS.\x1b[0m\n`);
551
+ console.log(`\n\x1b[32m Module ${moduleName} successfully eradicated from the OS.\x1b[0m\n`);
552
552
  }
553
553
  }
554
554
 
@@ -795,12 +795,12 @@ else {
795
795
  async function syncFirebase(keyApp, networkUrl, testerEmail) {
796
796
  try {
797
797
  await axios.post(UPDATE_NETWORK_URL, { keyApp, networkUrl, tester: testerEmail });
798
- console.log('\n\x1b[32mEngine started successfully\x1b[0m');
799
- console.log(`\n\x1b[32m[Fleetbo]\x1b[0m -------------------------------------------------------------`);
798
+ console.log('\n\x1b[32m Engine started successfully\x1b[0m');
799
+ console.log(`\x1b[32m[Fleetbo]\x1b[0m -------------------------------------------------------------`);
800
800
  console.log('\x1b[32m[Fleetbo] \x1b[1mGO GO GO ! FLEETBO COCKPIT IS READY\x1b[0m');
801
801
  console.log('\x1b[32m[Fleetbo] You can now start coding and previewing in Studio. 🚀\x1b[0m');
802
802
  console.log(`\x1b[32m[Fleetbo]\x1b[0m -------------------------------------------------------------`);
803
- console.log(`\x1b[34mPilot Instruction ❯\x1b[0m Switch to your Fleetbo Cockpit tab to begin.\n`);
803
+ console.log(`\x1b[34m Pilot Instruction ❯\x1b[0m Switch to your Fleetbo Cockpit tab to begin.\n`);
804
804
  } catch (err) {
805
805
  console.error(`[Fleetbo] Sync Error: ${err.message}`);
806
806
  }
@@ -885,7 +885,10 @@ else {
885
885
  const match = text.match(/https:\/\/[a-zA-Z0-9-]+\.trycloudflare\.com/);
886
886
  if (match) {
887
887
  uplinkFound = true;
888
- syncFirebase(process.env.REACT_KEY_APP, match[0], process.env.REACT_APP_TESTER_EMAIL);
888
+ // ⚡ Stabilisation du noyau : on attend 1.5s que les routes soient forgées
889
+ setTimeout(() => {
890
+ syncFirebase(process.env.REACT_KEY_APP, match[0], process.env.REACT_APP_TESTER_EMAIL);
891
+ }, 1500);
889
892
  }
890
893
  };
891
894
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",