@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/src/mcp/server.ts CHANGED
@@ -12,6 +12,7 @@ import { getApiKey, getApiUrl, getExperienceLevel, setExperienceLevel, getServic
12
12
  import { audit as runAudit } from '../commands/audit.js';
13
13
  import { heal as runHeal } from '../commands/heal.js';
14
14
  import { getCliVersion } from '../lib/api.js';
15
+ import { ENGINEERING_TOOLS, handleEngineeringTool } from './engineering-tools.js';
15
16
  import * as fs from 'fs';
16
17
  import * as path from 'path';
17
18
  import { execSync } from 'child_process';
@@ -1551,6 +1552,8 @@ class CodeBakersServer {
1551
1552
  properties: {},
1552
1553
  },
1553
1554
  },
1555
+ // Engineering workflow tools
1556
+ ...ENGINEERING_TOOLS,
1554
1557
  ],
1555
1558
  }));
1556
1559
 
@@ -1794,6 +1797,19 @@ class CodeBakersServer {
1794
1797
  case 'project_dashboard_url':
1795
1798
  return this.handleProjectDashboardUrl();
1796
1799
 
1800
+ // Engineering workflow tools
1801
+ case 'engineering_start':
1802
+ case 'engineering_scope':
1803
+ case 'engineering_status':
1804
+ case 'engineering_advance':
1805
+ case 'engineering_gate':
1806
+ case 'engineering_artifact':
1807
+ case 'engineering_decision':
1808
+ case 'engineering_graph_add':
1809
+ case 'engineering_impact':
1810
+ case 'engineering_graph_view':
1811
+ return handleEngineeringTool(name, args as Record<string, unknown>, this.apiUrl, this.getAuthHeaders());
1812
+
1797
1813
  default:
1798
1814
  throw new McpError(ErrorCode.MethodNotFound, `Unknown tool: ${name}`);
1799
1815
  }