@codebakers/cli 3.7.2 → 3.8.1
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/lib/engineering-state.d.ts +269 -0
- package/dist/lib/engineering-state.js +605 -0
- package/dist/mcp/engineering-tools.d.ts +396 -0
- package/dist/mcp/engineering-tools.js +808 -0
- package/dist/mcp/server.js +15 -0
- package/package.json +1 -1
- package/src/lib/engineering-state.ts +823 -0
- package/src/mcp/engineering-tools.ts +977 -0
- package/src/mcp/server.ts +16 -0
package/dist/mcp/server.js
CHANGED
|
@@ -42,6 +42,7 @@ const config_js_1 = require("../config.js");
|
|
|
42
42
|
const audit_js_1 = require("../commands/audit.js");
|
|
43
43
|
const heal_js_1 = require("../commands/heal.js");
|
|
44
44
|
const api_js_1 = require("../lib/api.js");
|
|
45
|
+
const engineering_tools_js_1 = require("./engineering-tools.js");
|
|
45
46
|
const fs = __importStar(require("fs"));
|
|
46
47
|
const path = __importStar(require("path"));
|
|
47
48
|
const child_process_1 = require("child_process");
|
|
@@ -1439,6 +1440,8 @@ class CodeBakersServer {
|
|
|
1439
1440
|
properties: {},
|
|
1440
1441
|
},
|
|
1441
1442
|
},
|
|
1443
|
+
// Engineering workflow tools
|
|
1444
|
+
...engineering_tools_js_1.ENGINEERING_TOOLS,
|
|
1442
1445
|
],
|
|
1443
1446
|
}));
|
|
1444
1447
|
// Handle tool calls
|
|
@@ -1567,6 +1570,18 @@ class CodeBakersServer {
|
|
|
1567
1570
|
return this.handleProjectSync(args);
|
|
1568
1571
|
case 'project_dashboard_url':
|
|
1569
1572
|
return this.handleProjectDashboardUrl();
|
|
1573
|
+
// Engineering workflow tools
|
|
1574
|
+
case 'engineering_start':
|
|
1575
|
+
case 'engineering_scope':
|
|
1576
|
+
case 'engineering_status':
|
|
1577
|
+
case 'engineering_advance':
|
|
1578
|
+
case 'engineering_gate':
|
|
1579
|
+
case 'engineering_artifact':
|
|
1580
|
+
case 'engineering_decision':
|
|
1581
|
+
case 'engineering_graph_add':
|
|
1582
|
+
case 'engineering_impact':
|
|
1583
|
+
case 'engineering_graph_view':
|
|
1584
|
+
return (0, engineering_tools_js_1.handleEngineeringTool)(name, args, this.apiUrl, this.getAuthHeaders());
|
|
1570
1585
|
default:
|
|
1571
1586
|
throw new types_js_1.McpError(types_js_1.ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
|
|
1572
1587
|
}
|