27 Commits
Author SHA1 Message Date
opencodejr[bot] 1f3819059d net: log which setting chose each host's proxy (#3268)
Co-authored-by: opencodejr[bot] <348916617+opencodejr[bot]@users.noreply.github.com>
2026-12-02 07:57:28 +00:00
Kit Langton 1b4a18e943 chore: prune dead modules, fixtures, and stale docs across repo (#3180)
Removes 28 dead or duplicate files, prunes unused dependencies and inactive feature flags, ratchets file-size ceilings down by 369 lines, scrubs private paths/hostnames/model codenames/dated logs across tests and docs, and fixes pre-existing rustfmt drift.
2026-11-30 16:21:25 -08:00
Kit Langton f974038465 feat(labs): Clean up what I say (macOS) (#2939)
A new Lab, off by default, takes ums, repeats, false starts, and spoken
corrections out of English dictations on a Mac with the cleanup tagger the
iPhone app ships. The model can only remove words that were heard, and the
guard from #2937 refuses any removal that is not a known disfluency.

- The stage runs after the corrections and before the Apple Intelligence
  pass or the mode's rewrite, never for another language, the Verbatim
  style, numbers alone, or typed text.
- The 26 MB model downloads through Hex's own HTTPS the first time a
  dictation starts with the Lab on, and is unpacked only when its size and
  SHA-256 match the pin, by a zip reader that refuses paths outside the
  package.
- Core ML runs it on the CPU, one warm copy on its own thread, with a
  150 ms budget. A missing, late, or failing model pastes the words as
  heard and History says why.
2026-11-27 00:48:23 -08:00
Dax 8201a4ce1c ci: read release secrets from aws secrets manager (#1606)
* ci: read release secrets from aws secrets manager

* ci: read the linux signing key from hex/release/RELEASE_SIGNING_KEY

* ci: hex's own aur and homebrew keys; the signing cert has no password

* ci: the signing certificate has no password

* ci: use the shared aur and homebrew keys

* docs: the shared homebrew deploy key is anomaly-release

* docs: the shared homebrew deploy key is anomaly-release

* site: own /hex/files, drop the r2 write credential (#1611)

* site: own /hex/files for installers, appcast, and dev notes

The site build now copies install-linux.sh, install-windows.ps1, and
packaging/macos/legacy-appcast.xml into its Worker assets, so the same
Worker serves them at /hex/files with the Content-Type and Cache-Control
the bucket objects had. The Installers and Legacy appcast workflows,
r2-put.sh, and their R2 write credential are gone.

The dev notes move to the one-commit dev-notes branch, published by
Release's dev-notes job with GITHUB_TOKEN only; the Worker proxies that
file at /hex/files/dev-notes.json (falling back to the bucket copy until
the first dev release creates the branch) and renders /hex/dev from it.

Both site Workers now bind hex-production-files, read-only in code, for
the frozen 2.3.1 feeds and artifacts, which lets hex-dev-files go. The
Site build runs the installer test and appcast check the removed
workflows ran, and the verify job compares the served bytes.

* docs: the site owns /hex/files and needs no R2 write credential

Hosting, secrets, old clients, and Linux packages describe the built
installers and appcast, the dev-notes branch, and the read-only bucket.
2026-11-09 15:18:26 -05:00
DaxandHex issue pipeline 6813f74029 Fix #1235: proxy detection and model download (#1238)
Automated fix from the Hex issue pipeline (run 1235-2026-11-04t06-28-24-078z).

Fixes #1235

Co-authored-by: Hex issue pipeline <noreply@anoma.ly>
2026-11-04 01:31:41 -05:00
Dax fbd05ffdf7 GitHub's Latest release is the stable app release, never the SDK (#1004) (#1007)
* GitHub's Latest release is the stable app release, never the SDK (#1004)

* docs/releasing.md: the stable app release is Latest
2026-11-02 08:40:49 -05:00
Dax 0a4cb4b53f Model downloads, updates and fetch work behind proxies and TLS inspection (#894) (#909)
* wip: net module for downloads, updates, and fetch

* wip

* wip

* ureq: enable the native-tls feature its https check looks for

* Onboarding: name why the model download failed, and offer a model file

* wip

* Portuguese for Use a model file…

* macOS proxy: one link attribute per block, and CFStringGetCString as declared elsewhere

* French for Use a model file…
2026-11-01 15:56:03 -05:00
Dax 8a130e63e5 Lowercase release file names; README downloads by channel (#456) (#601)
* Lowercase release file names; README downloads by channel (#456)

Release builds and the GitHub release mirror now name files hex-<version>-macos-arm64.{zip,dmg}, hex-<version>-windows-<arch>.exe and hex-setup-<version>-windows-<arch>.exe (Linux was already lowercase), as @vixalien asked in #456. Already-published files and the frozen 2.3.1 feeds keep their names; the release service's published names (hex, Hex.dmg, Hex.zip, hex.exe, HexSetup.exe) and the bundle (Hex.app) are unchanged, so the updater, installers, Homebrew cask, AUR and Nix are unaffected.

The README downloads table has Stable and Dev columns for every target, including the updater files. The site Worker serves /hex/download/dev/<target> (the dev alias) beside /hex/download/<target> (stable, or dev while there is none), and both now cover the bare updater files.

* Lowercase names in two remaining examples

* Lowercase the Windows executable in the CPU check step
2026-10-31 12:51:09 -04:00
Kit Langton 5d9c397d3a Stage the redirect from Kit's old download hosts to anoma.ly/hex/files (#472) 2026-10-30 07:11:06 -07:00
Kit Langton a8a4645d45 Remove spoken commands and Moonshine (#424) 2026-10-29 17:36:38 -07:00
Dax 27257f1be6 Every install path serves the newest dev build until the first stable release (#397)
The site's download buttons and the README/docs links name /hex/download/<target>, which the site Worker redirects per request to the release service's stable alias once stable.json exists and to the dev alias until then, so nothing needs switching back. The page labels the build ("Dev build 0.0.0-dev-N", with a note that it updates from the Dev channel) and refreshes the version from the live manifests. The Linux button names the site's own install-linux.sh. The anomalyco/homebrew-tap cask now installs the dev alias (version :latest, sha256 :no_check, auto_updates); the Release workflow's stable Homebrew job replaces it with a versioned cask at the first stable release.
2026-10-29 15:51:19 -04:00
Dax 72a7e631e6 chore: drop the last kitlangton URLs (#379) 2026-10-29 11:25:32 -04:00
Dax 25c9be7185 Installers: serve the current install scripts at the production URLs; default to dev until there is a stable release (#298)
https://anoma.ly/hex/files/install-linux.sh and install-windows.ps1 still served the 2.3.1 installers (Kit's frozen feed, ~/.local/share/voice-control). A new Installers workflow tests scripts/install-linux-release.sh and install-windows.ps1 without secrets and uploads them over those keys with .github/release/r2-put.sh, on every change to them on dev. Nothing else reads those keys: the 2.3.1 updaters read the frozen feeds and appcast. With HEX_INSTALL_CHANNEL unset, the installers now install the stable release, or the newest dev build (on the Dev update channel, with a message) while the release service has none, so the README's command works today.
2026-10-28 13:48:03 -04:00
Dax 197ea1883c Linux ARM64, .deb, and .rpm releases (#239)
* Linux ARM64, .deb, and .rpm releases

Both Linux architectures build natively on Ubuntu 24.04 runners (glibc 2.39
floor, Vulkan on both), publish linux-arm64 plus linux-<arch>-deb and -rpm
(hex.deb, hex.rpm) built with nfpm and installed on Ubuntu and Fedora in the
build job. hex-bin gains aarch64. Package installs report deb-<arch> or
rpm-<arch> through dpkg/rpm ownership and get the stable update command.

* build-linux.sh prints only the executable's path

* Linux releases link no system BLAS, as the Arch build shipped

* Linux build: keep libopenblas-dev for build.rs's dropped -lopenblas
2026-10-27 21:50:19 -04:00
Dax Raad b6d3676384 ci(release): tags never start a release; stable tags v<version> last, like OpenCode
Release no longer runs on tag pushes; stable is a dispatch from production only and refuses a version already tagged v<version> or app-v<version>. After every platform and the release service published, a tag job pushes v<version> on the released commit with the release deploy key (HEX_RELEASE_TAG_KEY, admitted by the new v* tag ruleset), then the GitHub release mirrors the files on that tag; a failed run leaves no tag. A check run pushes and deletes a throwaway v0.0.0-test-<run> tag to prove the ruleset admits the key. The release environment now admits only dev and production.
2026-10-27 18:09:05 -04:00
Dax Raad 7cc5c8bd6b ci(release): Hex never uses the release service's dev stage
dev.anoma.ly/release only tests the release service itself. The staging channel is gone: channel=check builds, signs, and verifies without publishing, and builds are tested before stable on anoma.ly/release's dev channel. The site (both environments), the Windows installer test, and the publish script read only anoma.ly/release. The installers take HEX_INSTALL_CHANNEL=dev to install the newest dev build onto the Dev update channel.
2026-10-27 14:07:09 -04:00
Dax Raad b468fc9fb8 ci(release): publish the Homebrew cask from the Release workflow
A homebrew job renders anomalyco/tap/hex from the published DMG (anomaly.hex, auto_updates, release-service livecheck, zap paths), checks it with brew style and brew audit on a macOS runner, and on stable pushes it to anomalyco/homebrew-tap with the deploy key github-actions-hex-homebrew; record-brew then records the brew distribution. The manual cask step and the brew-version dispatch are gone.
2026-10-27 09:42:17 -04:00
Dax Raad 2d222022a5 feat(release): publish every platform to the Anomaly release service
The Release workflow uploads each target and the release to anoma.ly/release (dev.anoma.ly/release for staging) with curl and its GitHub OIDC token, records the AUR, Homebrew, and Nix distributions, mirrors the files to GitHub, and builds hex-bin from the published file. The ed25519 feeds, appcast generation, and Sparkle ZIP naming are gone; the 2.3.1 feeds stay frozen. Builds and installers use the release service names, the installers read the stable manifest and write the direct-install receipt, and the site reads its download links from the manifest.
2026-10-24 10:15:59 -04:00
Dax Raad 3824b5a466 feat(site): name the Workers hex-dev-site and hex-production-site 2026-10-23 09:52:14 -04:00
Dax Raad c88793b11a feat(release): serve Hex at anoma.ly/hex with its files at /hex/files
One site/cloudflare.config.ts defines the production Worker hex (anoma.ly/hex, bucket hex-production-files) and the dev Worker hex-dev (dev.anoma.ly/hex, bucket hex-dev-files), deployed only from CI with cf deploy --prebuilt --mode. The Worker serves the site and the release bucket; apps, scripts, the release workflow, and docs use https://anoma.ly/hex/files. Staging releases publish to the dev bucket; stable releases deploy the production site.
2026-10-23 08:57:57 -04:00
Dax Raad cd6a6db519 ci(release): one workflow builds, signs, and publishes to Anomaly's bucket, GitHub, and the AUR
A staging channel dry-runs the whole pipeline under staging/<run-id>/ with a draft GitHub release; uploads use the bucket-scoped R2 S3 credentials. Adds the hex-voice-bin AUR package and docs/releasing.md.
2026-10-22 23:34:46 -04:00
Kit Langton 11b2cf9d8d downloads: link people to downloads.hex.kitlangton.com; apps and feeds keep the .dev host 2026-10-19 19:42:58 -07:00
Kit Langton 9d42def69f site: serve hex.kitlangton.com; redirect hex.kitlangton.dev to it 2026-10-19 19:38:39 -07:00
Kit Langton 754666b06b Windows Setup.exe, one site, and a download section that works (#166)
* feat(windows): a per-user Setup.exe installer for the managed layout

* feat(release): build, test, and publish Setup.exe installers and the GitHub download mirror

* fix(onboarding): name the tray on Windows and the background service on Linux; keep Apps & Features on the updated version

* feat(site): one site with a platform-aware download section; retire hex.kitlangton.com

* feat(site): prerender the page, add robots, sitemap, llms.txt, JSON-LD, and favicon.ico
2026-10-19 19:26:41 -07:00
Kit Langton 62b0c8ad4f docs: include the separate com marketing site in release updates 2026-09-11 12:47:56 -07:00
Kit Langton c3b6efc310 docs: point downloads to Hex 2.1.17 and record release verification 2026-09-11 12:21:26 -07:00
Kit Langton 5825a849b3 fix(downloads): publish Hex 2.1.17 through a custom host and GitHub mirror 2026-09-11 12:00:52 -07:00