mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/mcp/mcp-server.js
This commit is contained in:
1 parent
4d8b46d40a
commit
bc42afd09b
2 files changed
+17
No files matched your search
@@ -0,0 +1 @@
|
||||
{"checkpoint": "task-20250801-184904", "task": "{{user_prompt}} ", "timestamp": "2025-08-01T18:49:05Z", "commit": "7f78de1c8174e6ce69e1d04577a4cfa4c959edca", "github_release": "true"}
|
||||
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user