fleetbo-cockpit-cli 1.0.208 → 1.0.210
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 +6 -7
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -621,7 +621,7 @@ if (command === 'alex') {
|
|
|
621
621
|
if (validation.data?.isRunning) {
|
|
622
622
|
isReady = true;
|
|
623
623
|
// ASTUCE : On confirme que le moteur est allumé
|
|
624
|
-
process.stdout.write('[ALEX_ONLINE]\n');
|
|
624
|
+
// process.stdout.write('[ALEX_ONLINE]\n');
|
|
625
625
|
dynamicUsername = validation.data.username || 'Pilot';
|
|
626
626
|
hasAiKey = validation.data.hasAiKey || false;
|
|
627
627
|
aiProvider = validation.data.aiProvider || null;
|
|
@@ -674,10 +674,9 @@ if (command === 'alex') {
|
|
|
674
674
|
|
|
675
675
|
process.stdout.write(`[ALEX_ONLINE:${dynamicUsername}]\n`);
|
|
676
676
|
|
|
677
|
-
console.log('');
|
|
678
677
|
console.log('\x1b[90m┌─────────────────────────────────────────────────────────┐\x1b[0m');
|
|
679
678
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
680
|
-
console.log('\x1b[90m│\x1b[0m \x1b[1m\x1b[36m⚡ ALEX\x1b[0m \x1b[90m— System Architect · Fleetbo OS\x1b[0m
|
|
679
|
+
console.log('\x1b[90m│\x1b[0m \x1b[1m\x1b[36m⚡ ALEX\x1b[0m \x1b[90m— System Architect · Fleetbo OS\x1b[0m \x1b[90m│\x1b[0m');
|
|
681
680
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
682
681
|
console.log('\x1b[90m│\x1b[0m \x1b[90mYour JS stays the brain. I forge the metal.\x1b[0m \x1b[90m│\x1b[0m');
|
|
683
682
|
console.log('\x1b[90m│ │\x1b[0m');
|
|
@@ -805,7 +804,7 @@ else if (command === 'rm') {
|
|
|
805
804
|
|
|
806
805
|
// 1. Define physical paths
|
|
807
806
|
const ktPath = path.join(process.cwd(), 'public', 'native', 'android', `${moduleName}.kt`);
|
|
808
|
-
//
|
|
807
|
+
// AGNOSTIQUE — cherche .jsx (React) puis .vue (Vue)
|
|
809
808
|
const jsxPath = path.join(process.cwd(), 'src', 'app', 'mocks', `${moduleName}.jsx`);
|
|
810
809
|
const vuePath = path.join(process.cwd(), 'src', 'app', 'mocks', `${moduleName}.vue`);
|
|
811
810
|
const mockPath = fs.existsSync(jsxPath) ? jsxPath : fs.existsSync(vuePath) ? vuePath : null;
|
|
@@ -843,7 +842,7 @@ else if (command === 'rm') {
|
|
|
843
842
|
// ============================================
|
|
844
843
|
else if (command === 'android' || command === 'ios') {
|
|
845
844
|
|
|
846
|
-
//
|
|
845
|
+
// DÉBUT DE LA PROTECTION (Fonction Async Immédiate)
|
|
847
846
|
// Cela garantit que le code fonctionne partout, même via 'require()'
|
|
848
847
|
(async () => {
|
|
849
848
|
|
|
@@ -852,7 +851,7 @@ else if (command === 'android' || command === 'ios') {
|
|
|
852
851
|
console.log(`\n\x1b[36m⚡ FLEETBO IOS PROPULSION\x1b[0m`);
|
|
853
852
|
console.log(`\x1b[33m[0/3] Initializing Neural Uplink...\x1b[0m`);
|
|
854
853
|
|
|
855
|
-
//
|
|
854
|
+
// Ce 'await' est maintenant sécurisé
|
|
856
855
|
await new Promise(r => setTimeout(r, 800));
|
|
857
856
|
|
|
858
857
|
console.log(`\n\x1b[31m⛔ PROPULSION ABORTED: iOS Frequency Restricted.\x1b[0m`);
|
|
@@ -1017,7 +1016,7 @@ else if (command === 'android' || command === 'ios') {
|
|
|
1017
1016
|
process.exit(1);
|
|
1018
1017
|
}
|
|
1019
1018
|
|
|
1020
|
-
})();
|
|
1019
|
+
})();
|
|
1021
1020
|
}
|
|
1022
1021
|
// ============================================
|
|
1023
1022
|
// COMMAND: page / g / generate
|