@codebakers/cli 3.3.10 → 3.3.12

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/package.json +1 -1
  2. package/src/mcp/server.ts +12 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebakers/cli",
3
- "version": "3.3.10",
3
+ "version": "3.3.12",
4
4
  "description": "CodeBakers CLI - Production patterns for AI-assisted development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
package/src/mcp/server.ts CHANGED
@@ -2737,6 +2737,9 @@ phase: development
2737
2737
  response += `---\n\n*Run with \`auto: true\` to automatically apply safe fixes.*`;
2738
2738
  }
2739
2739
 
2740
+ // Add CLI update notice if available
2741
+ response += this.getUpdateNotice();
2742
+
2740
2743
  return {
2741
2744
  content: [{
2742
2745
  type: 'text' as const,
@@ -2748,7 +2751,7 @@ phase: development
2748
2751
  return {
2749
2752
  content: [{
2750
2753
  type: 'text' as const,
2751
- text: `# ❌ Healing Failed\n\nError: ${message}`,
2754
+ text: `# ❌ Healing Failed\n\nError: ${message}${this.getUpdateNotice()}`,
2752
2755
  }],
2753
2756
  };
2754
2757
  }
@@ -2804,10 +2807,13 @@ Just describe what you want to build! I'll automatically:
2804
2807
  ---
2805
2808
  *CodeBakers is providing AI-assisted development patterns for this project.*`;
2806
2809
 
2810
+ // Add CLI update notice if available
2811
+ const statusWithNotice = statusText + this.getUpdateNotice();
2812
+
2807
2813
  return {
2808
2814
  content: [{
2809
2815
  type: 'text' as const,
2810
- text: statusText,
2816
+ text: statusWithNotice,
2811
2817
  }],
2812
2818
  };
2813
2819
  }
@@ -5596,6 +5602,7 @@ ${handlers.join('\n')}
5596
5602
  response += `✅ **Already up to date!**\n\n`;
5597
5603
  response += `Your patterns are current (v${latestVersion} with ${latestModuleCount} modules).\n`;
5598
5604
  response += `Use \`force: true\` to re-download anyway.\n`;
5605
+ response += this.getUpdateNotice();
5599
5606
 
5600
5607
  return {
5601
5608
  content: [{
@@ -5677,6 +5684,9 @@ ${handlers.join('\n')}
5677
5684
  }
5678
5685
  }
5679
5686
 
5687
+ // Add CLI update notice if available
5688
+ response += this.getUpdateNotice();
5689
+
5680
5690
  return {
5681
5691
  content: [{
5682
5692
  type: 'text' as const,