@codebakers/cli 1.4.4 → 1.4.5

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.
@@ -259,18 +259,12 @@ async function confirm(question) {
259
259
  }
260
260
  async function selectProjectType() {
261
261
  console.log(chalk_1.default.white('\n What kind of project is this?\n'));
262
- console.log(chalk_1.default.gray(' 0. ') + chalk_1.default.magenta('You Decide') + chalk_1.default.gray(' - Let AI pick the best option'));
263
262
  console.log(chalk_1.default.gray(' 1. ') + chalk_1.default.cyan('PERSONAL') + chalk_1.default.gray(' - Just building for myself'));
264
263
  console.log(chalk_1.default.gray(' 2. ') + chalk_1.default.cyan('CLIENT') + chalk_1.default.gray(' - Building for someone else'));
265
264
  console.log(chalk_1.default.gray(' 3. ') + chalk_1.default.cyan('BUSINESS') + chalk_1.default.gray(' - My own product/startup\n'));
266
265
  let typeChoice = '';
267
- while (!['0', '1', '2', '3'].includes(typeChoice)) {
268
- typeChoice = await prompt(' Enter 0, 1, 2, or 3: ');
269
- }
270
- // "You Decide" defaults to Personal (most common)
271
- if (typeChoice === '0') {
272
- console.log(chalk_1.default.magenta(' → AI chose: Personal (most flexible)\n'));
273
- typeChoice = '1';
266
+ while (!['1', '2', '3'].includes(typeChoice)) {
267
+ typeChoice = await prompt(' Enter 1, 2, or 3: ');
274
268
  }
275
269
  const typeMap = {
276
270
  '1': 'personal',
@@ -308,20 +308,14 @@ async function scaffold() {
308
308
  return;
309
309
  }
310
310
  }
311
- // Ask about experience level
311
+ // Ask about experience level (user must decide - AI can't know this)
312
312
  console.log(chalk_1.default.white('\n What\'s your experience level?\n'));
313
- console.log(chalk_1.default.gray(' 0. ') + chalk_1.default.magenta('You Decide') + chalk_1.default.gray(' - Let AI pick the best option'));
314
313
  console.log(chalk_1.default.gray(' 1. ') + chalk_1.default.cyan('Beginner') + chalk_1.default.gray(' - New to coding, explain everything'));
315
314
  console.log(chalk_1.default.gray(' 2. ') + chalk_1.default.cyan('Intermediate') + chalk_1.default.gray(' - Know some coding, brief explanations'));
316
315
  console.log(chalk_1.default.gray(' 3. ') + chalk_1.default.cyan('Advanced') + chalk_1.default.gray(' - Skip explanations, just build\n'));
317
316
  let experienceLevel = '';
318
- while (!['0', '1', '2', '3'].includes(experienceLevel)) {
319
- experienceLevel = await prompt(' Enter 0, 1, 2, or 3: ');
320
- }
321
- // "You Decide" defaults to Intermediate (balanced)
322
- if (experienceLevel === '0') {
323
- console.log(chalk_1.default.magenta(' → AI chose: Intermediate (balanced explanations)\n'));
324
- experienceLevel = '2';
317
+ while (!['1', '2', '3'].includes(experienceLevel)) {
318
+ experienceLevel = await prompt(' Enter 1, 2, or 3: ');
325
319
  }
326
320
  const isBeginnerMode = experienceLevel === '1';
327
321
  // Select stack with explanations for beginners
package/dist/index.js CHANGED
@@ -53,7 +53,7 @@ const program = new commander_1.Command();
53
53
  program
54
54
  .name('codebakers')
55
55
  .description('CodeBakers CLI - Production patterns for AI-assisted development')
56
- .version('1.4.4');
56
+ .version('1.4.5');
57
57
  // Primary command - one-time setup
58
58
  program
59
59
  .command('setup')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebakers/cli",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "CodeBakers CLI - Production patterns for AI-assisted development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -271,20 +271,13 @@ async function confirm(question: string): Promise<boolean> {
271
271
 
272
272
  async function selectProjectType(): Promise<{ type: ProjectType; name: string }> {
273
273
  console.log(chalk.white('\n What kind of project is this?\n'));
274
- console.log(chalk.gray(' 0. ') + chalk.magenta('You Decide') + chalk.gray(' - Let AI pick the best option'));
275
274
  console.log(chalk.gray(' 1. ') + chalk.cyan('PERSONAL') + chalk.gray(' - Just building for myself'));
276
275
  console.log(chalk.gray(' 2. ') + chalk.cyan('CLIENT') + chalk.gray(' - Building for someone else'));
277
276
  console.log(chalk.gray(' 3. ') + chalk.cyan('BUSINESS') + chalk.gray(' - My own product/startup\n'));
278
277
 
279
278
  let typeChoice = '';
280
- while (!['0', '1', '2', '3'].includes(typeChoice)) {
281
- typeChoice = await prompt(' Enter 0, 1, 2, or 3: ');
282
- }
283
-
284
- // "You Decide" defaults to Personal (most common)
285
- if (typeChoice === '0') {
286
- console.log(chalk.magenta(' → AI chose: Personal (most flexible)\n'));
287
- typeChoice = '1';
279
+ while (!['1', '2', '3'].includes(typeChoice)) {
280
+ typeChoice = await prompt(' Enter 1, 2, or 3: ');
288
281
  }
289
282
 
290
283
  const typeMap: Record<string, ProjectType> = {
@@ -288,22 +288,15 @@ export async function scaffold(): Promise<void> {
288
288
  }
289
289
  }
290
290
 
291
- // Ask about experience level
291
+ // Ask about experience level (user must decide - AI can't know this)
292
292
  console.log(chalk.white('\n What\'s your experience level?\n'));
293
- console.log(chalk.gray(' 0. ') + chalk.magenta('You Decide') + chalk.gray(' - Let AI pick the best option'));
294
293
  console.log(chalk.gray(' 1. ') + chalk.cyan('Beginner') + chalk.gray(' - New to coding, explain everything'));
295
294
  console.log(chalk.gray(' 2. ') + chalk.cyan('Intermediate') + chalk.gray(' - Know some coding, brief explanations'));
296
295
  console.log(chalk.gray(' 3. ') + chalk.cyan('Advanced') + chalk.gray(' - Skip explanations, just build\n'));
297
296
 
298
297
  let experienceLevel = '';
299
- while (!['0', '1', '2', '3'].includes(experienceLevel)) {
300
- experienceLevel = await prompt(' Enter 0, 1, 2, or 3: ');
301
- }
302
-
303
- // "You Decide" defaults to Intermediate (balanced)
304
- if (experienceLevel === '0') {
305
- console.log(chalk.magenta(' → AI chose: Intermediate (balanced explanations)\n'));
306
- experienceLevel = '2';
298
+ while (!['1', '2', '3'].includes(experienceLevel)) {
299
+ experienceLevel = await prompt(' Enter 1, 2, or 3: ');
307
300
  }
308
301
 
309
302
  const isBeginnerMode = experienceLevel === '1';
package/src/index.ts CHANGED
@@ -57,7 +57,7 @@ const program = new Command();
57
57
  program
58
58
  .name('codebakers')
59
59
  .description('CodeBakers CLI - Production patterns for AI-assisted development')
60
- .version('1.4.4');
60
+ .version('1.4.5');
61
61
 
62
62
  // Primary command - one-time setup
63
63
  program