fleetbo-cockpit-cli 1.0.65 → 1.0.66

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 +4 -3
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -334,12 +334,12 @@ if (command === 'alex') {
334
334
 
335
335
  const formattedMsg = wrapText(rawMsg, 85);
336
336
  console.log('\x1b[32mAlex ❯\x1b[0m ' + formattedMsg);
337
-
337
+
338
338
  }
339
339
 
340
340
  // --- FILE CREATION LOGIC ---
341
341
  if (aiData.status === 'success' && aiData.moduleData) {
342
- let { fileName, code, mockFileName, mockCode, moduleName, instructions, config_offload } = aiData.moduleData;
342
+ let { fileName, code, mockFileName, mockCode, moduleName, instructions, config_offload, dataSchema } = aiData.moduleData;
343
343
 
344
344
  // 🛡️ ANTI-DUMP SHIELD (Prevents terminal flooding)
345
345
  if (moduleName) {
@@ -397,7 +397,8 @@ if (command === 'alex') {
397
397
  code: code,
398
398
  mockFileName: mockFileName,
399
399
  mockCode: mockCode,
400
- config_offload: config_offload || { dependencies: [], permissions: [] }
400
+ config_offload: config_offload || { dependencies: [], permissions: [] },
401
+ dataSchema: dataSchema || null // 👈 LA LIGNE MAGIQUE
401
402
  }
402
403
  });
403
404
  process.stdout.write(` \x1b[32mOK\x1b[0m\n`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fleetbo-cockpit-cli",
3
- "version": "1.0.65",
3
+ "version": "1.0.66",
4
4
  "description": "Fleetbo CLI - Build native mobile apps with React",
5
5
  "author": "Fleetbo",
6
6
  "license": "MIT",