create-fleetbo-project 1.2.59 → 1.2.60

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.
@@ -91,6 +91,11 @@ if (command === 'alex') {
91
91
  checkGitSecurity();
92
92
  const initialPrompt = args.slice(1).join(' ');
93
93
  const processAlexRequest = async (prompt) => {
94
+ if (prompt.length > 500) {
95
+ console.log('\\n\\x1b[31m⛔ [Alex Safety] Request too long (' + prompt.length + '/500 chars).\\x1b[0m');
96
+ console.log('\\x1b[90mAlex prefers concise instructions. Please summarize.\\x1b[0m');
97
+ return;
98
+ }
94
99
  process.stdout.write('\\x1b[33m🧠 Alex is thinking...\\x1b[0m');
95
100
  try {
96
101
  const result = await axios.post(ALEX_ENGINE_URL, { prompt, projectType: 'android' }, {
@@ -433,7 +438,7 @@ async function setupProject() {
433
438
  WDS_SOCKET_PORT=0`;
434
439
 
435
440
  fs.writeFileSync(path.join(projectDir, '.env'), envContent, 'utf8');
436
- console.log(' [5/7] 🛡️ Securing environment (adding .gitignore)...');
441
+ console.log(' [5/7] 🛡️ Securing environment (adding .gitignore)...');
437
442
  const gitignoreContent = `# Fleetbo Security\n.env\n.env.local\nnode_modules/\ndist/\nbuild/\n.DS_Store\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n`;
438
443
  fs.writeFileSync(path.join(projectDir, '.gitignore'), gitignoreContent, 'utf8');
439
444
  const scriptsDir = path.join(projectDir, 'scripts');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.59",
3
+ "version": "1.2.60",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {