hex/src
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dax 221a8bcf48
Windows: dictation defaults to Left Alt alone (#2292)
* windows: default the dictation shortcut to the left alt key

Alt sits under the thumb where Option does on a Mac, so holding it to
dictate stops straining the pinky for Ctrl+Space (#2278).

The left Alt only: Windows sends AltGr as a synthesized Left Ctrl plus
the Right Alt, so an either-side Alt would press on every AltGr character,
start a capture, and cancel it when the character joined. A saved
shortcut stays as saved; there is no migration.

The site's hero key and its "Hold …" line follow the selected install tab
(Option, Alt, Alt+Space), and its keycap names that key.

* docs: say the alt chord discards before the hold threshold

* hotkeys: only Linux still builds a Control modifier helper

* tests: pass the windows suite with its new default and CRLF checkout

The playground list test compared the first story to the second through the dictation shortcut, which is now the left Alt on Windows, the same binding the Left Option shortcut story sets; it steps to the third story (Toggle cancel) instead. The bundled skill and the Swift instructions tests normalize CRLF, which a Windows checkout writes into include_str!.

* windows: a modifier outside the shortcut joins as a chord

A modifier-only hold (Left Alt by default) treated Shift, Ctrl, Win, or
the other Alt going down as its release: Hold finished and pasted,
Toggle locked a recording, and Left Alt+Shift injected the 0xE8 mask key
before Alt's release, breaking Windows' input-language switch.

It is a chord like any key now: the press cancels (Labs › Hold through
other keys keeps a hold a second or more old), Toggle locks nothing, and
Alt's release is the app's, so Ctrl+Alt+V still fires Paste Last. A
modifier the chord names is part of it, whichever order the keys go down
in. The modifier-event policy moved to input/modifier_chord.rs, and the
new tests to input/tests/chords.rs, so input.rs stays under its cap.

* site: the show's keycap names the selected OS's shortcut

The animation's shattering keycap was always the Mac's option key. It
takes the same lowercase legend the hero keycap shows now: option with
the glyph, alt, or alt + space.

* tests: import the right shift key the chords hold

* docs: a joined hold leaves alt release to the app

* docs: a swallowed key re-arms alt's release mask

A modifier joining a Left Alt hold leaves Alt's release to the app, but only when Hex swallowed nothing. Paste Last's V is Hex's key, so the mask comes back and the app never reads a lone Alt tap. Say so in windows.md and the feature map, and name the test that holds it.

* site: keep the keycap legend on the dish's bottom row

With the Mac's glyph omitted on Windows and Linux, the label was the dish's only child and space-between put it at the top, while the canvas shatter draws the legend at the bottom. An auto top margin keeps both in the same place; the Mac's glyph and label are unchanged.

* docs: qualify alt's release after a joined hold

Alt's release is the app's after a joining modifier cancels the hold, but not after Hex swallows a key of the chord: Paste Last's V re-arms the mask. Say so in the hook and test comments, and stop claiming every Hold-mode dictation finishes when a tap or chord discards.

* tests: one test at a time drives the windows hook's global state

Paste Last's Ctrl+Alt+V does not leave Alt's release unmasked: its V is
Hex's key, so that chord masks (#1254). Only a hold a joining modifier
cancelled leaves the release to the app. The docs say so now.

Under plain `cargo test` the hook tests share one process, so a static
test lock serializes everything that installs, drives, or clears
CALLBACK_STATE.

---------

Co-authored-by: opencode <opencode@anoma.ly>
2026-11-21 21:38:29 -05:00
..
app_settings Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
application_catalog windows: name the website of browser meeting calls (#2079) 2026-11-20 15:03:41 -05:00
audio refactor(audio): split src/audio.rs into capability modules (#2246) 2026-11-21 13:06:57 -08:00
calendar feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
caps_lock_dictation labs: caps lock light waits for audio, optional slow blink (#1535) 2026-11-08 06:41:35 -05:00
capture_host feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
control Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
desktop feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
dictation Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
feedback 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
history feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
keyboard_input_sources fix windows annotate search: clicks, keys and click-away (#2113) (#2118) 2026-11-20 20:24:28 -05:00
labs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
linux linux: send a letter no layout has as its physical keycode (#2253) 2026-11-21 15:59:53 -05:00
local_api feat(labs): make six everyday features available without switches (#1922) 2026-11-21 02:08:17 -08:00
macos_rune meetings: delete a finished meeting from the CLI (#2223) (#2225) 2026-11-21 11:23:51 -08:00
meeting meetings: delete a finished meeting from the CLI (#2223) (#2225) 2026-11-21 11:23:51 -08:00
microphone_activity windows meetings: loop back only the call app's outputs (#1605) 2026-11-09 16:43:46 -05:00
net Fix #1235: proxy detection and model download (#1238) 2026-11-04 01:31:41 -05:00
parakeet feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
paste Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
personal_commands reload personal config when imported .js files change (#1856) 2026-11-15 10:46:47 -05:00
recognition feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
rune_hud keep the bottom hud on its own display (#2284) 2026-11-21 19:30:15 -05:00
rune_ui Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
screenshots feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
suppression feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
transcription fix(transcription): drop Russian Whisper credits and correct vocabulary spellings (#2290) 2026-11-21 19:53:07 -05:00
updater Fix #1947: hex restart waits for the old Hex to exit before relaunching (#1949) 2026-11-17 23:14:08 -05:00
windows Windows: dictation defaults to Left Alt alone (#2292) 2026-11-21 21:38:29 -05:00
accessibility.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
agent_install.rs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
app_paths.rs labs: transcribe dropped audio files (#1798) 2026-11-18 20:49:59 -05:00
app_settings.rs feat(screenshots): a recording toolbar, smaller movies with sound, and playback in the editor (#2166) 2026-11-21 08:26:36 -08:00
apple_intelligence.rs labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
apple_intelligence.swift labs: neutral voice for chosen modes (#2043) (#2049) 2026-11-20 11:51:08 -05:00
apple_speech.rs Fold transcription_* into transcription/ 2026-10-31 15:13:56 -07:00
apple_speech.swift
application_catalog.rs Website modes on Linux via AT-SPI and in any macOS browser (#541) 2026-10-30 22:13:16 -04:00
audio.rs refactor(audio): split src/audio.rs into capability modules (#2246) 2026-11-21 13:06:57 -08:00
calendar.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
calendar.swift Drain the calendar reads' autorelease pool (#1827) 2026-11-14 11:32:56 -06:00
calendar_menu.rs feat(settings): open new features from the sidebar (#1866) 2026-11-16 00:11:41 -08:00
caps_lock_dictation.rs add pause from menu bar lab (#1654) 2026-11-10 17:51:36 -05:00
capture_host.rs feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
capture_zip.rs make the labs card copy plain (#1929) 2026-11-16 22:32:02 -05:00
code_shape_tests.rs Add code-shape gate and ratcheted exception lists 2026-10-31 18:57:51 -07:00
continuation.rs windows: join back-to-back dictations with a space (#1980) 2026-11-18 19:28:07 -05:00
control.rs meetings: delete a finished meeting from the CLI (#2223) (#2225) 2026-11-21 11:23:51 -08:00
desktop.rs Cap the logs at 10 MB and clear the old event log once (#1434) 2026-11-12 09:48:21 -06:00
dev_build.rs Labs cards show their own settings; Voice Filter and Playground are dev-only (#1400) 2026-11-05 11:36:37 -08:00
dictation.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
durable.rs history: yearly stats heatmap, time saved and busiest hour (#1971) 2026-11-18 07:08:05 -05:00
feedback.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00
history.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
keyboard.rs fix(macos): type dictation into Windows App instead of pasting (#1878) 2026-11-15 23:43:13 -05:00
labs.rs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
linux.rs linux: move input_activity and input_route into input/ (#2150) 2026-11-21 01:53:36 -05:00
local_api.rs feat(labs): make six everyday features available without switches (#1922) 2026-11-21 02:08:17 -08:00
macos_rune.rs feat(labs): make six everyday features available without switches (#1922) 2026-11-21 02:08:17 -08:00
main.rs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
meeting.rs meetings: delete a finished meeting from the CLI (#2223) (#2225) 2026-11-21 11:23:51 -08:00
meeting_import.swift meetings: import audio files (labs) (#1462) 2026-11-06 15:25:22 -05:00
microphone_activity.rs feat(voice filter): preview effects without changing your call (#1906) 2026-11-16 15:37:31 -08:00
net.rs Managed feature locks for macOS (#985) (#994) 2026-11-02 07:47:47 -05:00
parakeet.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
paste.rs Labs: learn from corrections (macOS) (#2149) 2026-11-21 02:28:29 -05:00
personal_commands.rs reload personal config when imported .js files change (#1856) 2026-11-15 10:46:47 -05:00
policy.rs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
recognition.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
rune_hud.rs windows: back off the dictation HUD after a failed show instead of rebuilding it every dictation (#2177) 2026-11-21 07:12:18 -05:00
rune_hud.wgsl feat(meetings): widen the listening field across the open header 2026-11-18 17:05:01 -08:00
rune_ui.rs annotate: install the agent skill and cli from the annotate pane (labs) (#2242) 2026-11-21 16:28:37 -05:00
screenshots.rs feat(screenshots): Export asks where to save, and recordings dim around their target (#2297) 2026-11-21 17:18:56 -08:00
shortcut_pause.rs add pause from menu bar lab (#1654) 2026-11-10 17:51:36 -05:00
suppression.rs feat(history): find dictations and captures together on Mac (#1932) 2026-11-19 19:52:09 -08:00
transcription.rs stream: a faster live-text geometry from the model's own menus (#2107) 2026-11-20 18:26:14 -05:00
updater.rs fix(meetings): finish recordings across quits and update restarts (#1900) 2026-11-16 12:30:57 -05:00
windows.rs dictation: keep the live stream inside the clip and stop calling a feedback tone a lost opening (#1911) 2026-11-16 14:36:17 -05:00