Add kon-hotkey crate with evdev-based global hotkey capture that works on Wayland (and X11). Patterns from whisper-overlay: per-device async listeners, inotify hotplug with udev permission retry, watch channel for live config updates. Frontend detects Wayland at startup and selects evdev or tauri-plugin-global-shortcut automatically. Model downloads now support HTTP Range resume for interrupted downloads and optional SHA256 integrity verification (incremental, no second pass). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
40 lines
1.1 KiB
TOML
40 lines
1.1 KiB
TOML
[package]
|
|
name = "kon"
|
|
version = "0.1.0"
|
|
description = "Kon — Think out loud"
|
|
authors = ["CORBEL Ltd"]
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "kon_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
# Workspace crates
|
|
kon-core = { path = "../crates/core" }
|
|
kon-audio = { path = "../crates/audio" }
|
|
kon-transcription = { path = "../crates/transcription" }
|
|
kon-ai-formatting = { path = "../crates/ai-formatting" }
|
|
kon-storage = { path = "../crates/storage" }
|
|
kon-cloud-providers = { path = "../crates/cloud-providers" }
|
|
kon-hotkey = { path = "../crates/hotkey" }
|
|
|
|
# Tauri
|
|
tauri = { version = "2", features = ["tray-icon"] }
|
|
tauri-plugin-opener = "2"
|
|
tauri-plugin-dialog = "2"
|
|
tauri-plugin-global-shortcut = "2"
|
|
|
|
# Serialisation
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
|
|
# Async runtime (spawn_blocking for inference)
|
|
tokio = { version = "1", features = ["rt", "sync"] }
|
|
arboard = "3.6.1"
|
|
tauri-plugin-mcp = "0.7.1"
|
|
sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio"] }
|