fleetbo-cockpit-cli 1.0.52 → 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.
- package/cli.js +7 -4
- 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
|
|
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;
|
|
@@ -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[
|
|
798
|
+
console.log('\n\x1b[32m Engine started successfully\x1b[0m');
|
|
799
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[
|
|
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
|
-
|
|
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
|
|