Closes the code-side v0.1 ship gate. All quality gates green: cargo fmt/clippy/test (~327 tests), npm check (0/0), vitest 13/13, scripts/dogfood-rebrand-drill.sh 8/8. Phase F — first-run onboarding promoted to v0.1 - FirstRunPage with skip-to-main + failure recovery + event recording - Six onboarding commands (record/list/has-completed + lumotia_events) - Storage migration v17 (onboarding_events + lumotia_events tables) UI hardening (in-scope items from v0.1-ui-hardening.md) - StatusPill + PostCaptureCard components, 21st preview entry - Sidebar recording-as-sacred-state (opacity + aria-disabled, reduced-motion) - Settings 6-section regroup + Help section + Activation log + Privacy toggle - Error-state copy sweep (DictationPage + SettingsPage, plain-language) - Global :focus-visible rule, textarea outlines restored - Ctrl+K / Ctrl+, / Escape bindings in +layout LLM resilience - rule_based_extract_tasks (regex-free imperative-verb extractor) + extract_tasks_with_fallback wrapper — task extraction never returns zero - tokio::time::timeout(120s) wraps cleanup/tags/tasks commands Release artefacts - LICENSE (canonical AGPL-3.0), CHANGELOG (Keep-a-Changelog format) - v0.1-release-notes, privacy-and-ai-use, install-warnings, tester-onboarding-kit, tester-acceptance-runbook, code-signing-setup, apple-silicon-rb08-runbook, virtual-audio-setup, v0.1-contrast-audit - Workspace versioning + AGPL spdx; npm exact-pin (10 ranges removed) - AppImage SHA-256 sidecar in build.yml - README v0.1 section + Reporting-issues; canonical repo slug Closure pass — items moved from human-required to code-complete - KI-02 Linux idle inhibit: zbus 5 → org.freedesktop.login1.Manager.Inhibit - KI-03 Windows sleep prevention: SetThreadExecutionState(ES_CONTINUOUS|...) - acquire/release_idle_inhibit Tauri commands, wired in DictationPage - Diagnostic-bundle frontend wire-up (Settings → Help button) - WCAG-AA contrast fix via .btn-filled-text utility (no token changes) - 8 destructive-action sites wrapped in plain-language confirm() guards - KNOWN-ISSUES.md + v0.1-known-limitations.md updated (KI-02/03 fixed) Scripts - pre-tag-verify.sh, tag-day.sh, smoke-linux + driver - parse-diagnostic-bundle.sh, parse-activation-log.py Per-item audit trail: docs/release/v0.1-completion-status.md Remaining: W-01…W-08 (signing certs, hardware probes, smoke matrix, tester recruitment) — see docs/release/v0.1-known-limitations.md.
127 lines
5.5 KiB
TOML
127 lines
5.5 KiB
TOML
[package]
|
|
name = "lumotia"
|
|
version.workspace = true
|
|
description = "Lumotia — Think out loud"
|
|
authors = ["CORBEL Ltd"]
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
license.workspace = true
|
|
|
|
[lib]
|
|
name = "lumotia_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[features]
|
|
# Default build includes the Whisper backend. Disabling this feature
|
|
# also drops it from lumotia-transcription (see Cargo.toml in that crate)
|
|
# so a --no-default-features workspace build does not pull whisper-rs-sys.
|
|
# load_model_from_disk returns a runtime error for Engine::Whisper when
|
|
# this feature is off; Parakeet continues to work.
|
|
default = ["whisper"]
|
|
whisper = ["lumotia-transcription/whisper"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
# Used by the CSP regression guard in build.rs to parse tauri.conf.json
|
|
# and pull out app.security.csp rather than substring-matching the raw
|
|
# file. Keeps the guard robust against unrelated JSON values that
|
|
# happen to mention a localhost URL.
|
|
serde_json = "1"
|
|
|
|
[dependencies]
|
|
# Workspace crates
|
|
lumotia-core = { path = "../crates/core" }
|
|
lumotia-audio = { path = "../crates/audio" }
|
|
lumotia-transcription = { path = "../crates/transcription", default-features = false }
|
|
lumotia-ai-formatting = { path = "../crates/ai-formatting" }
|
|
lumotia-storage = { path = "../crates/storage" }
|
|
lumotia-cloud-providers = { path = "../crates/cloud-providers" }
|
|
lumotia-hotkey = { path = "../crates/hotkey" }
|
|
lumotia-llm = { path = "../crates/llm" }
|
|
|
|
# Tauri. The `tray-icon` feature, the global-shortcut/window-state/
|
|
# autostart plugins are desktop-only — gated below under
|
|
# cfg(not(target_os = "android")). The dialog, opener, and notification
|
|
# plugins all support Android natively so live in the unconditional list.
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-dialog = "2"
|
|
# Phase 6 nudges: OS-native notifications via the frontend-owned nudge
|
|
# bus. Permission-request flow happens on the JS side before the first
|
|
# deliver_nudge call; Windows only delivers for installed apps.
|
|
tauri-plugin-notification = "2"
|
|
|
|
# Serialisation
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
# Rolling daily file appender that backs `lumotia.log` (the forensic log
|
|
# bundled into user-submitted diagnostic reports — see
|
|
# src-tauri/src/commands/diagnostics.rs and crates/storage/src/file_storage.rs).
|
|
# 0.2.3+ is required for `max_log_files`; 0.2.5 is the current crates.io head.
|
|
tracing-appender = "0.2.5"
|
|
|
|
# Async runtime (spawn_blocking for inference)
|
|
tokio = { version = "1", features = ["rt", "sync", "time"] }
|
|
arboard = "3.6.1"
|
|
|
|
|
|
# SqlitePool is named directly from src-tauri/src/lib.rs (the AppState
|
|
# stores it). Must be unconditional, not Linux-only — naming a type from
|
|
# a transitive dep requires the dep be listed here too.
|
|
# See crates/storage/Cargo.toml — default-features = false drops macros /
|
|
# migrate / any / json which this crate doesn't use. Only names SqlitePool.
|
|
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio", "sqlite"] }
|
|
uuid = { version = "1", features = ["v4"] }
|
|
zip = "8.6.0"
|
|
|
|
[dev-dependencies]
|
|
# Phase 9 fs::write_text_file_cmd tests use a temp directory so we don't
|
|
# pollute the workspace.
|
|
tempfile = "3"
|
|
|
|
# Desktop-only Tauri features and plugins. Each item below either fails
|
|
# to compile against the Android NDK or is a structural no-op on a
|
|
# single-window mobile app:
|
|
# - tray-icon: no system tray on mobile.
|
|
# - global-shortcut: mobile has no global hotkey API; the foreground
|
|
# notification with a record button is the Android replacement.
|
|
# - window-state: single-window, fullscreen, no per-window persistence.
|
|
# - autostart: mobile apps don't auto-start in the desktop sense; if
|
|
# we ever want a "boot completed" handler that's a separate Android
|
|
# intent receiver, not this plugin.
|
|
[target.'cfg(not(target_os = "android"))'.dependencies]
|
|
tauri = { version = "2", features = ["tray-icon"] }
|
|
tauri-plugin-global-shortcut = "2"
|
|
tauri-plugin-window-state = "2"
|
|
# Phase 5 rituals: register Lumotia as a login-time autostart entry.
|
|
# Handles platform differences (.desktop file on Linux, LaunchAgents plist
|
|
# on macOS, registry Run key on Windows) behind a single API.
|
|
tauri-plugin-autostart = "2"
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
webkit2gtk = "2.0"
|
|
# Needed for setting the preview overlay's WindowTypeHint to Utility via
|
|
# the Tauri gtk_window() escape hatch. Versions track what webkit2gtk 2.0
|
|
# transitively depends on (GTK 3).
|
|
gtk = "0.18"
|
|
gdk = "0.18"
|
|
# KI-02: systemd-logind idle inhibit via org.freedesktop.login1.Manager.Inhibit.
|
|
# The blocking API avoids spawning an extra async runtime inside an already-async
|
|
# Tauri command handler (spawn_blocking wraps the call site).
|
|
zbus = { version = "5", default-features = false, features = ["blocking"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.6.4"
|
|
objc2-foundation = { version = "0.3.2", default-features = false, features = ["std", "NSString", "NSProcessInfo"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
# Phase 4 TTS: PowerShell -EncodedCommand expects UTF-16-LE base64.
|
|
# Windows-only because the other platforms' TTS paths pass text via argv.
|
|
base64 = "0.22"
|
|
# KI-03: SetThreadExecutionState for sleep prevention during recording.
|
|
# The `windows` crate is already a transitive dep (via tauri); listing it
|
|
# here explicitly pulls in only the Win32_System_Power feature we need.
|
|
windows = { version = "0.62", features = ["Win32_System_Power"] }
|