* labs: card titles, lines and OSes in the registry, exported to site/src/labs.json (t1560)
* site: a page and a social card for every lab, generated from the registry (t1560)
* labs: the two newest labs on the website (t1560)
* Float the application picker over the cards and close it on a pick, a click outside, or Escape (t1558)
* Update the Modes picker goldens and picker tests (t1558)
Windows and Linux asked "Open Hex when your Mac starts?" and had Hex
napping "in your menu bar". The ask's copy now follows `Home`: macOS
keeps its Mac and menu bar, Windows says computer and system tray, Linux
says computer and in the background. The new strings are translated in
every language, and a headless test checks all three platforms.
* labs: clean up dictations with apple intelligence (#1810)
Adds Labs › Clean up with Apple Intelligence, off by default and macOS only:
one short on-device Foundation Models pass over each dictation whose mode does
not already rewrite with OpenCode. The instructions and the guard are the iOS
cleaner's, so both apps accept and refuse the same answers. An unavailable
model, timeout, refusal, guardrail block, or an answer the guard refuses all
paste the corrected transcript; the stage's own observation records the
reason in History and the live log. Raw dictations never reach it.
* labs: address cleanup review
- read the lab switch (and the caller's cancellation flag) before Apple
Intelligence's availability, so a lab-off or cancelled dictation never
touches Foundation Models.
- keep the managed row the Labs registry builds, so an organization's lock
still disables the card; a test forces the lock on its own thread.
- count CJK numerals as digits, matching Character.isNumber.
- keep dictated quotes and the transcript's own spacing when tidying an
answer.
- docs: the real worker name, the local API's processed route, the 2 s
budget, and the guard's scalar-versus-grapheme counting.
* labs: keep the cleanup lock test to linux
The panes tests render on Linux only, so the forced-policy seam has no
users on macOS and failed the macOS check's -D warnings.
* labs: regenerate the mac labs goldens with the cleanup row
* labs: keep the cleanup card inside the labs file cap
* Shortcut rows: a quiet Reset, ⌫ turns a shortcut off, and Restore shortcut default graduates (t1548)
* Goldens: no Clear icon on shortcut rows, one fewer lab (t1548)
* Gate the icon button to macOS, its only remaining user (t1548)
* fix: keep quiet dictation above the room's noise floor (#1807)
* fix: require detector confirmation for quiet dictation, contiguous run
* fix: bridge one quiet window per gap in the quiet-dictation run
* fix(meetings): pass pw-cat's --raw only where PipeWire knows it
`--raw` only exists from PipeWire 1.3.81 on. 1.2 and older reject it as an
unknown option and exit before doing anything, so meetings recorded the
microphone alone and the Hex Microphone source never started. Since 1.4
`-` also means a WAV file unless `--raw` is passed, so the flag cannot just
be dropped: probe `pw-cat --help` once per process and pass it only where
the usage lists it, keeping it when the probe cannot run.
Also stop resetting a meeting source's backoff on every successful open: a
source that dies right after each spawn now keeps backing off instead of
respawning and logging twice a second forever.
* fix(linux): test pw-cat's real help and trust only a successful probe
The fixtures are now the exact `pw-cat --help` output of 1.0.5 and 1.4.0
(show_usage with its format args filled in, from a build without
-Dpw-cat-ffmpeg as Arch and Ubuntu build it), not an excerpt, so the
option the probe looks for is checked against the text it really prints.
The probe also asks for the untranslated usage with LC_ALL=C, and keeps
--raw when the help process starts but exits non-success, as its comment
already claimed.
* windows: follow the focused window's layout and ignore hex's own windows for keyboard model switching
* windows: skip a window that closed mid-read; log keyboard source changes at info
Adds Labs › Smaller model files (k-quant-models, labs.k_quant_models, off by
default, macOS only). While on, an imported speech model may use Q6_K, Q5_K,
and Q4_K weights beside F32, F16, and Q8_0: Metal has their mul_mat and
get_rows kernels, while the Linux and Windows Vulkan builds embed shaders
only for the catalog's types and would abort, so the lab is not listed there.
The tensor-type decision is passed into the header check
(gguf_header::TensorTypes) instead of read inside it, and the import's
manifest records `k_quants` (serde default false, so older manifests load).
That lets the selection gate a K-quant import exactly as Parakeet Ultra is
gated: its availability folds in the lab, the listener falls back with
FallbackReason::LabsOff and keeps the saved choice, and `hex model use`
refuses it by name.
The header check now also sizes the K-quant tensors from ggml's block sizes
(256 values in 144, 176, and 210 bytes), so a cut-short file is refused and
the GPU-memory estimate counts them, and a found file's compression reads
Q6_K/Q5_K/Q4_K instead of F32.
Off, every OS keeps the F32, F16, and Q8_0 rule and its message byte for
byte.
* fix(meetings): end a browser recording when its page names another call (#1775)
* fix(meetings): tighten the browser call switch after review
* fix(meetings): drop an armed call-switch stop when the lab turns off
* fix(cli): transcribe long files in pieces (#1769)
* fix(cli): skip silent pieces and refuse truncated files up front
* fix(cli): unique test files, honest read refusals, no detector download
* fix(ui): translate onboarding and the menu bar, wrap meeting retention, fit Labs' unload menu, and show only Reopen when the shortcut fails (t1548)
* test(ui): regenerate goldens for the onboarding, meetings and reopen changes (t1548)
* fix(i18n): build english() only on macOS, its one caller (t1548)
* test(ui): regenerate goldens after rebasing onto dev (t1548)
* feat(meetings): minimal floating meeting panel with copy new, copy all and agent prompt (t1508)
* test(meetings): upload the meeting capsule renders that miss their goldens (t1508)
* test(meetings): regenerate the finished meeting panel goldens (t1508)
* Sound volume is a slider (t1489)
* Keep the slider test's presses on the track (t1489)
* Drop the slider test's ambiguous a11y lookup (t1489)
* Show the sound volume slider inline in its row (t1489)
* Describe the sound volume slider in the feature map (t1489)
* Keep the slider test's presses on the narrower track (t1489)
* feat(captures): list Annotate's annotations and replays in the Captures pane (t1509)
* test(captures): goldens with an annotation row (t1509)
* goldens: the Captures pane's annotation row on the new Rune
* Bring Hex back after a System Settings grant and stop the early microphone prompt (t1547)
* Keep tones silent on an output that also records until the microphone is asked for (t1547)
* Annotate: route Ghostty captures by the terminal's OpenCode session and folder
* fix(capture): build the argv parser only where it's used (t1451)
* fix(capture): a TUI that moved off its command line's session names none (t1509)
* feat(labs): let listed browser origins call the local API
A web page from an http(s) origin listed in Labs › Browser access to the
local API can call Hex's authenticated loopback API with fetch. Its
unauthenticated CORS preflight is answered 204 for that exact origin, and
every response — 401, 404, and SSE streams included — carries that origin
and Vary: Origin. Requests still need the bearer token; nothing allows
credentials or *. Off, a missing Origin, or an origin not listed answers
exactly as before.
Origins save as scheme://host[:port] only: *, null, paths, queries,
fragments, and userinfo are dropped, a trailing / and a default port are
normalized away, and the scheme and host are lowercased.
* fix(local_api): refuse CORS for a duplicate Origin without rejecting it
A request with two Origin headers is routed exactly as before this lab
existed (401 unauthenticated, 200 authenticated) but never earns CORS
headers. The Labs origins field keeps exactly what was typed through its
own debounced save, so a port or trailing comma is never rewritten under
the caret. Docs name the pre-request errors that carry no CORS headers and
how IPv6 and non-ASCII origins are written.
* fix(macos): pause Helium with the other browsers
Helium (net.imput.helium) was missing from the browsers microphone
activity knows, so Also pause the browser never heard it and its
dictation pause went to whatever macOS had as Now Playing.
Add it to the browser list, its helper prefix (Chromium's audio service
reports net.imput.helium.helper), its Linux and Windows executables
(helium, helium-browser), and its display name. Meeting detection's
browser name matching and the feature maps learn it too.
* fix: finish Helium's browser recognition
Windows' BROWSER_STEMS missed helium, so its focused page was never read
through UI Automation and website modes saw no host. The browser tab-title
suffixes meeting detection strips missed " - Helium" too, so a Meet tab's
code was not extracted from a Helium title.
Add both, with the existing browser-stem and Meet-title tests extended.
* fix(settings): merge edits through one persistence owner (t1533)
* fix(modes): focus the adopted correction without duplicating it (t1533)
* fix(settings): publish reversions even before the host saw the save (t1533)
* fix(dictation): share processing and retain stop-time context (t1534)
* fix(dictation): keep queued jobs small and pass platform checks (t1534)
* fix(dictation): unpack queued job before moving its fields (t1534)
* fix(linux): say when live typing and live text can't show words
Live typing's Labs card now asks the Wayland registry once at window load;
without zwp_input_method_manager_v2 (GNOME) it stays listed, disabled while
off, with a note that this desktop offers no input method it needs and
dictations paste normally. `hex labs` prints the same note in its list and
after `hex labs on live-typing`, without refusing the toggle.
Live text's card names the catalog's streaming models when the selected
model can't stream, and on Linux says when Speech engine is set to CPU. A
capture that wanted live words but opened no stream logs why once per
capture, and a stream begun on a model that can't stream says so instead of
failing silently.
Docs updated for Labs, dictation, and the Linux beta.
* fix(linux): review fixes for the live typing and live text notes
An imported model's catalog entry says it can't stream, but its GGUF is only
checked when it loads: the Live text card never judges one, and the capture
log blames the device instead of the model.
The Live text card shows its note under the description, not instead of it,
and names only streaming models that take the saved language (or none when
none do). Live typing's CLI note is only for Wayland with a compositor that
has no input method Hex can use, and never for a managed feature.
The capture log says "no live stream yet" rather than claiming it for the
whole capture, and a stream request on no loaded model no longer says the
model can't stream.
* docs(labs): tidy the live typing checks list
* fix(linux): second review fixes for the live notes
The capture log says only that no live stream has opened yet and why, with no
claim about the rest of the capture or the paste. Row's doc comments now say
a note joins the description and that a desktop without the input method also
locks the switch.
The engine's stream log leaves model_streams off for an imported model, whose
GGUF alone decides. The CLI note uses the card's exact wording, and the Live
text suggestions skip models that aren't available here.
* linux: one key table for X11, portal and GNOME; keep shortcuts when re-registration fails (t1535)
* linux: keep the dictation listener under the file-size limit (t1535)
The test that waits on another process's download lock asserted its deadline
while the lock was still held, so a failure dropped it without setting
canceled: the worker could then take the lock and start the real network
download. It now holds the lock through a small Drop guard that sets canceled
before releasing it, so any panic in the test stops the worker first, and the
no-op thread-local reset on the main thread is gone.
The own-models map now says the lock covers the whole models folder, so the
progress shown is this model's partial file and stays flat while the other
process fetches a different model.
hex model install with no Hex running downloads in the CLI process, holding
models/.download.lock and growing models/<file>.gguf.partial. A Hex started
while that runs waited on the lock with downloaded_bytes stuck at 0, so
hex status --json, onboarding, and the picker showed 0% for the whole
download (and onboarding offered "Continue without a model" after 30s).
lock_downloads now takes a waiting callback, called on every WouldBlock
attempt, and download_artifact publishes the partial file's size as
downloaded_bytes while it waits. After the other process releases the lock
the existing receipt check adopts the finished file with no second download.
* fix: keep the dictation hud on every space after dock icon changes (#1725)
* fix: drop the panel state the HUD re-home check never builds
`Located::Missing` was never constructed: the pump returns before deciding
when Rune has not made the panel yet. macOS clippy rejects the variant, and
the hidden state already carries the same "leave the budget alone" rule.
* fix: repair the hud only when the dock icon policy changes
macOS already kept the text for Paste Last when its paste failed (#1724).
Windows and Linux returned the paste error before saving the new text, so
Paste Last re-inserted the previous dictation.
Linux now takes the paste as a closure and keeps the processed text when it
fails; the listener sets its last dictation inside delivery, so success and a
failed paste both keep it. Windows saves it beside the paste and still returns
the original error. History stays success-only, printed dictations are
unchanged, and a cancelled capture never reaches this point on either OS.