mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-24 06:06:02 +09:00
🔖 Checkpoint: Edit /workspaces/claude-code-flow/src/mcp/mcp-server.js
This commit is contained in:
1 parent
2a2c8464b4
commit
23a41abafa
3 files changed
+63
No files matched your search
@@ -0,0 +1 @@
|
||||
{"branch": "checkpoint/pre-edit-20250816-150038", "file": "/workspaces/claude-code-flow/src/mcp/mcp-server.js", "timestamp": "2025-08-16T15:00:38Z", "type": "pre-edit", "original_branch": "alpha90"}
|
||||
@@ -0,0 +1 @@
|
||||
{"tag": "checkpoint-20250816-150039", "file": "/workspaces/claude-code-flow/src/mcp/mcp-server.js", "timestamp": "2025-08-16T15:00:40Z", "type": "post-edit", "branch": "alpha90", "diff_summary": " .claude-flow/metrics/performance.json | 2 +- .claude-flow/metrics/system-metrics.json | 12 ++++++++++++ .claude-flow/metrics/task-metrics.json | 6 +++--- .claude/checkpoints/1755356417.json | 1 + .claude/checkpoints/1755356419.json | 1 + claude-flow-wiki | 0 src/mcp/mcp-server.js | 10 ++++++++++ 7 files changed, 28 insertions(+), 4 deletions(-) "}
|
||||
@@ -1725,6 +1725,67 @@ class ClaudeFlowMCPServer {
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
// DAA Tools Implementation
|
||||
case 'daa_agent_create':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_agent_create(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
case 'daa_capability_match':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_capability_match(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
case 'daa_resource_alloc':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_resource_alloc(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
case 'daa_lifecycle_manage':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_lifecycle_manage(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
case 'daa_communication':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_communication(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
case 'daa_consensus':
|
||||
if (global.daaManager) {
|
||||
return global.daaManager.daa_consensus(args);
|
||||
}
|
||||
return {
|
||||
success: false,
|
||||
error: 'DAA manager not initialized',
|
||||
timestamp: new Date().toISOString(),
|
||||
};
|
||||
|
||||
default:
|
||||
return {
|
||||
success: true,
|
||||
|
||||
Reference in new issue
Block a user