Re-exports§
pub use auth::AuthDenial;pub use auth::AuthManager;pub use auth::AuthResult;pub use auth::Scope;pub use auth::TokenEntry;pub use auth::TokenStoreFile;pub use auth::TokenStoreV2;pub use embeddings::DEFAULT_REQUIRED_DIMENSION;pub use embeddings::DimensionAdapter;pub use embeddings::EmbeddingClient;pub use embeddings::EmbeddingConfig;pub use embeddings::MLXBridge;pub use embeddings::MlxConfig;pub use embeddings::MlxMergeOptions;pub use embeddings::ProviderConfig;pub use embeddings::RerankerConfig;pub use embeddings::TokenConfig;pub use embeddings::cross_dimension_search_adapt;pub use embeddings::estimate_tokens;pub use embeddings::safe_chunk_size;pub use embeddings::truncate_to_token_limit;pub use embeddings::validate_batch_tokens;pub use embeddings::validate_chunk_tokens;pub use handlers::MCPServer;pub use handlers::create_server;pub use mcp_core::McpCore;pub use mcp_core::McpDispatch;pub use mcp_core::McpTransport;pub use mcp_core::dispatch_mcp_jsonrpc_request;pub use mcp_core::dispatch_mcp_payload;pub use mcp_core::dispatch_mcp_request;pub use preprocessing::IntegrityRecommendation;pub use preprocessing::Message;pub use preprocessing::PreprocessingConfig;pub use preprocessing::PreprocessingStats;pub use preprocessing::Preprocessor;pub use preprocessing::TextIntegrityMetrics;pub use query::LoctreeSuggestion;pub use query::QueryIntent;pub use query::QueryRouter;pub use query::RecommendedSearchMode;pub use query::RoutingDecision;pub use query::SearchModeRecommendation;pub use query::TemporalHints;pub use query::detect_intent;pub use rag::Chunk as PipelineChunk;pub use rag::ChunkOpts;pub use rag::ChunkProvider;pub use rag::ChunkerKind;pub use rag::ContextPrefixConfig;pub use rag::CrossStoreRecoveryBatchReport;pub use rag::CrossStoreRecoveryReport;pub use rag::CrossStoreRecoveryState;pub use rag::EmbeddedChunk;pub use rag::EnrichedChunk;pub use rag::FileContent;pub use rag::IndexResult;pub use rag::OnionSlice;pub use rag::OnionSliceConfig;pub use rag::OuterSynthesis;pub use rag::PipelineConfig;pub use rag::PipelineEvent;pub use rag::PipelineGovernorConfig;pub use rag::PipelineResult;pub use rag::PipelineSnapshot;pub use rag::PipelineStats;pub use rag::RAGPipeline;pub use rag::SearchOptions;pub use rag::SearchResult;pub use rag::SliceLayer;pub use rag::SliceMode;pub use rag::compute_content_hash;pub use rag::create_enriched_chunks;pub use rag::create_onion_slices;pub use rag::detect_default_chunker;pub use rag::inspect_cross_store_recovery;pub use rag::repair_cross_store_recovery;pub use rag::run_pipeline;pub use recovery::MaintenanceExecution;pub use recovery::MergeExecution;pub use recovery::RepairExecution;pub use recovery::cleanup_versions;pub use recovery::collect_garbage;pub use recovery::compact_database;pub use recovery::merge_databases;pub use recovery::repair_writes;pub use search::BM25Config;pub use search::BM25Index;pub use search::HybridConfig;pub use search::HybridSearchResult;pub use search::HybridSearcher;pub use search::SearchMode;pub use search::StemLanguage;pub use security::NamespaceSecurityConfig;pub use startup::StartupSchemaGuard;pub use startup::guard_daemon_startup_schema;pub use storage::ChromaDocument;pub use storage::CrossStoreRecoveryBatch;pub use storage::CrossStoreRecoveryDocumentRef;pub use storage::CrossStoreRecoveryStatus;pub use storage::DEFAULT_TABLE_NAME;pub use storage::GcConfig;pub use storage::GcStats;pub use storage::SchemaMigrationReport;pub use storage::SchemaMismatchWriteError;pub use storage::SchemaVersion;pub use storage::StorageManager;pub use storage::TableStats;pub use storage::parse_duration_string;pub use storage::required_columns_for;pub use engine::BatchResult;pub use engine::MemexConfig;pub use engine::MemexEngine;pub use engine::MetaFilter;pub use engine::StoreItem;pub use lifecycle::ExportRecord;pub use lifecycle::ImportOutcome;pub use lifecycle::NamespaceMigrationOutcome;pub use lifecycle::ReindexJob;pub use lifecycle::ReindexOutcome;pub use lifecycle::ReprocessJob;pub use lifecycle::ReprocessOutcome;pub use lifecycle::default_reindexed_namespace;pub use lifecycle::export_namespace_jsonl_stream;pub use lifecycle::import_jsonl_bytes_stream;pub use lifecycle::import_jsonl_file;pub use lifecycle::import_jsonl_reader;pub use lifecycle::migrate_namespace_atomic;pub use lifecycle::reindex_namespace;pub use lifecycle::reprocess_jsonl_file;pub use tools::ToolDefinition;pub use tools::ToolResult;pub use tools::delete_document;pub use tools::delete_documents_by_filter;pub use tools::get_document;pub use tools::search_documents;pub use tools::store_document;pub use tools::store_documents_batch;pub use tools::tool_definitions;pub use progress::IndexProgressTracker;pub use tui::CheckStatus;pub use tui::HealthCheckItem;pub use tui::HealthCheckResult;pub use tui::HealthChecker;pub use tui::HostDetection;pub use tui::HostKind;pub use tui::WizardConfig;pub use tui::detect_hosts;pub use tui::run_wizard;pub use memex_contracts as contracts;
Modules§
- auth
- Multi-token auth with per-token scopes and namespace ACL.
- common
- Shared types for MCP host detection.
- diagnostics
- embeddings
- Universal embedding client with config-driven provider cascade.
- engine
- High-level MemexEngine API for library consumers.
- handlers
- http
- HTTP/SSE server for rust-memex
- lifecycle
- mcp_
core - Shared MCP transport entry points.
- mcp_
protocol - path_
utils - Path sanitization utilities.
- preprocessing
- Preprocessing module for filtering noise from conversation exports before embedding.
- progress
- Smart progress tracking for batch indexing operations.
- query
- Query routing and intent detection for intelligent search.
- rag
- recovery
- search
- Hybrid search combining BM25 keyword matching with vector similarity.
- security
- Namespace security configuration.
- startup
- storage
- tools
- In-process helper functions for memory-oriented operations.
- tui
- TUI Configuration Wizard for rust_memex
Structs§
Functions§
- build_
mcp_ core - Build the shared MCP core used by both stdio and HTTP/SSE transports.
- run_
stdio_ server - Helper to build and run the stdin/stdout server for library consumers.