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.
A TestFlight tester who chats in several languages asked for automatic source
language detection and for translating a copied message back to English from
the keyboard. Docs only.
Records the bigger iPhone requests from X and TestFlight that aren't being built
yet (adaptive key hit areas, Chinese Pinyin/Shuangpin, themes, opt-in GIFs, a
local speech model picker, grammar-aware autocorrect, interface languages, and
the start-on-switch experiment). Docs only.
* add pause from menu bar lab (#82)
* pause: hold a resume through Caps Lock and follow the pause in the menu
The neutral-keyboard check skipped Caps Lock and a stale Fn flag, the
menu kept saying Pause Hex while a resume waited, and every listener
pass took the pause lock. Also gate Caps Lock dictation on suspended
shortcuts, refresh secure-input hotkeys at once, and correct the labs
doc's claims.
* pause: drop the unused pause and resume entry points
* treat remapped caps lock as side-less modifier
* silence dead-code for test helper and held tracker
* check HID listen access and bound tracker startup
* require input monitoring for the HID tracker
* Labs: ⌘⇧4 screenshots on macOS (t1300)
* Fix the thumbnail golden's render (t1300)
* Round the thumbnail's size; list its scene in the playground (t1300)
* Keep rune_ui.rs under the size limit (t1300)
* Thumbnail goldens (t1300)
* Allow macOS-only re-exports elsewhere (t1300)
* Drop Input Monitoring: Accessibility covers the shortcut taps (t496)
* Regenerate goldens without the Input Monitoring row (t496)
* Regenerate the permissions golden after merging dev (t496)
* 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
Apps push 16 kHz audio and read partials, per-window segments, and the
final over SSE. Windows are cut at pauses and fed through yielding engine
streams that any dictation request closes; while dictation is busy the
stream feeds nothing and buffers a bounded backlog. Windows that lose their
stream, or any window on a model that can't stream, run offline as one
foreground request after dictation. Never loads or switches a model.
Contract in docs/streams.md; the shared engine service is on the roadmap.
Work lands on dev, the default branch. production holds what was released
(app-v2.3.1) and moves only by a fast-forward from dev. Pushes to dev run the
checks, test builds, and the dev site deploy; stable releases run only from
production or an app-v tag, and the TypeScript SDK's version pull request
targets dev while publishing waits for production.
Option-Control-V, the Meetings pane, hex meetings and MCP read one rolling
Parakeet transcript of 3-10 s chunks on dictation's engine. Words join at
seams, only settled sentences publish, capture gaps restart a track, and a
backlog skips its oldest audio for the final pass to rebuild. The paste
cursor follows capture time per source so the switch to the final transcript
neither repeats nor drops turns.
Rewrite the design system as a short rune-kit and OpenCode theme page, and
update AGENTS.md, the feature maps, the Linux, Windows, and Nix guides, the
roadmap, and the port plans: --snap scenes replace GPUI previews, and checks
that went with GPUI are recorded as gaps.
The audio owner announces a release that will transcribe before it drains the
200 ms tail: it ends the recording environment and plays the stop tone from the
environment worker once a muted output is restored (at once with paused media).
Tail-free finishes keep the coordinator's tone. Not compiled: no Mac was
reachable.
The Linux listener played the stop tone only after the 200 ms post-release
tail had been captured, so it lagged the key-up by roughly 200-300 ms.
A release that will transcribe now restores mute/pause and plays the stop
tone at once, as Windows already did, while the tail is still collected.
A muted output is unmuted before the tone so it is heard. The silence
gate ignores the tail so the tone the microphone hears there never makes
a silent clip transcribe.
Wayland shortcuts no longer read /dev/input. One state machine in
linux_input now serves every source:
- X11: the existing key grabs, with auto-repeat filtering split out and
tested, and the inline gesture flags replaced by the shared rules.
- Wayland with the GlobalShortcuts portal: Register("hex"), one session for
dictation, Paste Last, and Voice Action, and a second session that binds
Escape (also with the held shortcut's modifiers) only while recording.
Activated/Deactivated are press/release; refused shortcuts and the
trigger the desktop actually granted show in Settings; a closed session
cancels and stops the listener with an error.
- Everywhere: `hex dictation start|stop|toggle|cancel`,
`hex voice-action start|stop|toggle`, and `hex paste-last` talk to the
running service over its socket for desktops without the portal. They
are idempotent, never start the service, and fail clearly when it is
missing or not listening.
Settings records shortcuts from its own key events on Wayland too, lists
the granted triggers, or, without the portal, hides the shortcut rows and
lists the commands. Wayland paste no longer waits for held modifiers:
wtype's virtual keyboard sends its own, and the Wayland paste smoke now
pastes while another keyboard holds Ctrl and Alt.
Removes linux_wayland_input.rs, the evdev and udev crates, libudev-dev in
CI, and every input-group requirement from the docs. Also gates
AppWindowPreview::pane to macOS, whose only callers broke the Linux
Clippy build.
* feat(macos): move the data folder from voice-control to hex
* fix(macos): match Hex's folder precedence in SDK and scripts; re-create a missing compat symlink
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.
* feat: Windows beta with streaming dictation, Hold/Toggle shortcut mode, and release pipeline
Ports the windows-shell branch onto main, adds a GPU streaming finish for Parakeet Unified English with a whole-clip fallback, a cross-platform Hold/Toggle shortcut mode, x64 and ARM64 Windows CI and release feeds, and the website Windows download.
* copy: Enabled/Disabled status on Linux and in the shared Activity labels
* ci: install SPIRV-Headers for the x64 Vulkan build and gate the Windows-only device query
* refactor: one implementation per concept across macOS, Linux, and Windows
The Windows port carried its own copies of modules main already has. Each
concept now has one implementation:
- UI: Windows uses main's design system (design_tokens, desktop_ui,
text_input, desktop_transcription_picker types) instead of a Fluent copy.
Windows-only bits are small cfg additions: Segoe Fluent Icons for Icon,
Windows text-editing key bindings, fixed-height and read-only text inputs,
and the shared slider_track component. windows_ui keeps the window chrome
and the anchored dropdowns, now drawn with menu/menu_item.
- Windows chrome: the sidebar runs the full window height as on macOS. The
caption row is split: the brand sits over the sidebar, the window buttons
over the content, and both halves stay OS drag regions.
- Commands: Windows uses main's commands, command_grammar, context, keys,
and personal_commands. The SDK provisioner accepts the embedded TypeScript
src layout; Windows execute() opens URLs and paths with ShellExecuteW.
- OpenCode: dictation_processor is the one client and ordered policy
(corrections, rewrite, transformations) on macOS and Windows. Windows keeps
its opencode2 api CLI transport in a cfg'd submodule; the ranked catalog,
prompts, Voice Action generation, and the transformation stage are shared.
- desktop_activity is shared; the Windows Settings contract is
windows_desktop_host, without #[path] aliases.
- self_update is the signed-feed core for both the Linux and Windows
updaters.
- Windows copy follows the design system: sentence case and "Hex".
* chore(windows): flat app icon that stays crisp at taskbar sizes
* chore: mark the Windows-only screens to consolidate with app_window after #138
* fix(linux): wait for partial X11 grabs to be released before reporting a conflict
* perf: bound transcription decoder threads and raise inference QoS
GGUF sessions on GPU devices now request one CPU thread instead of
transcribe.cpp's default min(8, ncpu). Parakeet's per-token TDT decoder
runs on CPU even with Metal encoding, and ggml's spin-waiting worker pool
stalls it under CPU load. CPU-only devices (Linux Backend::Auto fallback)
keep the library default so the encoder is not serialized.
The macOS inference thread moves from user-initiated to user-interactive
QoS. ggml creates workers with plain pthread_create, which starts them at
QOS_CLASS_DEFAULT rather than inheriting (confirmed with a probe); with one
thread no workers are created and decoding stays on this thread.
transcribe-cpp 0.2.4 bench, Unified English Q8, Metal, Mac Studio (18
cores, already loaded by other work), user-interactive QoS, median ms for
3/30/90 s clips:
+ 36 `yes` procs: 1 thread 170/703/1819, 2 threads 136/1907/4940,
4 threads 178/4304/13519
no extra load: 1 thread 83/364/1631, 2 threads 64/705/2889
Not verified physically on the MacBook Pro or on Linux.
* fix(paste): mark transcript clipboard writes as transient
Clipboard managers such as Maccy and Raycast recorded every dictation
because the paste write carried only plain text. Publish the transcript
as one pasteboard item that also carries org.nspasteboard.TransientType
and org.nspasteboard.AutoGeneratedType so conforming managers skip it.
Generation-safe restoration of the previous clipboard is unchanged.
Refs kitlangton/Hex#223
* fix(keyboard): resolve Command shortcuts on the layout's Command layer
On "Dvorak – QWERTY ⌘" the plain layer puts V on keycode 47, but with
Command held that key is ⌘. — so synthetic ⌘V posted ⌘. and paste beeped.
Build a second snapshot map with UCKeyTranslate's cmdKey modifier state
during initialize_layout and resolve Command shortcuts against it first,
falling back to the plain snapshot. Headless lookups do the same.
Refs kitlangton/Hex#162
* fix(dictation): discard near-silent captures before inference
Holding the shortcut without speaking made Cohere (and Whisper-style
models) paste a hallucinated "thank you". Measure the loudest 30 ms
window of the captured 16 kHz audio, DC removed and excluding model
padding, and discard captures below -50 dBFS as empty: no inference,
paste, History, or last-result update. The level and threshold are
logged. The threshold is conservative so whispered speech is kept.
Covers macOS hotkey, voice-delimited, and Voice Action captures and the
Linux hotkey loop. Local API dictation and host-audio transcription
deliberately keep returning raw model output.
Refs anomalyco/hex#108
* fix(audio): keep the held press when a cold microphone glitches
With Release when idle, the first hold after minutes of idle failed with
the error tone. The cold stream reported "A buffer underrun or overrun
occurred" — cpal 0.18's ErrorKind::Xrun from CoreAudio's processor
overload listener, which does not stop the stream — and HEX treated it as
fatal: the owner closed the device without retrying and recognition
suspended the still-held gesture.
- Log and ignore Xrun and RealtimeDenied stream errors; real sample gaps
still fail the capture as discontinuities.
- In release-when-idle mode, a stream failure before the hold threshold
returns the press to pending and reopens, so release-before-ready
discards and readiness captures from the original press. Later
failures still fail the capture rather than paste a fragment.
- Cold opens retry the selected microphone twice, 100 ms apart, before
the existing automatic fallback.
Refs anomalyco/hex#130
* feat: add pause segmenter for incremental transcription
* feat: cut intentional dictation captures at pauses
* feat: transcribe completed speech at pauses and join it with the tail
* feat: add Transcribe during pauses setting
* docs: map incremental transcription
* fix(audio): drain before checking pending cold captures
* fix: keep piece admission guard held through inference and refine segment joins
* refactor: simplify clipboard, keyboard, silence gate, and cold-audio helpers
* refactor: simplify incremental transcription state and session options
* feat(meetings): transcribe in rolling overlapping chunks with echo suppression
Stream each track through a 16 kHz resampler into pause-aware chunks
(first pause after 20 s, hard cut at 30 s with a 2 s overlap) and
transcribe them while recording on a utility-QoS session that waits for
dictation capture and inference. Tracks that fall behind are rebuilt from
their WAV after Stop. Seams drop repeated words, microphone utterances
that echo overlapping remote speech are removed, and each finished meeting
is written as Markdown to the configured folder. Remote speech is labeled
Them.
* feat(meetings): add release opt-in, call capsules, and menu-bar recording
Meetings (beta) in Settings enables detection, the Meetings pane, and
meeting paste in release builds, with a Screen Recording permission row
and a transcript folder. Offers appear as a focus-free capsule with a
countdown and stay snoozed for the call. The menu bar shows elapsed
recording time with Stop & Transcribe, and a capsule asks Keep Recording
or Stop & Transcribe when the call app leaves the microphone.
* docs: map Meetings beta and update meeting invariants
* feat(meetings): write titles, summaries, and action items with Apple Intelligence
Add a weak-linked FoundationModels Swift bridge (availability, context
size, guided-generation notes at utility priority) and a meeting notes
worker that runs after final publication: bounded map/reduce chunking
sized from the model context, a total deadline, manifest storage, and an
in-place marker-delimited Markdown update that keeps the file name.
Settings gains 'Summarize with Apple Intelligence' (default on) with a
one-line availability; the Meetings pane and ready capsule show the
generated title, notes, and a Regenerate Notes action. Debug CLI:
hex meeting summarize <id|file>.
* docs: map Apple Intelligence meeting notes
* fix(meetings): stop labeling speaker echo as You with signal-level bleed detection
Rolling chunks fell behind (packet-bounded queue) and the pane then showed the raw
Moonshine draft without any echo suppression, so microphone twins of remote speech
appeared as You. Coalesce rolling audio into one-second blocks, keep transcribed
entries of a track that fell behind, judge the live draft with the same echo rules,
split timed words into sentences, and classify microphone segments by comparing
their energy with delayed system audio so misheard bleed is dropped and double-talk
is kept.
* feat(meetings): redesign the pane with notes, conversational turns, search, rename, and delete
List rows show the generated title, time, length, app, and a status chip, grouped
by day. The detail leads with notes, then Them/You turns on opposite sides that
follow the live tail, under one action row: Copy Notes, Copy Transcript, Reveal
Markdown, Regenerate Notes, Rename, and a two-step Delete that moves the Markdown
and recording to the Trash. Adds a deterministic meetings preview.
* docs: map meeting echo suppression, pane redesign, delete, and rename
* feat(meetings): add read-only hex mcp server for meeting transcripts
* docs(meetings): map the meetings MCP server and Granola import options
* feat(meetings): provisional titles while recording and one-call short summaries
Name a recording from its opening (~90 s of speech or 600 words) with one
title-only Apple Intelligence call, refreshed once at ten minutes, shown in
the menu bar, Meetings pane, manifest, and exported file. After publication,
write the final title and a summary of at most two sentences with one call
over a bounded excerpt (opening, sampled middle, ending) instead of
map-reduce. Remove action items, decisions, and chunking; older manifests
still read. get_meeting_notes now returns the title and summary and points
agents at the transcript.
* feat(meetings): mirror another Mac's meetings for local MCP servers
One periodic rsync (scripts/sync-meetings-mirror.sh, LaunchAgent template)
replaces an SSH session per MCP client, which exhausted the Pro's sshd.
A copy of the binary named hex-meetings-mcp always runs hex mcp.
* test(dictation): prove release trimming keeps the last word and isolate the instance-lock test
Add a resampled delayed-release regression test (44.1/48 kHz, segmented and
not) and an opt-in Unified English release-boundary harness. The instance
lock test now uses a temporary directory instead of the real Application
Support folder, which accumulated test-<pid>.lock files.
* fix(dictation): preserve mid-clause pause joins, skip silent tails, and add corpus harness
* feat(dictation): keep 200 ms of audio after release
* test(dictation): apply the post-release tail in the corpus harness
* fix(dictation): transcribe short final pieces with their preceding audio
* fix(linux): borrow the model path for GGUF validation
* fix(linux): scope macOS-only history, deletion, and thread-test code out of Linux dead-code lints
Settings controls commit a full candidate before changing the saved UI choice,
so a failed write keeps shortcut capture open and preserves pending debounced
edits. The macOS Transcriber owns backend input padding for ordinary,
voice-protocol, and segmented transcription. Moonshine stream cleanup and the
Linux client share one owner-side path. The command SDK shares capture
normalization between constructors and host registration, and the public SDK
decodes model progress and dictation levels with one bounded SSE framer. The
signing scripts share one identity helper, and historical release evidence
moves out of the feature map.
Update download links and record signed artifact verification. Explicitly select Ctrl-V for the GTK virtual-microphone fixture rather than inheriting the legacy terminal paste preference.
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.
* 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
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.