Skip to main content

Crate turbovault_plugin_vector

Crate turbovault_plugin_vector 

Source
Expand description

vector_search: hybrid dense + lexical semantic search over the active vault, as a compiled-in TurboVault plugin.

Wraps turbovault_vector::IndexEngine behind the plugin boundary: notes are read through VaultApi, the index persists under this plugin’s PluginStorage namespace, and it is kept current by a background worker that reconciles on every HookBus event (with an initial pass in PluginProvider::start so a note edited while the process was down is not missed) plus a resync every tool call, matching how the host’s own derived state stays fresh. Local tool names are advertised namespaced as vector_search_*.

See the crate README for what is and is not implemented yet (notably: one engine per process, tied to whichever vault is active when it is first built).

Structs§

VectorSearchPlugin
Compiled-in factory for the vector_search plugin.
VectorSearchProvider