1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//! # OSpipe
//!
//! RuVector-enhanced personal AI memory system integrating with Screenpipe.
//!
//! OSpipe captures screen content, audio transcriptions, and UI events,
//! processes them through a safety-aware ingestion pipeline, and stores
//! them as searchable vector embeddings for personal AI memory recall.
//!
//! ## Architecture
//!
//! ```text
//! Screenpipe -> Capture -> Safety Gate -> Dedup -> Embed -> VectorStore
//! |
//! Search Router <--------+
//! (Semantic / Keyword / Hybrid)
//! ```
//!
//! ## Modules
//!
//! - [`capture`] - Captured frame data structures (OCR, transcription, UI events)
//! - [`storage`] - HNSW-backed vector storage and embedding engine
//! - [`search`] - Query routing and hybrid search (semantic + keyword)
//! - [`pipeline`] - Ingestion pipeline with deduplication
//! - [`safety`] - PII detection and content redaction
//! - [`config`] - Configuration for all subsystems
//! - [`error`] - Unified error types