mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
* feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and release pipeline Ports the windows-shell branch onto main, adds a GPU streaming finish for Parakeet Unified English with a whole-clip fallback, a cross-platform Hold/Toggle shortcut mode, x64 and ARM64 Windows CI and release feeds, and the website Windows download. * copy: Enabled/Disabled status on Linux and in the shared Activity labels * ci: install SPIRV-Headers for the x64 Vulkan build and gate the Windows-only device query * refactor: one implementation per concept across macOS, Linux, and Windows The Windows port carried its own copies of modules main already has. Each concept now has one implementation: - UI: Windows uses main's design system (design_tokens, desktop_ui, text_input, desktop_transcription_picker types) instead of a Fluent copy. Windows-only bits are small cfg additions: Segoe Fluent Icons for Icon, Windows text-editing key bindings, fixed-height and read-only text inputs, and the shared slider_track component. windows_ui keeps the window chrome and the anchored dropdowns, now drawn with menu/menu_item. - Windows chrome: the sidebar runs the full window height as on macOS. The caption row is split: the brand sits over the sidebar, the window buttons over the content, and both halves stay OS drag regions. - Commands: Windows uses main's commands, command_grammar, context, keys, and personal_commands. The SDK provisioner accepts the embedded TypeScript src layout; Windows execute() opens URLs and paths with ShellExecuteW. - OpenCode: dictation_processor is the one client and ordered policy (corrections, rewrite, transformations) on macOS and Windows. Windows keeps its opencode2 api CLI transport in a cfg'd submodule; the ranked catalog, prompts, Voice Action generation, and the transformation stage are shared. - desktop_activity is shared; the Windows Settings contract is windows_desktop_host, without #[path] aliases. - self_update is the signed-feed core for both the Linux and Windows updaters. - Windows copy follows the design system: sentence case and "Hex". * chore(windows): flat app icon that stays crisp at taskbar sizes * chore: mark the Windows-only screens to consolidate with app_window after #138 * fix(linux): wait for partial X11 grabs to be released before reporting a conflict
119 lines
4.1 KiB
TOML
119 lines
4.1 KiB
TOML
[package]
|
|
name = "voice-control"
|
|
version = "2.2.0"
|
|
edition = "2024"
|
|
default-run = "voice-control"
|
|
license = "MIT"
|
|
repository = "https://github.com/anomalyco/hex"
|
|
|
|
[[test]]
|
|
name = "keyboard_layout"
|
|
harness = false
|
|
|
|
[build-dependencies]
|
|
cc = "1"
|
|
|
|
[target.'cfg(windows)'.build-dependencies]
|
|
embed-resource = "3"
|
|
|
|
[features]
|
|
onnx-benchmark = ["dep:transcribe-rs"]
|
|
|
|
[profile.moonshine-lab]
|
|
inherits = "release"
|
|
debug-assertions = true
|
|
|
|
[dependencies]
|
|
clap = { version = "4.6.7", features = ["derive"] }
|
|
color-eyre = "0.6.5"
|
|
cpal = "0.18.2"
|
|
ctrlc = "3.5.2"
|
|
dirs = "7.0.0"
|
|
fs2 = "0.4.3"
|
|
getrandom = "0.4.3"
|
|
hound = "3.5.1"
|
|
libc = "0.2.189"
|
|
libloading = "0.9.0"
|
|
regex = "1.13.1"
|
|
rodio = { version = "0.22.2", default-features = false, features = ["playback", "mp3"] }
|
|
rubato = "5.0.1"
|
|
semver = "1.0.28"
|
|
serde = { version = "1.0.229", features = ["derive"] }
|
|
serde_json = "1.0.151"
|
|
sha2 = "0.11.0"
|
|
tracing = "0.1.44"
|
|
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }
|
|
transcribe-cpp = "=0.2.4"
|
|
transcribe-rs = { git = "https://github.com/cjpais/transcribe-rs", rev = "e37c66b6df43af51fde8dec34f98a07aaf09564c", features = ["onnx"], optional = true }
|
|
unicode-segmentation = "1.13.3"
|
|
url = "2.5.8"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
arboard = { version = "3.6.1", default-features = false }
|
|
block2 = "0.6.2"
|
|
core-graphics-types = "0.1.3"
|
|
core-video = "0.4.3"
|
|
crossterm = "0.29.0"
|
|
gpui = { version = "0.2.2", default-features = false, features = ["font-kit"] }
|
|
gpui-symbols = { version = "0.6.1", default-features = false, features = ["component", "cache"] }
|
|
metal = "0.29.0"
|
|
objc2 = "0.6.4"
|
|
objc2-app-kit = "0.3.2"
|
|
objc2-core-audio = "0.3.2"
|
|
objc2-core-foundation = "0.3.2"
|
|
objc2-foundation = "0.3.2"
|
|
objc2-quartz-core = { version = "0.3.2", features = ["CALayer"] }
|
|
objc2-service-management = { version = "0.3.2", features = ["SMAppService"] }
|
|
ratatui = "0.30.2"
|
|
rmcp = { version = "3.5.1", default-features = false, features = ["server", "macros", "transport-io"] }
|
|
screencapturekit = { version = "=11.0.0", features = ["macos_15_0"] }
|
|
tokio = { version = "1.53.1", features = ["rt", "io-std"] }
|
|
unicode-normalization = "0.1.25"
|
|
|
|
[target.'cfg(target_os = "macos")'.dev-dependencies]
|
|
gpui = { version = "0.2.2", default-features = false, features = ["test-support"] }
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
base64 = "0.23.1"
|
|
ctrlc = { version = "3.5.2", features = ["termination"] }
|
|
ed25519-dalek = "3.0.0"
|
|
evdev = "0.13.2"
|
|
gpui = { version = "0.2.2", default-features = false, features = ["font-kit", "wayland", "x11"] }
|
|
gtk = "0.18.2"
|
|
gtk-layer-shell = { version = "0.8.2", features = ["v0_6"] }
|
|
transcribe-cpp = { version = "=0.2.4", features = ["vulkan"] }
|
|
udev = "0.9.3"
|
|
x11-clipboard = "0.9.3"
|
|
x11rb = { version = "0.14.0", features = ["xtest"] }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
arboard = { version = "3.6.1", default-features = false, features = ["image-data"] }
|
|
base64 = "0.23.1"
|
|
ed25519-dalek = "3.0.0"
|
|
gpui = { version = "0.2.2", default-features = false, features = ["font-kit", "windows-manifest"] }
|
|
image = { version = "0.25.10", default-features = false }
|
|
raw-window-handle = "0.6.2"
|
|
tray-icon = { version = "0.24.1", default-features = false }
|
|
winreg = "0.55.0"
|
|
windows-sys = { version = "0.61.2", features = [
|
|
"Win32_Foundation",
|
|
"Win32_Globalization",
|
|
"Win32_Graphics_Dwm",
|
|
"Win32_Storage_FileSystem",
|
|
"Win32_System_Console",
|
|
"Win32_System_DataExchange",
|
|
"Win32_System_JobObjects",
|
|
"Win32_System_SystemInformation",
|
|
"Win32_System_Threading",
|
|
"Win32_UI_Input_KeyboardAndMouse",
|
|
"Win32_UI_Shell",
|
|
"Win32_UI_WindowsAndMessaging",
|
|
] }
|
|
windows = { version = "0.62.2", features = ["Media_Control", "Foundation", "Foundation_Collections", "Win32_Media_Audio", "Win32_System_Com", "Win32_System_Ole", "Win32_System_Variant", "Win32_UI_Accessibility"] }
|
|
windows-future = "0.3.2"
|
|
|
|
# x64 Windows decodes on the GPU through Vulkan. ARM64 Windows stays CPU-only,
|
|
# as Handy ships it: ggml's ARM CPU backend needs clang-cl, and Vulkan drivers
|
|
# on Windows-on-ARM are not a dependable target yet.
|
|
[target.'cfg(all(target_os = "windows", target_arch = "x86_64"))'.dependencies]
|
|
transcribe-cpp = { version = "=0.2.4", features = ["vulkan"] }
|