The target SqliteBrain to import into.
Read and merge a JSON export file into the target brain.
Validation:
traces array.Deduplication:
memory_traces: SHA-256 of content is used as the dedup key.
Existing rows with the same hash are skipped.knowledge_nodes: SHA-256 of label + type.knowledge_edges: SHA-256 of source_id + target_id + type.Absolute path to the JSON file to import.
Optional options: Pick<ImportOptions, "dedup">ImportResult with counts of imported, skipped, and errored items.
Import a JSON string directly into the target brain without filesystem access.
The JSON string to parse and import.
Optional options: Pick<ImportOptions, "dedup">ImportResult with counts of imported, skipped, and errored items.
Imports a
JsonExporter-compatible JSON file into aSqliteBrain.Usage: