fleetbo-cockpit-cli 1.0.172 → 1.0.173
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 +5 -9
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -490,15 +490,11 @@ if (command === 'alex') {
|
|
|
490
490
|
process.stdout.write(` \x1b[31mFAILED\x1b[0m\n`);
|
|
491
491
|
console.error(` ⚠️ OS sync failed: ${err.message}`);
|
|
492
492
|
}
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
const percent = Math.round((remaining / limit) * 100);
|
|
499
|
-
const energyColor = percent > 20 ? '\x1b[32m' : '\x1b[31m';
|
|
500
|
-
console.log(`\n\x1b[36m⚡ Architect Fuel:\x1b[0m ${energyColor}${percent}%\x1b[0m (${remaining}/${limit} instructions left) [${tierLabel}]\n`);
|
|
501
|
-
}
|
|
493
|
+
|
|
494
|
+
// 💡 NOUVEAU : ASTUCE CONTEXTUELLE DYNAMIQUE
|
|
495
|
+
console.log(`\x1b[90m💡 To eradicate this module later, open a new terminal and type:\x1b[0m`);
|
|
496
|
+
console.log(`\x1b[31mnpm run fleetbo rm\x1b[0m \x1b[36m${moduleName}\x1b[0m`);
|
|
497
|
+
|
|
502
498
|
} else if (aiData.status === 'success' && !aiData.moduleData) {
|
|
503
499
|
// SAFETY: If formatting is broken
|
|
504
500
|
console.log(`\n\x1b[31m⚠️ Error: Alex replied, but source code could not be extracted. Try the command again.\x1b[0m\n`);
|