localKnowledge / local_knowledge
Built-in knowledge: SQLite FTS5 over admitted versions stored as artifacts.
Import from @threads/core (TypeScript) or threads (Python).
function localKnowledge(options: {
paths: readonly string[];
}): KnowledgeProviderParameters
pathsreadonly string[]requiredHost file paths to admit as knowledge sources. The host reads each file on every run: the same bytes are a no-op, changed bytes a new version, and a file that can't be read is a setup error invalid_config.