superaugment
Version:
Enterprise-grade MCP server with world-class C++ analysis, robust error handling, and production-ready architecture for VS Code Augment
53 lines • 1.4 kB
TypeScript
import type { Tool } from '@modelcontextprotocol/sdk/types.js';
import { ConfigManager } from '../config/ConfigManager.js';
/**
* Base interface for all SuperAugment tools
*/
export interface SuperAugmentTool {
name: string;
description: string;
inputSchema: any;
execute(args: Record<string, any>): Promise<any>;
}
/**
* Manages all development tools for SuperAugment
*/
export declare class ToolManager {
private configManager;
private tools;
private schemaConverter;
constructor(configManager: ConfigManager);
/**
* Initialize the tool manager
*/
initialize(): Promise<void>;
/**
* Register a tool
*/
private registerTool;
/**
* List all available tools with enhanced schema conversion
*/
listTools(): Promise<Tool[]>;
/**
* Call a specific tool with enhanced error handling
*/
callTool(name: string, args: Record<string, any>): Promise<any>;
/**
* Get a specific tool
*/
getTool(name: string): SuperAugmentTool | undefined;
/**
* Get all tool names
*/
getToolNames(): string[];
/**
* Get schema conversion statistics
*/
getSchemaConversionStats(): import("../utils/SchemaConverter.js").ConversionStats;
/**
* Clear schema conversion cache
*/
clearSchemaCache(): void;
}
//# sourceMappingURL=ToolManager.d.ts.map