create-fleetbo-project 1.2.65 → 1.2.67

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.
@@ -132,20 +132,20 @@ if (command === 'alex') {
132
132
  const aiData = result.data;
133
133
  process.stdout.write('\\r' + ' '.repeat(50) + '\\r');
134
134
  if (aiData.status === 'quota_exceeded') {
135
- console.log(\`\\n\\x1b[31m⛔ ENGINE OUT OF FUEL:\\x1b[0m \${aiData.message}\`);
135
+ console.log(\`\\n\\x1b[31m⛔ ARCHITECT QUOTA REACHED:\\x1b[0m \${aiData.message}\`);
136
136
  return;
137
137
  }
138
138
  if (aiData.status === 'success' || aiData.status === 'message' || aiData.status === 'complex_refusal') {
139
139
  console.log('');
140
140
  const rawMsg = aiData.message || "I'm ready.";
141
141
  const formattedMsg = wrapText(rawMsg, 85);
142
- if (aiData.remainingTokens !== undefined) {
143
- const remaining = aiData.remainingTokens;
144
- const limit = aiData.limit || 2500;
145
- const tierLabel = aiData.tier === 'senior' ? 'SENIOR' : 'STARTER';
142
+ if (aiData.remainingConsultations !== undefined) {
143
+ const remaining = aiData.remainingConsultations;
144
+ const limit = aiData.consultationLimit || 50;
145
+ const tierLabel = aiData.tier === 'pro' ? 'SENIOR' : 'DISCOVERY';
146
146
  const percent = Math.round((remaining / limit) * 100);
147
- const energyColor = percent > 20 ? '\\x1b[32m' : '\\x1b[31m';
148
- console.log(\`\\x1b[36m Energy:\\x1b[0m \${energyColor}\${percent}%\\x1b[0m (\${remaining}/\${limit} tokens left)\`);
147
+ const energyColor = percent > 20 ? '\x1b[32m' : '\x1b[31m';
148
+ console.log(\`\\x1b[36m Architect Fuel:\\x1b[0m \${energyColor}\${percent}%\x1b[0m (\${remaining}/\${limit} consultations left) [\${tierLabel}]\`);
149
149
  }
150
150
  }
151
151
  if (aiData.status === 'success' && aiData.moduleData) {
@@ -175,7 +175,6 @@ if (command === 'alex') {
175
175
  if (mockCode && mockFileName) {
176
176
  const pageName = mockFileName.replace('.jsx', '');
177
177
  writeFile('src/pages/mocks/', mockFileName, mockCode);
178
- writeFile('src/pages/mocks/', 'Quick.jsx', mockCode);
179
178
  const injected = injectRouteIntoAppJs(pageName, 'mocks');
180
179
  if (injected) {
181
180
  console.log(\` \\x1b[32m[Routed]\x1b[0m App.js -> /mocks/\${pageName.toLowerCase()}\`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-fleetbo-project",
3
- "version": "1.2.65",
3
+ "version": "1.2.67",
4
4
  "description": "Creates a new Fleetbo project.",
5
5
  "main": "install-react-template.js",
6
6
  "bin": {