@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
13 lines (12 loc) • 468 B
TypeScript
/**
* Research state persistence — file-backed JSON store.
*/
import type { ResearchState } from "../types/index.js";
export declare class ResearchStateStore {
private filePath;
constructor(repoPath: string, statePath: string);
load(): Promise<ResearchState | null>;
save(state: ResearchState): Promise<void>;
initialize(tag: string, branch: string): Promise<ResearchState>;
update(patch: Partial<ResearchState>): Promise<ResearchState>;
}