mirror of
https://github.com/anomalyco/hex.git
synced 2026-11-27 07:58:01 +01:00
| Filename | Latest commit message | Latest commit date |
|---|---|---|
* Android typing: Adaptive touch's averages, labels and guarded decoder hook (not wired to the keys yet) What: the core of Labs › Keyboard › Adaptive touch for Hex for Android, ported from iPhone's Experiment (#2146), behind nothing yet: no setting, storage or keyboard wiring reads it in this commit. - typing/AdaptiveTouchModel.kt: TouchPlane (a letters page's keycaps, touch cells, rows and pitch, hashed into a plane key) and AdaptiveTouchModel with iPhone's numbers: 4 rotating bins of 200 labelled taps, 8 contexts of up to 40 keys, priors 20 / 50 / 40, offsets within 0.3 keycap moving at most 0.05 per promotion, in use only after 400 labels over 3 sessions. Always 23,588 bytes, with its own magic ("HXAA"); no letters, words, times or tap order. - typing/AdaptiveTouchLabels.kt: iPhone's label rules (words that stood, same-length picks, words kept over a fix, erased letters retyped as a neighbour; never an autocorrection), plus untapped() for held accents. - typing/AdaptiveTouch.kt: the learner: a personal KeyGrid for the decoder, the per-axis fit check that falls back to the drawn centres, two grips per key plane, the label events, and save and reset hooks. - TypingWord keeps each tap read on the drawn keys beside the personal one. Space corrects a word only when the drawn centres would correct it too, and puts in their reading unless the personal one also clears their margin; joins, and the word kept for the next one's revision, read the drawn taps. Without Adaptive touch both lists hold the same taps. - SpatialDecoder: KeyGrid carries the plane and keeps the drawn bottom row when centres move; replaces() (iOS TypingDecoder.replaces) scores one reading against the spelling as typed. Why: a tester asked for iPhone's adaptive touch on Android. The guard is stricter than iPhone's: in the typing gate its margin check alone let a reading the drawn centres never consider change a correctly typed word ("sun" to "su" in Spanish, "Mary" to "Matt" in Bokmål). Verified on the Studio's host JVM (quality-gate.py, next commit's --adaptive): the gate's report for all six layouts is the same as dev 786451f00's, field for field (de, it and nb fail there too), and with Adaptive touch on but before it has learned, every output is the same, item for item. Off-centre typists: see the next commit. * Typing gate: --adaptive checks Adaptive touch with off-centre typists What: quality-gate.py --adaptive, and the Replay options behind it, measure Labs › Keyboard › Adaptive touch per layout, against the same input with it off. Replay's --gate takes --adaptive learn|monitor|frozen, --sessions, --typist T1|T1m|T2|T3, --profile-in, --profile-out and --unguarded; it drives Adaptive touch as the keyboard does (each letter typed, each word finished with what autocorrect did, a field per sentence) and reports on stderr when the personal centres were in use. Its replay geometry gains Adaptive touch's key plane. - A: on but before it has learned, the gate's whole input comes out the same. - B: three typists aim off the centres the same way every time (T1 low and right, T2 thumbs inward, T3 an aim per key), typing the 2,000 noisy sentences in order with it learning; word errors in the second thousand. - C: each learned profile, frozen, changes no more correctly typed words, on the centres or on the typist's aim, and the critical cases pass. - D: learned on T1, typed with T1's aim mirrored: no word broken while the old centres are still in use; also after the fallback and without it. Why: the held-out taps are drawn per tap from a population's offsets, with no aim of their own, so the gate as it was could not show Adaptive touch help or hurt. The README section has the table. Verified on the Studio's host JVM at the previous commit: A holds in all six layouts and the gate's own numbers are unchanged. B (word errors, off -> on): T1 -0.9 to -3.1%, T2 -0.9 to -4.4%, T3 -0.4 to -1.2% except French +1.4% (436 -> 442); without the guard 6-22% fewer for T1 and T2. C never higher. D: 1 word in German before the fallback, 0 elsewhere (71-179 without it). --adaptive exits 1 for German (D) and French (T3) on these bars. * Typing gate: Adaptive touch's grip-change bar, and its numbers on dev with Portuguese What: D in quality-gate.py --adaptive now asks that the old centres fall back within three sentences and break at most 2% of what they break with no fallback, instead of no word at all before the fallback. The README says why, with German's one word as the example, and its table is rerun on dev |
||
| .. | ||
| features | ||
| images | ||
| plans | ||
| releases | ||
| research | ||
| specs | ||
| cli.md | ||
| design-system.md | ||
| downloads.md | ||
| linux.md | ||
| nix.md | ||
| opencode-compatibility.md | ||
| perf.md | ||
| README.md | ||
| releasing.md | ||
| streams.md | ||
| test-builds.md | ||
| transcript-cli.md | ||
| windows-signing.md | ||
| windows.md | ||
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--snapscene 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.specs/hex-words.md: the Hex words file (.hexwords) that carries vocabulary and word replacements between the desktop, iPhone and Android apps, with shared cases intests/fixtures/hex-words.
Architecture Decisions And Active Plans
plans/rune-ui.md: implemented; Rune desktop UI port, surfaces, goldens, and remaining real-window checklist.plans/single-process.md: implemented; one Hex process per user on macOS, Windows, and Linux hosting Rune windows and overlays.plans/rune-dependency.md: decision record for Rune as a public MIT Git dependency and Nix output-hash updates.plans/shared-desktop-ui.md: implemented; how macOS, Windows, and Linux share one window and one settings file.plans/swift-app-handoff.md: manual download handoff from Swift, without data import or automatic replacement.plans/typescript-sdk.md: published SDK status, remaining signed-helper packaging, and first-consumer validation.plans/linux.md: Linux X11/Wayland validation and later capability slices.plans/meeting-live-transcription.md: evaluation of Apple SpeechTranscriber vs Moonshine for live meeting drafts.plans/granola-import.md: research on importing historical Granola meetings intohex mcp.
When a plan disagrees with AGENTS.md about shipped behavior, update the plan.
Research And Archives
research/transcription-benchmark.md: historical benchmark method and measurements.../prototypes/app-shell/README.md: archived app-shell comparison prototype.
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.