Skip to main content

Module vein

Module vein 

Source

Structs§

SearchResult
Vein
“The Vein” — local RAG memory engine backed by SQLite FTS5 + semantic embeddings.
VeinHotFile
VeinInspectionSnapshot

Functions§

detect_room
Derive a subsystem room label from a file path. Uses path segments, filenames, and repo-role hints to map files into stable subsystem rooms. Falls back to the first directory component or “root” when no stronger signal exists.
extract_document_text
Extract text from any supported document type (PDF, markdown, plain text). Used by /attach for one-shot context injection.
run_pdf_extract_helper