fleetbo-cockpit-cli 1.0.69 → 1.0.70
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 -6
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -241,7 +241,7 @@ if (command === 'alex') {
|
|
|
241
241
|
console.log('\x1b[33m🧠 Alex is thinking...\x1b[0m');
|
|
242
242
|
|
|
243
243
|
try {
|
|
244
|
-
// --- MEMORY SYSTEM (SMART CACHE SCANNER
|
|
244
|
+
// --- MEMORY SYSTEM (SMART CACHE SCANNER V3 - SOUVERAINETÉ DU MÉTAL) ---
|
|
245
245
|
let contextInjection = "";
|
|
246
246
|
const potentialModules = extractPotentialModules(prompt);
|
|
247
247
|
|
|
@@ -271,15 +271,14 @@ if (command === 'alex') {
|
|
|
271
271
|
: `\n[SCRIPT MÉMOIRE DU MODULE ${modName}]\nAucun schéma enregistré pour ce module.\n`;
|
|
272
272
|
|
|
273
273
|
if (isReferenceOnly) {
|
|
274
|
-
// 🚨 CAS A : INSPIRATION (
|
|
275
|
-
// On injecte le Schéma ET le code Kotlin, mais ON EXCLUT TOTALEMENT LE MOCK !
|
|
274
|
+
// 🚨 CAS A : INSPIRATION (Lecture seule)
|
|
276
275
|
referenceContexts += `\n--- CONTEXTE : RÉFÉRENCE DE DONNÉES (${modName}) ---\nDOGME : Ne modifie pas ce module. Aligne-toi uniquement sur le code Natif ci-dessous pour extraire les clés de données.\n${memoryScript}\n[CODE NATIF DE RÉFÉRENCE]\n${cache.module.code}\n`;
|
|
277
276
|
} else if (!targetModuleContext) {
|
|
278
|
-
// CAS B : CIBLE PRINCIPALE (
|
|
279
|
-
//
|
|
277
|
+
// 🚨 CAS B : CIBLE PRINCIPALE (Modification)
|
|
278
|
+
// LE MOCK EST BANI ! Le Métal est la seule source de vérité.
|
|
280
279
|
const intent = getContextIntent(prompt);
|
|
281
280
|
if (intent === "MODIFICATION") {
|
|
282
|
-
targetModuleContext = `\n--- CONTEXTE : MÉTAL EXISTANT À MODIFIER (${modName}) ---\nDOGME: Tu dois modifier ce
|
|
281
|
+
targetModuleContext = `\n--- CONTEXTE : MÉTAL EXISTANT À MODIFIER (${modName}) ---\nDOGME: Tu dois modifier ce code Natif. Ensuite, tu forgeras un Mock JSX entièrement neuf basé UNIQUEMENT sur ton nouveau code Natif.\n${memoryScript}\n[CODE NATIF EXISTANT]\n${cache.module.code}\n--- FIN DU CONTEXTE ---\n`;
|
|
283
282
|
} else {
|
|
284
283
|
targetModuleContext = `\n--- CONTEXTE : BASE DE TRAVAIL (${modName}) ---\n${memoryScript}\n`;
|
|
285
284
|
}
|