UNPKG

@andrebuzeli/advanced-memory-markdown-mcp

Version:

Advanced Memory Bank MCP v3.1.5 - Sistema avançado de gerenciamento de memória com isolamento de projetos por IDE, sincronização sob demanda, backup a cada 30min, apenas arquivos .md principais sincronizados, pasta reasoning temporária com limpeza automát

77 lines 1.97 kB
/** * WebSearch Tool - Integração com AI Agent nativo do IDE * Fornece pesquisa web automática usando recursos nativos do Cursor/VSCode */ export interface WebSearchResult { title: string; url: string; description: string; source: 'ai-agent' | 'fallback'; timestamp: number; } export interface WebSearchQuery { query: string; maxResults?: number; includeContent?: boolean; searchType?: 'web' | 'news' | 'images' | 'videos'; } export interface WebSearchResponse { query: string; results: WebSearchResult[]; totalResults: number; searchTime: number; source: string; } export declare class WebSearchTool { private readonly maxResults; private readonly defaultTimeout; private isAIAgentAvailable; private aiAgentType; constructor(); /** * Detecta automaticamente qual AI Agent está disponível */ private detectAIAgent; /** * Executa pesquisa web usando AI Agent nativo */ search(query: string, options?: Partial<WebSearchQuery>): Promise<WebSearchResponse>; /** * Pesquisa usando AI Agent nativo */ private searchWithAIAgent; /** * Pesquisa usando Cursor AI Agent */ private searchWithCursor; /** * Pesquisa usando VSCode AI Agent */ private searchWithVSCode; /** * Pesquisa usando fallback (DuckDuckGo) */ private searchWithFallback; /** * Obtém informações sobre o status do AI Agent */ getAIAgentStatus(): { available: boolean; type: string; detected: boolean; }; /** * Força re-detecção do AI Agent */ redetectAIAgent(): void; /** * Obtém estatísticas de uso */ getStats(): { totalSearches: number; aiAgentUsage: number; fallbackUsage: number; }; } export declare function createWebSearchTool(): WebSearchTool; //# sourceMappingURL=websearch-tool.d.ts.map