The target SqliteBrain to import into.
Recursively walk sourceDir, parse every .md file, and insert traces.
Non-Markdown files are silently ignored. Files that fail to parse are
recorded in result.errors and processing continues.
Directory to recursively scan for .md files.
Optional options: Pick<ImportOptions, "dedup">ImportResult with counts of imported, skipped, and errored items.
Protected postPost-process a successfully imported Markdown file:
![[...]]).#hashtags and merge them into the trace's tag list.[[wikilinks]] and create knowledge_edges entries.Absolute path of the source file (unused here).
Parsed front-matter data.
Markdown body (content after front-matter).
Mutable ImportResult accumulator.
The ID of the just-inserted trace.
Protected Readonly brainThe target SqliteBrain to import into.
Imports an Obsidian vault (directory of Markdown files) into a
SqliteBrain.Usage: