mirror of
https://github.com/ruvnet/ruflo.git
synced 2026-11-23 21:59:14 +09:00
fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility (#982)
* fix(mcp): replace / with _ in MCP tool names for Claude Desktop compatibility Fixes #966 - MCP tool names containing "/" break Claude Desktop integration. Claude Desktop requires tool names to match pattern: ^[a-zA-Z0-9_-]{1,64}$ Changes: - Replaced "/" with "_" in all 184 MCP tool names across 22 files - Updated tool categories: agent_, swarm_, memory_, config_, hooks_, session_, task_, workflow_, hive-mind_, neural_, performance_, coordination_, browser_, embeddings_, progress_, github_, transfer_, claims_, daa_, analyze_, system_, terminal_ - Published @claude-flow/cli@3.0.0-alpha.157 - Published claude-flow@3.0.0-alpha.157 - Updated all dist-tags (alpha, latest, v3alpha) Example tool name changes: - hooks/pre-edit → hooks_pre-edit - memory/store → memory_store - agent/spawn → agent_spawn Co-Authored-By: claude-flow <ruv@ruv.net> * fix(mcp): complete tool naming fix with CLI command references Follow-up to initial fix - updates all callMCPTool() references in CLI commands to use the new underscore-separated tool names that match the MCP tool definitions. Files updated: - commands/agent.ts, swarm.ts, session.ts, task.ts, hooks.ts, memory.ts - commands/hive-mind.ts, progress.ts, analyze.ts, workflow.ts - commands/mcp.ts, status.ts, start.ts - mcp-client.ts (documentation) - mcp-tools/hooks-tools.ts (intelligence_* sub-tools) Verified working: - agent list, memory list, hooks list all work correctly - No remaining tool calls with "/" separator - All 192 MCP tools now use underscore separator Published: - @claude-flow/cli@3.0.0-alpha.159 - claude-flow@3.0.0-alpha.159 Co-Authored-By: claude-flow <ruv@ruv.net>
This commit is contained in:
1 parent
c38d56b60e
commit
a25872c7c8
44 files changed
+333
-333
No files matched your search
@@ -8,4 +8,4 @@ capabilities:
|
||||
optimizations:
|
||||
- context-caching
|
||||
- memory-persistence
|
||||
createdAt: "2026-01-22T15:57:29.440Z"
|
||||
createdAt: "2026-01-22T17:30:59.794Z"
|
||||
+1
-1
@@ -8,4 +8,4 @@ capabilities:
|
||||
optimizations:
|
||||
- flash-attention
|
||||
- token-reduction
|
||||
createdAt: "2026-01-22T15:57:29.440Z"
|
||||
createdAt: "2026-01-22T17:30:59.793Z"
|
||||
@@ -7,4 +7,4 @@ capabilities:
|
||||
- best-practices
|
||||
optimizations:
|
||||
- incremental-analysis
|
||||
createdAt: "2026-01-22T15:57:29.441Z"
|
||||
createdAt: "2026-01-22T17:30:59.794Z"
|
||||
@@ -7,4 +7,4 @@ capabilities:
|
||||
- security-review
|
||||
optimizations:
|
||||
- pattern-matching
|
||||
createdAt: "2026-01-22T15:57:29.441Z"
|
||||
createdAt: "2026-01-22T17:30:59.794Z"
|
||||
+1
-1
@@ -7,4 +7,4 @@ capabilities:
|
||||
- coverage
|
||||
optimizations:
|
||||
- parallel-execution
|
||||
createdAt: "2026-01-22T15:57:29.440Z"
|
||||
createdAt: "2026-01-22T17:30:59.794Z"
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "claude-flow",
|
||||
"version": "3.0.0-alpha.154",
|
||||
"version": "3.0.0-alpha.159",
|
||||
"description": "Claude Flow V3 - Domain-Driven Design Architecture with 15-Agent Swarm Coordination",
|
||||
"main": "dist/index.js",
|
||||
"type": "module",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@claude-flow/cli",
|
||||
"version": "3.0.0-alpha.154",
|
||||
"version": "3.0.0-alpha.159",
|
||||
"type": "module",
|
||||
"description": "CLI module - command parsing, prompts, output formatting",
|
||||
"main": "dist/src/index.js",
|
||||
|
||||
@@ -111,7 +111,7 @@ const spawnCommand: Command = {
|
||||
agentType: string;
|
||||
status: string;
|
||||
createdAt: string;
|
||||
}>('agent/spawn', {
|
||||
}>('agent_spawn', {
|
||||
agentType,
|
||||
id: agentName,
|
||||
config: {
|
||||
@@ -201,7 +201,7 @@ const listCommand: Command = {
|
||||
lastActivityAt?: string;
|
||||
}>;
|
||||
total: number;
|
||||
}>('agent/list', {
|
||||
}>('agent_list', {
|
||||
status: ctx.flags.all ? 'all' : ctx.flags.status || undefined,
|
||||
agentType: ctx.flags.type || undefined,
|
||||
limit: 100,
|
||||
@@ -300,7 +300,7 @@ const statusCommand: Command = {
|
||||
averageExecutionTime: number;
|
||||
uptime: number;
|
||||
};
|
||||
}>('agent/status', {
|
||||
}>('agent_status', {
|
||||
agentId,
|
||||
includeMetrics: true,
|
||||
includeHistory: false,
|
||||
@@ -404,7 +404,7 @@ const stopCommand: Command = {
|
||||
agentId: string;
|
||||
terminated: boolean;
|
||||
terminatedAt: string;
|
||||
}>('agent/terminate', {
|
||||
}>('agent_terminate', {
|
||||
agentId,
|
||||
graceful: !force,
|
||||
reason: 'Stopped by user via CLI',
|
||||
@@ -567,7 +567,7 @@ const poolCommand: Command = {
|
||||
autoScale: boolean;
|
||||
utilization: number;
|
||||
agents: Array<{ id: string; type: string; status: string }>;
|
||||
}>('agent/pool', {
|
||||
}>('agent_pool', {
|
||||
size: ctx.flags.size,
|
||||
min: ctx.flags.min,
|
||||
max: ctx.flags.max,
|
||||
@@ -672,7 +672,7 @@ const healthCommand: Command = {
|
||||
avgCpu: number;
|
||||
avgMemory: number;
|
||||
};
|
||||
}>('agent/health', {
|
||||
}>('agent_health', {
|
||||
agentId,
|
||||
detailed,
|
||||
});
|
||||
@@ -818,7 +818,7 @@ const logsCommand: Command = {
|
||||
context?: Record<string, unknown>;
|
||||
}>;
|
||||
total: number;
|
||||
}>('agent/logs', {
|
||||
}>('agent_logs', {
|
||||
agentId,
|
||||
tail,
|
||||
level,
|
||||
|
||||
@@ -138,7 +138,7 @@ const diffCommand: Command = {
|
||||
}>;
|
||||
recommendedReviewers: string[];
|
||||
summary: string;
|
||||
}>('analyze/diff', {
|
||||
}>('analyze_diff', {
|
||||
ref,
|
||||
includeFileRisks: verbose,
|
||||
includeReviewers: showReviewers || showAll,
|
||||
|
||||
@@ -453,7 +453,7 @@ const initCommand: Command = {
|
||||
queenId: string;
|
||||
status: 'initialized' | 'ready';
|
||||
config: typeof config;
|
||||
}>('hive-mind/init', config);
|
||||
}>('hive-mind_init', config);
|
||||
|
||||
spinner.succeed('Hive Mind initialized');
|
||||
|
||||
@@ -598,7 +598,7 @@ const spawnCommand: Command = {
|
||||
hiveId?: string;
|
||||
message: string;
|
||||
error?: string;
|
||||
}>('hive-mind/spawn', {
|
||||
}>('hive-mind_spawn', {
|
||||
count,
|
||||
role,
|
||||
agentType,
|
||||
@@ -665,7 +665,7 @@ const spawnCommand: Command = {
|
||||
hiveId?: string;
|
||||
topology?: string;
|
||||
consensus?: string;
|
||||
}>('hive-mind/status', { includeWorkers: false });
|
||||
}>('hive-mind_status', { includeWorkers: false });
|
||||
swarmId = statusResult.hiveId || swarmId;
|
||||
} catch {
|
||||
// Use defaults if status call fails
|
||||
@@ -769,7 +769,7 @@ const statusCommand: Command = {
|
||||
consensus?: string;
|
||||
memory?: string;
|
||||
};
|
||||
}>('hive-mind/status', {
|
||||
}>('hive-mind_status', {
|
||||
includeMetrics: detailed,
|
||||
includeWorkers: true,
|
||||
});
|
||||
@@ -949,7 +949,7 @@ const taskCommand: Command = {
|
||||
priority: string;
|
||||
requiresConsensus: boolean;
|
||||
estimatedTime: string;
|
||||
}>('hive-mind/task', {
|
||||
}>('hive-mind_task', {
|
||||
description,
|
||||
priority,
|
||||
requireConsensus,
|
||||
@@ -1026,7 +1026,7 @@ const optimizeMemoryCommand: Command = {
|
||||
removed: number;
|
||||
consolidated: number;
|
||||
timeMs: number;
|
||||
}>('hive-mind/optimize-memory', {
|
||||
}>('hive-mind_optimize-memory', {
|
||||
aggressive,
|
||||
qualityThreshold: threshold,
|
||||
});
|
||||
@@ -1086,7 +1086,7 @@ const joinCommand: Command = {
|
||||
return { success: false, exitCode: 1 };
|
||||
}
|
||||
try {
|
||||
const result = await callMCPTool<{ success: boolean; agentId: string; totalWorkers: number; error?: string }>('hive-mind/join', { agentId, role: ctx.flags.role });
|
||||
const result = await callMCPTool<{ success: boolean; agentId: string; totalWorkers: number; error?: string }>('hive-mind_join', { agentId, role: ctx.flags.role });
|
||||
if (!result.success) { output.printError(result.error || 'Failed'); return { success: false, exitCode: 1 }; }
|
||||
output.printSuccess(`Agent ${agentId} joined hive (${result.totalWorkers} workers)`);
|
||||
return { success: true, data: result };
|
||||
@@ -1103,7 +1103,7 @@ const leaveCommand: Command = {
|
||||
const agentId = ctx.args[0] || ctx.flags['agent-id'] as string || ctx.flags.agentId as string;
|
||||
if (!agentId) { output.printError('Agent ID required.'); return { success: false, exitCode: 1 }; }
|
||||
try {
|
||||
const result = await callMCPTool<{ success: boolean; agentId: string; remainingWorkers: number; error?: string }>('hive-mind/leave', { agentId });
|
||||
const result = await callMCPTool<{ success: boolean; agentId: string; remainingWorkers: number; error?: string }>('hive-mind_leave', { agentId });
|
||||
if (!result.success) { output.printError(result.error || 'Failed'); return { success: false, exitCode: 1 }; }
|
||||
output.printSuccess(`Agent ${agentId} left hive (${result.remainingWorkers} remaining)`);
|
||||
return { success: true, data: result };
|
||||
@@ -1126,7 +1126,7 @@ const consensusCommand: Command = {
|
||||
action: async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
const action = ctx.flags.action as string || 'list';
|
||||
try {
|
||||
const result = await callMCPTool<Record<string, unknown>>('hive-mind/consensus', { action, proposalId: ctx.flags.proposalId, type: ctx.flags.type, value: ctx.flags.value, vote: ctx.flags.vote === 'yes', voterId: ctx.flags.voterId });
|
||||
const result = await callMCPTool<Record<string, unknown>>('hive-mind_consensus', { action, proposalId: ctx.flags.proposalId, type: ctx.flags.type, value: ctx.flags.value, vote: ctx.flags.vote === 'yes', voterId: ctx.flags.voterId });
|
||||
if (ctx.flags.format === 'json') { output.printJson(result); return { success: true, data: result }; }
|
||||
if (action === 'list') {
|
||||
output.writeln(output.bold('\nPending Proposals'));
|
||||
@@ -1153,7 +1153,7 @@ const broadcastCommand: Command = {
|
||||
const message = ctx.args.join(' ') || ctx.flags.message as string;
|
||||
if (!message) { output.printError('Message required. Use --message or -m flag.'); return { success: false, exitCode: 1 }; }
|
||||
try {
|
||||
const result = await callMCPTool<{ success: boolean; messageId: string; recipients: number; error?: string }>('hive-mind/broadcast', { message, priority: ctx.flags.priority, fromId: ctx.flags.from });
|
||||
const result = await callMCPTool<{ success: boolean; messageId: string; recipients: number; error?: string }>('hive-mind_broadcast', { message, priority: ctx.flags.priority, fromId: ctx.flags.from });
|
||||
if (!result.success) { output.printError(result.error || 'Failed'); return { success: false, exitCode: 1 }; }
|
||||
output.printSuccess(`Message broadcast to ${result.recipients} workers (ID: ${result.messageId})`);
|
||||
return { success: true, data: result };
|
||||
@@ -1177,7 +1177,7 @@ const memorySubCommand: Command = {
|
||||
if ((action === 'get' || action === 'delete') && !key) { output.printError('Key required for get/delete.'); return { success: false, exitCode: 1 }; }
|
||||
if (action === 'set' && (!key || value === undefined)) { output.printError('Key and value required for set.'); return { success: false, exitCode: 1 }; }
|
||||
try {
|
||||
const result = await callMCPTool<Record<string, unknown>>('hive-mind/memory', { action, key, value });
|
||||
const result = await callMCPTool<Record<string, unknown>>('hive-mind_memory', { action, key, value });
|
||||
if (ctx.flags.format === 'json') { output.printJson(result); return { success: true, data: result }; }
|
||||
if (action === 'list') {
|
||||
const keys = (result.keys as string[]) || [];
|
||||
@@ -1241,7 +1241,7 @@ const shutdownCommand: Command = {
|
||||
agentsTerminated: number;
|
||||
stateSaved: boolean;
|
||||
shutdownTime: string;
|
||||
}>('hive-mind/shutdown', {
|
||||
}>('hive-mind_shutdown', {
|
||||
force,
|
||||
saveState,
|
||||
});
|
||||
|
||||
@@ -82,7 +82,7 @@ const preEditCommand: Command = {
|
||||
risks: string[];
|
||||
};
|
||||
recommendations: string[];
|
||||
}>('hooks/pre-edit', {
|
||||
}>('hooks_pre-edit', {
|
||||
filePath,
|
||||
operation,
|
||||
context: ctx.flags.context,
|
||||
@@ -230,7 +230,7 @@ const postEditCommand: Command = {
|
||||
confidenceAdjusted: number;
|
||||
newPatterns: number;
|
||||
};
|
||||
}>('hooks/post-edit', {
|
||||
}>('hooks_post-edit', {
|
||||
filePath,
|
||||
success,
|
||||
outcome: ctx.flags.outcome,
|
||||
@@ -317,7 +317,7 @@ const preCommandCommand: Command = {
|
||||
recommendations: string[];
|
||||
safeAlternatives?: string[];
|
||||
shouldProceed: boolean;
|
||||
}>('hooks/pre-command', {
|
||||
}>('hooks_pre-command', {
|
||||
command,
|
||||
includeAlternatives: true,
|
||||
});
|
||||
@@ -453,7 +453,7 @@ const postCommandCommand: Command = {
|
||||
commandPatternsUpdated: number;
|
||||
riskAssessmentUpdated: boolean;
|
||||
};
|
||||
}>('hooks/post-command', {
|
||||
}>('hooks_post-command', {
|
||||
command,
|
||||
success,
|
||||
exitCode: ctx.flags.exitCode || 0,
|
||||
@@ -547,7 +547,7 @@ const routeCommand: Command = {
|
||||
estimatedDuration: string;
|
||||
complexity: 'low' | 'medium' | 'high';
|
||||
};
|
||||
}>('hooks/route', {
|
||||
}>('hooks_route', {
|
||||
task,
|
||||
context: ctx.flags.context,
|
||||
topK,
|
||||
@@ -665,7 +665,7 @@ const explainCommand: Command = {
|
||||
confidence: number;
|
||||
reasoning: string[];
|
||||
};
|
||||
}>('hooks/explain', {
|
||||
}>('hooks_explain', {
|
||||
task,
|
||||
agent: ctx.flags.agent,
|
||||
verbose: ctx.flags.verbose || false,
|
||||
@@ -838,7 +838,7 @@ const pretrainCommand: Command = {
|
||||
hyperbolicProjections?: number;
|
||||
};
|
||||
duration: number;
|
||||
}>('hooks/pretrain', {
|
||||
}>('hooks_pretrain', {
|
||||
path: repoPath,
|
||||
depth,
|
||||
skipCache: ctx.flags.skipCache || false,
|
||||
@@ -962,7 +962,7 @@ const buildAgentsCommand: Command = {
|
||||
patternsApplied: number;
|
||||
optimizationsIncluded: number;
|
||||
};
|
||||
}>('hooks/build-agents', {
|
||||
}>('hooks_build-agents', {
|
||||
outputDir: output_dir,
|
||||
focus,
|
||||
format: configFormat,
|
||||
@@ -1079,7 +1079,7 @@ const metricsCommand: Command = {
|
||||
searchImprovement: string;
|
||||
tokenReduction: string;
|
||||
};
|
||||
}>('hooks/metrics', {
|
||||
}>('hooks_metrics', {
|
||||
period,
|
||||
includeV3: v3Dashboard,
|
||||
category: ctx.flags.category,
|
||||
@@ -1226,7 +1226,7 @@ const transferFromProjectCommand: Command = {
|
||||
avgConfidence: number;
|
||||
avgAge: string;
|
||||
};
|
||||
}>('hooks/transfer', {
|
||||
}>('hooks_transfer', {
|
||||
sourcePath,
|
||||
filter: ctx.flags.filter,
|
||||
minConfidence,
|
||||
@@ -1356,7 +1356,7 @@ const listCommand: Command = {
|
||||
lastExecuted?: string;
|
||||
}>;
|
||||
total: number;
|
||||
}>('hooks/list', {
|
||||
}>('hooks_list', {
|
||||
enabled: ctx.flags.enabled || undefined,
|
||||
type: ctx.flags.type || undefined,
|
||||
});
|
||||
@@ -1457,7 +1457,7 @@ const preTaskCommand: Command = {
|
||||
estimatedDuration: string;
|
||||
risks: string[];
|
||||
recommendations: string[];
|
||||
}>('hooks/pre-task', {
|
||||
}>('hooks_pre-task', {
|
||||
taskId,
|
||||
description,
|
||||
autoSpawn: ctx.flags.autoSpawn || false,
|
||||
@@ -1625,7 +1625,7 @@ const postTaskCommand: Command = {
|
||||
newPatterns: number;
|
||||
trajectoryId: string;
|
||||
};
|
||||
}>('hooks/post-task', {
|
||||
}>('hooks_post-task', {
|
||||
taskId,
|
||||
success,
|
||||
quality: ctx.flags.quality,
|
||||
@@ -1701,7 +1701,7 @@ const sessionEndCommand: Command = {
|
||||
filesModified: number;
|
||||
agentsSpawned: number;
|
||||
};
|
||||
}>('hooks/session-end', {
|
||||
}>('hooks_session-end', {
|
||||
saveState: ctx.flags.saveState ?? true,
|
||||
timestamp: Date.now(),
|
||||
});
|
||||
@@ -1795,7 +1795,7 @@ const sessionRestoreCommand: Command = {
|
||||
memoryRestored: number;
|
||||
};
|
||||
warnings?: string[];
|
||||
}>('hooks/session-restore', {
|
||||
}>('hooks_session-restore', {
|
||||
sessionId,
|
||||
restoreAgents: ctx.flags.restoreAgents ?? true,
|
||||
restoreTasks: ctx.flags.restoreTasks ?? true,
|
||||
@@ -1935,7 +1935,7 @@ const intelligenceCommand: Command = {
|
||||
|
||||
output.printInfo('Resetting learning state...');
|
||||
try {
|
||||
await callMCPTool('hooks/intelligence-reset', {});
|
||||
await callMCPTool('hooks_intelligence-reset', {});
|
||||
output.printSuccess('Learning state reset');
|
||||
return { success: true };
|
||||
} catch (error) {
|
||||
@@ -1993,7 +1993,7 @@ const intelligenceCommand: Command = {
|
||||
sweBenchScore: string;
|
||||
};
|
||||
lastTrainingMs?: number;
|
||||
}>('hooks/intelligence', {
|
||||
}>('hooks_intelligence', {
|
||||
mode,
|
||||
enableSona,
|
||||
enableMoe,
|
||||
@@ -2189,7 +2189,7 @@ const workerListCommand: Command = {
|
||||
byStatus: Record<string, number>;
|
||||
};
|
||||
performanceTargets: Record<string, string | number>;
|
||||
}>('hooks/worker-list', {
|
||||
}>('hooks_worker-list', {
|
||||
status: ctx.flags['status'] || 'all',
|
||||
includeActive: ctx.flags['active'] !== false,
|
||||
});
|
||||
@@ -2298,7 +2298,7 @@ const workerDispatchCommand: Command = {
|
||||
};
|
||||
status: string;
|
||||
error?: string;
|
||||
}>('hooks/worker-dispatch', {
|
||||
}>('hooks_worker-dispatch', {
|
||||
trigger,
|
||||
context,
|
||||
priority,
|
||||
@@ -2392,7 +2392,7 @@ const workerStatusCommand: Command = {
|
||||
failed: number;
|
||||
};
|
||||
error?: string;
|
||||
}>('hooks/worker-status', {
|
||||
}>('hooks_worker-status', {
|
||||
workerId,
|
||||
includeCompleted,
|
||||
});
|
||||
@@ -2503,7 +2503,7 @@ const workerDetectCommand: Command = {
|
||||
}>;
|
||||
autoDispatched?: boolean;
|
||||
workerIds?: string[];
|
||||
}>('hooks/worker-detect', {
|
||||
}>('hooks_worker-detect', {
|
||||
prompt,
|
||||
autoDispatch,
|
||||
minConfidence,
|
||||
@@ -2581,7 +2581,7 @@ const workerCancelCommand: Command = {
|
||||
workerId: string;
|
||||
cancelled: boolean;
|
||||
error?: string;
|
||||
}>('hooks/worker-cancel', { workerId });
|
||||
}>('hooks_worker-cancel', { workerId });
|
||||
|
||||
if (!result.success) {
|
||||
spinner.fail(`Failed: ${result.error}`);
|
||||
@@ -2687,7 +2687,7 @@ const coverageRouteCommand: Command = {
|
||||
criticalGaps: number;
|
||||
avgCoverage: number;
|
||||
};
|
||||
}>('hooks/coverage-route', {
|
||||
}>('hooks_coverage-route', {
|
||||
task,
|
||||
threshold,
|
||||
useRuvector,
|
||||
@@ -2821,7 +2821,7 @@ const coverageSuggestCommand: Command = {
|
||||
};
|
||||
prioritizedFiles: string[];
|
||||
ruvectorAvailable: boolean;
|
||||
}>('hooks/coverage-suggest', {
|
||||
}>('hooks_coverage-suggest', {
|
||||
path,
|
||||
threshold,
|
||||
limit,
|
||||
@@ -2944,7 +2944,7 @@ const coverageGapsCommand: Command = {
|
||||
};
|
||||
agentAssignments: Record<string, string[]>;
|
||||
ruvectorAvailable: boolean;
|
||||
}>('hooks/coverage-gaps', {
|
||||
}>('hooks_coverage-gaps', {
|
||||
threshold,
|
||||
groupByAgent,
|
||||
});
|
||||
@@ -3068,7 +3068,7 @@ const progressHookCommand: Command = {
|
||||
if (summary) {
|
||||
const spinner = output.createSpinner({ text: 'Getting progress summary...' });
|
||||
spinner.start();
|
||||
const result = await callMCPTool<{ summary: string }>('progress/summary', {});
|
||||
const result = await callMCPTool<{ summary: string }>('progress_summary', {});
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -3089,7 +3089,7 @@ const progressHookCommand: Command = {
|
||||
message: string;
|
||||
persisted: boolean;
|
||||
lastUpdated: string;
|
||||
}>('progress/sync', {});
|
||||
}>('progress_sync', {});
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -3119,7 +3119,7 @@ const progressHookCommand: Command = {
|
||||
ddd?: { progress: number };
|
||||
codebase?: { totalFiles: number; totalLines: number };
|
||||
lastUpdated?: string;
|
||||
}>('progress/check', { detailed });
|
||||
}>('progress_check', { detailed });
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -3956,7 +3956,7 @@ const modelRouteCommand: Command = {
|
||||
reasoning: string;
|
||||
costMultiplier?: number;
|
||||
implementation?: string;
|
||||
}>('hooks/model-route', {
|
||||
}>('hooks_model-route', {
|
||||
task,
|
||||
context: ctx.flags.context,
|
||||
preferCost: ctx.flags['prefer-cost'],
|
||||
@@ -4045,7 +4045,7 @@ const modelOutcomeCommand: Command = {
|
||||
}
|
||||
|
||||
try {
|
||||
const result = await callMCPTool<{ recorded: boolean; learningUpdate: string }>('hooks/model-outcome', {
|
||||
const result = await callMCPTool<{ recorded: boolean; learningUpdate: string }>('hooks_model-outcome', {
|
||||
task,
|
||||
model,
|
||||
outcome,
|
||||
@@ -4086,7 +4086,7 @@ const modelStatsCommand: Command = {
|
||||
avgComplexity?: number;
|
||||
avgConfidence?: number;
|
||||
circuitBreakerTrips?: number;
|
||||
}>('hooks/model-stats', {
|
||||
}>('hooks_model-stats', {
|
||||
detailed: ctx.flags.detailed,
|
||||
});
|
||||
|
||||
|
||||
@@ -400,41 +400,41 @@ const toolsCommand: Command = {
|
||||
// Fallback to static tool list
|
||||
tools = [
|
||||
// Agent tools
|
||||
{ name: 'agent/spawn', category: 'agent', description: 'Spawn a new agent', enabled: true },
|
||||
{ name: 'agent/list', category: 'agent', description: 'List all agents', enabled: true },
|
||||
{ name: 'agent/terminate', category: 'agent', description: 'Terminate an agent', enabled: true },
|
||||
{ name: 'agent/status', category: 'agent', description: 'Get agent status', enabled: true },
|
||||
{ name: 'agent_spawn', category: 'agent', description: 'Spawn a new agent', enabled: true },
|
||||
{ name: 'agent_list', category: 'agent', description: 'List all agents', enabled: true },
|
||||
{ name: 'agent_terminate', category: 'agent', description: 'Terminate an agent', enabled: true },
|
||||
{ name: 'agent_status', category: 'agent', description: 'Get agent status', enabled: true },
|
||||
|
||||
// Swarm tools
|
||||
{ name: 'swarm/init', category: 'swarm', description: 'Initialize swarm topology', enabled: true },
|
||||
{ name: 'swarm/status', category: 'swarm', description: 'Get swarm status', enabled: true },
|
||||
{ name: 'swarm/scale', category: 'swarm', description: 'Scale swarm size', enabled: true },
|
||||
{ name: 'swarm_init', category: 'swarm', description: 'Initialize swarm topology', enabled: true },
|
||||
{ name: 'swarm_status', category: 'swarm', description: 'Get swarm status', enabled: true },
|
||||
{ name: 'swarm_scale', category: 'swarm', description: 'Scale swarm size', enabled: true },
|
||||
|
||||
// Memory tools
|
||||
{ name: 'memory/store', category: 'memory', description: 'Store in memory', enabled: true },
|
||||
{ name: 'memory/search', category: 'memory', description: 'Search memory', enabled: true },
|
||||
{ name: 'memory/list', category: 'memory', description: 'List memory entries', enabled: true },
|
||||
{ name: 'memory_store', category: 'memory', description: 'Store in memory', enabled: true },
|
||||
{ name: 'memory_search', category: 'memory', description: 'Search memory', enabled: true },
|
||||
{ name: 'memory_list', category: 'memory', description: 'List memory entries', enabled: true },
|
||||
|
||||
// Config tools
|
||||
{ name: 'config/load', category: 'config', description: 'Load configuration', enabled: true },
|
||||
{ name: 'config/save', category: 'config', description: 'Save configuration', enabled: true },
|
||||
{ name: 'config/validate', category: 'config', description: 'Validate configuration', enabled: true },
|
||||
{ name: 'config_load', category: 'config', description: 'Load configuration', enabled: true },
|
||||
{ name: 'config_save', category: 'config', description: 'Save configuration', enabled: true },
|
||||
{ name: 'config_validate', category: 'config', description: 'Validate configuration', enabled: true },
|
||||
|
||||
// Hooks tools
|
||||
{ name: 'hooks/pre-edit', category: 'hooks', description: 'Pre-edit hook', enabled: true },
|
||||
{ name: 'hooks/post-edit', category: 'hooks', description: 'Post-edit hook', enabled: true },
|
||||
{ name: 'hooks/pre-command', category: 'hooks', description: 'Pre-command hook', enabled: true },
|
||||
{ name: 'hooks/post-command', category: 'hooks', description: 'Post-command hook', enabled: true },
|
||||
{ name: 'hooks/route', category: 'hooks', description: 'Route task to agent', enabled: true },
|
||||
{ name: 'hooks/explain', category: 'hooks', description: 'Explain routing', enabled: true },
|
||||
{ name: 'hooks/pretrain', category: 'hooks', description: 'Pretrain from repo', enabled: true },
|
||||
{ name: 'hooks/metrics', category: 'hooks', description: 'Learning metrics', enabled: true },
|
||||
{ name: 'hooks/list', category: 'hooks', description: 'List hooks', enabled: true },
|
||||
{ name: 'hooks_pre-edit', category: 'hooks', description: 'Pre-edit hook', enabled: true },
|
||||
{ name: 'hooks_post-edit', category: 'hooks', description: 'Post-edit hook', enabled: true },
|
||||
{ name: 'hooks_pre-command', category: 'hooks', description: 'Pre-command hook', enabled: true },
|
||||
{ name: 'hooks_post-command', category: 'hooks', description: 'Post-command hook', enabled: true },
|
||||
{ name: 'hooks_route', category: 'hooks', description: 'Route task to agent', enabled: true },
|
||||
{ name: 'hooks_explain', category: 'hooks', description: 'Explain routing', enabled: true },
|
||||
{ name: 'hooks_pretrain', category: 'hooks', description: 'Pretrain from repo', enabled: true },
|
||||
{ name: 'hooks_metrics', category: 'hooks', description: 'Learning metrics', enabled: true },
|
||||
{ name: 'hooks_list', category: 'hooks', description: 'List hooks', enabled: true },
|
||||
|
||||
// System tools
|
||||
{ name: 'system/info', category: 'system', description: 'System information', enabled: true },
|
||||
{ name: 'system/health', category: 'system', description: 'Health status', enabled: true },
|
||||
{ name: 'system/metrics', category: 'system', description: 'Server metrics', enabled: true },
|
||||
{ name: 'system_info', category: 'system', description: 'System information', enabled: true },
|
||||
{ name: 'system_health', category: 'system', description: 'Health status', enabled: true },
|
||||
{ name: 'system_metrics', category: 'system', description: 'Server metrics', enabled: true },
|
||||
].filter(t => !category || t.category === category);
|
||||
}
|
||||
|
||||
@@ -539,7 +539,7 @@ const execCommand: Command = {
|
||||
}
|
||||
],
|
||||
examples: [
|
||||
{ command: 'claude-flow mcp exec -t swarm/init -p \'{"topology":"mesh"}\'', description: 'Execute tool' }
|
||||
{ command: 'claude-flow mcp exec -t swarm_init -p \'{"topology":"mesh"}\'', description: 'Execute tool' }
|
||||
],
|
||||
action: async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
const tool = ctx.flags.tool as string || ctx.args[0];
|
||||
|
||||
@@ -569,7 +569,7 @@ const statsCommand: Command = {
|
||||
action: async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
// Call MCP memory/stats tool for real statistics
|
||||
try {
|
||||
const statsResult = await callMCPTool('memory/stats', {}) as {
|
||||
const statsResult = await callMCPTool('memory_stats', {}) as {
|
||||
totalEntries: number;
|
||||
totalSize: string;
|
||||
version: string;
|
||||
@@ -804,7 +804,7 @@ const cleanupCommand: Command = {
|
||||
formatted: string;
|
||||
};
|
||||
duration: number;
|
||||
}>('memory/cleanup', {
|
||||
}>('memory_cleanup', {
|
||||
dryRun,
|
||||
olderThan: ctx.flags.olderThan,
|
||||
expiredOnly: ctx.flags.expiredOnly,
|
||||
@@ -958,7 +958,7 @@ const compressCommand: Command = {
|
||||
searchSpeedup: string;
|
||||
};
|
||||
duration: number;
|
||||
}>('memory/compress', {
|
||||
}>('memory_compress', {
|
||||
level,
|
||||
target,
|
||||
quantize,
|
||||
@@ -1083,7 +1083,7 @@ const exportCommand: Command = {
|
||||
patterns: number;
|
||||
};
|
||||
fileSize: string;
|
||||
}>('memory/export', {
|
||||
}>('memory_export', {
|
||||
outputPath,
|
||||
format,
|
||||
namespace: ctx.flags.namespace,
|
||||
@@ -1160,7 +1160,7 @@ const importCommand: Command = {
|
||||
};
|
||||
skipped: number;
|
||||
duration: number;
|
||||
}>('memory/import', {
|
||||
}>('memory_import', {
|
||||
inputPath,
|
||||
merge: ctx.flags.merge ?? true,
|
||||
namespace: ctx.flags.namespace,
|
||||
|
||||
@@ -47,7 +47,7 @@ const checkCommand: Command = {
|
||||
ddd?: { progress: number };
|
||||
codebase?: { totalFiles: number; totalLines: number };
|
||||
lastUpdated?: string;
|
||||
}>('progress/check', { detailed });
|
||||
}>('progress_check', { detailed });
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -111,7 +111,7 @@ const syncCommand: Command = {
|
||||
message: string;
|
||||
persisted: boolean;
|
||||
lastUpdated: string;
|
||||
}>('progress/sync', {});
|
||||
}>('progress_sync', {});
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -146,7 +146,7 @@ const summaryCommand: Command = {
|
||||
|
||||
try {
|
||||
spinner.start();
|
||||
const result = await callMCPTool<{ summary: string }>('progress/summary', {});
|
||||
const result = await callMCPTool<{ summary: string }>('progress_summary', {});
|
||||
spinner.stop();
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
@@ -193,7 +193,7 @@ const watchCommand: Command = {
|
||||
|
||||
const check = async () => {
|
||||
try {
|
||||
const result = await callMCPTool<{ progress?: number; overall?: number }>('progress/check', {});
|
||||
const result = await callMCPTool<{ progress?: number; overall?: number }>('progress_check', {});
|
||||
const currentProgress = result.overall ?? result.progress ?? 0;
|
||||
|
||||
if (currentProgress !== lastProgress) {
|
||||
|
||||
@@ -91,7 +91,7 @@ const listCommand: Command = {
|
||||
memorySize: number;
|
||||
}>;
|
||||
total: number;
|
||||
}>('session/list', {
|
||||
}>('session_list', {
|
||||
status: activeOnly ? 'active' : includeArchived ? 'all' : 'active,saved',
|
||||
limit
|
||||
});
|
||||
@@ -222,7 +222,7 @@ const saveCommand: Command = {
|
||||
memoryEntries: number;
|
||||
totalSize: number;
|
||||
};
|
||||
}>('session/save', {
|
||||
}>('session_save', {
|
||||
name: sessionName,
|
||||
description,
|
||||
includeMemory: ctx.flags['include-memory'] !== false,
|
||||
@@ -312,7 +312,7 @@ const restoreCommand: Command = {
|
||||
try {
|
||||
const sessions = await callMCPTool<{
|
||||
sessions: Array<{ id: string; name?: string; status: string; updatedAt: string }>;
|
||||
}>('session/list', { status: 'saved', limit: 20 });
|
||||
}>('session_list', { status: 'saved', limit: 20 });
|
||||
|
||||
if (sessions.sessions.length === 0) {
|
||||
output.printWarning('No saved sessions found');
|
||||
@@ -376,7 +376,7 @@ const restoreCommand: Command = {
|
||||
tasksRestored: number;
|
||||
memoryEntriesRestored: number;
|
||||
};
|
||||
}>('session/restore', {
|
||||
}>('session_restore', {
|
||||
sessionId,
|
||||
restoreMemory,
|
||||
restoreAgents,
|
||||
@@ -471,7 +471,7 @@ const deleteCommand: Command = {
|
||||
sessionId: string;
|
||||
deleted: boolean;
|
||||
deletedAt: string;
|
||||
}>('session/delete', { sessionId });
|
||||
}>('session_delete', { sessionId });
|
||||
|
||||
output.writeln();
|
||||
output.printSuccess(`Session ${sessionId} deleted`);
|
||||
@@ -533,7 +533,7 @@ const exportCommand: Command = {
|
||||
// Get current session if no ID provided
|
||||
if (!sessionId) {
|
||||
try {
|
||||
const current = await callMCPTool<{ sessionId: string }>('session/current', {});
|
||||
const current = await callMCPTool<{ sessionId: string }>('session_current', {});
|
||||
sessionId = current.sessionId;
|
||||
} catch {
|
||||
output.printError('No active session. Provide a session ID to export.');
|
||||
@@ -559,7 +559,7 @@ const exportCommand: Command = {
|
||||
taskCount: number;
|
||||
memoryEntries: number;
|
||||
};
|
||||
}>('session/export', {
|
||||
}>('session_export', {
|
||||
sessionId,
|
||||
includeMemory: ctx.flags['include-memory'] !== false
|
||||
});
|
||||
@@ -679,7 +679,7 @@ const importCommand: Command = {
|
||||
memoryEntriesImported: number;
|
||||
};
|
||||
activated: boolean;
|
||||
}>('session/import', {
|
||||
}>('session_import', {
|
||||
data,
|
||||
name: sessionName,
|
||||
activate
|
||||
@@ -747,7 +747,7 @@ const currentCommand: Command = {
|
||||
memoryEntries: number;
|
||||
duration: number;
|
||||
};
|
||||
}>('session/current', { includeStats: true });
|
||||
}>('session_current', { includeStats: true });
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
output.printJson(result);
|
||||
|
||||
@@ -127,7 +127,7 @@ const startAction = async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
topology: string;
|
||||
initializedAt: string;
|
||||
config: Record<string, unknown>;
|
||||
}>('swarm/init', {
|
||||
}>('swarm_init', {
|
||||
topology: finalTopology,
|
||||
maxAgents,
|
||||
autoScaling: swarmConfig.autoScale !== false,
|
||||
@@ -148,7 +148,7 @@ const startAction = async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
port: number;
|
||||
transport: string;
|
||||
startedAt: string;
|
||||
}>('mcp/start', {
|
||||
}>('mcp_start', {
|
||||
port: mcpPort,
|
||||
transport: mcpConfig.transportType || 'stdio',
|
||||
tools: mcpConfig.tools || ['agent', 'swarm', 'memory', 'task']
|
||||
@@ -173,7 +173,7 @@ const startAction = async (ctx: CommandContext): Promise<CommandResult> => {
|
||||
const healthResult = await callMCPTool<{
|
||||
status: 'healthy' | 'degraded' | 'unhealthy';
|
||||
checks: Array<{ name: string; status: string; message?: string }>;
|
||||
}>('swarm/health', {
|
||||
}>('swarm_health', {
|
||||
swarmId: swarmResult.swarmId
|
||||
});
|
||||
|
||||
@@ -317,7 +317,7 @@ const stopCommand: Command = {
|
||||
// Stop MCP server
|
||||
spinner.setText('Stopping MCP server...');
|
||||
try {
|
||||
await callMCPTool('mcp/stop', { graceful: !force, timeout });
|
||||
await callMCPTool('mcp_stop', { graceful: !force, timeout });
|
||||
spinner.succeed('MCP server stopped');
|
||||
} catch {
|
||||
spinner.fail('MCP server was not running');
|
||||
@@ -327,7 +327,7 @@ const stopCommand: Command = {
|
||||
spinner.setText('Stopping swarm...');
|
||||
spinner.start();
|
||||
try {
|
||||
await callMCPTool('swarm/stop', {
|
||||
await callMCPTool('swarm_stop', {
|
||||
graceful: !force,
|
||||
timeout,
|
||||
saveState: true
|
||||
|
||||
@@ -120,7 +120,7 @@ async function getSystemStatus(): Promise<{
|
||||
agents: { total: number; active: number; idle: number; terminated: number };
|
||||
health: string;
|
||||
uptime: number;
|
||||
}>('swarm/status', { includeMetrics: true });
|
||||
}>('swarm_status', { includeMetrics: true });
|
||||
|
||||
// Get MCP status
|
||||
let mcpStatus = { running: false, port: null as number | null, transport: 'stdio' };
|
||||
@@ -129,7 +129,7 @@ async function getSystemStatus(): Promise<{
|
||||
running: boolean;
|
||||
port: number;
|
||||
transport: string;
|
||||
}>('mcp/status', {});
|
||||
}>('mcp_status', {});
|
||||
mcpStatus = mcp;
|
||||
} catch {
|
||||
// MCP not running
|
||||
@@ -141,7 +141,7 @@ async function getSystemStatus(): Promise<{
|
||||
size: number;
|
||||
backend: string;
|
||||
performance: { avgSearchTime: number; cacheHitRate: number };
|
||||
}>('memory/stats', {});
|
||||
}>('memory_stats', {});
|
||||
|
||||
// Get task status
|
||||
const taskStatus = await callMCPTool<{
|
||||
@@ -150,7 +150,7 @@ async function getSystemStatus(): Promise<{
|
||||
running: number;
|
||||
completed: number;
|
||||
failed: number;
|
||||
}>('task/summary', {});
|
||||
}>('task_summary', {});
|
||||
|
||||
return {
|
||||
initialized: true,
|
||||
@@ -505,7 +505,7 @@ const agentsCommand: Command = {
|
||||
uptime: number;
|
||||
metrics: { tasksCompleted: number; successRate: number };
|
||||
}>;
|
||||
}>('agent/list', { includeMetrics: true, status: 'all' });
|
||||
}>('agent_list', { includeMetrics: true, status: 'all' });
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
output.printJson(result);
|
||||
@@ -568,7 +568,7 @@ const tasksCommand: Command = {
|
||||
progress: number;
|
||||
createdAt: string;
|
||||
}>;
|
||||
}>('task/list', { status: 'all', limit: 50 });
|
||||
}>('task_list', { status: 'all', limit: 50 });
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
output.printJson(result);
|
||||
@@ -636,7 +636,7 @@ const memoryCommand: Command = {
|
||||
searchImprovement: string;
|
||||
memoryReduction: string;
|
||||
};
|
||||
}>('memory/detailed-stats', {});
|
||||
}>('memory_detailed-stats', {});
|
||||
|
||||
if (ctx.flags.format === 'json') {
|
||||
output.printJson(result);
|
||||
|
||||
@@ -258,7 +258,7 @@ const initCommand: Command = {
|
||||
communicationProtocol?: string;
|
||||
autoScaling?: boolean;
|
||||
};
|
||||
}>('swarm/init', {
|
||||
}>('swarm_init', {
|
||||
topology: topology as 'hierarchical' | 'mesh' | 'adaptive' | 'collective' | 'hierarchical-mesh',
|
||||
maxAgents,
|
||||
config: {
|
||||
|
||||
@@ -173,7 +173,7 @@ const createCommand: Command = {
|
||||
createdAt: string;
|
||||
assignedTo?: string[];
|
||||
tags: string[];
|
||||
}>('task/create', {
|
||||
}>('task_create', {
|
||||
type: taskType,
|
||||
description,
|
||||
priority: priority || 'normal',
|
||||
@@ -287,7 +287,7 @@ const listCommand: Command = {
|
||||
createdAt: string;
|
||||
}>;
|
||||
total: number;
|
||||
}>('task/list', {
|
||||
}>('task_list', {
|
||||
status,
|
||||
type: ctx.flags.type,
|
||||
priority: ctx.flags.priority,
|
||||
@@ -403,7 +403,7 @@ const statusCommand: Command = {
|
||||
retries: number;
|
||||
tokensUsed: number;
|
||||
};
|
||||
}>('task/status', {
|
||||
}>('task_status', {
|
||||
taskId,
|
||||
includeLogs: ctx.flags.logs,
|
||||
includeMetrics: true
|
||||
@@ -555,7 +555,7 @@ const cancelCommand: Command = {
|
||||
cancelled: boolean;
|
||||
previousStatus: string;
|
||||
cancelledAt: string;
|
||||
}>('task/cancel', {
|
||||
}>('task_cancel', {
|
||||
taskId,
|
||||
reason: reason || 'Cancelled by user via CLI'
|
||||
});
|
||||
@@ -614,7 +614,7 @@ const assignCommand: Command = {
|
||||
try {
|
||||
const agents = await callMCPTool<{
|
||||
agents: Array<{ id: string; type: string; status: string }>;
|
||||
}>('agent/list', { status: 'active,idle' });
|
||||
}>('agent_list', { status: 'active,idle' });
|
||||
|
||||
if (agents.agents.length === 0) {
|
||||
output.printWarning('No available agents');
|
||||
@@ -641,7 +641,7 @@ const assignCommand: Command = {
|
||||
taskId: string;
|
||||
assignedTo: string[];
|
||||
previouslyAssigned: string[];
|
||||
}>('task/assign', {
|
||||
}>('task_assign', {
|
||||
taskId,
|
||||
agentIds: selectedAgents
|
||||
});
|
||||
@@ -668,7 +668,7 @@ const assignCommand: Command = {
|
||||
taskId: string;
|
||||
assignedTo: string[];
|
||||
previouslyAssigned: string[];
|
||||
}>('task/assign', {
|
||||
}>('task_assign', {
|
||||
taskId,
|
||||
agentIds: unassign ? [] : agentIds.split(',').map(id => id.trim()),
|
||||
unassign
|
||||
@@ -725,7 +725,7 @@ const retryCommand: Command = {
|
||||
newTaskId: string;
|
||||
previousStatus: string;
|
||||
status: string;
|
||||
}>('task/retry', {
|
||||
}>('task_retry', {
|
||||
taskId,
|
||||
resetState
|
||||
});
|
||||
|
||||
@@ -126,7 +126,7 @@ const runCommand: Command = {
|
||||
agentsSpawned: number;
|
||||
estimatedDuration: string;
|
||||
};
|
||||
}>('workflow/run', {
|
||||
}>('workflow_run', {
|
||||
template: template || undefined,
|
||||
file: file || undefined,
|
||||
task,
|
||||
@@ -238,7 +238,7 @@ const validateCommand: Command = {
|
||||
agents: number;
|
||||
estimatedDuration: string;
|
||||
};
|
||||
}>('workflow/validate', {
|
||||
}>('workflow_validate', {
|
||||
file,
|
||||
strict,
|
||||
});
|
||||
@@ -335,7 +335,7 @@ const listCommand: Command = {
|
||||
progress: number;
|
||||
}>;
|
||||
total: number;
|
||||
}>('workflow/list', {
|
||||
}>('workflow_list', {
|
||||
status: status || 'all',
|
||||
limit,
|
||||
});
|
||||
@@ -420,7 +420,7 @@ const statusCommand: Command = {
|
||||
tokensUsed: number;
|
||||
agentsSpawned: number;
|
||||
};
|
||||
}>('workflow/status', {
|
||||
}>('workflow_status', {
|
||||
workflowId,
|
||||
});
|
||||
|
||||
@@ -505,7 +505,7 @@ const stopCommand: Command = {
|
||||
workflowId: string;
|
||||
stopped: boolean;
|
||||
stoppedAt: string;
|
||||
}>('workflow/stop', {
|
||||
}>('workflow_stop', {
|
||||
workflowId,
|
||||
graceful: !force,
|
||||
});
|
||||
|
||||
@@ -94,7 +94,7 @@ export class MCPClientError extends Error {
|
||||
/**
|
||||
* Call an MCP tool by name with input parameters
|
||||
*
|
||||
* @param toolName - Name of the MCP tool (e.g., 'agent/spawn', 'swarm/init')
|
||||
* @param toolName - Name of the MCP tool (e.g., 'agent_spawn', 'swarm_init')
|
||||
* @param input - Input parameters for the tool
|
||||
* @param context - Optional tool context
|
||||
* @returns Promise resolving to tool result
|
||||
@@ -103,13 +103,13 @@ export class MCPClientError extends Error {
|
||||
* @example
|
||||
* ```typescript
|
||||
* // Spawn an agent
|
||||
* const result = await callMCPTool('agent/spawn', {
|
||||
* const result = await callMCPTool('agent_spawn', {
|
||||
* agentType: 'coder',
|
||||
* priority: 'normal'
|
||||
* });
|
||||
*
|
||||
* // Initialize swarm
|
||||
* const swarm = await callMCPTool('swarm/init', {
|
||||
* const swarm = await callMCPTool('swarm_init', {
|
||||
* topology: 'hierarchical-mesh',
|
||||
* maxAgents: 15
|
||||
* });
|
||||
|
||||
@@ -176,7 +176,7 @@ async function determineAgentModel(
|
||||
|
||||
export const agentTools: MCPTool[] = [
|
||||
{
|
||||
name: 'agent/spawn',
|
||||
name: 'agent_spawn',
|
||||
description: 'Spawn a new agent with intelligent model selection',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -257,7 +257,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/terminate',
|
||||
name: 'agent_terminate',
|
||||
description: 'Terminate an agent',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -291,7 +291,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/status',
|
||||
name: 'agent_status',
|
||||
description: 'Get agent status',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -326,7 +326,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/list',
|
||||
name: 'agent_list',
|
||||
description: 'List all agents',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -373,7 +373,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/pool',
|
||||
name: 'agent_pool',
|
||||
description: 'Manage agent pool',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -490,7 +490,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/health',
|
||||
name: 'agent_health',
|
||||
description: 'Check agent health',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
@@ -567,7 +567,7 @@ export const agentTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'agent/update',
|
||||
name: 'agent_update',
|
||||
description: 'Update agent status or config',
|
||||
category: 'agent',
|
||||
inputSchema: {
|
||||
|
||||
@@ -20,7 +20,7 @@ import {
|
||||
* Analyzes git diffs for change risk assessment and classification
|
||||
*/
|
||||
export const analyzeDiffTool: MCPTool = {
|
||||
name: 'analyze/diff',
|
||||
name: 'analyze_diff',
|
||||
description: 'Analyze git diff for change risk assessment and classification',
|
||||
category: 'analyze',
|
||||
tags: ['diff', 'risk', 'classification', 'git'],
|
||||
@@ -95,7 +95,7 @@ export const analyzeDiffTool: MCPTool = {
|
||||
* Focused risk assessment without full analysis
|
||||
*/
|
||||
export const diffRiskTool: MCPTool = {
|
||||
name: 'analyze/diff-risk',
|
||||
name: 'analyze_diff-risk',
|
||||
description: 'Quick risk assessment for git diff',
|
||||
category: 'analyze',
|
||||
tags: ['diff', 'risk', 'git'],
|
||||
@@ -137,7 +137,7 @@ export const diffRiskTool: MCPTool = {
|
||||
* Classify change type without full analysis
|
||||
*/
|
||||
export const diffClassifyTool: MCPTool = {
|
||||
name: 'analyze/diff-classify',
|
||||
name: 'analyze_diff-classify',
|
||||
description: 'Classify git diff change type',
|
||||
category: 'analyze',
|
||||
tags: ['diff', 'classification', 'git'],
|
||||
@@ -178,7 +178,7 @@ export const diffClassifyTool: MCPTool = {
|
||||
* Suggest reviewers for changes
|
||||
*/
|
||||
export const diffReviewersTool: MCPTool = {
|
||||
name: 'analyze/diff-reviewers',
|
||||
name: 'analyze_diff-reviewers',
|
||||
description: 'Suggest reviewers for git diff changes',
|
||||
category: 'analyze',
|
||||
tags: ['diff', 'reviewers', 'git'],
|
||||
@@ -226,7 +226,7 @@ export const diffReviewersTool: MCPTool = {
|
||||
* Assess risk for a specific file path
|
||||
*/
|
||||
export const fileRiskTool: MCPTool = {
|
||||
name: 'analyze/file-risk',
|
||||
name: 'analyze_file-risk',
|
||||
description: 'Assess risk for a specific file change',
|
||||
category: 'analyze',
|
||||
tags: ['file', 'risk'],
|
||||
@@ -281,7 +281,7 @@ export const fileRiskTool: MCPTool = {
|
||||
* Get quick diff statistics
|
||||
*/
|
||||
export const diffStatsTool: MCPTool = {
|
||||
name: 'analyze/diff-stats',
|
||||
name: 'analyze_diff-stats',
|
||||
description: 'Get quick statistics for git diff',
|
||||
category: 'analyze',
|
||||
tags: ['diff', 'stats', 'git'],
|
||||
|
||||
@@ -68,7 +68,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Navigation Tools
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/open',
|
||||
name: 'browser_open',
|
||||
description: 'Navigate browser to a URL',
|
||||
category: 'browser',
|
||||
tags: ['navigation', 'web'],
|
||||
@@ -108,7 +108,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/back',
|
||||
name: 'browser_back',
|
||||
description: 'Navigate back in browser history',
|
||||
category: 'browser',
|
||||
tags: ['navigation'],
|
||||
@@ -124,7 +124,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/forward',
|
||||
name: 'browser_forward',
|
||||
description: 'Navigate forward in browser history',
|
||||
category: 'browser',
|
||||
tags: ['navigation'],
|
||||
@@ -140,7 +140,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/reload',
|
||||
name: 'browser_reload',
|
||||
description: 'Reload the current page',
|
||||
category: 'browser',
|
||||
tags: ['navigation'],
|
||||
@@ -156,7 +156,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/close',
|
||||
name: 'browser_close',
|
||||
description: 'Close the browser session',
|
||||
category: 'browser',
|
||||
tags: ['navigation'],
|
||||
@@ -178,7 +178,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Snapshot Tools (AI-Optimized)
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/snapshot',
|
||||
name: 'browser_snapshot',
|
||||
description: 'Get AI-optimized accessibility tree snapshot with element refs (@e1, @e2, etc.)',
|
||||
category: 'browser',
|
||||
tags: ['snapshot', 'ai'],
|
||||
@@ -209,7 +209,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/screenshot',
|
||||
name: 'browser_screenshot',
|
||||
description: 'Capture screenshot of the page',
|
||||
category: 'browser',
|
||||
tags: ['snapshot', 'screenshot'],
|
||||
@@ -238,7 +238,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Interaction Tools
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/click',
|
||||
name: 'browser_click',
|
||||
description: 'Click an element using ref (@e1) or CSS selector',
|
||||
category: 'browser',
|
||||
tags: ['interaction'],
|
||||
@@ -266,7 +266,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/fill',
|
||||
name: 'browser_fill',
|
||||
description: 'Clear and fill an input element',
|
||||
category: 'browser',
|
||||
tags: ['interaction', 'form'],
|
||||
@@ -289,7 +289,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/type',
|
||||
name: 'browser_type',
|
||||
description: 'Type text with key events (for autocomplete, etc.)',
|
||||
category: 'browser',
|
||||
tags: ['interaction', 'form'],
|
||||
@@ -316,7 +316,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/press',
|
||||
name: 'browser_press',
|
||||
description: 'Press a keyboard key',
|
||||
category: 'browser',
|
||||
tags: ['interaction'],
|
||||
@@ -334,7 +334,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/hover',
|
||||
name: 'browser_hover',
|
||||
description: 'Hover over an element',
|
||||
category: 'browser',
|
||||
tags: ['interaction'],
|
||||
@@ -352,7 +352,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/select',
|
||||
name: 'browser_select',
|
||||
description: 'Select an option from a dropdown',
|
||||
category: 'browser',
|
||||
tags: ['interaction', 'form'],
|
||||
@@ -375,7 +375,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/check',
|
||||
name: 'browser_check',
|
||||
description: 'Check a checkbox',
|
||||
category: 'browser',
|
||||
tags: ['interaction', 'form'],
|
||||
@@ -393,7 +393,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/uncheck',
|
||||
name: 'browser_uncheck',
|
||||
description: 'Uncheck a checkbox',
|
||||
category: 'browser',
|
||||
tags: ['interaction', 'form'],
|
||||
@@ -411,7 +411,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/scroll',
|
||||
name: 'browser_scroll',
|
||||
description: 'Scroll the page',
|
||||
category: 'browser',
|
||||
tags: ['interaction'],
|
||||
@@ -440,7 +440,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Information Retrieval Tools
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/get-text',
|
||||
name: 'browser_get-text',
|
||||
description: 'Get text content of an element',
|
||||
category: 'browser',
|
||||
tags: ['info'],
|
||||
@@ -458,7 +458,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/get-value',
|
||||
name: 'browser_get-value',
|
||||
description: 'Get value of an input element',
|
||||
category: 'browser',
|
||||
tags: ['info', 'form'],
|
||||
@@ -476,7 +476,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/get-title',
|
||||
name: 'browser_get-title',
|
||||
description: 'Get the page title',
|
||||
category: 'browser',
|
||||
tags: ['info'],
|
||||
@@ -492,7 +492,7 @@ export const browserTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'browser/get-url',
|
||||
name: 'browser_get-url',
|
||||
description: 'Get the current URL',
|
||||
category: 'browser',
|
||||
tags: ['info'],
|
||||
@@ -512,7 +512,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Wait Tools
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/wait',
|
||||
name: 'browser_wait',
|
||||
description: 'Wait for a condition',
|
||||
category: 'browser',
|
||||
tags: ['wait'],
|
||||
@@ -547,7 +547,7 @@ export const browserTools: MCPTool[] = [
|
||||
// JavaScript Execution
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/eval',
|
||||
name: 'browser_eval',
|
||||
description: 'Execute JavaScript in page context',
|
||||
category: 'browser',
|
||||
tags: ['eval', 'js'],
|
||||
@@ -569,7 +569,7 @@ export const browserTools: MCPTool[] = [
|
||||
// Session Management
|
||||
// ==========================================================================
|
||||
{
|
||||
name: 'browser/session-list',
|
||||
name: 'browser_session-list',
|
||||
description: 'List active browser sessions',
|
||||
category: 'browser',
|
||||
tags: ['session'],
|
||||
|
||||
@@ -94,7 +94,7 @@ function parseClaimant(str: string): Claimant | null {
|
||||
|
||||
export const claimsTools: MCPTool[] = [
|
||||
{
|
||||
name: 'claims/claim',
|
||||
name: 'claims_claim',
|
||||
description: 'Claim an issue for work (human or agent)',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -160,7 +160,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/release',
|
||||
name: 'claims_release',
|
||||
description: 'Release a claim on an issue',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -217,7 +217,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/handoff',
|
||||
name: 'claims_handoff',
|
||||
description: 'Request handoff of an issue to another claimant',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -290,7 +290,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/accept-handoff',
|
||||
name: 'claims_accept-handoff',
|
||||
description: 'Accept a pending handoff',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -353,7 +353,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/status',
|
||||
name: 'claims_status',
|
||||
description: 'Update claim status',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -414,7 +414,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/list',
|
||||
name: 'claims_list',
|
||||
description: 'List all claims or filter by criteria',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -467,7 +467,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/mark-stealable',
|
||||
name: 'claims_mark-stealable',
|
||||
description: 'Mark an issue as stealable by other agents',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -532,7 +532,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/steal',
|
||||
name: 'claims_steal',
|
||||
description: 'Steal a stealable issue',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -603,7 +603,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/stealable',
|
||||
name: 'claims_stealable',
|
||||
description: 'List all stealable issues',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -640,7 +640,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/load',
|
||||
name: 'claims_load',
|
||||
description: 'Get agent load information',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -728,7 +728,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/board',
|
||||
name: 'claims_board',
|
||||
description: 'Get a visual board view of all claims',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
@@ -782,7 +782,7 @@ export const claimsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'claims/rebalance',
|
||||
name: 'claims_rebalance',
|
||||
description: 'Suggest or apply load rebalancing across agents',
|
||||
category: 'claims',
|
||||
inputSchema: {
|
||||
|
||||
@@ -100,7 +100,7 @@ function setNestedValue(obj: Record<string, unknown>, key: string, value: unknow
|
||||
|
||||
export const configTools: MCPTool[] = [
|
||||
{
|
||||
name: 'config/get',
|
||||
name: 'config_get',
|
||||
description: 'Get configuration value',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
@@ -139,7 +139,7 @@ export const configTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'config/set',
|
||||
name: 'config_set',
|
||||
description: 'Set configuration value',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
@@ -181,7 +181,7 @@ export const configTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'config/list',
|
||||
name: 'config_list',
|
||||
description: 'List configuration values',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
@@ -235,7 +235,7 @@ export const configTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'config/reset',
|
||||
name: 'config_reset',
|
||||
description: 'Reset configuration to defaults',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
@@ -286,7 +286,7 @@ export const configTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'config/export',
|
||||
name: 'config_export',
|
||||
description: 'Export configuration to JSON',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
@@ -323,7 +323,7 @@ export const configTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'config/import',
|
||||
name: 'config_import',
|
||||
description: 'Import configuration from JSON',
|
||||
category: 'config',
|
||||
inputSchema: {
|
||||
|
||||
@@ -100,7 +100,7 @@ function saveCoordStore(store: CoordinationStore): void {
|
||||
|
||||
export const coordinationTools: MCPTool[] = [
|
||||
{
|
||||
name: 'coordination/topology',
|
||||
name: 'coordination_topology',
|
||||
description: 'Configure swarm topology',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -171,7 +171,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/load_balance',
|
||||
name: 'coordination_load_balance',
|
||||
description: 'Configure load balancing',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -258,7 +258,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/sync',
|
||||
name: 'coordination_sync',
|
||||
description: 'Synchronize state across nodes',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -330,7 +330,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/node',
|
||||
name: 'coordination_node',
|
||||
description: 'Manage coordination nodes',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -420,7 +420,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/consensus',
|
||||
name: 'coordination_consensus',
|
||||
description: 'Manage consensus protocol',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -482,7 +482,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/orchestrate',
|
||||
name: 'coordination_orchestrate',
|
||||
description: 'Orchestrate multi-agent coordination',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
@@ -516,7 +516,7 @@ export const coordinationTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'coordination/metrics',
|
||||
name: 'coordination_metrics',
|
||||
description: 'Get coordination metrics',
|
||||
category: 'coordination',
|
||||
inputSchema: {
|
||||
|
||||
@@ -86,7 +86,7 @@ function saveDAAStore(store: DAAStore): void {
|
||||
|
||||
export const daaTools: MCPTool[] = [
|
||||
{
|
||||
name: 'daa/agent_create',
|
||||
name: 'daa_agent_create',
|
||||
description: 'Create a decentralized autonomous agent',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -142,7 +142,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/agent_adapt',
|
||||
name: 'daa_agent_adapt',
|
||||
description: 'Trigger agent adaptation based on feedback',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -192,7 +192,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/workflow_create',
|
||||
name: 'daa_workflow_create',
|
||||
description: 'Create an autonomous workflow',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -236,7 +236,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/workflow_execute',
|
||||
name: 'daa_workflow_execute',
|
||||
description: 'Execute a DAA workflow',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -281,7 +281,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/knowledge_share',
|
||||
name: 'daa_knowledge_share',
|
||||
description: 'Share knowledge between agents',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -321,7 +321,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/learning_status',
|
||||
name: 'daa_learning_status',
|
||||
description: 'Get learning status for DAA agents',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -376,7 +376,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/cognitive_pattern',
|
||||
name: 'daa_cognitive_pattern',
|
||||
description: 'Analyze or change cognitive patterns',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
@@ -444,7 +444,7 @@ export const daaTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'daa/performance_metrics',
|
||||
name: 'daa_performance_metrics',
|
||||
description: 'Get DAA performance metrics',
|
||||
category: 'daa',
|
||||
inputSchema: {
|
||||
|
||||
@@ -155,7 +155,7 @@ function cosineSimilarity(a: number[], b: number[]): number {
|
||||
|
||||
export const embeddingsTools: MCPTool[] = [
|
||||
{
|
||||
name: 'embeddings/init',
|
||||
name: 'embeddings_init',
|
||||
description: 'Initialize the ONNX embedding subsystem with hyperbolic support',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -256,7 +256,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/generate',
|
||||
name: 'embeddings_generate',
|
||||
description: 'Generate embeddings for text (Euclidean or hyperbolic)',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -321,7 +321,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/compare',
|
||||
name: 'embeddings_compare',
|
||||
description: 'Compare similarity between two texts',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -408,7 +408,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/search',
|
||||
name: 'embeddings_search',
|
||||
description: 'Semantic search across stored embeddings',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -507,7 +507,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/neural',
|
||||
name: 'embeddings_neural',
|
||||
description: 'Neural substrate operations (RuVector integration)',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -704,7 +704,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/hyperbolic',
|
||||
name: 'embeddings_hyperbolic',
|
||||
description: 'Hyperbolic embedding operations (Poincaré ball)',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
@@ -822,7 +822,7 @@ export const embeddingsTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'embeddings/status',
|
||||
name: 'embeddings_status',
|
||||
description: 'Get embeddings system status and configuration',
|
||||
category: 'embeddings',
|
||||
inputSchema: {
|
||||
|
||||
@@ -73,7 +73,7 @@ function saveGitHubStore(store: GitHubStore): void {
|
||||
|
||||
export const githubTools: MCPTool[] = [
|
||||
{
|
||||
name: 'github/repo_analyze',
|
||||
name: 'github_repo_analyze',
|
||||
description: 'Analyze a GitHub repository',
|
||||
category: 'github',
|
||||
inputSchema: {
|
||||
@@ -127,7 +127,7 @@ export const githubTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'github/pr_manage',
|
||||
name: 'github_pr_manage',
|
||||
description: 'Manage pull requests',
|
||||
category: 'github',
|
||||
inputSchema: {
|
||||
@@ -229,7 +229,7 @@ export const githubTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'github/issue_track',
|
||||
name: 'github_issue_track',
|
||||
description: 'Track and manage issues',
|
||||
category: 'github',
|
||||
inputSchema: {
|
||||
@@ -314,7 +314,7 @@ export const githubTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'github/workflow',
|
||||
name: 'github_workflow',
|
||||
description: 'Manage GitHub Actions workflows',
|
||||
category: 'github',
|
||||
inputSchema: {
|
||||
@@ -375,7 +375,7 @@ export const githubTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'github/metrics',
|
||||
name: 'github_metrics',
|
||||
description: 'Get repository metrics and statistics',
|
||||
category: 'github',
|
||||
inputSchema: {
|
||||
|
||||
@@ -114,7 +114,7 @@ function saveAgentStore(store: { agents: Record<string, unknown> }): void {
|
||||
|
||||
export const hiveMindTools: MCPTool[] = [
|
||||
{
|
||||
name: 'hive-mind/spawn',
|
||||
name: 'hive-mind_spawn',
|
||||
description: 'Spawn workers and automatically join them to the hive-mind (combines agent/spawn + hive-mind/join)',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -182,7 +182,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/init',
|
||||
name: 'hive-mind_init',
|
||||
description: 'Initialize the hive-mind collective',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -227,7 +227,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/status',
|
||||
name: 'hive-mind_status',
|
||||
description: 'Get hive-mind status',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -301,7 +301,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/join',
|
||||
name: 'hive-mind_join',
|
||||
description: 'Join an agent to the hive-mind',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -335,7 +335,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/leave',
|
||||
name: 'hive-mind_leave',
|
||||
description: 'Remove an agent from the hive-mind',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -365,7 +365,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/consensus',
|
||||
name: 'hive-mind_consensus',
|
||||
description: 'Propose or vote on consensus',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -500,7 +500,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/broadcast',
|
||||
name: 'hive-mind_broadcast',
|
||||
description: 'Broadcast message to all workers',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -545,7 +545,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/shutdown',
|
||||
name: 'hive-mind_shutdown',
|
||||
description: 'Shutdown the hive-mind and terminate all workers',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
@@ -610,7 +610,7 @@ export const hiveMindTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'hive-mind/memory',
|
||||
name: 'hive-mind_memory',
|
||||
description: 'Access hive shared memory',
|
||||
category: 'hive-mind',
|
||||
inputSchema: {
|
||||
|
||||
@@ -387,7 +387,7 @@ function assessCommandRisk(command: string): { risk: string; level: number; warn
|
||||
|
||||
// MCP Tool implementations - return raw data for direct CLI use
|
||||
export const hooksPreEdit: MCPTool = {
|
||||
name: 'hooks/pre-edit',
|
||||
name: 'hooks_pre-edit',
|
||||
description: 'Get context and agent suggestions before editing a file',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -427,7 +427,7 @@ export const hooksPreEdit: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPostEdit: MCPTool = {
|
||||
name: 'hooks/post-edit',
|
||||
name: 'hooks_post-edit',
|
||||
description: 'Record editing outcome for learning',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -453,7 +453,7 @@ export const hooksPostEdit: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPreCommand: MCPTool = {
|
||||
name: 'hooks/pre-command',
|
||||
name: 'hooks_pre-command',
|
||||
description: 'Assess risk before executing a command',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -489,7 +489,7 @@ export const hooksPreCommand: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPostCommand: MCPTool = {
|
||||
name: 'hooks/post-command',
|
||||
name: 'hooks_post-command',
|
||||
description: 'Record command execution outcome',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -514,7 +514,7 @@ export const hooksPostCommand: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksRoute: MCPTool = {
|
||||
name: 'hooks/route',
|
||||
name: 'hooks_route',
|
||||
description: 'Route task to optimal agent using learned patterns',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -563,7 +563,7 @@ export const hooksRoute: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksMetrics: MCPTool = {
|
||||
name: 'hooks/metrics',
|
||||
name: 'hooks_metrics',
|
||||
description: 'View learning metrics dashboard',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -606,7 +606,7 @@ export const hooksMetrics: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksList: MCPTool = {
|
||||
name: 'hooks/list',
|
||||
name: 'hooks_list',
|
||||
description: 'List all registered hooks',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -639,14 +639,14 @@ export const hooksList: MCPTool = {
|
||||
{ name: 'notify', type: 'coordination', status: 'active' },
|
||||
// Intelligence subcommands
|
||||
{ name: 'intelligence', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/trajectory-start', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/trajectory-step', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/trajectory-end', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/pattern-store', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/pattern-search', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/stats', type: 'analytics', status: 'active' },
|
||||
{ name: 'intelligence/learn', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence/attention', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_trajectory-start', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_trajectory-step', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_trajectory-end', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_pattern-store', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_pattern-search', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_stats', type: 'analytics', status: 'active' },
|
||||
{ name: 'intelligence_learn', type: 'intelligence', status: 'active' },
|
||||
{ name: 'intelligence_attention', type: 'intelligence', status: 'active' },
|
||||
],
|
||||
total: 26,
|
||||
};
|
||||
@@ -654,7 +654,7 @@ export const hooksList: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPreTask: MCPTool = {
|
||||
name: 'hooks/pre-task',
|
||||
name: 'hooks_pre-task',
|
||||
description: 'Record task start and get agent suggestions with intelligent model routing (ADR-026)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -740,7 +740,7 @@ export const hooksPreTask: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPostTask: MCPTool = {
|
||||
name: 'hooks/post-task',
|
||||
name: 'hooks_post-task',
|
||||
description: 'Record task completion for learning',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -774,7 +774,7 @@ export const hooksPostTask: MCPTool = {
|
||||
|
||||
// Explain hook - transparent routing explanation
|
||||
export const hooksExplain: MCPTool = {
|
||||
name: 'hooks/explain',
|
||||
name: 'hooks_explain',
|
||||
description: 'Explain routing decision with full transparency',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -831,7 +831,7 @@ export const hooksExplain: MCPTool = {
|
||||
|
||||
// Pretrain hook - repository analysis for intelligence bootstrap
|
||||
export const hooksPretrain: MCPTool = {
|
||||
name: 'hooks/pretrain',
|
||||
name: 'hooks_pretrain',
|
||||
description: 'Analyze repository to bootstrap intelligence (4-step pipeline)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -872,7 +872,7 @@ export const hooksPretrain: MCPTool = {
|
||||
|
||||
// Build agents hook - generate optimized agent configs
|
||||
export const hooksBuildAgents: MCPTool = {
|
||||
name: 'hooks/build-agents',
|
||||
name: 'hooks_build-agents',
|
||||
description: 'Generate optimized agent configurations from pretrain data',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -943,7 +943,7 @@ export const hooksBuildAgents: MCPTool = {
|
||||
|
||||
// Transfer hook - transfer patterns from another project
|
||||
export const hooksTransfer: MCPTool = {
|
||||
name: 'hooks/transfer',
|
||||
name: 'hooks_transfer',
|
||||
description: 'Transfer learned patterns from another project',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1019,7 +1019,7 @@ export const hooksTransfer: MCPTool = {
|
||||
|
||||
// Session start hook - auto-starts daemon
|
||||
export const hooksSessionStart: MCPTool = {
|
||||
name: 'hooks/session-start',
|
||||
name: 'hooks_session-start',
|
||||
description: 'Initialize a new session and auto-start daemon',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1076,7 +1076,7 @@ export const hooksSessionStart: MCPTool = {
|
||||
|
||||
// Session end hook - stops daemon
|
||||
export const hooksSessionEnd: MCPTool = {
|
||||
name: 'hooks/session-end',
|
||||
name: 'hooks_session-end',
|
||||
description: 'End current session, stop daemon, and persist state',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1127,7 +1127,7 @@ export const hooksSessionEnd: MCPTool = {
|
||||
|
||||
// Session restore hook
|
||||
export const hooksSessionRestore: MCPTool = {
|
||||
name: 'hooks/session-restore',
|
||||
name: 'hooks_session-restore',
|
||||
description: 'Restore a previous session',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1169,7 +1169,7 @@ export const hooksSessionRestore: MCPTool = {
|
||||
|
||||
// Notify hook - cross-agent notifications
|
||||
export const hooksNotify: MCPTool = {
|
||||
name: 'hooks/notify',
|
||||
name: 'hooks_notify',
|
||||
description: 'Send cross-agent notification',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1200,7 +1200,7 @@ export const hooksNotify: MCPTool = {
|
||||
|
||||
// Init hook - initialize hooks in project
|
||||
export const hooksInit: MCPTool = {
|
||||
name: 'hooks/init',
|
||||
name: 'hooks_init',
|
||||
description: 'Initialize hooks in project with .claude/settings.json',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1241,7 +1241,7 @@ export const hooksInit: MCPTool = {
|
||||
|
||||
// Intelligence hook - RuVector intelligence system
|
||||
export const hooksIntelligence: MCPTool = {
|
||||
name: 'hooks/intelligence',
|
||||
name: 'hooks_intelligence',
|
||||
description: 'RuVector intelligence system status (shows REAL metrics from memory store)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1346,7 +1346,7 @@ export const hooksIntelligence: MCPTool = {
|
||||
|
||||
// Intelligence reset hook
|
||||
export const hooksIntelligenceReset: MCPTool = {
|
||||
name: 'hooks/intelligence-reset',
|
||||
name: 'hooks_intelligence-reset',
|
||||
description: 'Reset intelligence learning state',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1367,7 +1367,7 @@ export const hooksIntelligenceReset: MCPTool = {
|
||||
|
||||
// Intelligence trajectory hooks - REAL implementation using activeTrajectories
|
||||
export const hooksTrajectoryStart: MCPTool = {
|
||||
name: 'hooks/intelligence/trajectory-start',
|
||||
name: 'hooks_intelligence_trajectory-start',
|
||||
description: 'Begin SONA trajectory for reinforcement learning',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1407,7 +1407,7 @@ export const hooksTrajectoryStart: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksTrajectoryStep: MCPTool = {
|
||||
name: 'hooks/intelligence/trajectory-step',
|
||||
name: 'hooks_intelligence_trajectory-step',
|
||||
description: 'Record step in trajectory for reinforcement learning',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1453,7 +1453,7 @@ export const hooksTrajectoryStep: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksTrajectoryEnd: MCPTool = {
|
||||
name: 'hooks/intelligence/trajectory-end',
|
||||
name: 'hooks_intelligence_trajectory-end',
|
||||
description: 'End trajectory and trigger SONA learning with EWC++',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1596,7 +1596,7 @@ export const hooksTrajectoryEnd: MCPTool = {
|
||||
|
||||
// Pattern store/search hooks - REAL implementation using storeEntry
|
||||
export const hooksPatternStore: MCPTool = {
|
||||
name: 'hooks/intelligence/pattern-store',
|
||||
name: 'hooks_intelligence_pattern-store',
|
||||
description: 'Store pattern in ReasoningBank (HNSW-indexed)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1656,7 +1656,7 @@ export const hooksPatternStore: MCPTool = {
|
||||
};
|
||||
|
||||
export const hooksPatternSearch: MCPTool = {
|
||||
name: 'hooks/intelligence/pattern-search',
|
||||
name: 'hooks_intelligence_pattern-search',
|
||||
description: 'Search patterns using REAL vector search (HNSW when available, brute-force fallback)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1737,7 +1737,7 @@ export const hooksPatternSearch: MCPTool = {
|
||||
|
||||
// Intelligence stats hook
|
||||
export const hooksIntelligenceStats: MCPTool = {
|
||||
name: 'hooks/intelligence/stats',
|
||||
name: 'hooks_intelligence_stats',
|
||||
description: 'Get RuVector intelligence layer statistics',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1914,7 +1914,7 @@ export const hooksIntelligenceStats: MCPTool = {
|
||||
|
||||
// Intelligence learn hook
|
||||
export const hooksIntelligenceLearn: MCPTool = {
|
||||
name: 'hooks/intelligence/learn',
|
||||
name: 'hooks_intelligence_learn',
|
||||
description: 'Force immediate SONA learning cycle with EWC++ consolidation',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -1989,7 +1989,7 @@ export const hooksIntelligenceLearn: MCPTool = {
|
||||
|
||||
// Intelligence attention hook
|
||||
export const hooksIntelligenceAttention: MCPTool = {
|
||||
name: 'hooks/intelligence/attention',
|
||||
name: 'hooks_intelligence_attention',
|
||||
description: 'Compute attention-weighted similarity using MoE/Flash/Hyperbolic',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2361,7 +2361,7 @@ function detectWorkerTriggers(text: string): {
|
||||
|
||||
// Worker list tool
|
||||
export const hooksWorkerList: MCPTool = {
|
||||
name: 'hooks/worker-list',
|
||||
name: 'hooks_worker-list',
|
||||
description: 'List all 12 background workers with status and capabilities',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2410,7 +2410,7 @@ export const hooksWorkerList: MCPTool = {
|
||||
|
||||
// Worker dispatch tool
|
||||
export const hooksWorkerDispatch: MCPTool = {
|
||||
name: 'hooks/worker-dispatch',
|
||||
name: 'hooks_worker-dispatch',
|
||||
description: 'Dispatch a background worker for analysis/optimization tasks',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2510,7 +2510,7 @@ export const hooksWorkerDispatch: MCPTool = {
|
||||
|
||||
// Worker status tool
|
||||
export const hooksWorkerStatus: MCPTool = {
|
||||
name: 'hooks/worker-status',
|
||||
name: 'hooks_worker-status',
|
||||
description: 'Get status of a specific worker or all active workers',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2566,7 +2566,7 @@ export const hooksWorkerStatus: MCPTool = {
|
||||
|
||||
// Worker detect tool - detect triggers from prompt
|
||||
export const hooksWorkerDetect: MCPTool = {
|
||||
name: 'hooks/worker-detect',
|
||||
name: 'hooks_worker-detect',
|
||||
description: 'Detect worker triggers from user prompt (for UserPromptSubmit hook)',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2647,7 +2647,7 @@ async function getModelRouterInstance() {
|
||||
|
||||
// Model route tool - intelligent model selection
|
||||
export const hooksModelRoute: MCPTool = {
|
||||
name: 'hooks/model-route',
|
||||
name: 'hooks_model-route',
|
||||
description: 'Route task to optimal Claude model (haiku/sonnet/opus) based on complexity',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2691,7 +2691,7 @@ export const hooksModelRoute: MCPTool = {
|
||||
|
||||
// Model route outcome - record outcome for learning
|
||||
export const hooksModelOutcome: MCPTool = {
|
||||
name: 'hooks/model-outcome',
|
||||
name: 'hooks_model-outcome',
|
||||
description: 'Record model routing outcome for learning',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2724,7 +2724,7 @@ export const hooksModelOutcome: MCPTool = {
|
||||
|
||||
// Model router stats
|
||||
export const hooksModelStats: MCPTool = {
|
||||
name: 'hooks/model-stats',
|
||||
name: 'hooks_model-stats',
|
||||
description: 'Get model routing statistics',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -2768,7 +2768,7 @@ function analyzeComplexityFallback(task: string): number {
|
||||
|
||||
// Worker cancel tool
|
||||
export const hooksWorkerCancel: MCPTool = {
|
||||
name: 'hooks/worker-cancel',
|
||||
name: 'hooks_worker-cancel',
|
||||
description: 'Cancel a running worker',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
|
||||
@@ -57,7 +57,7 @@ function saveMemoryStore(store: MemoryStore): void {
|
||||
|
||||
export const memoryTools: MCPTool[] = [
|
||||
{
|
||||
name: 'memory/store',
|
||||
name: 'memory_store',
|
||||
description: 'Store a value in memory (persisted to disk)',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
@@ -95,7 +95,7 @@ export const memoryTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'memory/retrieve',
|
||||
name: 'memory_retrieve',
|
||||
description: 'Retrieve a value from memory',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
@@ -134,7 +134,7 @@ export const memoryTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'memory/search',
|
||||
name: 'memory_search',
|
||||
description: 'Search memory by keyword',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
@@ -177,7 +177,7 @@ export const memoryTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'memory/delete',
|
||||
name: 'memory_delete',
|
||||
description: 'Delete a memory entry',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
@@ -206,7 +206,7 @@ export const memoryTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'memory/list',
|
||||
name: 'memory_list',
|
||||
description: 'List all memory entries',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
@@ -240,7 +240,7 @@ export const memoryTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'memory/stats',
|
||||
name: 'memory_stats',
|
||||
description: 'Get memory storage statistics',
|
||||
category: 'memory',
|
||||
inputSchema: {
|
||||
|
||||
@@ -163,7 +163,7 @@ function cosineSimilarity(a: number[], b: number[]): number {
|
||||
|
||||
export const neuralTools: MCPTool[] = [
|
||||
{
|
||||
name: 'neural/train',
|
||||
name: 'neural_train',
|
||||
description: 'Train a neural model',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
@@ -219,7 +219,7 @@ export const neuralTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'neural/predict',
|
||||
name: 'neural_predict',
|
||||
description: 'Make predictions using a neural model',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
@@ -272,7 +272,7 @@ export const neuralTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'neural/patterns',
|
||||
name: 'neural_patterns',
|
||||
description: 'Get or manage neural patterns',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
@@ -389,7 +389,7 @@ export const neuralTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'neural/compress',
|
||||
name: 'neural_compress',
|
||||
description: 'Compress neural model or embeddings',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
@@ -425,7 +425,7 @@ export const neuralTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'neural/status',
|
||||
name: 'neural_status',
|
||||
description: 'Get neural system status',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
@@ -478,7 +478,7 @@ export const neuralTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'neural/optimize',
|
||||
name: 'neural_optimize',
|
||||
description: 'Optimize neural model performance',
|
||||
category: 'neural',
|
||||
inputSchema: {
|
||||
|
||||
@@ -85,7 +85,7 @@ function savePerfStore(store: PerfStore): void {
|
||||
|
||||
export const performanceTools: MCPTool[] = [
|
||||
{
|
||||
name: 'performance/report',
|
||||
name: 'performance_report',
|
||||
description: 'Generate performance report',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
@@ -188,7 +188,7 @@ export const performanceTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'performance/bottleneck',
|
||||
name: 'performance_bottleneck',
|
||||
description: 'Detect performance bottlenecks',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
@@ -252,7 +252,7 @@ export const performanceTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'performance/benchmark',
|
||||
name: 'performance_benchmark',
|
||||
description: 'Run performance benchmarks',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
@@ -384,7 +384,7 @@ export const performanceTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'performance/profile',
|
||||
name: 'performance_profile',
|
||||
description: 'Profile specific component or operation',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
@@ -427,7 +427,7 @@ export const performanceTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'performance/optimize',
|
||||
name: 'performance_optimize',
|
||||
description: 'Apply performance optimizations',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
@@ -486,7 +486,7 @@ export const performanceTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'performance/metrics',
|
||||
name: 'performance_metrics',
|
||||
description: 'Get detailed performance metrics',
|
||||
category: 'performance',
|
||||
inputSchema: {
|
||||
|
||||
@@ -263,7 +263,7 @@ function getSummary(metrics: V3ProgressMetrics): string {
|
||||
* progress/check - Get current V3 implementation progress
|
||||
*/
|
||||
const progressCheck: MCPTool = {
|
||||
name: 'progress/check',
|
||||
name: 'progress_check',
|
||||
description: 'Get current V3 implementation progress percentage and metrics',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -310,7 +310,7 @@ const progressCheck: MCPTool = {
|
||||
* progress/sync - Calculate and persist V3 progress
|
||||
*/
|
||||
const progressSync: MCPTool = {
|
||||
name: 'progress/sync',
|
||||
name: 'progress_sync',
|
||||
description: 'Calculate and persist V3 progress metrics to file',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -332,7 +332,7 @@ const progressSync: MCPTool = {
|
||||
* progress/summary - Get human-readable progress summary
|
||||
*/
|
||||
const progressSummary: MCPTool = {
|
||||
name: 'progress/summary',
|
||||
name: 'progress_summary',
|
||||
description: 'Get human-readable V3 implementation progress summary',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
@@ -351,7 +351,7 @@ const progressSummary: MCPTool = {
|
||||
* progress/watch - Watch progress (status check)
|
||||
*/
|
||||
const progressWatch: MCPTool = {
|
||||
name: 'progress/watch',
|
||||
name: 'progress_watch',
|
||||
description: 'Get current watch status for progress monitoring',
|
||||
inputSchema: {
|
||||
type: 'object',
|
||||
|
||||
@@ -119,7 +119,7 @@ function loadRelatedStores(options: { includeMemory?: boolean; includeTasks?: bo
|
||||
|
||||
export const sessionTools: MCPTool[] = [
|
||||
{
|
||||
name: 'session/save',
|
||||
name: 'session_save',
|
||||
description: 'Save current session state',
|
||||
category: 'session',
|
||||
inputSchema: {
|
||||
@@ -176,7 +176,7 @@ export const sessionTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'session/restore',
|
||||
name: 'session_restore',
|
||||
description: 'Restore a saved session',
|
||||
category: 'session',
|
||||
inputSchema: {
|
||||
@@ -244,7 +244,7 @@ export const sessionTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'session/list',
|
||||
name: 'session_list',
|
||||
description: 'List saved sessions',
|
||||
category: 'session',
|
||||
inputSchema: {
|
||||
@@ -285,7 +285,7 @@ export const sessionTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'session/delete',
|
||||
name: 'session_delete',
|
||||
description: 'Delete a saved session',
|
||||
category: 'session',
|
||||
inputSchema: {
|
||||
@@ -316,7 +316,7 @@ export const sessionTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'session/info',
|
||||
name: 'session_info',
|
||||
description: 'Get detailed session information',
|
||||
category: 'session',
|
||||
inputSchema: {
|
||||
|
||||
@@ -8,7 +8,7 @@ import type { MCPTool } from './types.js';
|
||||
|
||||
export const swarmTools: MCPTool[] = [
|
||||
{
|
||||
name: 'swarm/init',
|
||||
name: 'swarm_init',
|
||||
description: 'Initialize a swarm',
|
||||
category: 'swarm',
|
||||
inputSchema: {
|
||||
@@ -41,7 +41,7 @@ export const swarmTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'swarm/status',
|
||||
name: 'swarm_status',
|
||||
description: 'Get swarm status',
|
||||
category: 'swarm',
|
||||
inputSchema: {
|
||||
@@ -60,7 +60,7 @@ export const swarmTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'swarm/shutdown',
|
||||
name: 'swarm_shutdown',
|
||||
description: 'Shutdown a swarm',
|
||||
category: 'swarm',
|
||||
inputSchema: {
|
||||
@@ -79,7 +79,7 @@ export const swarmTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'swarm/health',
|
||||
name: 'swarm_health',
|
||||
description: 'Check swarm health status',
|
||||
category: 'swarm',
|
||||
inputSchema: {
|
||||
|
||||
@@ -76,7 +76,7 @@ function saveMetrics(metrics: SystemMetrics): void {
|
||||
|
||||
export const systemTools: MCPTool[] = [
|
||||
{
|
||||
name: 'system/status',
|
||||
name: 'system_status',
|
||||
description: 'Get overall system status',
|
||||
category: 'system',
|
||||
inputSchema: {
|
||||
@@ -120,7 +120,7 @@ export const systemTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'system/metrics',
|
||||
name: 'system_metrics',
|
||||
description: 'Get system metrics and performance data',
|
||||
category: 'system',
|
||||
inputSchema: {
|
||||
@@ -193,7 +193,7 @@ export const systemTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'system/health',
|
||||
name: 'system_health',
|
||||
description: 'Perform system health check',
|
||||
category: 'system',
|
||||
inputSchema: {
|
||||
@@ -277,7 +277,7 @@ export const systemTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'system/info',
|
||||
name: 'system_info',
|
||||
description: 'Get system information',
|
||||
category: 'system',
|
||||
inputSchema: {
|
||||
@@ -312,7 +312,7 @@ export const systemTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'system/reset',
|
||||
name: 'system_reset',
|
||||
description: 'Reset system state',
|
||||
category: 'system',
|
||||
inputSchema: {
|
||||
|
||||
@@ -68,7 +68,7 @@ function saveTaskStore(store: TaskStore): void {
|
||||
|
||||
export const taskTools: MCPTool[] = [
|
||||
{
|
||||
name: 'task/create',
|
||||
name: 'task_create',
|
||||
description: 'Create a new task',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
@@ -116,7 +116,7 @@ export const taskTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'task/status',
|
||||
name: 'task_status',
|
||||
description: 'Get task status',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
@@ -155,7 +155,7 @@ export const taskTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'task/list',
|
||||
name: 'task_list',
|
||||
description: 'List all tasks',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
@@ -217,7 +217,7 @@ export const taskTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'task/complete',
|
||||
name: 'task_complete',
|
||||
description: 'Mark task as complete',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
@@ -256,7 +256,7 @@ export const taskTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'task/update',
|
||||
name: 'task_update',
|
||||
description: 'Update task status or progress',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
@@ -307,7 +307,7 @@ export const taskTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'task/cancel',
|
||||
name: 'task_cancel',
|
||||
description: 'Cancel a task',
|
||||
category: 'task',
|
||||
inputSchema: {
|
||||
|
||||
@@ -68,7 +68,7 @@ function saveTerminalStore(store: TerminalStore): void {
|
||||
|
||||
export const terminalTools: MCPTool[] = [
|
||||
{
|
||||
name: 'terminal/create',
|
||||
name: 'terminal_create',
|
||||
description: 'Create a new terminal session',
|
||||
category: 'terminal',
|
||||
inputSchema: {
|
||||
@@ -108,7 +108,7 @@ export const terminalTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'terminal/execute',
|
||||
name: 'terminal_execute',
|
||||
description: 'Execute a command in a terminal session',
|
||||
category: 'terminal',
|
||||
inputSchema: {
|
||||
@@ -175,7 +175,7 @@ export const terminalTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'terminal/list',
|
||||
name: 'terminal_list',
|
||||
description: 'List all terminal sessions',
|
||||
category: 'terminal',
|
||||
inputSchema: {
|
||||
@@ -210,7 +210,7 @@ export const terminalTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'terminal/close',
|
||||
name: 'terminal_close',
|
||||
description: 'Close a terminal session',
|
||||
category: 'terminal',
|
||||
inputSchema: {
|
||||
@@ -241,7 +241,7 @@ export const terminalTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'terminal/history',
|
||||
name: 'terminal_history',
|
||||
description: 'Get command history for a terminal session',
|
||||
category: 'terminal',
|
||||
inputSchema: {
|
||||
|
||||
@@ -31,7 +31,7 @@ export const transferTools: MCPTool[] = [
|
||||
// ANONYMIZATION TOOLS
|
||||
// ═══════════════════════════════════════════════════════════════
|
||||
{
|
||||
name: 'transfer/detect-pii',
|
||||
name: 'transfer_detect-pii',
|
||||
description: 'Detect PII in content without redacting',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -60,7 +60,7 @@ export const transferTools: MCPTool[] = [
|
||||
// IPFS TOOLS
|
||||
// ═══════════════════════════════════════════════════════════════
|
||||
{
|
||||
name: 'transfer/ipfs-resolve',
|
||||
name: 'transfer_ipfs-resolve',
|
||||
description: 'Resolve IPNS name to CID',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -89,7 +89,7 @@ export const transferTools: MCPTool[] = [
|
||||
// PATTERN STORE TOOLS
|
||||
// ═══════════════════════════════════════════════════════════════
|
||||
{
|
||||
name: 'transfer/store-search',
|
||||
name: 'transfer_store-search',
|
||||
description: 'Search the pattern store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -132,7 +132,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/store-info',
|
||||
name: 'transfer_store-info',
|
||||
description: 'Get detailed info about a pattern',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -163,7 +163,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/store-download',
|
||||
name: 'transfer_store-download',
|
||||
description: 'Download a pattern from the store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -198,7 +198,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/store-featured',
|
||||
name: 'transfer_store-featured',
|
||||
description: 'Get featured patterns from the store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -226,7 +226,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/store-trending',
|
||||
name: 'transfer_store-trending',
|
||||
description: 'Get trending patterns from the store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -257,7 +257,7 @@ export const transferTools: MCPTool[] = [
|
||||
// PLUGIN STORE TOOLS
|
||||
// ═══════════════════════════════════════════════════════════════
|
||||
{
|
||||
name: 'transfer/plugin-search',
|
||||
name: 'transfer_plugin-search',
|
||||
description: 'Search the plugin store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -310,7 +310,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/plugin-info',
|
||||
name: 'transfer_plugin-info',
|
||||
description: 'Get detailed info about a plugin',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -345,7 +345,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/plugin-featured',
|
||||
name: 'transfer_plugin-featured',
|
||||
description: 'Get featured plugins from the store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
@@ -378,7 +378,7 @@ export const transferTools: MCPTool[] = [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'transfer/plugin-official',
|
||||
name: 'transfer_plugin-official',
|
||||
description: 'Get official plugins from the store',
|
||||
category: 'transfer',
|
||||
version: '1.0.0',
|
||||
|
||||
@@ -79,7 +79,7 @@ function saveWorkflowStore(store: WorkflowStore): void {
|
||||
|
||||
export const workflowTools: MCPTool[] = [
|
||||
{
|
||||
name: 'workflow/create',
|
||||
name: 'workflow_create',
|
||||
description: 'Create a new workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -139,7 +139,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/execute',
|
||||
name: 'workflow_execute',
|
||||
description: 'Execute a workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -206,7 +206,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/status',
|
||||
name: 'workflow_status',
|
||||
description: 'Get workflow status',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -263,7 +263,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/list',
|
||||
name: 'workflow_list',
|
||||
description: 'List all workflows',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -304,7 +304,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/pause',
|
||||
name: 'workflow_pause',
|
||||
description: 'Pause a running workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -339,7 +339,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/resume',
|
||||
name: 'workflow_resume',
|
||||
description: 'Resume a paused workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -392,7 +392,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/cancel',
|
||||
name: 'workflow_cancel',
|
||||
description: 'Cancel a workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -437,7 +437,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/delete',
|
||||
name: 'workflow_delete',
|
||||
description: 'Delete a workflow',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
@@ -471,7 +471,7 @@ export const workflowTools: MCPTool[] = [
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'workflow/template',
|
||||
name: 'workflow_template',
|
||||
description: 'Save workflow as template or create from template',
|
||||
category: 'workflow',
|
||||
inputSchema: {
|
||||
|
||||
Generated
+1
-1
@@ -1789,7 +1789,7 @@
|
||||
}
|
||||
},
|
||||
"@claude-flow/cli": {
|
||||
"version": "3.0.0-alpha.154",
|
||||
"version": "3.0.0-alpha.157",
|
||||
"dependencies": {
|
||||
"@claude-flow/aidefence": "^3.0.2",
|
||||
"@claude-flow/embeddings": "^3.0.0-alpha.12",
|
||||
|
||||
Reference in new issue
Block a user