Phase 9 of the rebrand cascade. Sweep covers everything the Phase 8
frontend pass deliberately skipped: docs/, root markdown, scripts,
Cargo.toml descriptions, code comments that survived earlier
word-boundary sed, plus a handful of identifiers caught on the final
verify pass.
transcription-app changes:
- README.md, HANDOVER.md, KNOWN-ISSUES.md, run.sh — magnotia/Magnotia
-> lumotia/Lumotia.
- docs/ — sweep across all subdirs except docs/handovers/ (preserved
as immutable audit trail). Includes architecture-map references
to magnotia_core::*, magnotia_storage::*, etc. now pointing at
lumotia_*; dev-setup.md tracing output examples (lumotia_startup
target); brief/ + superpowers/ + issues/ + whisper-ecosystem/ +
audit/.
- Cargo.toml descriptions on 9 crates (core, audio, cloud-providers,
hotkey, llm, mcp, plus referenced others).
- crates/core/src/{error,hardware,recommendation,paths}.rs +
crates/audio/src/wav.rs + crates/llm/src/model_manager.rs +
crates/cloud-providers/src/keystore.rs + crates/mcp/src/lib.rs —
doc comments and a model-manager user-agent string.
- Caught on final pass: BroadcastChannel("magnotia_task_sync") -> ...
("lumotia_task_sync"); magnotia_locale i18n localStorage key
renamed + migration shim added; CSS keyframe names
magnotiaPulse / magnotiaBar / magnotiaFade renamed in the design-
system kit; magnotia_viewer_item / magnotia_viewer_mode handoff
keys renamed in HistoryPage + viewer/+page.svelte; src/assets/
wordmark.svg text.
- src-tauri/src/lib.rs comment cleanup ("magnotia era" was sed'd
to "lumotia era" earlier — restored).
Preserved (intentional):
- crates/core/src/paths.rs — keeps "magnotia" / "Magnotia" / ".magnotia"
legacy detection strings in legacy_and_target_paths() so the
migration shim can still find user data from the magnotia era.
- src/lib/stores/{page,focusTimer}.svelte.ts + src/lib/i18n/index.ts
— migration call sites reference the legacy magnotia keys
deliberately.
- docs/handovers/ — historical audit trail.
cargo build --workspace passes. npm run check: 0 errors / 0 warnings
(3958 files). cargo test --workspace: 339 pass / 0 fail.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
69 lines
2.7 KiB
TOML
69 lines
2.7 KiB
TOML
[package]
|
|
name = "lumotia-transcription"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
description = "Speech-to-text engine wrappers, model management, and inference concurrency for Lumotia"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
# Whisper backend (direct whisper-rs). Default on — gating it exists so
|
|
# a future Windows non-AVX2 build, or a cloud-only ASR configuration,
|
|
# can drop whisper-rs-sys entirely per brief item #13. Disabling this
|
|
# feature also drops the WhisperRsBackend module and the load_whisper
|
|
# entry point.
|
|
#
|
|
# `whisper-vulkan` is a separate feature so a non-Vulkan target (Android
|
|
# without GPU drivers, a CPU-only Windows build) can pull in whisper-rs
|
|
# but skip the Vulkan backend. Build CPU-only with:
|
|
# cargo build -p lumotia-transcription --no-default-features --features whisper
|
|
default = ["whisper", "whisper-vulkan"]
|
|
whisper = ["dep:whisper-rs"]
|
|
whisper-vulkan = ["whisper-rs?/vulkan"]
|
|
|
|
[dependencies]
|
|
lumotia-core = { path = "../core" }
|
|
|
|
# TranscriptionProvider async trait + EngineProfile + ProviderId. The
|
|
# trait lives in cloud-providers so an OEM licensee can implement it
|
|
# without depending on transcription internals.
|
|
lumotia-cloud-providers = { path = "../cloud-providers" }
|
|
|
|
# Async-trait for the LocalProviderAdapter impl.
|
|
async-trait = "0.1"
|
|
|
|
# Parakeet via ONNX. Whisper is handled directly via whisper-rs below.
|
|
transcribe-rs = { version = "0.3", default-features = false, features = ["onnx"] }
|
|
|
|
# Async runtime for spawn_blocking
|
|
tokio = { version = "1", features = ["rt", "sync"] }
|
|
|
|
# Model downloads
|
|
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "stream"] }
|
|
futures-util = "0.3"
|
|
|
|
# Download integrity verification
|
|
sha2 = "0.10"
|
|
|
|
# Gated behind the `whisper` feature (see [features] above). Vulkan is
|
|
# additive via the `whisper-vulkan` feature so non-GPU targets can drop it.
|
|
whisper-rs = { version = "0.16", default-features = false, optional = true }
|
|
|
|
# Typed error enum used by WhisperRsBackend + elsewhere. Kept
|
|
# unconditional because it is a derive-macro crate with negligible
|
|
# build cost.
|
|
thiserror = "2"
|
|
|
|
# Structured logging at backend boundaries (observability for initial_prompt flow).
|
|
tracing = "0.1"
|
|
|
|
[dev-dependencies]
|
|
# TcpListener fixture for the download resume tests (mirrors lumotia-llm).
|
|
# `macros` and `rt-multi-thread` enable #[tokio::test] and the multi-threaded
|
|
# scheduler used by the orchestrator tests.
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync", "net", "io-util", "macros"] }
|
|
tempfile = "3"
|
|
# Test-only — used by tests/thread_sweep.rs to label physical vs logical
|
|
# core counts in the scaling table. Production code uses the
|
|
# `lumotia_core::constants::inference_thread_count` helper instead.
|
|
num_cpus = "1"
|