UNPKG

windsurf-memory-optimization

Version:

Memory optimization tools for Windsurf AI

19 lines (18 loc) 602 B
import { MemoryPin } from './types'; export declare class SnapshotManager { private storage; private initialized; init(storageDir?: string, logging?: boolean, ttl?: boolean): Promise<void>; createSnapshot(tag: string, pins: MemoryPin[]): Promise<string>; restoreSnapshot(tag: string): Promise<void>; /** * Liệt kê tất cả các snapshots hiện có * @returns Danh sách các snapshot với thông tin chi tiết */ listSnapshots(): Promise<Array<{ id: string; tag: string; timestamp: string; pinCount: number; }>>; }