UNPKG

@meshcore/cli

Version:

Official CLI for managing AI agents in MeshCore.ai with LLM-powered metadata extraction

31 lines 922 B
import { AgentType, PricingType } from '../types/agent'; export interface ExtractedMetadata { name: string; description: string; category: string; agentType: AgentType; pricingType: PricingType; capabilities: string[]; suggestedPrice?: { inputTokenPrice: number; outputTokenPrice: number; }; } export declare class LLMService { private static instance; private config; private openai?; private constructor(); static getInstance(): LLMService; private initializeLLM; extractMetadataFromReadme(content: string, additionalContext?: string): Promise<ExtractedMetadata>; private validateAndNormalizeMetadata; generateAgentDescription(projectInfo: { name?: string; type?: string; dependencies?: string[]; files?: string[]; }): Promise<string>; isConfigured(): boolean; } //# sourceMappingURL=llm.d.ts.map