1#![forbid(unsafe_code)]
9
10pub mod associations;
11pub mod attestation;
12mod codec;
13pub mod conversational;
14pub mod credentials;
15pub mod embedder;
16pub mod enrichment;
17pub mod envelope;
18pub mod episodic;
19pub mod episodic_keys;
20pub mod galaxy_registry;
21pub mod indexes;
22pub mod lifecycle;
23pub mod mandala;
24pub mod memory;
25pub mod predictive_cache;
26pub mod query_planner;
27pub mod recall;
28pub mod recall_conformal;
29pub mod recovery;
30pub mod reindex;
31pub mod release_manifest;
32pub mod revision;
33pub mod search;
34pub mod semantic;
35pub mod store;
36pub mod typology;
37pub mod validator;
38pub mod vector;
39
40pub use associations::{Association, AssociationStore, LinkType};
41pub use attestation::{
42 ATTESTATION_DOMAIN, ATTESTATION_KEY_ENV, ATTESTATIONS_DB, AttestationReport, RecordAttestation,
43 anchor_leaf_input, attestation_key, attestation_payload, attestation_prefix, merkle_root_hex,
44 sha256_hex, sign_attestation, verify_attestation,
45};
46pub use conversational::{
47 ConversationalConfig, ConversationalResult, ConversationalSearch, QueryClassification,
48 SearchMetrics,
49};
50pub use credentials::{ADVICE as CREDENTIAL_ADVICE, credential_shaped_content};
51#[cfg(feature = "onnx")]
52pub use embedder::OrtEmbedder;
53pub use embedder::{Embedder, EmbedderConfig, HttpEmbedder, StubEmbedder, create_embedder};
54pub use enrichment::VocabularyEnrichment;
55pub use episodic::{EpisodicSearchResult, EpisodicStore};
56pub use episodic_keys::{
57 AdaptiveAliases, EpisodicKey, KeyCategory, entity_key_terms, extract_episodic_keys,
58 key_index_terms, key_index_terms_with_aliases,
59};
60pub use galaxy_registry::{GalaxyMetadata, GalaxyRegistry};
61pub use lifecycle::{ConsolidationResult, ForgettingResult, Lifecycle, LifecycleConfig};
62pub use mandala::{Compartment, CompartmentConfig, MandalaLevel, MandalaManager};
63pub use memory::{
64 Memory, MemoryId, MemoryMetadata, MemoryType, Tier, content_hash, decode_embedding,
65 encode_embedding, trust_weighted_score,
66};
67pub use predictive_cache::{CacheStats, PredictiveCache};
68pub use query_planner::{QueryClass, QueryPlan};
69pub use recall::{RecallConfig, RecallEngine, RecallResult};
70pub use recovery::{
71 GalaxyIntegrity, IntegrityReport, QuarantineEntry, RecoveryStrategy, RepairReport,
72 check_integrity, grow_map_size, open_with_recovery, repair,
73};
74pub use reindex::{
75 ConsistencyReport, ContentRepairReport, DriftClassification, GalaxyConsistency,
76 GalaxyContentRepairStats, GalaxyDriftClass, GalaxyRebuildStats, IndexRebuildReport,
77 check_consistency, classify_drift, heal_index_drift, rebuild_index, repair_content,
78};
79pub use release_manifest::{
80 KEY_LINEAGE_MESH_ERA, RELEASE_MANIFEST_DOMAIN, ReleaseArtifact, ReleaseManifest,
81 release_payload, sign_release, verify_release,
82};
83pub use revision::{MemoryRevision, RevisionActor, RevisionChainReport};
84pub use search::{
85 IndexHealth, MAX_INDEX_CONTENT_LEN, MIN_PRINTABLE_RATIO, STOPWORDS, SearchEngine,
86 SearchOptions, SearchResult, sanitize_content_for_index, sanitize_tantivy_query, scrub_text,
87 strip_stopwords,
88};
89pub use semantic::{SemanticEncoder, SemanticScores};
90pub use store::MemoryQuery;
91pub use store::MemoryStore;
92pub use validator::{MemoryValidator, ValidationVerdict, ValidatorConfig, detect_injection};
93pub use vector::{VectorSearchEngine, VectorSearchResult, VectorStore};
94
95#[cfg(feature = "lancedb")]
96pub mod lance_vector;
97#[cfg(feature = "lancedb")]
98pub use lance_vector::LanceVectorStore;