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
56 lines • 2.63 kB
TypeScript
/**
* Hooks MCP Tools
* Provides intelligent hooks functionality via MCP protocol
*/
import { type MCPTool } from './types.js';
/**
* Strip extended-thinking blocks from text before it enters a learning
* trajectory (hermes-agent think_scrubber pattern). Claude models with extended
* thinking emit <thinking>/<think>/<reasoning> blocks; if those land in a
* trajectory's action/result text, the DISTILL step embeds reasoning-token
* content that does not generalize, contaminating pattern confidence. Boundary-
* gated: only strips well-formed paired tags, leaving prose that merely mentions
* the tag names untouched.
*/
export declare function scrubReasoningBlocks(text: string): string;
export declare const hooksPreEdit: MCPTool;
export declare const hooksPostEdit: MCPTool;
export declare const hooksPreCommand: MCPTool;
export declare const hooksPostCommand: MCPTool;
export declare const hooksRoute: MCPTool;
export declare const hooksMetrics: MCPTool;
export declare const hooksList: MCPTool;
export declare const hooksPreTask: MCPTool;
export declare const hooksPostTask: MCPTool;
export declare const hooksExplain: MCPTool;
export declare const hooksPretrain: MCPTool;
export declare const hooksBuildAgents: MCPTool;
export declare const hooksTransfer: MCPTool;
export declare const hooksSessionStart: MCPTool;
export declare const hooksSessionEnd: MCPTool;
export declare const hooksSessionRestore: MCPTool;
export declare const hooksNotify: MCPTool;
export declare const hooksInit: MCPTool;
export declare const hooksIntelligence: MCPTool;
export declare const hooksIntelligenceReset: MCPTool;
export declare const hooksTrajectoryStart: MCPTool;
export declare const hooksTrajectoryStep: MCPTool;
export declare const hooksTrajectoryEnd: MCPTool;
export declare const hooksPatternStore: MCPTool;
export declare const hooksPatternSearch: MCPTool;
export declare const hooksIntelligenceStats: MCPTool;
export declare const hooksIntelligenceLearn: MCPTool;
export declare const hooksIntelligenceAttention: MCPTool;
export declare const hooksWorkerList: MCPTool;
export declare const hooksWorkerDispatch: MCPTool;
export declare const hooksWorkerStatus: MCPTool;
export declare const hooksWorkerDetect: MCPTool;
export declare const hooksModelRoute: MCPTool;
export declare const hooksModelOutcome: MCPTool;
export declare const hooksModelStats: MCPTool;
export declare const hooksWorkerCancel: MCPTool;
export declare const hooksTeammateIdle: MCPTool;
export declare const hooksTaskCompleted: MCPTool;
export declare const hooksTools: MCPTool[];
export default hooksTools;
//# sourceMappingURL=hooks-tools.d.ts.map