UNPKG

ai-debug-local-mcp

Version:

🎯 ENHANCED AI GUIDANCE v4.1.2: Dramatically improved tool descriptions help AI users choose the right tools instead of 'close enough' options. Ultra-fast keyboard automation (10x speed), universal recording, multi-ecosystem debugging support, and compreh

118 lines • 3.76 kB
/** * GO INTEGRATION HANDLER * * Provides 12 specialized Go debugging tools for Go development and debugging. * These tools work with Go's unique features like goroutines, channels, modules, and runtime. * * Tools included: * - go_runtime_inspector: Analyze Go runtime, goroutines, and memory * - go_module_analyzer: Analyze Go modules, dependencies, and versions * - go_goroutine_debugger: Debug goroutine leaks and concurrency issues * - go_channel_inspector: Inspect channel operations and deadlocks * - go_performance_profiler: Profile CPU, memory, and blocking operations * - go_build_analyzer: Analyze build performance and dependencies * - go_test_runner: Enhanced test runner with coverage and benchmarks * - go_race_detector: Detect race conditions and concurrency bugs * - go_gc_analyzer: Analyze garbage collection performance * - go_http_debugger: Debug HTTP servers and clients * - go_interface_analyzer: Analyze interface implementations and type assertions * - go_vendor_validator: Validate vendor dependencies and licensing */ import { BaseToolHandler } from './base-handler.js'; import { Tool } from '@modelcontextprotocol/sdk/types.js'; export declare class GoIntegrationHandler extends BaseToolHandler { tools: Tool[]; constructor(); getTools(): Tool[]; handle(toolName: string, args: any): Promise<any>; /** * Inspect Go runtime statistics and goroutines */ private inspectGoRuntime; /** * Analyze Go modules and dependencies */ private analyzeGoModules; /** * Debug goroutines and concurrency issues */ private debugGoroutines; /** * Inspect channels and communication patterns */ private inspectChannels; /** * Profile Go application performance */ private profilePerformance; /** * Analyze Go build performance and dependencies */ private analyzeBuild; /** * Run tests with enhanced analysis */ private runTests; /** * Detect race conditions */ private detectRaces; /** * Analyze garbage collection performance */ private analyzeGC; /** * Debug HTTP servers and clients */ private debugHTTP; /** * Analyze interfaces and type assertions */ private analyzeInterfaces; /** * Validate vendor dependencies */ private validateVendor; private getGoVersion; private getGoEnvironment; private analyzeGoroutines; private getMemoryStats; private parseGoMod; private analyzeDependencies; private checkVulnerabilities; private calculateModuleScore; private detectGoroutineLeaks; private analyzeBlocking; private assessGoroutineHealth; private detectChannelDeadlocks; private analyzeChannelPatterns; private profileCPU; private profileMemory; private profileGoroutines; private calculatePerformanceScore; private measureBuildTime; private analyzeBuildDependencies; private analyzeBuildCaching; private calculateBuildScore; private executeTests; private analyzeCoverage; private runBenchmarks; private calculateTestScore; private runRaceDetection; private calculateConcurrencyScore; private analyzeGCPatterns; private measureGCLatency; private suggestGCTuning; private calculateGCScore; private analyzeHTTPServer; private analyzeMiddleware; private traceHTTPRequests; private analyzeInterfaceImplementations; private checkTypeAssertions; private suggestInterfaceOptimizations; private checkLicenses; private validateSecurity; private analyzeVersions; private calculateVendorScore; } //# sourceMappingURL=go-integration-handler.d.ts.map