fleetbo-cockpit-cli 1.0.225 → 1.0.227

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 -6
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -408,10 +408,8 @@ if (command === 'alex') {
408
408
  };
409
409
 
410
410
  const logStep = (prefix, text) => {
411
- process.stdout.write(`\x1b[2K\r${prefix} ${text}`);
411
+ process.stdout.write(`\r\x1b[2K${prefix} ${text}`);
412
412
  };
413
-
414
- console.log('');
415
413
 
416
414
  let totalOutputTokens = 0;
417
415
 
@@ -467,7 +465,8 @@ if (command === 'alex') {
467
465
  if (typeof rawMsg === 'object') {
468
466
  rawMsg = rawMsg.message || rawMsg.text || "Module generated.";
469
467
  }
470
- console.log(`\n[ALEX_START]${rawMsg}[ALEX_END]\n`);
468
+ // Plus aucun saut de ligne imposé, Xterm.jsx le gère seul
469
+ process.stdout.write(`[ALEX_START]${rawMsg}[ALEX_END]`);
471
470
  }
472
471
 
473
472
  if (aiData.status === 'success' && mergedModuleData && Object.keys(mergedModuleData).length > 0) {
@@ -529,11 +528,11 @@ if (command === 'alex') {
529
528
  console.log(`\x1b[31mnpm run fleetbo rm\x1b[0m \x1b[36m${moduleName}\x1b[0m`);
530
529
 
531
530
  if (totalOutputTokens > 0) {
532
- console.log(`\x1b[90m[Telemetry] Output tokens generated: ${totalOutputTokens} (Limit: 8192/step)\x1b[0m\n`);
531
+ console.log(`\x1b[90m[Telemetry] Output tokens generated: ${totalOutputTokens} (Limit: 8192/step)\x1b[0m`);
533
532
  }
534
533
 
535
534
  } else if (aiData.status === 'success' && (!mergedModuleData || Object.keys(mergedModuleData).length === 0)) {
536
- console.log('\x1b[31m[Error] Alex replied, but source code could not be extracted.\x1b[0m\n');
535
+ console.log('\x1b[31m[Error] Alex replied, but source code could not be extracted.\x1b[0m');
537
536
  }
538
537
  } catch (error) {
539
538
  process.stdout.write('\x1b[2K\r');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.225",
3
+ "version": "1.0.227",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",