Files
Jake 26c7307607
Some checks failed
check / cargo check (macos-latest) (push) Has been cancelled
check / cargo check (ubuntu-22.04) (push) Has been cancelled
check / cargo check (windows-latest) (push) Has been cancelled
check / svelte build + lint (push) Has been cancelled
agent: lumotia-rebrand — docs, scripts, root config, residuals
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>
2026-05-13 12:38:03 +01:00
..

name, type, slice, last_verified
name type slice last_verified
Commands index architecture-map-page 02-tauri-runtime 2026/05/09

Commands index

Where you are: Architecture mapTauri runtime → Commands

Plain English summary. This is the registry of every Tauri command file. Each .rs file under src-tauri/src/commands/ either declares one or more #[tauri::command] functions invoked from the frontend, or is a utility (state, security, power) that the command files share. The full list of commands actually exposed to the frontend is registered via the tauri::generate_handler! macro in src-tauri/src/lib.rs:321.

At a glance

  • Path: src-tauri/src/commands/.
  • 22 command modules (declare #[tauri::command]s) plus 3 utility modules (mod.rs, power.rs, security.rs).
  • 71 #[tauri::command] functions registered in lib.rs. A handful of additional #[tauri::command] functions exist in source but are NOT registered (notably the small clipboard::copy_to_clipboard IS registered; nothing meaningful is unregistered as of last verification).
  • Total LOC across commands/: 6,939 (Rust source, excluding tests folder).

Module list

Module LOC Registered commands One-liner
audio 540 4 Native cpal mic capture, list devices, save WAV
clipboard 11 1 Copy text to system clipboard via arboard
diagnostics 534 6 Panic hook, frontend error log, crash files, diagnostic-report bundler, OS info
feedback 110 2 HITL feedback capture and retrieval (Phase 2)
fs 44 1 Write UTF-8 text to a user-chosen path (Phase 9)
hardware 69 2 Probe RAM/CPU/GPU, rank models for current hardware
hotkey 105 5 evdev hotkey listener bridge (Linux Wayland-compatible)
intentions 308 5 Phase 7 implementation-intention rules CRUD
live 1,737 2 Live transcription session orchestration (the big one)
llm 423 10 LLM model lifecycle, transcript cleanup, content tags
meeting 50 1 Process-list poll for known meeting apps (Phase 8)
models 691 13 Whisper / Parakeet model registry, download, load, runtime capabilities
mod 114 n/a build_initial_prompt helper + module re-exports
nudges 63 1 Phase 6 nudge delivery via tauri-plugin-notification
paste 790 3 Auto-insert at cursor across Linux/macOS/Windows
power 208 0 macOS App Nap power assertion (no commands)
profiles 185 9 Profile + profile-term CRUD, auto-learn from edits
rituals 43 2 Morning triage last-shown sentinel (Phase 5)
security 30 0 ensure_main_window defence-in-depth helper
tasks 402 11 Task CRUD, decompose-and-store, extract-from-transcript
transcription 413 3 Transcribe PCM (Whisper / Parakeet), transcribe file
transcripts 253 8 Transcripts CRUD + FTS5 search + meta patches
tts 444 3 Read aloud via spd-say / say / PowerShell SAPI (Phase 4)
update 16 2 Updater placeholder (returns "disabled" until signing wired)
windows 197 4 Open / close the secondary windows (preview, viewer, task float)

Per-command page assignments

How to navigate

  • Looking for a frontend invoke('foo', ...) call? Search for pub async fn foo or pub fn foo under commands/. The page for that file lists all its commands with arg + return signatures.
  • Looking for an event the frontend listens for? See the slice README's "events emitted" section, or grep for the event name across commands/.
  • Looking for ACL gotchas? Pages flag the commands that include an ensure_main_window guard.

See also