memorybank
Version:
A command-line tool for parsing and displaying memory bank status from markdown files, with support for Roo Code's Memory Bank
42 lines • 1.36 kB
TypeScript
/**
* Represents a single item in a memorybank checklist
*/
export interface MemorybankItem {
/** The text content of the item */
text: string;
/** The status of the item (✅, ⚠️, ❌, or "pending") */
status: string;
}
/**
* Represents a subsection in a memorybank document that contains a list of items
*/
export interface MemorybankSubsection {
/** The title of the subsection */
title: string;
/** The list of items in this subsection */
items: MemorybankItem[];
}
/**
* Represents a major section in a memorybank document that contains subsections
*/
export interface MemorybankSection {
/** The title of the section */
title: string;
/** The list of subsections in this section */
subsections: MemorybankSubsection[];
}
/**
* Represents the complete structure of a memorybank progress document
* containing all sections, subsections, and items
*/
export interface MemorybankProgress {
/** The list of all sections in the document */
sections: MemorybankSection[];
}
/**
* Parse a markdown file and extract checklist progress information
* @param filePath Path to the markdown file
* @returns Promise resolving to the parsed progress data
*/
export declare function getMemorybankProgress(filePath: string): Promise<MemorybankProgress>;
//# sourceMappingURL=memorybank-parser.d.ts.map