fleetbo-cockpit-cli 1.0.226 → 1.0.228
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 -4
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -299,7 +299,7 @@ if (command === 'alex') {
|
|
|
299
299
|
return;
|
|
300
300
|
}
|
|
301
301
|
|
|
302
|
-
console.log('
|
|
302
|
+
console.log('Alex is thinking...');
|
|
303
303
|
|
|
304
304
|
try {
|
|
305
305
|
let contextInjection = "";
|
|
@@ -408,9 +408,9 @@ if (command === 'alex') {
|
|
|
408
408
|
};
|
|
409
409
|
|
|
410
410
|
const logStep = (prefix, text) => {
|
|
411
|
-
process.stdout.write(`\x1b[2K
|
|
411
|
+
process.stdout.write(`\r\x1b[2K${prefix} ${text}`);
|
|
412
412
|
};
|
|
413
|
-
|
|
413
|
+
|
|
414
414
|
let totalOutputTokens = 0;
|
|
415
415
|
|
|
416
416
|
logStep('[1/3]', '\x1b[33mAlex is forging native foundations...\x1b[0m');
|
|
@@ -465,7 +465,8 @@ if (command === 'alex') {
|
|
|
465
465
|
if (typeof rawMsg === 'object') {
|
|
466
466
|
rawMsg = rawMsg.message || rawMsg.text || "Module generated.";
|
|
467
467
|
}
|
|
468
|
-
|
|
468
|
+
// Plus aucun saut de ligne imposé, Xterm.jsx le gère seul
|
|
469
|
+
process.stdout.write(`[ALEX_START]${rawMsg}[ALEX_END]`);
|
|
469
470
|
}
|
|
470
471
|
|
|
471
472
|
if (aiData.status === 'success' && mergedModuleData && Object.keys(mergedModuleData).length > 0) {
|