@meshcore/cli
Version:
Official CLI for managing AI agents in MeshCore.ai with LLM-powered metadata extraction
18 lines • 854 B
TypeScript
export interface ReadmeFile {
path: string;
content: string;
size: number;
}
export declare class ReadmeRewriterUtils {
private static readonly MAX_README_SIZE;
private static readonly README_PATTERNS;
static findReadmeFile(dirPath: string): Promise<ReadmeFile | null>;
static readReadmeFile(filePath: string): Promise<ReadmeFile>;
static backupReadmeFile(filePath: string): Promise<string>;
static restoreReadmeFile(filePath: string): Promise<void>;
static saveRewrittenReadme(originalPath: string, rewrittenContent: string, outputPath?: string): Promise<string>;
static extractOriginalUrlFromReadme(content: string): string | undefined;
static formatFileSize(bytes: number): string;
static generateGatewayUrl(agentId: string, baseUrl?: string): string;
}
//# sourceMappingURL=readme-rewriter.d.ts.map