hex/docs
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 5c2b6b6580
fix windows annotate search: clicks, keys and click-away (#2113) (#2118)
A Rune overlay never takes the keyboard on Windows (its window is a no-activate
tool window, and Rune hands overlays the keyboard on macOS and Wayland only), and
Hex's Windows hooks never handed the finished capture capsule anything either. So
the search field's clicks fell through to the app in front, typing reached
nothing, and once the search opened there was no Escape, click-away or ✕ to
leave it.

- The search field is a native hit region on Windows (`.hit()`), so the window
  stops being click-through over it.
- The mouse hook reports `CapsuleKey::Press` while the capsule's list or
  suggestions are open, so a click away folds them and starts the hold that lets
  the capsule leave. The click is never consumed, and a press on the capsule's own
  boxes is its click.
- The keyboard hook hands the open list or the suggestions the keys
  `capture_host::list_key` names: text, ⌫, ↑↓, ⏎/⇧⏎, ⇥, Escape and Shift, and it
  keeps the caret's own keys (⌦, ←→, Home and End, Page Up and Page Down, Insert)
  from the app while the search is open. The layout is read only where the capsule
  can take text, with `ToUnicodeEx`'s "change no state" flag and a key state
  built from the hook's own Shift and Caps Lock, so a key that goes on to the app
  is never disturbed and a dead key types nothing. Only keys that edit text are
  taken: the lock, media, browser and launch keys, Print Screen, Sleep, Apps and
  function keys pass. Ctrl, Alt and the Windows key make a chord and stay the
  app's, and so do Hex's own shortcuts and Escape over the suggestions, as on the
  Mac.
- Every press the app gets is remembered until its release, wherever the capsule
  stood when it went down, so a key held while the search opens under it keeps its
  autorepeats and release with the app.

Checked by cross-compiling and by the hooks' unit tests; not observed on a real
Windows PC.
2026-11-20 20:24:28 -05:00
..
features fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
images docs: describe speech models and features in readme (#1869) 2026-11-15 18:27:36 -05:00
plans reload personal config when imported .js files change (#1856) 2026-11-15 10:46:47 -05:00
releases docs(release): correct the 3.4.0 notes and add upgrade steps for Windows and Hyprland (t1510) (#1672) 2026-11-10 18:14:30 -08:00
research Add agent marker and drop internal references (#702) 2026-10-31 18:30:32 -07:00
specs add fluid speech pro to the speech model catalog (#2007) 2026-11-19 15:19:06 -05:00
cli.md feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
design-system.md fix(hud): keep the dictation and meeting overlays dark (#1834) 2026-11-16 00:22:48 -08:00
downloads.md ci: read release secrets from aws secrets manager (#1606) 2026-11-09 15:18:26 -05:00
linux.md make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
nix.md docs: nix install is linux only (#1582) 2026-11-09 05:11:35 -05:00
opencode-compatibility.md prefer a wsl opencode service when the lab is on (#2112) 2026-11-20 19:14:28 -05:00
perf.md docs(perf): strobe prints times in microseconds (#1718) 2026-11-12 05:43:43 -06:00
README.md docs: nix install is linux only (#1582) 2026-11-09 05:11:35 -05:00
releasing.md windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
streams.md feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821) 2026-11-16 00:51:48 -08:00
test-builds.md windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
transcript-cli.md labs: fold yearly stats into dictation stats (#1976) 2026-11-18 12:22:38 -05:00
windows-signing.md windows: sign the setup engine so smart app control can run setup (#1987) 2026-11-19 02:38:03 -05:00
windows.md prefer a wsl opencode service when the lab is on (#2112) 2026-11-20 19:14:28 -05:00

Project Documentation

Start with the document for your task. Plans and archived prototypes do not override shipped behavior.

User Guides

  • ../README.md: install and use Hex on macOS, Windows, and Linux.
  • windows.md: Windows x64 and ARM64 beta requirements, installation, and source builds.
  • linux.md: Linux X11 and native Wayland beta requirements and installation.
  • nix.md: Nix packaging for Linux, development, and per-user autostart.
  • ../ios/README.md: build and test the iOS prototype.
  • ../sdk/typescript/README.md: use the public TypeScript transcription SDK with an explicitly supplied native helper.

Engineering Reference

  • ../AGENTS.md: architecture, invariants, development commands, and diagnostics. This is the implementation authority.
  • ../ROADMAP.md: prioritized product and engineering work.
  • design-system.md: Rune + rune-kit + OpenCode theme components, Hex pieces, copy rules, and --snap scene verification.
  • features/README.md: existing user-facing capabilities, entry points, available verification, and gaps; detailed dictation and recovery maps.
  • perf.md: strobe benchmarks, the cases that drive the window through its accessibility tree, and how a benchmarked copy of Hex stays isolated.
  • downloads.md: public download paths, R2 custom domains, GitHub release mirrors, and network recovery.
  • opencode-compatibility.md: audited OpenCode V2 source and CLI baseline, integration contract, and validation limits.
  • plans/personal-commands.md: shipped personal command contract and remaining lifecycle work.
  • plans/quickjs.md: why and how configs run in embedded QuickJS instead of Bun, with size and latency measurements.
  • specs/local-transcription-service.md: implemented macOS local-service protocol and lifecycle guarantees.

Architecture Decisions And Active Plans

When a plan disagrees with AGENTS.md about shipped behavior, update the plan.

Research And Archives

Releases

releases/ contains version-specific release notes and drafts. ../release-notes/ contains legacy inputs from versions 2.0.0 through 2.0.9. Published notes and the SDK changelog describe their release, not current behavior; preserve them as historical records. A draft note is not evidence that its release has been published.