vibe-tools
Version:
CLI tools for AI agents
26 lines (25 loc) • 813 B
TypeScript
import { StdioServerParameters } from '@modelcontextprotocol/sdk/client/stdio.js';
export interface InternalMessage {
role: 'user' | 'assistant' | 'tool';
content: string | any[];
tool_call_id?: string;
name?: string;
cache_control?: {
type: string;
};
}
export interface MCPClientOptions extends StdioServerParameters {
provider: 'anthropic' | 'openrouter';
}
export declare class MCPClientNew {
private debug;
private unifiedClient;
config: MCPClientOptions;
constructor(serverConfig: MCPClientOptions & {
model: string;
maxTokens?: number;
}, debug: boolean);
start(): Promise<void>;
stop(): Promise<void>;
processQuery(query: string): Promise<import("../../../utils/tool-enabled-llm/unified-client.js").InternalMessage[]>;
}