/** * Shared tool-registry search used by project(search_tools) AND the * execute_python interceptor. Keyword search over every tool + action, with a * task-intent synonym layer so a caller who searches by INTENT ("screenshot the * game", "make a texture tile") finds the dedicated action even though the * action's own text is implementation-worded (capture_scene_png, MF_TextureBomb). * (#704) */ export interface ToolSearchHit { tool: string; action: string; description: string; score: number; } type SearchableTool = { name: string; actions?: Record; }; /** * Search every registered tool + action for a keyword/intent query. * The tool graph is imported lazily to avoid a load-time circular dependency * (tools.ts imports the project tool, which imports this). */ export declare function searchTools(query: string, limit?: number): Promise; /** Rank the graph supplied by the caller, including that session's plugins. */ export declare function searchToolGraph(tools: SearchableTool[], query: string, limit?: number): ToolSearchHit[]; export {};