fleetbo-cockpit-cli 1.0.210 → 1.0.212
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 +6 -6
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -367,7 +367,7 @@ if (command === 'alex') {
|
|
|
367
367
|
for (let modName of potentialModules) {
|
|
368
368
|
let isReferenceOnly = false;
|
|
369
369
|
|
|
370
|
-
//
|
|
370
|
+
// LE DÉTECTEUR D'INSPIRATION
|
|
371
371
|
if (modName.endsWith('Ref')) {
|
|
372
372
|
isReferenceOnly = true;
|
|
373
373
|
modName = modName.replace('Ref', '');
|
|
@@ -376,10 +376,10 @@ if (command === 'alex') {
|
|
|
376
376
|
modName = modName.replace('Schema', '');
|
|
377
377
|
}
|
|
378
378
|
|
|
379
|
-
process.stdout.write(`
|
|
379
|
+
process.stdout.write(` \x1b[90m Checking Alex memory for ${modName} module...\x1b[0m`);
|
|
380
380
|
const cache = await getModuleCache({ projectId, moduleName: modName });
|
|
381
381
|
|
|
382
|
-
//
|
|
382
|
+
// LECTURE LOCALE DU VRAI CODE KOTLIN (La Vérité Absolue)
|
|
383
383
|
const localKtPath = path.join(process.cwd(), 'public', 'native', 'android', `${modName}.kt`);
|
|
384
384
|
let actualMetalCode = "";
|
|
385
385
|
|
|
@@ -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 ---
|