createLangGraphThreadDirectory
A framework-neutral ThreadDirectory over the LangGraph threads API.
Mutations show at once and roll back on failure; a refresh never undoes a
mutation that is still pending.
import { createLangGraphThreadDirectory } from '@threadplane/langgraph';Declaration · overload 1
export declare function createLangGraphThreadDirectory(options: LangGraphThreadDirectoryOptions & {
readonly projects: false;
}): LangGraphThreadDirectory<false>;Parameters
options· requiredLangGraphThreadDirectoryOptions & { readonly projects: false; }
Returns
LangGraphThreadDirectory<false>Declaration · overload 2
export declare function createLangGraphThreadDirectory(options: LangGraphThreadDirectoryOptions & {
readonly projects?: ProjectStore;
}): LangGraphThreadDirectory;Parameters
options· requiredLangGraphThreadDirectoryOptions & { readonly projects?: ProjectStore; }
Returns
LangGraphThreadDirectoryDeclaration · overload 3
export declare function createLangGraphThreadDirectory(options: LangGraphThreadDirectoryOptions): LangGraphThreadDirectory<boolean>;Parameters
options· requiredLangGraphThreadDirectoryOptions
Returns
LangGraphThreadDirectory<boolean>