@codebakers/mcp 5.4.2 → 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/INSTALL.md +221 -221
- package/LICENSE +21 -21
- package/README.md +412 -412
- package/dist/cli.js +29 -29
- package/dist/cli.js.map +1 -1
- package/dist/tools/analyze-mockups.js +37 -37
- package/dist/tools/autonomous-build.d.ts +18 -18
- package/dist/tools/autonomous-build.js +286 -286
- package/dist/tools/check-gate.js +6 -6
- package/dist/tools/check-scope.js +10 -10
- package/dist/tools/enforce-feature.js +15 -15
- package/dist/tools/fix-commit.js +18 -18
- package/dist/tools/fix-mockups.js +191 -191
- package/dist/tools/generate-api-route.js +155 -155
- package/dist/tools/generate-chatbot.js +306 -306
- package/dist/tools/generate-component.js +117 -117
- package/dist/tools/generate-docs.js +525 -525
- package/dist/tools/generate-e2e-tests.js +19 -19
- package/dist/tools/generate-migration.js +22 -22
- package/dist/tools/generate-schema.js +37 -37
- package/dist/tools/generate-spec.js +38 -38
- package/dist/tools/generate-store-contracts.js +42 -42
- package/dist/tools/generate-store.js +109 -109
- package/dist/tools/generate-unit-tests.js +57 -57
- package/dist/tools/map-dependencies.js +45 -45
- package/dist/tools/run-interview.js +142 -142
- package/dist/tools/setup-github.js +8 -8
- package/dist/tools/setup-supabase.js +8 -8
- package/dist/tools/setup-vercel.js +8 -8
- package/dist/tools/validate-mockups.js +19 -19
- package/package.json +50 -50
|
@@ -26,13 +26,13 @@ export async function validateMockups(args) {
|
|
|
26
26
|
// Check if mockup folder exists
|
|
27
27
|
const folderExists = await fs.access(mockupPath).then(() => true).catch(() => false);
|
|
28
28
|
if (!folderExists) {
|
|
29
|
-
return `🍞 CodeBakers: Mockup Validation BLOCKED
|
|
30
|
-
|
|
31
|
-
❌ Mockup folder not found: ${mockupFolder}
|
|
32
|
-
|
|
33
|
-
Create folder and add mockups:
|
|
34
|
-
mkdir -p ${mockupFolder}
|
|
35
|
-
|
|
29
|
+
return `🍞 CodeBakers: Mockup Validation BLOCKED
|
|
30
|
+
|
|
31
|
+
❌ Mockup folder not found: ${mockupFolder}
|
|
32
|
+
|
|
33
|
+
Create folder and add mockups:
|
|
34
|
+
mkdir -p ${mockupFolder}
|
|
35
|
+
|
|
36
36
|
Then drop your design mockups (HTML, Figma exports, screenshots).`;
|
|
37
37
|
}
|
|
38
38
|
// Get all mockup files
|
|
@@ -43,14 +43,14 @@ Then drop your design mockups (HTML, Figma exports, screenshots).`;
|
|
|
43
43
|
f.endsWith('.jpg') ||
|
|
44
44
|
f.endsWith('.jpeg'));
|
|
45
45
|
if (mockupFiles.length === 0) {
|
|
46
|
-
return `🍞 CodeBakers: Mockup Validation BLOCKED
|
|
47
|
-
|
|
48
|
-
❌ No mockup files found in ${mockupFolder}
|
|
49
|
-
|
|
50
|
-
Supported formats:
|
|
51
|
-
- HTML/HTM (Staff mockups - preferred)
|
|
52
|
-
- PNG/JPG (Client mockups - will need analysis)
|
|
53
|
-
|
|
46
|
+
return `🍞 CodeBakers: Mockup Validation BLOCKED
|
|
47
|
+
|
|
48
|
+
❌ No mockup files found in ${mockupFolder}
|
|
49
|
+
|
|
50
|
+
Supported formats:
|
|
51
|
+
- HTML/HTM (Staff mockups - preferred)
|
|
52
|
+
- PNG/JPG (Client mockups - will need analysis)
|
|
53
|
+
|
|
54
54
|
Add mockups and run again.`;
|
|
55
55
|
}
|
|
56
56
|
console.error(`Found ${mockupFiles.length} mockup files`);
|
|
@@ -101,10 +101,10 @@ Add mockups and run again.`;
|
|
|
101
101
|
}
|
|
102
102
|
catch (error) {
|
|
103
103
|
console.error('Error during mockup validation:', error);
|
|
104
|
-
return `🍞 CodeBakers: Mockup Validation Failed
|
|
105
|
-
|
|
106
|
-
Error: ${error instanceof Error ? error.message : String(error)}
|
|
107
|
-
|
|
104
|
+
return `🍞 CodeBakers: Mockup Validation Failed
|
|
105
|
+
|
|
106
|
+
Error: ${error instanceof Error ? error.message : String(error)}
|
|
107
|
+
|
|
108
108
|
Please check mockup files and try again.`;
|
|
109
109
|
}
|
|
110
110
|
}
|
package/package.json
CHANGED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@codebakers/mcp",
|
|
3
|
-
"version": "5.4.
|
|
4
|
-
"description": "CodeBakers Method MCP Server - Complete autonomous app builder with context-aware consulting",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"bin": {
|
|
8
|
-
"codebakers": "./dist/cli.js"
|
|
9
|
-
},
|
|
10
|
-
"files": [
|
|
11
|
-
"dist/",
|
|
12
|
-
"README.md",
|
|
13
|
-
"INSTALL.md",
|
|
14
|
-
"LICENSE"
|
|
15
|
-
],
|
|
16
|
-
"scripts": {
|
|
17
|
-
"build": "tsc",
|
|
18
|
-
"watch": "tsc --watch",
|
|
19
|
-
"start": "node dist/index.js",
|
|
20
|
-
"dev": "tsc && node dist/index.js"
|
|
21
|
-
},
|
|
22
|
-
"keywords": [
|
|
23
|
-
"codebakers",
|
|
24
|
-
"mcp",
|
|
25
|
-
"ai-development",
|
|
26
|
-
"claude",
|
|
27
|
-
"software-development"
|
|
28
|
-
],
|
|
29
|
-
"repository": {
|
|
30
|
-
"type": "git",
|
|
31
|
-
"url": "https://github.com/botmakers-ai/codebakers-v2.git",
|
|
32
|
-
"directory": "codebakers-mcp-server"
|
|
33
|
-
},
|
|
34
|
-
"bugs": {
|
|
35
|
-
"url": "https://github.com/botmakers-ai/codebakers-v2/issues"
|
|
36
|
-
},
|
|
37
|
-
"homepage": "https://github.com/botmakers-ai/codebakers-v2#readme",
|
|
38
|
-
"author": "BotMakers Inc.",
|
|
39
|
-
"license": "MIT",
|
|
40
|
-
"dependencies": {
|
|
41
|
-
"@modelcontextprotocol/sdk": "^0.5.0"
|
|
42
|
-
},
|
|
43
|
-
"devDependencies": {
|
|
44
|
-
"@types/node": "^20.11.0",
|
|
45
|
-
"typescript": "^5.3.3"
|
|
46
|
-
},
|
|
47
|
-
"engines": {
|
|
48
|
-
"node": ">=18.0.0"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@codebakers/mcp",
|
|
3
|
+
"version": "5.4.3",
|
|
4
|
+
"description": "CodeBakers Method MCP Server - Complete autonomous app builder with context-aware consulting",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"bin": {
|
|
8
|
+
"codebakers": "./dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"files": [
|
|
11
|
+
"dist/",
|
|
12
|
+
"README.md",
|
|
13
|
+
"INSTALL.md",
|
|
14
|
+
"LICENSE"
|
|
15
|
+
],
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsc",
|
|
18
|
+
"watch": "tsc --watch",
|
|
19
|
+
"start": "node dist/index.js",
|
|
20
|
+
"dev": "tsc && node dist/index.js"
|
|
21
|
+
},
|
|
22
|
+
"keywords": [
|
|
23
|
+
"codebakers",
|
|
24
|
+
"mcp",
|
|
25
|
+
"ai-development",
|
|
26
|
+
"claude",
|
|
27
|
+
"software-development"
|
|
28
|
+
],
|
|
29
|
+
"repository": {
|
|
30
|
+
"type": "git",
|
|
31
|
+
"url": "https://github.com/botmakers-ai/codebakers-v2.git",
|
|
32
|
+
"directory": "codebakers-mcp-server"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/botmakers-ai/codebakers-v2/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/botmakers-ai/codebakers-v2#readme",
|
|
38
|
+
"author": "BotMakers Inc.",
|
|
39
|
+
"license": "MIT",
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@modelcontextprotocol/sdk": "^0.5.0"
|
|
42
|
+
},
|
|
43
|
+
"devDependencies": {
|
|
44
|
+
"@types/node": "^20.11.0",
|
|
45
|
+
"typescript": "^5.3.3"
|
|
46
|
+
},
|
|
47
|
+
"engines": {
|
|
48
|
+
"node": ">=18.0.0"
|
|
49
|
+
}
|
|
50
|
+
}
|