🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/mcp/mcp-server.js

This commit is contained in:
rUv committed 2025-08-01 18:49:10 +00:00
1 parent 4d8b46d40a
commit bc42afd09b
2 files changed
+17

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"checkpoint": "task-20250801-184904", "task": "{{user_prompt}} ", "timestamp": "2025-08-01T18:49:05Z", "commit": "7f78de1c8174e6ce69e1d04577a4cfa4c959edca", "github_release": "true"}
+16
View File
@@ -15,6 +15,22 @@ import { memoryStore } from '../memory/fallback-store.js';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// Legacy agent type mapping for backward compatibility
const LEGACY_AGENT_MAPPING = {
analyst: 'code-analyzer',
coordinator: 'task-orchestrator',
optimizer: 'perf-analyzer',
documenter: 'api-docs',
monitor: 'performance-benchmarker',
specialist: 'system-architect',
architect: 'system-architect',
};
// Resolve legacy agent types to current equivalents
function resolveLegacyAgentType(legacyType) {
return LEGACY_AGENT_MAPPING[legacyType] || legacyType;
}
class ClaudeFlowMCPServer {
constructor() {
this.version = '2.0.0-alpha.59';