claude-flow
Version:
Ruflo - Enterprise AI agent orchestration for Claude Code. Deploy 60+ specialized agents in coordinated swarms with self-learning, fault-tolerant consensus, vector memory, and MCP integration
17 lines • 540 B
TypeScript
/**
* MCP Request Tracker
* Lightweight counter for tracking MCP tool invocations.
* Used by system_metrics to report real request counts.
*/
interface RequestCounts {
total: number;
success: number;
errors: number;
byTool: Record<string, number>;
startedAt: string;
}
export declare function trackRequest(toolName: string, success: boolean): void;
export declare function getRequestCounts(): RequestCounts;
export declare function resetRequestCounts(): void;
export {};
//# sourceMappingURL=request-tracker.d.ts.map