One key swaps the dictation model and language with a saved other one, and back, installed only, through the same save and reload path the speech-model picker uses. Requested in #2654.
With Lower audio, Mute, or Pause media, a hotkey capture keeps no pre-roll
and asks for output suppression only once it passes the 300 ms hold; Lower
audio then ramps over 120 ms on its own thread. Audio still coming from the
speakers in that window was counted as speech the stream missed, so nearly
every dictation with something playing fell back to the whole clip.
The recording environment now reports the moment suppression actually
changed the output, and only when it did: Lower audio sends when the ramp
first writes its full target, from the ramp's own thread, so a late Bluetooth
readback no longer delays it; Mute when the write lands over a non-zero
volume; Pause media the latest of the player pause command being issued and
the browser pause being sent, without the browser's confirmation windows. The
report is asynchronous, so stopping or another session is never held up
behind a ramp. Nothing is reported when the effect changed nothing, was
skipped on headphones under Labs › Only on speakers, or was stopped before
the target was written.
The audio owner maps the reported moment onto the recorded timeline and adds
a 40 ms speaker-to-microphone margin; up to one resampler input buffer may
still be unprocessed, so the position can sit slightly early, which only ever
ignores less speech. The live stream's head is raised with
Command::IgnoreHead, applied before it finalizes if it arrives before Finish;
one after the finish is ignored.
Checks: a_reported_effect_raises_the_head_from_the_recorded_timeline,
media_speech_before_output_suppression_took_effect_is_not_a_lost_opening,
speech_after_the_raised_head_is_still_a_lost_opening,
a_head_raised_before_the_finish_keeps_the_stream,
a_head_raised_after_the_finish_cannot_save_the_stream,
a_guard_reports_when_the_target_is_written_not_when_the_readback_settles,
a_guard_that_changes_nothing_reports_no_moment, and
muting_an_already_silent_output_changes_nothing. Linux and Windows keep their
current head (ROADMAP). Not measured on a microphone or a device.
* Labs: voice isolation for dictation on macOS and iOS (#2425)
* voice isolation: harden the macOS bridge and keep the fallback raw
Adds an NSLock gate around the tap and configuration observer with a clean teardown, an Objective-C @try/@catch guard for AVAudioEngine exceptions, format and device verification, a channel-0 Float32 tap, configuration-change reporting, and a remembered raw fallback per microphone. Fixes the iOS category comparison for voiceChat's implicit hands-free Bluetooth and rewords the experiment's copy.
* voice isolation: reopen on engine reconfiguration without falling back
Reports an AVAudioEngineConfigurationChange only after start, and only while the engine has stopped, as its own reopen marker so RecoveringAudioInput does not remember it as a voice-processing failure; more than three reopens in 30 s still fall back to the raw stream. Forgets a remembered fallback when the resolved device changes, reports both AudioDeviceIDs on a device mismatch, fixes the bridge comments, and documents Bluetooth call-profile and configuration-change behavior on macOS and iOS.
* voice isolation: fix the Windows open-by-name call
open_matching still passed five arguments to open_device after voice_processing_fallback was added, which only Windows compiles, so the Windows clippy job failed. It opens by name without voice processing, so both voice-processing arguments stay false.
* labs: add hud height for the bottom dictation hud on macos (#2411)
* labs: keep hud padding when raising the bottom gap
* docs: describe hud height window raise
* fix: allow for parakeet's emission-time token stamps in the stream opening check
* opening slack: state the measured lag and the residual limit
* opening slack: correct the residual limit and tighten the edge test
* opening slack: fix the illustrative lag and the onset wording
* opening slack: separate what the logs show from what they do not
* opening slack: refuse a long sparse opening by its span
* opening slack: close the sparse-frame hole in the span rule
* opening slack: tighten the span rule tests and record the residual risk
* labs: signature line for dictation (#2314)
* labs: fix signature Paste Last, line check, and validation
Paste Last now remembers whether its text was signed and reinserts a signed one
standalone, so a later unsigned dictation never joins the signature line.
append skips only a signature already on its own line, so "Hex" in
"I love Hex" is signed. A saved signature refuses line and control characters,
and signature_text loads the gate like the other gates. Also fixes the German
summary and updates the docs.
* 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>
Whisper large-v3 and large-v3-turbo on Russian audio end a clip with
"Продолжение следует..." or a subtitle community credit nobody said. Add
those to the trailing subtitle-credit list; the existing letters-and-digits
folding is already Unicode-aware, so Cyrillic case folds correctly.
Parakeet's engine bias replaces an exact "sounds like" spelling with its
term, but a prompt-based model (Whisper, Qwen3-ASR) sends only the terms, so
a listed spelling such as "JetHub" reached the transcript unchanged. After a
whole-clip run on a prompt model, replace whole-word, case-insensitive
occurrences with their term while the boost is not Off, reusing the
text-replacement matcher. A protection rule keeps each term's own casing and
wins the longest match, one-letter spellings are ignored like the engine
does, and only single-word spellings touch the timed words.
* windows: back off the dictation HUD after a failed show instead of rebuilding it every dictation (#2175)
* windows: keep a late HUD frame up while the HUD backs off (#2175)
A first frame that arrives after its attempt resolved frame-less keeps the
backoff for later dictations, but the blocked show must not hide the HUD the
recording is watching. The blocked branch now only tears down when nothing is
up (a start, which clears shown first), using the Hidden path teardown. Also
reorders the meter re-ask so the watch mutex is only taken when a re-ask is
due, and uses FirstFrame::start's return to spend the re-ask of a refused
start.
* stream: a faster live-text geometry from the model's own menus
Live text trails speech by a whole chunk plus right context: 2.08 s on
Parakeet Unified English, whose default tuple is 70/13/13 frames. The only
knob was HEX_STREAM_CHUNK_MS, which forced right == chunk and silently
disabled streaming when the model's menu rejected the value.
Labs › Faster live text (labs.faster_live_text, off by default) asks for a
shorter tuple chosen from the model's own GGUF chunk menus: the largest
chunk frame count from 2 to 7 and the largest right up to 7, which is
560/560 ms on Unified English (70/7/7, 1.12 s of lookahead) at about 1.6
times the encoder work. A file whose header Hex cannot read still asks for
560/560 in shipped 80 ms frames and trusts the native probe.
HEX_STREAM_RIGHT_MS joins HEX_STREAM_CHUNK_MS; a chunk alone still sets
the right context, and the env wins over the lab. A geometry the model's
menu rejects now warns and falls back to the default tuple instead of
turning streaming off.
The geometry is cached on the session with the tuning it was probed for,
and the engine compares that tuning as each live stream opens, so a toggle
change applies to the next capture without a restart (and every other
capture pays one comparison).
Measured by aymuos15: with 13-frame chunks, live text arrives about 2.08 s
behind speech, and right context is what delays it.
closes#2102
* audio: the press-across-reopen helper is Linux and Windows only
#2098 added a re-export of interruption::capture_idle for the two listeners
that read it, but gated it on test too, so a macOS build carries an import
nothing there uses. Check macOS (clippy -D warnings) fails on dev with
unused import: interruption::capture_idle; PRs only compile on macOS, so it
landed unseen.
* stream: gate the re-probe, adopt it while idle, keep a failed geometry
Review fixes for #2107:
- refresh_stream only runs after the gated probe passed (HEX_STREAMING,
capability, GPU), so a parked engine on a CPU never starts a stream, and
a non-Parakeet model is never re-probed.
- a changed tuning is the only thing that re-probes: a failure keeps the
working geometry and is not retried, and toggling back is a no-op.
- the header is read only when the lab's tuple needs its menus, lazily at
load or on the first re-probe; a header that reads fine without chunk
menus (a cache-aware model) takes no buffered extension at all.
- the engine re-probes after each command and on its idle tick instead of
at capture start, and yielding streams check cancellation first.
- macOS re-probes with stream_run_options, as its load probe and streams do.
- gguf_header keeps only the Parakeet stream keys, and the frame size uses
checked_mul.
- the card and docs say the pasted text comes from the same shorter
lookahead.
* stream: drop the unused architecture from the macOS probe call
probe_stream no longer takes an architecture (the session reads the file's
own), so load_selection's match became an unused variable in a macOS-only
module. Linux clippy cannot see it; Check macOS can.
* stream: re-probe only when the engine is quiet
Review follow-ups for #2107:
- the after-command re-probe waits for `next.is_empty() && !recording()`, so a
queued Begin, deferred meeting chunk, or active recording never waits
behind the probe.
- both idle-tick re-probes check `!recording()` too, and the unload tick keeps
its park behind the same guard.
- docs/features/labs.md's Faster live text row indents its continuation lines
at the table's column like every other row.
A warm stream interrupted by sleep reopened on its own, but both listeners
logged "microphone stream interrupted; reopening" as a failed dictation even
when nothing recorded, and a press during the reopen was dropped or started on
a stale stream and then cancelled. Only a capture that had become a dictation
reports a failure now; an idle, release-tail, or annotate-only interruption is
the stream's own recovery.
A press that cannot start yet (the stream stalled, recovering, or opened with
no chunk) waits and starts at the first fresh chunk, and a failed stream's
replacement opens while it waits. A reopened stream that interrupts again
before delivering discards the press and records the failure.
* Stage clipboard-preserving capture insertion for Paste Last on Mac
* Update Rune and its Nix source hash for the picker work
* Select the latest ready paste by owner identity and revalidate it
* Exercise a held mixed paste picker with real bundles and a private Mac pasteboard
* Publish ready Annotate identity and queue owner-specific paste requests
* Wire the existing Mac paste shortcut and controls to the opt-in mixed picker
* Recheck the selected field and cover Paste Last with a disposable Mac receiver
* Refresh the Rune revision for the unified History pane
* Unify Mac History and keep only spoken words after a deliberate dictation cancel
* History and Paste Last call a Hex capture an annotation (t1612)
A finished Hex capture is an Annotation in History, its details and the
Paste Last picker, and the type filter is Annotations. The Captures pane no
longer rewrites its own label when the unified History is on, and the search
index drops the old synonym. Scrawl stays only as Scrawl.app and the on-disk
.scrawl format; a Hex-owned format is separate file and engine work.
* Gate the unified History behind a Labs toggle and give it one row shape (t1612)
Labs › Paste Last picker (labs.paste_last_picker; macOS, Dev audience, off by
default) replaces HEX_EXPERIMENTAL_PASTE_LAST and is read where the work
starts: the picker and its gesture, History's unified list, and the cancel
path's word writer. Off, Paste Last and History behave exactly as before.
History's rows now share one shape for dictations, annotations, screenshots
and recordings; a capture's detail card carries its picture, words, facts and
actions; a search or the type filter never leaves a stale card open; an empty
History has one empty state; and the type filter shows only when there is more
than one kind to filter.
The picker's rows sit on its title's left edge.
* Show the Paste Last picker card on macOS only (t1612)
* Refresh the Labs goldens for the Paste Last picker card (t1612)
* Keep the unified History's capture helpers to macOS builds (t1612)
* Keep the unified History's fixture pictures behind the Mac capture gate (t1612)
* Point the docs at the Paste Last picker lab (t1612)
* windows: don't paste into the desktop or taskbar, keep the dictation on the clipboard (#2009)
* windows: keep the shell fallback plain and unmarked, and accept a copy in practice (#2009)
* windows: re-arm a silenced keyboard hook and heal a lost shortcut release
A Toggle dictation could keep recording for 50 minutes while every
shortcut press and Escape did nothing and nothing was logged: Windows had
stopped calling the low-level keyboard hook and the lost chord release
left the capture reading as held.
Add a 1 s watchdog on the hook thread that re-installs the keyboard hook
when session input keeps arriving but neither hook has seen an event for
3 s, and on the same tick releases a keyless chord whose keys read up as
its lost release would. Log the escape cancel, an ignored escape while
recording, and each watchdog re-arm.
* windows: keep hook-side logging off the hook path, re-arm both hooks with back-off
* windows: gate the release heal on keyboard silence and back off on keyboard events only
* add fluid speech pro to the speech model catalog
FluidVoice's Fluid Speech Pro, a Parakeet TDT 0.6B v3 retrain that also
declares Moondream's Parakeet Ultra as a base, for the same 25 European
languages. TalkMate converted it to a Q8_0 transcribe.cpp GGUF at d59dc79
(741,819,456 bytes, sha256 c3848e98...); the file says
parakeet/tdt-0.6b-fluid-speech-pro and announces its extra pre-Conformer
block as stt.parakeet.encoder.pre_block_kernel, so it needs a transcribe.cpp
that reads enc.pre_block.
Like Parakeet v3 it takes no language hint, detects the language under Auto,
does not stream, and is never recommended or badged. Its card publishes no
LibriSpeech test-clean figure, so it carries no single word error rate and no
benchmark record; its per-language FLEURS figures and the CC BY 4.0 credit
are in its details.
* bump(transcribe.cpp): 295c7e6, fluid speech pro's pre-conformer block
Fluid Speech Pro's GGUF announces stt.parakeet.encoder.pre_block_kernel and
carries eight enc.pre_block.* tensors: a residual FrameCleaner block between
the subsampler and Conformer layer 0. The old pin's graph never read them, so
the model loaded as plain Parakeet v3 and its encoder was wrong.
Both transcribe-cpp crates move to 295c7e601 on hex/combined-fluid, a
fast-forward of bcb639f that runs the block on pre_encode before xscaling
when the KV is present, and fails the load rather than skipping tensors when
it is only partly there. Cargo.lock changes only those two sources
(`getrandom`'s tempfile pointer was reverted to what it was), and
nix/package.nix carries the hash from a failed `nix build .#hex`, then a full
one whose check phase passed.
`hex model install fluid-speech-pro` followed by `hex model transcribe` on
whisper.cpp's jfk.wav prints the expected sentence, as does Parakeet v3 on
the same clip.
* fluid speech pro: snake_case id, FLEURS-only figures, blurb, notices
With Copy dictation only on, a dictation went to the clipboard unpasted, so YOLO mode never pressed Return and looked broken. In YOLO mode's apps (or every app with none chosen) the dictation now pastes and sends; elsewhere Copy dictation only still just copies, and a rescued microphone-loss dictation on macOS is still only copied.
* windows: join back-to-back dictations with a space
move the input-activity revision, continuation join and its tests into a
platform-neutral continuation module. windows now invalidates it on real
keys and clicks from the low-level hooks and on foreground-window changes,
and the paster joins dictation and paste last the way macos does.
* windows: end continuations on real input and skip hex's own trigger
injected input from other tools and the auxiliary mouse buttons end a paste
continuation as on macOS, while Hex's own synthetic events and a dictation
trigger that Labs › Share shortcut lets through do not. A standalone macOS
paste clears the continuation only where dev did: at the start of typing, or
after the clipboard is preserved and checked.
* windows: a bare trigger key press ends the paste continuation
Labs › Share shortcut lets the dictation trigger's key reach the app in
front, and the hook treated every event for that key as hex's own. A
plain Space while Ctrl+Space is bound then kept the continuation, so the
next dictation joined with a space for no reason. Mark the press as the
shortcut's only once it claims the capture, and drive the hook's own
state machine in a test.
* fix: label an unset OpenCode rewrite model as automatic and log the model that answered (#1955)
* fix: initialize the processing model on the macOS cleanup pass
* fix: gate the unranked model fixture to the Linux tests
* fix: don't log a failed automatic rewrite as opencode's default
* docs: describe where the rewrite model is recorded
* fix(dictation): release the warm mic while the display sleeps or the screen is locked (#1953)
* fix(dictation): address review on warm mic away release
* docs: fix hex microphone resume wording
AltGr layouts send a synthesized Left Ctrl (scan code 0x21D) before the
Right Alt, and GetAsyncKeyState reports it as a real Ctrl, so a modifier-only
Right Alt shortcut never matched there.
The listener's hook and the settings recorder's own hook leave that Ctrl out
of chord state and matching, and both feed one shared atomic, because the
recorder's hook runs even when Hex isn't listening. The recorder reads the
key state once per poll: a chord with a key keeps the Ctrl (AltGr+Q is
Ctrl+Alt+Q, never Alt+Q), and only a modifier-only chord drops it.
Modifier-only matching accepts either the view without AltGr's Ctrl or the
same read with it counted, so the `control+option` an AltGr-layout recording
made before this still fires, while a real Left Ctrl plus Right Alt doesn't
match Right Alt alone.
Left Ctrl bits are settled before each hook event, keyboard and mouse, from
GetAsyncKeyState, so a release that landed on another desktop heals on the
next event. AltGr's Ctrl-up keeps its bit until that settle, so a recorder
poll in the gap cannot count that Ctrl as a real one, and a real Left Ctrl
pressed right after still clears it and sets REAL.
* make the labs card copy plain
Rewrite the Labs card titles and lines in words a regular user understands:
YOLO mode says the message sends itself, Live text and Failure notices name
the small recording indicator, Vocabulary help says which speech models it
affects, and the key-side cards name Option, Command, Shift, and Control.
Audit every other card, updating the CLI descriptions, all nine translated
languages, the website lab catalog, the feature docs, and the render goldens.
* fix labs copy review findings
Restore the ISO qualifier on the section-key card, spell out that
double-tap and hold-through shortcuts contain no letter or number key,
cover all Global mode stages in the API text card, and name the print
command in the print-start copy. Restore the developer API card titles,
fix the Annotate capture wording, and retranslate the affected strings.
Remove every replaced translation key and stale lab-name reference.
* fix second labs copy review
Update the live typing test and YOLO goldens. Add a Windows variant of the
hold-through-keys copy naming Ctrl, Alt, Shift, and the Windows key. Remove
the last unused rewrite-by-voice translation key, keep Annotate untranslated
in the replay title, and clean the remaining old lab-name comments.
* use the Polish Annotate pane name in its replay title
Polish calls the Annotate pane Adnotacje, so the Annotate last 15 seconds
title says Ostatnie 15 sekund w Adnotacjach again. Other languages keep
Annotate because their pane name is Annotate.
* test(labs): render the enabled YOLO card in both appearances (t1596)
* fix(dictation): send short replies in YOLO mode (t1596)
* test(labs): pin YOLO mode without the duration picker (t1596)
* dictation: keep the stream inside the clip, and only call a lost opening one
Two regressions in 3.4.0 made most hotkey dictations give up their live
stream and re-transcribe the whole clip, so paste latency grew with the
clip's length.
The release tail (3.4.0) waits for the stop tone plus speech after it before
it decides the tail, keeping capture running up to release + 428 + 160 ms
with the default Classic sound. Every chunk ingested meanwhile was fed to the
live stream, while `Recording::finish` trims the clip to release + its tail:
the stream heard 388 ms of audio the clip dropped, past the engine's 250 ms
overfeed tolerance, so it refused the stream. A finish now caps live feeding
at the release plus `POST_RELEASE_TAIL` (`DictationCapture::limit_stream_to`),
the base tail that is always kept; a grown tail, and audio captured while the
tail decides, arrive through `finish_stream`'s remainder of the finished
clip. macOS, Linux, and Windows all cap at the release they finish on.
`MAX_OVERFED_SAMPLES` is unchanged.
The opening-coverage check (3.4.0) summed every speech frame anywhere before
the first token, so Hex's own start tone and the double tap's click at the
clip's head added up past 300 ms and forced a whole-clip run on a stream that
had lost nothing. `PauseCap` now counts only the contiguous run of speech that
runs into the text's start (syllable gaps of up to 40 ms bridged, ending
within the 400 ms slack the first token may be emitted late by) and names the
run's span in the reason. A sound that sits on its own, seconds earlier, is
never a lost opening.
Checks: `a_long_release_tail_never_feeds_the_stream_past_the_clip` (fails by
4_480 samples without the cap), `an_isolated_burst_before_a_late_first_token_does_not_discard_the_stream`,
`a_split_burst_that_reaches_the_threshold_is_not_a_lost_opening`, and
`speech_running_into_the_texts_start_is_still_a_lost_opening`.
* dictation: ignore the capture's own sounds, not a whole run, before the text
The opening-coverage check counted every speech frame anywhere before the
first token, so Hex's own audio at the clip's head (the pre-roll through the
press, which can hold a retracted first tone and an earlier dictation's stop
tone, then the start tone) added up past 300 ms and forced a whole-clip run on
a stream that had lost nothing. Counting only one contiguous run was worse:
a lost opening followed by a pause longer than the check's 400 ms slack (2 s of
speech, a 1 s pause, text at 3.5 s) was accepted, which is the case the check
exists for, and requiring 300 ms of one run is unproven on real speech.
So the check sums every counted frame again, and skips the capture's own sounds
instead: the clip's press offset plus the current set's start sound
(`feedback::start_tone_length`, zero with sounds off) and the output and input
latency it takes to reach the microphone. `DictationCapture::begin_stream`
passes that count with the stream (`Command::Begin`), so `PauseCap` still reads
its own samples and the 400 ms slack is untouched. The reason keeps the span of
the counted speech.
Checks: `hexs_own_sounds_at_the_captures_head_are_not_a_lost_opening` (the
same clip errs without the exclusion),
`a_lost_opening_after_a_long_pause_still_falls_back_to_the_whole_clip`.
`ReleaseTail` and `ReleaseWait` move to `src/dictation/release_tail.rs` to keep
`src/dictation.rs` under its size cap, and the docs say plainly that a release
handled late can still leave the stream past the clip's trimmed end.
* build: gate ReleaseWait and the zero-head begin to the platforms that use them
macOS has no ReleaseWait (Linux and Windows poll it), so the re-export and
its imports are gated there. The Windows bench is the one non-test caller of
a head-less stream, so it asks for no ignored head explicitly and Transcript-
ionEngine::begin stays test-only.
* docs: word the press window's margin and its blind spots accurately
The 60 ms margin after the start tone covers the 40 ms chord grace before a
provisional tone sounds plus a little latency, not the output and input
latency alone. With sounds off only the pre-roll is excluded, and with
release-while-idle the tone sounds once the capture is intentional or ready,
so the window may not cover it. Say plainly that a short lost opening inside
the window, pre-roll speech included, goes unseen, that the earlier version
likely rejected streams rather than certainly doing so, and that only the
part of the tail audio the clip keeps is fed from the finished clip.
* add labs › keep long holds through other keys (#1475)
A shortcut with no key, held more than a second, no longer loses a
dictation to a joining key or click on macOS and Windows: the key
reaches the app in front and the release still finishes. Before the
first second, and with the lab off, chords discard exactly as before.
macOS reads the gate in DictationHotkey; Windows reads it in the hook,
where the capture keeps the press's tick count for the same second.
* labs: shorten hold through other keys copy
The card now reads "Hold through other keys", with a one-clause summary
that fits the card. Translations say the keys reach the app and no longer
end the dictation, and "a second or more" matches the >= code.
* labs: tighten hold through other keys translations
The translated summaries fit the two-line card now (74-83 characters
for the Latin and Cyrillic columns, 28-42 for Chinese and Japanese), and
no longer add a clause about keys reaching the app. Ukrainian and Russian
titles fit the card, and the labs doc says which goldens changed and that
macOS clicks were already ignored after 300 ms.
* labs: fix hold through other keys translations
Grammatical Spanish, Portuguese, German, Japanese and French copy from
review, with the French title shortened by two words because "Maintenir
malgré d'autres touches" clipped in the card. The dictation doc now says
the Windows tests need Windows and run in Check Windows.
* fix(hud): ask rune for the macos hud at each capture start (#1887)
* docs(hud): narrow the macos re-ask comment
* fix(hud): hide rune's panel on a hidden start
* Trace a recording pill hover and reversal offscreen (t1571)
* Keep the recording meter anchored and show each audio track (t1571)
* Keep light and dark recording snapshots from Linux (t1571)
* Draw dictation’s listening field inside the meeting pill (t1571)
* Refresh meeting pill goldens with the listening field (t1571)
* Paint just the listening dots on the meeting surface (t1571)
* Keep dots-only recording goldens in light and dark (t1571)
* Keep recording controls and the dictation HUD dark on light desktops (t1571)
* Refresh the dark overlays on light-host goldens (t1571)
* Keep the finished meeting in its corner and let Close dismiss it (t1571)
* Refresh finished summary goldens with the close control (t1571)
* Open shipped features from What’s new (t1574)
* Keep release-specific links distinct from feature navigation (t1574)
* Document and translate the feature feed (t1574)
* Verify dark and light navigation to both controls (t1574)
* Show feature icons and calendar-day headings in What’s new (t1574)
* Verify local-day boundaries and refresh both feed goldens (t1574)
* Separate What's new navigation from build details (t1574)
* Check What’s new selection through accessibility (t1574)
* Refresh only the lower sidebar in the Linux goldens (t1574)
* Refresh the pill, Sounds, and What's new goldens after the stack (t1571)
* Hold the recording clock still in the dark-host test (t1571)
* fix(macos): type dictation into Windows App instead of pasting (#1048)
* fix(macos): stop paced dictation when another app comes in front (#1048)
* test(macos): keep the paced typing tests within clippy's types (#1048)
* take the microphone key at the session tap
macos matches its own dictation shortcut before the app and before hex's
annotated-session tap, so the mic key never reached the recorder or a
binding. with labs › microphone key alone on, a session tap now sees key
code 176: the press is fed to the listener when one of hex's shortcuts
matches it, and to the window's recorder while a shortcut is being
recorded; in both cases the press and its release are consumed. anything
else passes through, and with the lab off no tap exists.
the recorder reads those presses through the same ChordCapture its own
key events use, and the tap wakes the window for them.
also fixes a_lone_lab_card_keeps_half_the_row, which had no odd group left
after the microphone key card joined the grid.
* keep the key-name test with its helper
* take the recorder's watch with a question mark
* name the recorder wake and take presses without a drain
* harden the microphone key tap
takes the press from the session boundary handy-keys ships at, with a
comment citing its listener. the tap-disable notification now comes first,
ends the capture and forgets the press like the annotated tap; the instant
is read with the same recency rule as hid events; a failed send passes the
event through; the taken press is a single option, cleared when a press
passes through, when the tap is removed, and on disable. removing the tap
only cancels a capture when it holds a listener press. the screenshot
shortcuts refuse the key, since a shot reads its keys after this tap. the
recorder clears the queue it no longer reads and feeds tap presses through
the monitor's own channel.
docs hedge on whether macOS's dictation still opens; a real press is still
unobserved on hardware. adds callback tests for bound, unbound, paused,
recording, synthetic and disabled cases.
* use OpenCode's default model for meeting summaries
Meeting titles, summaries, and live chapters with no meetings.opencode_model
post one request with no model field, so OpenCode answers with its own default
and the transcript never reaches a provider the person didn't pick. The ranked
fast models stay for dictation rewrites and voice prompts.
The summary model picker's automatic entry and its invalid-value note say so,
with translations, and the meeting docs follow.
Move the one-shot generation transport into dictation/processor/generation.rs
to keep processor.rs under the 1,500-line cap.
* docs: cover OpenCode's default model in notes and rewrites
The meeting notes footer list now names the case with no chosen summary
model: "Written by OpenCode's default model" (#1125).
The dictation map carries the #1123 fallback the meeting map no longer
describes: the ranked rewrite models are cached per service, any one failing
drops the cache, and when all of them fail OpenCode's default answers.
GENERATE_ENDPOINTS stays inside its module; nothing outside it names the
routes.
* Bump Rune to 1899e64: overlays pace frames with the swap chain on Windows
Windows HUD memory grew and the app could hang after dictation because the
overlay presented frames without waiting for swap chain room after Rune #844;
Rune #985 makes an overlay's frames wait for room in its swap chain, as a
window's do.
nix: vendor each Cargo source in its own directory. Rune's tiny-skia-path is a
path dependency inside Rune (a Git crate at 0.11.4 here), the same name and
version as resvg's from crates.io, and cargo's directory source keys a crate by
name and version alone.
Goldens: Rune's text drawing changed over the 152 commits since d6715352.
* Review: patch accesskit_macos, and make the nix vendor split name what breaks
Rune #975 put accesskit_macos in its [patch.crates-io], so Hex patches it too
(Rune's README asks consumers to); it is the fifth and last crate Rune patches.
The vendor script override now checks each fragment it rewrites and names the
missing one, its comment says crates.io goes to registry/ and Git sources to
git/, nixfmt formats the file, and check-nix-git-pins.py's docstring says the
hashes reach importCargoLock through the cargoDeps override.
* linux: keep Hex running when the window can't start
Rune r399 makes App::run print a startup error and exit 1 on native targets
instead of panicking, so a Linux Hex with no display died, the next launch
became a fresh instance, and Check Linux's single-instance exercise saw
`hex start` hang and `hex app --hidden` reset.
run_app now returns Rune's try_run error and run_window reports it and waits,
as it did for the panic (#979).
* macos, windows: take rune's startup error instead of exiting
Rune r399 prints a startup error and exits the process from `run` on
native targets, which skipped Hex's own stop: macOS's drain (workers,
event-log flush, a recording kept for the next launch) and Windows' GPU
draw-marker disarm, so the launch that failed before drawing was read as
a crash while drawing. Both apps take `try_run`'s error now, log it, and
stop the way Quit does; Windows also reports it from `hex app`. The
Linux window already took the error (#979).
* macos: a launch whose window never started exits 1
Taking Rune's try_run error lets the app stop through the drain, but
process_exit::finish ends with _exit(0), so a failed GUI launch reported
success. finish_with takes the code; the window's failure exits 1 while a
normal quit keeps 0.
* docs: overlays wait for swap-chain room on windows since rune #985
Rune #985 makes every overlay's frames wait for room in its swap chain, so
the notes that said only a window waits and that the HUD's 60 Hz timer worked
around a suspected cause were stale. The timer is a cap on top of the slot
wait now. The macOS and Windows startup-error comments cited #979, which is
the Linux window issue; they describe Rune r399 instead.
* windows: a failed start keeps the GPU draw marker
disarm() means a frame reached the screen or Hex quit cleanly; a start that
never drew is neither, so it keeps the marker and the next launch falls back to
the high-performance GPU.
* docs: say what was measured about overlay pacing
* docs: say what stays bounded on windows, not what shrinks
The meetings map and the dictation map described the fix as memory that no
longer grows, and as Rune holding a frame's slot and skipping it. Rune #985
defers the frame until its swap chain has room, then draws it, which bounds
the frames in flight; the growth itself hasn't been re-measured on Windows
with the fix.