Interface: FileCheckpointOptions
@providerprotocol/agents / index / FileCheckpointOptions
Interface: FileCheckpointOptions
Section titled “Interface: FileCheckpointOptions”Defined in: src/checkpoint/types.ts:169
Configuration options for the file-based checkpoint store.
fileCheckpoints for the factory function that uses these options.
Properties
Section titled “Properties”
optionaldir:string
Defined in: src/checkpoint/types.ts:188
Directory path for storing checkpoint files.
Each session gets its own subdirectory containing the checkpoint and metadata files. The directory is created automatically if it doesn’t exist.
Default Value
Section titled “Default Value”".checkpoints"Example
Section titled “Example”// Use project-relative directoryconst store = fileCheckpoints({ dir: './data/checkpoints' });
// Use absolute pathconst store = fileCheckpoints({ dir: '/var/lib/agent/checkpoints' });