Expand description
TUI Configuration Wizard for rust_memex
Interactive terminal UI for configuring MCP server and host integrations.
§Wizard Flow
- Welcome - Brief introduction
- EmbedderSetup - Auto-detect Ollama/MLX + configure providers
- MemexSettings - Database path, cache size, etc.
- HostSelection - Detect and select MCP hosts
- SnippetPreview - Preview config snippets
- HealthCheck - Verify embedder connectivity + dimension
- DataSetup - Optional directory indexing
- Summary - Write config and finish
This module is only available when the cli feature is enabled.
Re-exports§
pub use crate::common::HostFormat;pub use crate::common::HostKind;
Structs§
- Data
Setup State - State for the data setup wizard step.
- Detected
Provider - Detected embedding provider information.
- FanOut
- Forwards every event to every child sink.
- Health
Check Item - Individual health check result
- Health
Check Result - Aggregate health check results
- Health
Checker - Health checker that performs all validation
- Host
Detection - Index
Telemetry Snapshot - Pull-friendly indexing telemetry snapshot for the TUI and future tooling.
- Indexing
Job - Parameters describing what to index and how (data + tuning).
- Monitor
Snapshot - Latest system monitor snapshot for the dashboard.
- Tracing
Sink - Emits tracing logs for indexing events.
- TuiTelemetry
Sink - Updates the latest dashboard snapshot for the TUI.
- Wizard
Config - Configuration for running the wizard.
Enums§
- Check
Status - Status of an individual health check
- Data
Setup Option - Data setup option selected by user.
- Data
Setup SubStep - Sub-steps within data setup.
- GpuStatus
- GPU probe status for the dashboard.
- Import
Mode - Mode for importing LanceDB.
- Index
Control - Control messages sent from the TUI to the scheduler.
- Index
Event - Events emitted by the indexing scheduler.
- Provider
Kind - Type of embedding provider.
- Provider
Status - Provider connection status.
Traits§
- Index
Event Sink - Event sinks must stay synchronous and infallible.
Functions§
- check_
custom_ endpoint - Check a custom endpoint for OpenAI-compatibility.
- collect_
indexable_ files - Collect files from a directory for indexing.
- detect_
hosts - Detect all known MCP host configurations.
- detect_
providers - Detect embedding providers on standard ports.
- import_
lancedb - Import an existing LanceDB database.
- run_
wizard - Run the TUI wizard.
- spawn_
monitor - Spawn the system monitor sampler with a latest-value watch channel.
- start_
indexing - Start the concurrent indexing scheduler.
- validate_
path - Validate a user-provided path with the repo’s path safety rules.
- write_
mux_ service_ config
Type Aliases§
- Shared
Index Telemetry - Shared watch sender for the latest telemetry snapshot.