@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
6 lines • 509 B
TypeScript
import type { DurableStore } from "@earendil-works/pi-agent-core/conformance";
/** The state store kept in `path` (its directory is created owner-only); the file is created by the first mutation. */
export declare function openStateFileStore(path: string): DurableStore;
/** Claims the next owner epoch of `store` for this process; an older claimant's later mutations are refused. */
export declare function claimStateStore(store: DurableStore): Promise<number>;
//# sourceMappingURL=state-file-store.d.ts.map