16 Commits
Author SHA1 Message Date
Dax 66d91dd47f docs: nix install is linux only (#1582)
* docs: nix install is linux only

* docs: shorter nix label
2026-11-09 05:11:35 -05:00
Luke Parker 1a7b6cfd7f Accessibility: name Hex's panes and controls; interaction benches through UI Automation (#1220)
* Accessibility: name Hex's panes and controls for screen readers and strobe

* Rune c35fe19; pane_header beside title_bar; rows report selected only when selected

* Drop the unused title_bar import

* Tests: microphone row at the tall size; say what the tree held when a key is missing

* Tests: read the microphone field with its menu closed

* Rune f6799d3
2026-11-04 05:30:06 -06:00
Luke Parker e5ccf0c3ea Let strobe launch an isolated Hex (#1180)
* Let strobe launch an isolated Hex

Scope the Windows instance event to a custom data root, read ~/.config/hex from USERPROFILE on Windows, add HEX_DISABLE_UPDATES, name the UI and remaining long-lived threads, and add the strobe profile and feature, strobe.json, perf benches, and docs/perf.md.

* strobe.json: keep the copy out of the Hugging Face cache

* strobe.json: keep seeded history

* Windows instance event: keep the default event for the default root

Naming the default data root in HEX_APPLICATION_SUPPORT_DIR must not let two apps share it.
2026-11-04 06:05:58 +10:00
Dax 6b988c493c Run personal commands in embedded QuickJS instead of Bun (#300)
* Run personal commands in embedded QuickJS instead of Bun

Hex now runs ~/.config/hex/hex.config.ts in-process: rquickjs on one worker
thread, TypeScript erased to same-position JavaScript with oxc's parser,
per-call time limits and a runtime memory limit, and no filesystem, network,
process, or timer API. Handlers return actions that Hex validates and runs on
its native executor. The Bun host, managed SDK provisioning, bun update, the
sdk/commands workspace, and their scripts and CI steps are gone; Hex writes
hex.d.ts typings instead, and hex commands check replaces bun run check.

Plan and measurements: docs/plans/quickjs.md.

* Spell out a range check that a new dependency's impls made ambiguous
2026-10-28 15:06:45 -04:00
Dax 3434eb5f35 Rename voice-control to hex everywhere, without migrations (#293)
* Rename voice-control to hex everywhere, without migrations

The Cargo package and binary are now hex, every OS keeps its data in a
hex folder, and VOICE_CONTROL_* variables are HEX_*. Hex is a fresh
app: the macOS voice-control rename, its symlink, and the Windows and
Linux beta settings imports are gone. The Windows installer gets a new
AppId so it never takes over an old voice-control install's entry.

* Format

* Drop the Windows paste-last default only the beta import used
2026-10-28 13:08:44 -04:00
Dax Raad ecb228b8a0 feat(updater): one in-app updater on the Anomaly release service; drop Sparkle
Hex polls anoma.ly/release/hex/desktop/<channel>.json on every OS and decides
with the release protocol's client rules (the service's shared test vectors in
tests/fixtures/release-protocol): strictly newer unless revoked, the minimum
version before rollout, and a device-local rollout bucket that is never sent.
Direct installs (Linux and Windows with the installer's receipt, macOS a
replaceable Hex.app) download resumably, check size and SHA-256, then the OS
code signature (macOS app/update-requirement.txt: Developer ID 5NZ4Q7NXJ4,
anomaly.hex, notarized; Windows Authenticode from Anomaly's Artifact Signing
identity), and stage the update for Restart to update. macOS swaps the bundle
in with renamex_np(RENAME_SWAP) at restart or quit; a read-only location links
to the DMG. Package-managed installs show their manager's command; source and
test builds never check; DisableUpdates (macOS defaults, Windows policy key)
turns checks off.

Sparkle, its framework, Info.plist keys, appcast generation, and the ed25519
feeds are gone. release-app.sh prepare leaves Hex-<v>-macos-arm64.dmg and .zip
(root Hex.app). Macs on 2.3.1 get packaging/macos/legacy-appcast.xml: one
informational item linking to anoma.ly/hex.
2026-10-24 11:03:26 -04:00
Dax Raad 21fb3477ee docs: align module map, feature maps, and plans with single-process Rune architecture 2026-10-22 19:31:39 -04:00
Luke Parker a04b393ead docs: one shared window and settings.json on every OS (#153)
The module map, Linux and Windows guides, roadmap, and the shared-desktop
plan describe the finished architecture: one AppWindow with per-OS modules,
one settings.json with one-time migrations, the shared mode runtime, and
interface translations. The Linux dictation check writes settings.json.
2026-10-19 15:28:38 +10:00
Kit Langton cb547de44e docs: add diagram-first feature maps
Map dictation, Voice Commands, Voice Action, and recovery by user-facing behavior, with explicit entry points, source checks, and verification limits.

Record the native layout regression and local startup validation, and teach agents when to consult and update the maps.
2026-09-01 20:52:10 -04:00
Kit Langton 9e9da53aa9 docs: audit guides against current behavior
Align desktop projections, processing fallback, history retention, contributor setup, Linux requirements, SDK contracts, and personal command examples with the implementation. Clarify prototype cleanup and historical validation limits without rewriting published release notes.
2026-09-01 09:56:40 -04:00
Kit Langton be9c368a00 feat(linux): add wlroots Wayland support and Nix packaging (#36)
* feat(linux): add wlroots Wayland support and Nix packaging

* fix(linux): preserve pending status and verify native coexistence

* test(linux): verify real dictation through a virtual microphone

* test(linux): bound smoke cleanup and check microphone release

* test(linux): isolate installer XDG paths from the host

* test(linux): exercise the desktop dictation lifecycle

* refactor(linux): simplify worker completion and input snapshots
2026-08-28 12:05:21 -04:00
Kit Langton a247f2b355 feat: give Hex its Anomaly app identity
Package Hex.app as ly.anoma.Hex with explicit organization signing and notarization settings. Remove the Swift preference importer and automatic transition release path, and refuse to replace other app identities during local installation.

Document a website-only Sparkle handoff for legacy users while preserving their app, data, and repository history.
2026-08-26 22:20:27 -04:00
Kit Langton c5ba7d47cd fix: harden dictation and OpenCode integration
Move generation bodies and credentials off argv, match active service registrations, and align catalog IDs and model variants with the audited V2 contract.\n\nPreserve onboarding across imported settings, serialize paste settling, bound pending outputs, and fix capture, SDK, and Linux startup regressions. Add regression coverage, dependency patches, icon notices, and the V2 compatibility baseline.
2026-08-26 16:59:53 -04:00
Kit Langton 2f868f7dae docs: plan the Swift HEX migration 2026-07-30 13:23:44 -04:00
Kit Langton c691f74941 feat: unify desktop modes and platform runtime 2026-07-23 17:33:22 -04:00
Kit Langton 3e166524bc feat: expand dictation tooling and TypeScript SDK 2026-07-22 20:58:27 -04:00