Kind: Class
Source: atloria-monorepo/libs/agent-core/src/context/checkpoint-backend.ts
Implements: CheckpointBackend
Methods
| Method | Signature | Returns |
|---|---|---|
save | save(snap: Snapshot) | void |
load | load(relPath: string) | Snapshot[] |
loadLatest | loadLatest(relPath: string) | `Snapshot |
deleteFile | deleteFile(relPath: string) | void |
deleteFrom | deleteFrom(relPath: string, fromIndex: number) | void |
getTrackedFiles | getTrackedFiles() | string[] |
getTotalCount | getTotalCount() | number |
getSnapshotCount | getSnapshotCount(relPath: string) | number |
clear | clear() | void |
evictOldest | evictOldest() | boolean |
Where it refuses work
MemoryBackendstops the work with an early return when!snaps || snaps.length === 0.MemoryBackendstops the work with an early return when!snaps.MemoryBackendstops the work with an early return whenfromIndex < 0 || fromIndex >= snaps.length.
Was this page helpful?