mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-28 13:02:21 +01:00
`hex app --ui rune` (built with `--features rune-ui`) opens the Settings pane in Rune instead of GPUI. It is the same hex.service client as the GPUI window: it saves settings.json, sends ReloadSettings, and uses the same requests for listening, shortcut capture, models, and updates, and it shows the live listener state and the portal's Desktop shortcuts. It adopts Rune's own design language (rune::tok and the controls of Rune's examples/settings) rather than Hex's GPUI tokens. GPUI stays the default; Modes, Voice Action, History, and the transcription picker stay GPUI-only. Headless tests drive the Rune runtime without a GPU, and four goldens (portal dark/light, commands dark, menus light) render offscreen and skip without a GPU adapter. Rune is a private Git dependency on its hex-port branch, fetched with the Git CLI.
19 lines
849 B
TOML
19 lines
849 B
TOML
# Windows builds link the C and C++ runtimes statically, so hex.exe starts on
|
|
# a clean PC without the Visual C++ Redistributable.
|
|
[target.x86_64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
[target.aarch64-pc-windows-msvc]
|
|
rustflags = ["-C", "target-feature=+crt-static"]
|
|
|
|
# transcribe-cpp's CMake build defaults to the DLL runtime (/MD) even when Rust
|
|
# links statically, so pin its MSVC runtime to match. transcribe-cpp-sys reads
|
|
# CMAKE_ARGS beside TRANSCRIBE_CMAKE_ARGS, which stays free for per-build flags
|
|
# such as -DGGML_NATIVE=OFF. Compilers other than MSVC ignore this define.
|
|
[env]
|
|
CMAKE_ARGS = "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded"
|
|
|
|
# The optional Rune front end (`--features rune-ui`) is a private Git
|
|
# dependency; let Cargo fetch it with the user's own Git and SSH setup.
|
|
[net]
|
|
git-fetch-with-cli = true
|