fleetbo-cockpit-cli 1.0.209 β 1.0.211
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 +8 -9
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -429,7 +429,7 @@ if (command === 'alex') {
|
|
|
429
429
|
}
|
|
430
430
|
// --- END MEMORY MODIFICATION ---
|
|
431
431
|
|
|
432
|
-
//
|
|
432
|
+
// Real-time timestamp injection
|
|
433
433
|
const now = new Date();
|
|
434
434
|
// Clean format: YYYY-MM-DD at HH:MM:SS
|
|
435
435
|
const exactTime = now.toISOString().split('T')[0] + ' at ' + now.toTimeString().split(' ')[0];
|
|
@@ -475,7 +475,7 @@ if (command === 'alex') {
|
|
|
475
475
|
|
|
476
476
|
aiData = deepUnwrap(aiData);
|
|
477
477
|
|
|
478
|
-
//
|
|
478
|
+
// DISPLAY REASONING IN TERMINAL
|
|
479
479
|
if (aiData.thinking_process) {
|
|
480
480
|
// Show start of reasoning in gray for info
|
|
481
481
|
console.log(` \x1b[90mπ§ Alex Analysis: ${aiData.thinking_process.substring(0, 150)}...\x1b[0m`);
|
|
@@ -498,7 +498,7 @@ if (command === 'alex') {
|
|
|
498
498
|
|
|
499
499
|
// On supprime le wrapText(85)
|
|
500
500
|
// On laisse Xterm.js et le FitAddon utiliser 100% de la largeur du panneau !
|
|
501
|
-
console.log('\x1b[32mAlex
|
|
501
|
+
console.log('\x1b[32mAlex β―\x1b[0m ' + rawMsg);
|
|
502
502
|
}
|
|
503
503
|
|
|
504
504
|
// --- FILE CREATION LOGIC ---
|
|
@@ -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
|