hex/scripts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 687ea32d65
Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows (#1832)
* Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows

Windows HUD memory grew and the app could hang after dictation because the
overlay presented frames without waiting for swap chain room after Rune #844;
Rune #985 makes an overlay's frames wait for room in its swap chain, as a
window's do.

nix: vendor each Cargo source in its own directory. Rune's tiny-skia-path is a
path dependency inside Rune (a Git crate at 0.11.4 here), the same name and
version as resvg's from crates.io, and cargo's directory source keys a crate by
name and version alone.

Goldens: Rune's text drawing changed over the 152 commits since d6715352.

* Review: patch accesskit_macos, and make the nix vendor split name what breaks

Rune #975 put accesskit_macos in its [patch.crates-io], so Hex patches it too
(Rune's README asks consumers to); it is the fifth and last crate Rune patches.

The vendor script override now checks each fragment it rewrites and names the
missing one, its comment says crates.io goes to registry/ and Git sources to
git/, nixfmt formats the file, and check-nix-git-pins.py's docstring says the
hashes reach importCargoLock through the cargoDeps override.

* linux: keep Hex running when the window can't start

Rune r399 makes App::run print a startup error and exit 1 on native targets
instead of panicking, so a Linux Hex with no display died, the next launch
became a fresh instance, and Check Linux's single-instance exercise saw
`hex start` hang and `hex app --hidden` reset.

run_app now returns Rune's try_run error and run_window reports it and waits,
as it did for the panic (#979).

* macos, windows: take rune's startup error instead of exiting

Rune r399 prints a startup error and exits the process from `run` on
native targets, which skipped Hex's own stop: macOS's drain (workers,
event-log flush, a recording kept for the next launch) and Windows' GPU
draw-marker disarm, so the launch that failed before drawing was read as
a crash while drawing. Both apps take `try_run`'s error now, log it, and
stop the way Quit does; Windows also reports it from `hex app`. The
Linux window already took the error (#979).

* macos: a launch whose window never started exits 1

Taking Rune's try_run error lets the app stop through the drain, but
process_exit::finish ends with _exit(0), so a failed GUI launch reported
success. finish_with takes the code; the window's failure exits 1 while a
normal quit keeps 0.

* docs: overlays wait for swap-chain room on windows since rune #985

Rune #985 makes every overlay's frames wait for room in its swap chain, so
the notes that said only a window waits and that the HUD's 60 Hz timer worked
around a suspected cause were stale. The timer is a cap on top of the slot
wait now. The macOS and Windows startup-error comments cited #979, which is
the Linux window issue; they describe Rune r399 instead.

* windows: a failed start keeps the GPU draw marker

disarm() means a frame reached the screen or Hex quit cleanly; a start that
never drew is neither, so it keeps the marker and the next launch falls back to
the high-performance GPU.

* docs: say what was measured about overlay pacing

* docs: say what stays bounded on windows, not what shrinks

The meetings map and the dictation map described the fix as memory that no
longer grows, and as Rune holding a frame's slot and skipping it. Rune #985
defers the frame until its swap chain has room, then draws it, which bounds
the frames in flight; the growth itself hasn't been re-measured on Windows
with the fix.
2026-11-14 20:40:20 -05:00
..
launchd Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
sounds feat(onboarding): the first run is one story, from a bad conversation to your first words (#1501) 2026-11-09 17:29:51 -08:00
build-app.sh build-app: keep cargo's output off stdout, which carries the bundle path (#1612) 2026-11-09 12:20:58 -08:00
build-capsule-playground.sh Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
build-hex-microphone-driver.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
build-linux-release.sh Linux releases run on Debian 12 (glibc 2.36) (#1043) 2026-11-02 11:45:38 -05:00
build-linux.sh x86_64: keep ggml on x86-64-v3; refuse older CPUs with a clear message (#592) (#614) 2026-10-31 13:20:56 -04:00
build-service-app.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
build-windows-installer.ps1 Windows: hex.com console entry point beside the GUI hex.exe (#1374) 2026-11-05 06:52:51 -05:00
build-windows.sh Windows: hex.com console entry point beside the GUI hex.exe (#1374) 2026-11-05 06:52:51 -05:00
capture-dictation-fixtures.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
check scripts/check: name the root package without its checkout path (#1419) 2026-11-05 12:36:51 -08:00
check-ca-roots.sh Distrust the compromised eMudhra CAs (rustls-webpki 0.103.16, webpki-roots 1.0.10) (#189) 2026-10-21 16:57:12 -07:00
check-nix-git-pins.py Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows (#1832) 2026-11-14 20:40:20 -05:00
check-onboarding.sh onboarding: skip only the demo and practice; continue without a model after a failed or stalled download (#1009) 2026-11-02 08:52:22 -05:00
code-shape.py Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
dictation-corpus.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
dictation-pause-fixtures.sh feat: Hex 2.2.0 — faster dictation and the Meetings beta (#133) 2026-10-16 09:59:27 -07:00
file-size-exceptions.txt split control settings keys out of settings.rs (#1664) 2026-11-10 18:21:06 -05:00
folder-shape-exceptions.txt Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
install-app.sh install-app: copy the new Hex in before removing the old one (#1608) 2026-11-09 19:32:14 +00:00
install-linux.sh Security: sign Linux releases, lock the installers, vendor the release client, pin actions and download hosts (#370) 2026-10-29 11:06:30 -04:00
macos-signing.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
notarize-app.sh macOS: lay out the installer window with Hex's keycap (#297) 2026-10-28 12:03:13 -07:00
package-linux.sh Linux: ship Hex's icon as anomaly.hex everywhere (#652) (#655) 2026-10-31 15:33:04 -04:00
prepare-service-app.sh ci: opt-in Developer ID signing and notarization under Anomaly's team 2026-10-22 21:10:41 -04:00
prepare-typescript-sdk.sh feat: expand dictation tooling and TypeScript SDK 2026-07-22 20:58:27 -04:00
publish-app-mirror.sh GitHub's Latest release is the stable app release, never the SDK (#1004) (#1007) 2026-11-02 08:40:49 -05:00
release-app.sh Lowercase release file names; README downloads by channel (#456) (#601) 2026-10-31 12:51:09 -04:00
release-aur.sh Linux: ship Hex's icon as anomaly.hex everywhere (#652) (#655) 2026-10-31 15:33:04 -04:00
release-dev-notes.sh ci: read release secrets from aws secrets manager (#1606) 2026-11-09 15:18:26 -05:00
release-homebrew.sh Release files publish as plain names: hex, Hex.dmg, Hex.zip, hex.exe, HexSetup.exe (#234) 2026-10-27 19:40:53 -04:00
set-crate-version.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
setup-parakeet.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
setup-windows.ps1 refactor: remove GPUI; Rune is the only UI 2026-10-22 17:12:11 -04:00
setup.sh feat(experiments): gate experimental panes in production, promote Output tab, and remove Smart Turn (t965) (#430) 2026-10-30 09:02:45 -07:00
smoke-embedded-service.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
smoke-macos-app.sh feat(updater): one in-app updater on the Anomaly release service; drop Sparkle 2026-10-24 11:03:26 -04:00
smoke-service-app.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
smoke-transcription-api.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
snap-set.sh Settings: raised cards on one left edge, on every pane (t53) (#238) 2026-10-27 17:57:50 -07:00
sync-meetings-mirror.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-app-identity.sh Captures on Linux (portal, PipeWire, VA-API); capture compiled into macOS and Linux builds (#320) 2026-10-28 20:58:27 -04:00
test-check-nix-git-pins.py fix(nix): truncate Cargo.lock stanzas in the pin check (#1408) 2026-11-05 14:52:49 -05:00
test-cohere-long-form.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-install-linux-release.sh linux: recolor the tray mark with the panel's text color (#1691) 2026-11-11 10:46:08 -05:00
test-linux-dictation.sh Rename voice-control to hex everywhere, without migrations (#293) 2026-10-28 13:08:44 -04:00
test-linux-service.py fix(linux): keep custom data roots out of desktop recovery (#772) 2026-10-31 23:58:32 -07:00
test-transcript-cli.py feat: add read-only history and meetings CLI for agents 2026-10-22 19:27:02 -07:00
test-vocabulary-eval.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
test-wayland-paste.sh Fold linux_* into linux/ 2026-10-31 14:32:07 -07:00
test-windows-installer.ps1 fix(windows): keep Launch at login on the installed version after a manual upgrade (t1510) (#1670) 2026-11-10 17:34:25 -08:00
validate-app.sh Keep the old Sparkle key so 2.3.1 and Swift Hex can update into the new Hex (t1217) (#1092) 2026-11-02 21:44:19 -08:00
vocabulary-corpus.py Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
vocabulary-eval.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
vocabulary-librispeech.py Add vocabulary recall and false-insertion evaluation corpus 2026-10-22 22:35:03 -07:00
windows-icon.ps1 feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and x64 + ARM64 release (#141) 2026-10-19 11:00:46 +10:00