fleetbo-cockpit-cli 1.0.172 → 1.0.174

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 +5 -14
  2. 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
- // 🟢 LE FUEL EST DÉPLACÉ ICI (TOUTE FIN DU TRY)
494
- if (aiData.remainingConsultations !== undefined) {
495
- const remaining = aiData.remainingConsultations;
496
- const limit = aiData.consultationLimit || 7;
497
- const tierLabel = aiData.tier.toUpperCase();
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`);
@@ -619,11 +615,6 @@ if (command === 'alex') {
619
615
  console.log('');
620
616
  console.log('\x1b[90mWithout this exact structure, Alex answers but does not generate code.\x1b[0m');
621
617
 
622
-
623
- console.log('');
624
- console.log('\x1b[90mTo completely eradicate a module:\x1b[0m');
625
- console.log('\x1b[33m›\x1b[0m \x1b[31mnpm run fleetbo rm\x1b[0m \x1b[36m<ModuleName>\x1b[0m');
626
-
627
618
  // EXAMPLES
628
619
  console.log('');
629
620
  console.log('\x1b[36mEXAMPLES\x1b[0m');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.172",
3
+ "version": "1.0.174",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",