Configuration for FileStorageProvider

interface FileStorageProviderConfig {
    basePath: string;
    format?: "json" | "markdown";
}

Properties

Properties

basePath: string

Base directory path for storing memory files. Files will be organized as: basePath/{userId}/{appName}/

format?: "json" | "markdown"

File format for storing memories.

  • "json": Store as JSON files (default, easier to parse)
  • "markdown": Store as Markdown files (OpenClaw-style, human-readable)