@codebakers/mcp 5.4.1 → 5.4.3

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.
package/dist/cli.js CHANGED
@@ -37,33 +37,33 @@ async function main() {
37
37
  }
38
38
  }
39
39
  function showHelp() {
40
- console.log(`
41
- 🍞 CodeBakers MCP Server CLI
42
-
43
- USAGE:
44
- npx @codebakers/mcp-server <command>
45
-
46
- COMMANDS:
47
- install Install CodeBakers MCP Server to Claude Desktop
48
- uninstall Remove CodeBakers MCP Server from Claude Desktop
49
- status Check current installation status
50
- version Show version
51
- help Show this help
52
-
53
- EXAMPLES:
54
- npx @codebakers/mcp-server install
55
- npx @codebakers/mcp-server status
56
-
57
- WHAT IT DOES:
58
- - Locates Claude Desktop config file
59
- - Adds CodeBakers MCP Server configuration
60
- - Provides path to MCP server executable
61
- - No manual JSON editing required
62
-
63
- AFTER INSTALLATION:
64
- 1. Restart Claude Desktop
65
- 2. CodeBakers tools will appear automatically
66
- 3. Run: codebakers_get_context to verify
40
+ console.log(`
41
+ 🍞 CodeBakers MCP Server CLI
42
+
43
+ USAGE:
44
+ npx @codebakers/mcp-server <command>
45
+
46
+ COMMANDS:
47
+ install Install CodeBakers MCP Server to Claude Desktop
48
+ uninstall Remove CodeBakers MCP Server from Claude Desktop
49
+ status Check current installation status
50
+ version Show version
51
+ help Show this help
52
+
53
+ EXAMPLES:
54
+ npx @codebakers/mcp-server install
55
+ npx @codebakers/mcp-server status
56
+
57
+ WHAT IT DOES:
58
+ - Locates Claude Desktop config file
59
+ - Adds CodeBakers MCP Server configuration
60
+ - Provides path to MCP server executable
61
+ - No manual JSON editing required
62
+
63
+ AFTER INSTALLATION:
64
+ 1. Restart Claude Desktop
65
+ 2. CodeBakers tools will appear automatically
66
+ 3. Run: codebakers_get_context to verify
67
67
  `);
68
68
  }
69
69
  async function install() {
@@ -24,14 +24,14 @@ export async function analyzeMockupsDeep(args) {
24
24
  // 1. CHECK IF MOCKUP FOLDER EXISTS
25
25
  const exists = await fs.access(mockupPath).then(() => true).catch(() => false);
26
26
  if (!exists) {
27
- return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis
28
-
29
- ❌ BLOCKER: Mockup folder not found
30
-
31
- Expected location: ${mockupPath}
32
-
33
- Phase 2 cannot proceed without mockups. You must complete Phase 1 first.
34
-
27
+ return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis
28
+
29
+ ❌ BLOCKER: Mockup folder not found
30
+
31
+ Expected location: ${mockupPath}
32
+
33
+ Phase 2 cannot proceed without mockups. You must complete Phase 1 first.
34
+
35
35
  Next step: Run Phase 1 to create UI mockups, then return to Phase 2.`;
36
36
  }
37
37
  // 2. READ ALL MOCKUP FILES
@@ -41,12 +41,12 @@ Next step: Run Phase 1 to create UI mockups, then return to Phase 2.`;
41
41
  f.endsWith('.tsx') ||
42
42
  f.endsWith('.md'));
43
43
  if (mockupFiles.length === 0) {
44
- return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis
45
-
46
- ⚠️ WARNING: No mockup files found in ${mockupPath}
47
-
48
- Supported formats: .html, .jsx, .tsx, .md
49
-
44
+ return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis
45
+
46
+ ⚠️ WARNING: No mockup files found in ${mockupPath}
47
+
48
+ Supported formats: .html, .jsx, .tsx, .md
49
+
50
50
  Phase 1 may be incomplete. Verify mockups exist before proceeding to Phase 2.`;
51
51
  }
52
52
  console.error(`Found ${mockupFiles.length} mockup files`);
@@ -68,33 +68,33 @@ Phase 1 may be incomplete. Verify mockups exist before proceeding to Phase 2.`;
68
68
  console.error(`✓ Analysis complete: ${outputPath}`);
69
69
  // 5. GENERATE SUMMARY FOR USER
70
70
  const summary = generateAnalysisSummary(analyses);
71
- return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis Complete
72
-
73
- ${summary}
74
-
75
- 📄 Full analysis written to: .codebakers/MOCK-ANALYSIS.md
76
-
77
- Next steps:
78
- 1. Review MOCK-ANALYSIS.md to verify all data captured
79
- 2. Proceed to Phase 2B: Schema Generation (use tool: codebakers_generate_schema)
80
- 3. Then Phase 2C: Dependency Mapping (use tool: codebakers_map_dependencies)
81
-
82
- Verification gate requirement:
83
- → Every data field in every mockup must have a corresponding database column
84
- → All entity relationships must be captured
71
+ return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis Complete
72
+
73
+ ${summary}
74
+
75
+ 📄 Full analysis written to: .codebakers/MOCK-ANALYSIS.md
76
+
77
+ Next steps:
78
+ 1. Review MOCK-ANALYSIS.md to verify all data captured
79
+ 2. Proceed to Phase 2B: Schema Generation (use tool: codebakers_generate_schema)
80
+ 3. Then Phase 2C: Dependency Mapping (use tool: codebakers_map_dependencies)
81
+
82
+ Verification gate requirement:
83
+ → Every data field in every mockup must have a corresponding database column
84
+ → All entity relationships must be captured
85
85
  → No unresolved dependencies`;
86
86
  }
87
87
  catch (error) {
88
88
  console.error('Error during mockup analysis:', error);
89
- return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis Failed
90
-
91
- Error: ${error instanceof Error ? error.message : String(error)}
92
-
93
- Please check:
94
- - Mockup folder exists and is readable
95
- - Mockup files are valid format (.html, .jsx, .tsx, .md)
96
- - File permissions allow reading
97
-
89
+ return `🍞 CodeBakers: Phase 2A - Deep Mockup Analysis Failed
90
+
91
+ Error: ${error instanceof Error ? error.message : String(error)}
92
+
93
+ Please check:
94
+ - Mockup folder exists and is readable
95
+ - Mockup files are valid format (.html, .jsx, .tsx, .md)
96
+ - File permissions allow reading
97
+
98
98
  If issue persists, log to ERROR-LOG.md and request human assistance.`;
99
99
  }
100
100
  }
@@ -1,19 +1,19 @@
1
- /**
2
- * codebakers_autonomous_build
3
- *
4
- * Full Autonomous Build Orchestrator
5
- *
6
- * Builds entire application from FLOWS.md with zero human intervention.
7
- * Executes all features sequentially with full atomic unit protocol.
8
- */
9
- interface BuildArgs {
10
- mode: 'full' | 'remaining';
11
- stop_on_error?: boolean;
12
- skip_quality_gates?: boolean;
13
- skip_deploy?: boolean;
14
- skip_docs?: boolean;
15
- skip_chatbot?: boolean;
16
- }
17
- export declare function autonomousBuild(args: BuildArgs): Promise<string>;
18
- export {};
1
+ /**
2
+ * codebakers_autonomous_build
3
+ *
4
+ * Full Autonomous Build Orchestrator
5
+ *
6
+ * Builds entire application from FLOWS.md with zero human intervention.
7
+ * Executes all features sequentially with full atomic unit protocol.
8
+ */
9
+ interface BuildArgs {
10
+ mode: 'full' | 'remaining';
11
+ stop_on_error?: boolean;
12
+ skip_quality_gates?: boolean;
13
+ skip_deploy?: boolean;
14
+ skip_docs?: boolean;
15
+ skip_chatbot?: boolean;
16
+ }
17
+ export declare function autonomousBuild(args: BuildArgs): Promise<string>;
18
+ export {};
19
19
  //# sourceMappingURL=autonomous-build.d.ts.map