langgraph-checkpoint-filesystem
Version:
Langgraph checkpoint implementation based on file system
14 lines (13 loc) • 705 B
TypeScript
export declare class StorePathResolver {
rootFolder: string;
splitter: string;
readonly defaultCheckpointNs = "__DEFAULT_NS__";
constructor(rootFolder?: string, splitter?: string);
joinWithSplitter(...args: (string | number)[]): string;
splitWithSplitter(str: string): string[];
getThreadPath(threadId: string): string;
getCheckpointNsPath(threadId: string, checkpointNs: string): string;
getCheckpointFolderPath(threadId: string, checkpointNs: string, checkpointId: string): string;
getWritesPath(threadId: string, checkpointNs: string, checkpointId: string): string;
getCheckpointsPath(threadId: string, checkpointNs: string, checkpointId: string): string;
}