@codebakers/cli 3.9.33 → 3.9.34

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.
@@ -1371,8 +1371,8 @@ async function showVSCodeClaudeInstructions() {
1371
1371
  console.log(chalk_1.default.gray(' Get it from: ') + chalk_1.default.cyan('https://marketplace.visualstudio.com/items?itemName=anthropics.claude-code\n'));
1372
1372
  console.log(chalk_1.default.gray(' Having issues? Run: ') + chalk_1.default.cyan('codebakers doctor') + chalk_1.default.gray(' to diagnose\n'));
1373
1373
  }
1374
- // v6.17 Bootstrap - SHORT template with magic phrase + rules at START and END
1375
- const V6_CLAUDE_MD = `# CodeBakers v6.17
1374
+ // v6.18 Bootstrap - SHORT template with magic phrase + rules at START and END
1375
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
1376
1376
 
1377
1377
  ## 🪄 MAGIC PHRASE: "codebakers go"
1378
1378
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -1414,7 +1414,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
1414
1414
  3. Call \`validate_complete()\` before done
1415
1415
  4. Show footer after code responses
1416
1416
  `;
1417
- const V6_CURSORRULES = `# CodeBakers v6.17
1417
+ const V6_CURSORRULES = `# CodeBakers v6.18
1418
1418
 
1419
1419
  ## 🪄 "codebakers go" = Start onboarding conversation
1420
1420
  Ask existing/new → Ask what to build → Call init_project() → Help them build
@@ -2490,9 +2490,9 @@ Or if user declines, call without fullDeploy:
2490
2490
  catch {
2491
2491
  // Use default
2492
2492
  }
2493
- results.push(`# 🎨 Adding CodeBakers v6.17 to: ${projectName}\n`);
2494
- // v6.17 bootstrap content - magic phrase + rules at START and END + coherence
2495
- const V6_CLAUDE_MD = `# CodeBakers v6.17
2493
+ results.push(`# 🎨 Adding CodeBakers v6.18 to: ${projectName}\n`);
2494
+ // v6.18 bootstrap content - magic phrase + rules at START and END + coherence
2495
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
2496
2496
 
2497
2497
  ## 🪄 MAGIC PHRASE: "codebakers go"
2498
2498
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -2534,7 +2534,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
2534
2534
  3. Call \`validate_complete()\` before done
2535
2535
  4. Show footer after code responses
2536
2536
  `;
2537
- const V6_CURSORRULES = `# CodeBakers v6.17
2537
+ const V6_CURSORRULES = `# CodeBakers v6.18
2538
2538
 
2539
2539
  ## 🪄 "codebakers go" = Start onboarding conversation
2540
2540
  Ask existing/new → Ask what to build → Call init_project() → Help them build
@@ -2563,8 +2563,8 @@ Use coherence_audit() to check wiring & dependencies
2563
2563
  const claudeMdPath = path.join(cwd, 'CLAUDE.md');
2564
2564
  if (fs.existsSync(claudeMdPath)) {
2565
2565
  const content = fs.readFileSync(claudeMdPath, 'utf-8');
2566
- if ((content.includes('v6.16') || content.includes('v6.17')) && content.includes('discover_patterns')) {
2567
- results.push('✓ CodeBakers v6.17 already installed\n');
2566
+ if ((content.includes('v6.16') || content.includes('v6.18')) && content.includes('discover_patterns')) {
2567
+ results.push('✓ CodeBakers v6.18 already installed\n');
2568
2568
  results.push('Patterns are server-enforced. Just call `discover_patterns` before coding!');
2569
2569
  return {
2570
2570
  content: [{ type: 'text', text: results.join('\n') }],
@@ -2622,7 +2622,7 @@ Use coherence_audit() to check wiring & dependencies
2622
2622
  state.updatedAt = new Date().toISOString();
2623
2623
  fs.writeFileSync(stateFile, JSON.stringify(state, null, 2));
2624
2624
  results.push('\n---\n');
2625
- results.push('## ✅ CodeBakers v6.17 Installed!\n');
2625
+ results.push('## ✅ CodeBakers v6.18 Installed!\n');
2626
2626
  results.push('**How it works now:**');
2627
2627
  results.push('1. Call `discover_patterns` before writing code');
2628
2628
  results.push('2. Server returns all patterns and rules');
@@ -6716,7 +6716,7 @@ ${handlers.join('\n')}
6716
6716
  `;
6717
6717
  }
6718
6718
  /**
6719
- * Update to CodeBakers v6.17 - server-enforced patterns with magic phrase + coherence
6719
+ * Update to CodeBakers v6.18 - server-enforced patterns with magic phrase + coherence
6720
6720
  * This is the MCP equivalent of the `codebakers upgrade` CLI command
6721
6721
  */
6722
6722
  async handleUpdatePatterns(args) {
@@ -6725,9 +6725,9 @@ ${handlers.join('\n')}
6725
6725
  const claudeMdPath = path.join(cwd, 'CLAUDE.md');
6726
6726
  const claudeDir = path.join(cwd, '.claude');
6727
6727
  const codebakersJson = path.join(cwd, '.codebakers.json');
6728
- let response = `# 🔄 CodeBakers v6.17 Update\n\n`;
6729
- // v6.17 bootstrap content - magic phrase + rules at START and END + coherence
6730
- const V6_CLAUDE_MD = `# CodeBakers v6.17
6728
+ let response = `# 🔄 CodeBakers v6.18 Update\n\n`;
6729
+ // v6.18 bootstrap content - magic phrase + rules at START and END + coherence
6730
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
6731
6731
 
6732
6732
  ## 🪄 MAGIC PHRASE: "codebakers go"
6733
6733
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -6769,7 +6769,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
6769
6769
  3. Call \`validate_complete()\` before done
6770
6770
  4. Show footer after code responses
6771
6771
  `;
6772
- const V6_CURSORRULES = `# CodeBakers v6.17
6772
+ const V6_CURSORRULES = `# CodeBakers v6.18
6773
6773
 
6774
6774
  ## 🪄 "codebakers go" = Start onboarding conversation
6775
6775
  Ask existing/new → Ask what to build → Call init_project() → Help them build
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebakers/cli",
3
- "version": "3.9.33",
3
+ "version": "3.9.34",
4
4
  "description": "CodeBakers CLI - Production patterns for AI-assisted development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -1562,8 +1562,8 @@ async function showVSCodeClaudeInstructions(): Promise<void> {
1562
1562
  console.log(chalk.gray(' Having issues? Run: ') + chalk.cyan('codebakers doctor') + chalk.gray(' to diagnose\n'));
1563
1563
  }
1564
1564
 
1565
- // v6.17 Bootstrap - SHORT template with magic phrase + rules at START and END
1566
- const V6_CLAUDE_MD = `# CodeBakers v6.17
1565
+ // v6.18 Bootstrap - SHORT template with magic phrase + rules at START and END
1566
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
1567
1567
 
1568
1568
  ## 🪄 MAGIC PHRASE: "codebakers go"
1569
1569
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -1606,7 +1606,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
1606
1606
  4. Show footer after code responses
1607
1607
  `;
1608
1608
 
1609
- const V6_CURSORRULES = `# CodeBakers v6.17
1609
+ const V6_CURSORRULES = `# CodeBakers v6.18
1610
1610
 
1611
1611
  ## 🪄 "codebakers go" = Start onboarding conversation
1612
1612
  Ask existing/new → Ask what to build → Call init_project() → Help them build
package/src/mcp/server.ts CHANGED
@@ -2834,10 +2834,10 @@ Or if user declines, call without fullDeploy:
2834
2834
  // Use default
2835
2835
  }
2836
2836
 
2837
- results.push(`# 🎨 Adding CodeBakers v6.17 to: ${projectName}\n`);
2837
+ results.push(`# 🎨 Adding CodeBakers v6.18 to: ${projectName}\n`);
2838
2838
 
2839
- // v6.17 bootstrap content - magic phrase + rules at START and END + coherence
2840
- const V6_CLAUDE_MD = `# CodeBakers v6.17
2839
+ // v6.18 bootstrap content - magic phrase + rules at START and END + coherence
2840
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
2841
2841
 
2842
2842
  ## 🪄 MAGIC PHRASE: "codebakers go"
2843
2843
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -2880,7 +2880,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
2880
2880
  4. Show footer after code responses
2881
2881
  `;
2882
2882
 
2883
- const V6_CURSORRULES = `# CodeBakers v6.17
2883
+ const V6_CURSORRULES = `# CodeBakers v6.18
2884
2884
 
2885
2885
  ## 🪄 "codebakers go" = Start onboarding conversation
2886
2886
  Ask existing/new → Ask what to build → Call init_project() → Help them build
@@ -2910,8 +2910,8 @@ Use coherence_audit() to check wiring & dependencies
2910
2910
  const claudeMdPath = path.join(cwd, 'CLAUDE.md');
2911
2911
  if (fs.existsSync(claudeMdPath)) {
2912
2912
  const content = fs.readFileSync(claudeMdPath, 'utf-8');
2913
- if ((content.includes('v6.16') || content.includes('v6.17')) && content.includes('discover_patterns')) {
2914
- results.push('✓ CodeBakers v6.17 already installed\n');
2913
+ if ((content.includes('v6.16') || content.includes('v6.18')) && content.includes('discover_patterns')) {
2914
+ results.push('✓ CodeBakers v6.18 already installed\n');
2915
2915
  results.push('Patterns are server-enforced. Just call `discover_patterns` before coding!');
2916
2916
  return {
2917
2917
  content: [{ type: 'text' as const, text: results.join('\n') }],
@@ -2973,7 +2973,7 @@ Use coherence_audit() to check wiring & dependencies
2973
2973
  fs.writeFileSync(stateFile, JSON.stringify(state, null, 2));
2974
2974
 
2975
2975
  results.push('\n---\n');
2976
- results.push('## ✅ CodeBakers v6.17 Installed!\n');
2976
+ results.push('## ✅ CodeBakers v6.18 Installed!\n');
2977
2977
  results.push('**How it works now:**');
2978
2978
  results.push('1. Call `discover_patterns` before writing code');
2979
2979
  results.push('2. Server returns all patterns and rules');
@@ -7518,7 +7518,7 @@ ${handlers.join('\n')}
7518
7518
  }
7519
7519
 
7520
7520
  /**
7521
- * Update to CodeBakers v6.17 - server-enforced patterns with magic phrase + coherence
7521
+ * Update to CodeBakers v6.18 - server-enforced patterns with magic phrase + coherence
7522
7522
  * This is the MCP equivalent of the `codebakers upgrade` CLI command
7523
7523
  */
7524
7524
  private async handleUpdatePatterns(args: { force?: boolean }) {
@@ -7528,10 +7528,10 @@ ${handlers.join('\n')}
7528
7528
  const claudeDir = path.join(cwd, '.claude');
7529
7529
  const codebakersJson = path.join(cwd, '.codebakers.json');
7530
7530
 
7531
- let response = `# 🔄 CodeBakers v6.17 Update\n\n`;
7531
+ let response = `# 🔄 CodeBakers v6.18 Update\n\n`;
7532
7532
 
7533
- // v6.17 bootstrap content - magic phrase + rules at START and END + coherence
7534
- const V6_CLAUDE_MD = `# CodeBakers v6.17
7533
+ // v6.18 bootstrap content - magic phrase + rules at START and END + coherence
7534
+ const V6_CLAUDE_MD = `# CodeBakers v6.18
7535
7535
 
7536
7536
  ## 🪄 MAGIC PHRASE: "codebakers go"
7537
7537
  When user says "codebakers go" in chat, start the onboarding conversation:
@@ -7574,7 +7574,7 @@ Footer (after code): 🍪 **CodeBakers** | Patterns: X | TSC: ✅ | Tests: ✅
7574
7574
  4. Show footer after code responses
7575
7575
  `;
7576
7576
 
7577
- const V6_CURSORRULES = `# CodeBakers v6.17
7577
+ const V6_CURSORRULES = `# CodeBakers v6.18
7578
7578
 
7579
7579
  ## 🪄 "codebakers go" = Start onboarding conversation
7580
7580
  Ask existing/new → Ask what to build → Call init_project() → Help them build
@@ -0,0 +1 @@
1
+ /c/dev/1 - CodeBakers/codebakers-server/cli
@@ -0,0 +1 @@
1
+ /c/dev/1 - CodeBakers/codebakers-server/cli
@@ -0,0 +1 @@
1
+ /c/dev/1 - CodeBakers/codebakers-server/cli