@codebakers/cli 1.1.9 → 1.2.0

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.
@@ -72,22 +72,27 @@ async function setup() {
72
72
  showFinalInstructions();
73
73
  }
74
74
  function showFinalInstructions() {
75
- console.log(chalk_1.default.white(' Step 2: Add MCP Server\n'));
76
- // Detect platform
77
75
  const isWindows = process.platform === 'win32';
78
- console.log(chalk_1.default.yellow(' Run this command in your TERMINAL:\n'));
76
+ console.log(chalk_1.default.green('\n API key saved!\n'));
77
+ console.log(chalk_1.default.blue(' ══════════════════════════════════════════════════════════'));
78
+ console.log(chalk_1.default.white.bold('\n STEP 2: Connect CodeBakers to Claude\n'));
79
+ console.log(chalk_1.default.blue(' ══════════════════════════════════════════════════════════\n'));
80
+ console.log(chalk_1.default.white(' Open a NEW terminal window and run this command:\n'));
79
81
  const terminalCmd = isWindows
80
82
  ? 'claude mcp add --transport stdio codebakers -- cmd /c npx -y @codebakers/cli serve'
81
83
  : 'claude mcp add --transport stdio codebakers -- npx -y @codebakers/cli serve';
82
- console.log(chalk_1.default.cyan(' ' + terminalCmd + '\n'));
83
- console.log(chalk_1.default.gray(' This only needs to be done once.\n'));
84
- console.log(chalk_1.default.blue(' ══════════════════════════════════════\n'));
85
- console.log(chalk_1.default.green(' Almost done! 🎉\n'));
86
- console.log(chalk_1.default.white(' After running that command:\n'));
87
- console.log(chalk_1.default.gray(' • Claude will have access to 34 production patterns'));
88
- console.log(chalk_1.default.gray(' • Patterns are fetched on-demand (never stored locally)'));
89
- console.log(chalk_1.default.gray(' • Works across all your projects\n'));
90
- console.log(chalk_1.default.white(' Example prompt to try:\n'));
84
+ console.log(chalk_1.default.bgBlue.white('\n ' + terminalCmd + ' \n'));
85
+ console.log(chalk_1.default.gray('\n ┌─────────────────────────────────────────────────────────┐'));
86
+ console.log(chalk_1.default.gray(' ') + chalk_1.default.yellow(' ⚠️ IMPORTANT: ') + chalk_1.default.gray('│'));
87
+ console.log(chalk_1.default.gray(' │') + chalk_1.default.white(' • Run this in a TERMINAL, not in Claude Code chat ') + chalk_1.default.gray('│'));
88
+ console.log(chalk_1.default.gray(' │') + chalk_1.default.white(' You only need to do this ONCE ') + chalk_1.default.gray('│'));
89
+ console.log(chalk_1.default.gray(' │') + chalk_1.default.white(' After running, restart Claude Code ') + chalk_1.default.gray('│'));
90
+ console.log(chalk_1.default.gray(' └─────────────────────────────────────────────────────────┘\n'));
91
+ console.log(chalk_1.default.blue(' ══════════════════════════════════════════════════════════'));
92
+ console.log(chalk_1.default.white.bold('\n STEP 3: Test it!\n'));
93
+ console.log(chalk_1.default.blue(' ══════════════════════════════════════════════════════════\n'));
94
+ console.log(chalk_1.default.white(' After restarting Claude Code, try this prompt:\n'));
91
95
  console.log(chalk_1.default.cyan(' "Build a login form with email validation"\n'));
96
+ console.log(chalk_1.default.gray(' Claude will now use CodeBakers patterns automatically.\n'));
92
97
  console.log(chalk_1.default.gray(' Need help? https://codebakers.ai/docs\n'));
93
98
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codebakers/cli",
3
- "version": "1.1.9",
3
+ "version": "1.2.0",
4
4
  "description": "CodeBakers CLI - Production patterns for AI-assisted development",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -79,30 +79,36 @@ export async function setup(): Promise<void> {
79
79
  }
80
80
 
81
81
  function showFinalInstructions(): void {
82
- console.log(chalk.white(' Step 2: Add MCP Server\n'));
83
-
84
- // Detect platform
85
82
  const isWindows = process.platform === 'win32';
86
83
 
87
- console.log(chalk.yellow(' Run this command in your TERMINAL:\n'));
84
+ console.log(chalk.green('\n API key saved!\n'));
85
+ console.log(chalk.blue(' ══════════════════════════════════════════════════════════'));
86
+ console.log(chalk.white.bold('\n STEP 2: Connect CodeBakers to Claude\n'));
87
+ console.log(chalk.blue(' ══════════════════════════════════════════════════════════\n'));
88
+
89
+ console.log(chalk.white(' Open a NEW terminal window and run this command:\n'));
88
90
 
89
91
  const terminalCmd = isWindows
90
92
  ? 'claude mcp add --transport stdio codebakers -- cmd /c npx -y @codebakers/cli serve'
91
93
  : 'claude mcp add --transport stdio codebakers -- npx -y @codebakers/cli serve';
92
94
 
93
- console.log(chalk.cyan(' ' + terminalCmd + '\n'));
95
+ console.log(chalk.bgBlue.white('\n ' + terminalCmd + ' \n'));
94
96
 
95
- console.log(chalk.gray(' This only needs to be done once.\n'));
97
+ console.log(chalk.gray('\n ┌─────────────────────────────────────────────────────────┐'));
98
+ console.log(chalk.gray(' │') + chalk.yellow(' ⚠️ IMPORTANT: ') + chalk.gray('│'));
99
+ console.log(chalk.gray(' │') + chalk.white(' • Run this in a TERMINAL, not in Claude Code chat ') + chalk.gray('│'));
100
+ console.log(chalk.gray(' │') + chalk.white(' • You only need to do this ONCE ') + chalk.gray('│'));
101
+ console.log(chalk.gray(' │') + chalk.white(' • After running, restart Claude Code ') + chalk.gray('│'));
102
+ console.log(chalk.gray(' └─────────────────────────────────────────────────────────┘\n'));
96
103
 
97
- console.log(chalk.blue(' ══════════════════════════════════════\n'));
98
- console.log(chalk.green(' Almost done! 🎉\n'));
99
- console.log(chalk.white(' After running that command:\n'));
100
- console.log(chalk.gray(' • Claude will have access to 34 production patterns'));
101
- console.log(chalk.gray(' • Patterns are fetched on-demand (never stored locally)'));
102
- console.log(chalk.gray(' • Works across all your projects\n'));
104
+ console.log(chalk.blue(' ══════════════════════════════════════════════════════════'));
105
+ console.log(chalk.white.bold('\n STEP 3: Test it!\n'));
106
+ console.log(chalk.blue(' ══════════════════════════════════════════════════════════\n'));
103
107
 
104
- console.log(chalk.white(' Example prompt to try:\n'));
108
+ console.log(chalk.white(' After restarting Claude Code, try this prompt:\n'));
105
109
  console.log(chalk.cyan(' "Build a login form with email validation"\n'));
106
110
 
111
+ console.log(chalk.gray(' Claude will now use CodeBakers patterns automatically.\n'));
112
+
107
113
  console.log(chalk.gray(' Need help? https://codebakers.ai/docs\n'));
108
114
  }