Phase 2 of the rebrand cascade. Renames all 9 workspace crates from magnotia-* to lumotia-* plus the src-tauri binary crate name: - magnotia-ai-formatting -> lumotia-ai-formatting - magnotia-audio -> lumotia-audio - magnotia-cloud-providers -> lumotia-cloud-providers - magnotia-core -> lumotia-core - magnotia-hotkey -> lumotia-hotkey - magnotia-llm -> lumotia-llm - magnotia-mcp -> lumotia-mcp - magnotia-storage -> lumotia-storage - magnotia-transcription -> lumotia-transcription - magnotia -> lumotia (src-tauri binary) - magnotia_lib -> lumotia_lib (src-tauri lib target) Crate directories (crates/audio/ etc.) stay as-is; only the Cargo.toml [package] name field changes plus all consumer module imports (magnotia_core -> lumotia_core, etc.). Remaining magnotia_* references at this point are intentional and scoped to later phases: tracing targets (Phase 4), DB setting keys magnotia_preferences/magnotia_history (Phase 5). cargo build --workspace passes. cargo test --workspace: 330 pass, 0 fail. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
34 lines
1.3 KiB
Rust
34 lines
1.3 KiB
Rust
pub mod concurrency;
|
|
pub mod local_engine;
|
|
pub mod model_manager;
|
|
pub mod orchestrator;
|
|
pub mod registry;
|
|
pub mod streaming;
|
|
pub mod transcriber;
|
|
#[cfg(feature = "whisper")]
|
|
pub mod whisper_rs_backend;
|
|
|
|
pub use concurrency::run_inference;
|
|
#[cfg(feature = "whisper")]
|
|
pub use local_engine::load_whisper;
|
|
pub use local_engine::{load_parakeet, LocalEngine, SpeechModelAdapter, TimedTranscript};
|
|
pub use model_manager::{download, is_downloaded, list_downloaded, model_dir, models_dir};
|
|
pub use orchestrator::{LocalProviderAdapter, Orchestrator};
|
|
pub use registry::EngineRegistry;
|
|
pub use streaming::{
|
|
sample_index_for_seconds, trim_buffer_to_commit_point, CommitDecision, CommitPolicy,
|
|
LocalAgreement, RmsVadChunker, Token, VadChunk, VadChunker,
|
|
};
|
|
pub use transcribe_rs::SpeechModel;
|
|
pub use transcriber::{Transcriber, TranscriberCapabilities};
|
|
|
|
// Re-export the trait surface so downstream crates depend only on
|
|
// `lumotia_transcription` to access both local engines and the
|
|
// provider trait without a separate `lumotia_cloud_providers`
|
|
// dependency. This is the seam an OEM licensee uses when they swap
|
|
// providers.
|
|
pub use lumotia_cloud_providers::{
|
|
CostClass, EngineProfile, NetworkRequirement, ProviderCapabilities, ProviderId, ProviderKind,
|
|
ProviderTranscript, TranscriptionProvider,
|
|
};
|