* 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.
* 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
* cli: hex dictation start --print keeps a dictation from pasting (labs)
A client that starts a dictation to insert the text itself loses it when
the person finishes the locked recording with the shortcut, or when a
microphone loss salvages it: Hex pastes or copies into the focused app.
`hex dictation start --print` (macOS, behind Labs › Print-only CLI
dictation / `labs.print_start`) blocks and answers with the transcript
however the recording ends, so nothing is pasted or copied. It is busy
while a dictation records, a plain `stop` answers done, `stop --print`
joins the same transcript, no speech exits 4, a cancel or failure exits
1, and it waits at most 31 minutes. Linux and Windows answer
unsupported; CONTROL_VERSION stays 4.
# Conflicts:
# src/labs.rs
# src/rune_ui/labs.rs
# tests/golden/rune-mac-labs-dark.png
# tests/golden/rune-mac-labs-light.png
# tests/golden/rune-mac-labs-link-dark.png
# tests/golden/rune-mac-labs-link-light.png
* cli: harden hex dictation start --print's endings
# Conflicts:
# src/labs.rs
* cli: bind the printing-start test's shortcut to Option
* labs: regenerate the Labs goldens for both new cards
* labs: keep the microphone open after dictating
With Release microphone while idle on, a capture that ends now leaves the
microphone open for a Labs window (`labs.keep_microphone_open` +
`labs.keep_microphone_open_seconds`: 30 s, 1, 3, 5, or 30 minutes, default
1 minute), so the next dictation takes the warm path with its pre-roll
instead of the cold open's asynchronous start. Off, every listener closes
exactly as before, and with the release setting off the lab does nothing.
One `audio::linger::MicrophoneLinger` decides it for macOS, Windows, and
Linux: the first idle pass after a capture arms the window, a capture clears
it, and only a later idle pass past the window closes, once nothing records,
no client dictates, no release tail runs, and no capture copies the
microphone. Windows and Linux move their repeated `release_while_idle &&
!wants_audio()` closes into that one check; macOS reconciles through it. The
switch takes the Labs state word's last free bit; the window has no room
there, so it lives in its own atomic, both written by `labs::apply`.
Also moves Linux's Live typing glue into `linux/dictation/typing.rs`, since
`linux/dictation.rs` was at the source cap, and regenerates the Labs goldens
for the new card.
* labs: release the lingering microphone where the old sites did
Review fixes for keep-microphone-open:
* macOS reconcile_input keeps origin/dev's branches: with a capture sink
open and an inactive input, recovery is still requested, and the lab's
window is cleared while a sink holds the microphone.
* A digital-silence finish closes a lingering microphone instead of
skipping recovery, so the next press opens a fresh stream. macOS does it
in reopen_silent_stream; Linux's moved to linux/dictation/silence.rs
(which also keeps linux/dictation.rs under the source cap). Windows has
no digital-silence path.
* Windows and Linux run the release check at the old event sites (a
submitted finish, a cancel, a discard before the open, a client's end)
through one small macro, so a press handled in the same pass still sees
a closed microphone when the lab is off. That check also releases a
microphone an interrupted recording left open, which the old
latch-based sites never did.
* Docs: drop the "exactly as before" claims, describe the extra close, the
Annotate capture-sink and local-API windows, macOS ending the window on
a stream interruption, and the Linux poll rather than an idle wait.
* clear() is real code now (the silence close); state()/apply() say why
the switch bit and the window atomic are written separately.
* labs: keep the lab's windows and spots exact
Follow-ups from review:
* Windows releases the microphone when a pending client dictation's start
gives up at the first chunk, which the old site closed too.
* macOS leaves a lingering microphone alone when a digital-silence finish
lands while a capture sink copies it, so Annotate gets no gap.
* The Linux silence test's released case opens the input first, so it really
covers "lab off, release while idle: no reopen, stream stays open".
* Docs say where a digital-silence finish ends the window (macOS and Linux,
not with a capture sink on macOS) and that Windows can linger on a
zero-only stream.
* more dictation shortcuts: up to four extras, each with its own mode
Labs › More dictation shortcuts (macOS) adds up to four more dictation
shortcuts beside the main one. Each saved row keeps its own binding and
activation mode, registers only while the Lab is on, and shares no key
with another active shortcut. Settings records, clears, and rebinds each
row; the listener runs every press through the same capture pipeline, so
each shortcut finishes with the mode it was pressed with.
* more dictation shortcuts: review fixes
* more dictation shortcuts: follow lone-modifier double-tap, narrow globe check
* more dictation shortcuts: doc nits
* more dictation shortcuts: rebase fixes
Moves the recorded-shortcut checks beside the rest of the shortcut text in
`control/settings/hotkeys.rs` so `control/settings.rs` stays under the
1,500-line ceiling, drops the `labs.rs` size exception now that dev moved the
Feature registry into `labs/feature.rs`, and counts Meeting notes file
alongside More dictation shortcuts in `Feature::ALL`.
* add hex transcribe for saved wav files (labs)
`hex transcribe <file> [--model] [--language]` prints a WAV recording's
transcript from Labs › Transcribe files, off by default. A running Hex
transcribes it on its dictation engine over the local API; with Hex stopped,
Linux and Windows load the model here and macOS answers not-running.
* fix hex transcribe refusals, read cap, and docs (labs)
- name a failed POST /transcriptions by the code in Hex's JSON body,
with one message per server code and status only as a fallback
- say the lab is managed instead of naming `hex labs on` under a lock
- read through the 64 MiB cap and reuse those bytes offline
- document that clips up to 30 s use the engine's model and longer
ones the service's own copy
- cover an early refusal during a large upload with a loopback test
* cli: select the model after an offline `model install`
With Hex stopped, `hex model install` downloaded and verified the model but
never wrote the selection, so `model status`, `check`, and `transcribe` kept
using the previous one, and no message said so.
The offline branch now selects it as the app's own switch would: a Hex that
started while the download ran takes the choice over `model use`, otherwise
the selection is saved under the Linux service lock `settings apply` uses,
so a starting Hex is never written behind. An already selected model is left
alone, so login-time installs don't rewrite settings.json.
Docs say the offline install selects now, and a new app_settings test covers
the persisted round trip keeping unrelated settings.
* cli: wait for a starting Hex before selecting an installed model
`model install` with no Hex running saved the selection under the
service lock, and failed at once when a Hex already held it. Wait for
that Hex to answer instead, as `settings apply` does, through one
shared hand-off so the two paths can't drift. An unchanged selection
answers without taking the lock.
* feat(linux): labs transform typed text shortcut (#1519)
* fix(linux): harden typed-text clipboard handling
* fix(linux): keep dictation clipboard fallback, sync typed-text keybinding
* refactor(control): keep shortcut text in its own settings module
settings.rs crossed the 1,500-line limit when Labs added the typed-text
key; the shortcut text parsing and formatting is the one self-contained
concern, so it moves to settings/hotkeys.rs unchanged.
* meetings: expire audio separately (labs)
Add a Labs › Expire meeting audio separately toggle, off by default. When on, Meetings › Settings shows Keep audio under Keep meetings and meetings.audio_retention can move only system.wav and microphone.wav to the Trash for completed meetings, keeping transcripts, notes, summaries, and the exported Markdown. The whole-meeting retention pass is unchanged and still runs first.
* tests: match words, not digits, in the event log redaction check
The assertion searched the whole log for "4321", which a millisecond
timestamp can contain.
* i18n: keep the string table under the source cap
Move the Rune Meetings pane and Apple Intelligence rows beside the main
table, joined when the per-language maps are built.
* meetings: keep renames during audio expiry
Re-read the manifest after moving WAVs so a concurrent rename and its export hash survive; use each track's manifest file name. Cover the race with a regression test.
Build every i18n table and completeness check from all_translations so the Meetings rows no longer fall back to English, and use the serial comma in the Keep audio description across languages. Document that a Keep audio window at or beyond Keep meetings has no effect and list the pane test.
* Meetings: one Summaries picker (Off, On this Mac, OpenCode)
* Widen the Summaries menu so both second lines fit
* Tap the Summaries trigger in tests and update goldens
* Fix the labs count after rebasing onto the platform icons graduation
* Update the Labs goldens
* Labs: Voice Filter and Playground are dev-only; cards show their settings inline, no drawer
* Labs: regenerate mac-labs-link goldens; drop an unused test helper
* Windows: ship hex.com, a console entry point beside the GUI hex.exe, on PATH
* lock, fmt, legacy adoption
* clippy
* build hex-console in its own cargo run: -p hex is ambiguous with the hex crate
* hex.com returns once the app starts; Ctrl+C only; install script and Setup replace a running hex.com; hex-console checks in Compile
* fmt
* installer test: exit 0 once every check passed
hex.exe is now a GUI program. Commands run from a terminal join it
(AttachConsole) and print there; the app leaves it after startup errors
have had their chance to print. Rune 31dbcad cloaks a window until its
first frame presents. Release checks assert the GUI subsystem.
* feat(annotate): prototype 15 s rolling replay buffer on macOS 27 (t1289)
* fix(capture): gate macOS-only replay imports and helpers on non-macOS (t1289)
* 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)
* Use speech models already on this computer (#594)
* Keep found-model state together
* CLI copy for found models
* Docs and onboarding hold test for models found on this computer
* Remove dictation cancel: Escape ends nothing (#786)
* Format and refresh the sound sets and commands goldens
* Release Escape before finishing in the held-capture test
* wip: import your own speech model (Labs)
* fix debug
* Show the imported file's name
* clippy
* Say why an import can't be used
* Golden for the picker's Add model file
* Docs, feature map, AGENTS.md for imported speech models
* Arm Remove before removing an import
* Merge recognition hints into the shared vocabulary
* Drop the unused text field helper
* Drop unused imports
* Cohere stands in for a model that ignores the vocabulary
* Update the picker golden for the Uses vocabulary badge
Records like the dictation shortcut and pastes the transcript as heard,
skipping replacements, corrections, transformations, and rewriting. Unbound
by default; set in the Output pane, raw_dictation_hotkey, or
hex dictation start|toggle --raw. History keeps it as Raw.
Suggested by @ksajan.
Linux and Windows now hand the local API's POST /control to the shared
control host, so the CLI reaches every OS through local-api.json and
call_control. The Linux socket's Request::Control and the Windows named
pipe (windows_control) are gone.
* One hex control CLI and protocol on every OS
One command tree (control::cli) on macOS, Linux, and Windows, carried by
each OS's owner-only transport: the macOS local API, the Linux socket's
Request::Control, and a new Windows named pipe (windows_control) that only
this user's SID can open and whose server the client verifies. Linux and
Windows share one host (control::host) through thin adapters; what an OS
can't do answers unsupported at runtime.
Windows gains dictation (with stop --print), paste-last, quit, restart,
start, a live status, and every annotate command; Linux and Windows gain
settings, model, window, vocabulary, history clear, check-for-updates,
launch-at-login, onboarding reset, logs, commands init|check, and annotate
status. hex status reports the OS's capabilities, settings name the
capability they need (set refuses, list marks), and a parity test requires
a recorded reason for every capability that differs across OSes.
* Windows control pipe: always hold an unconnected instance; check the client's user
* Shared control: meetings, history, and mcp on every OS now that the meetings store does
System audio from a PipeWire monitor (Linux) and WASAPI loopback (Windows),
call detection from PipeWire capture streams and Windows audio sessions,
the shared controller, capsules, pane, and tray items, and notes and live
chapters through OpenCode where Apple Intelligence isn't available.
Meetings stays in Labs, off by default.
* Lower audio, idle-sleep prevention and Bluetooth-mic avoidance on Linux and Windows
* fix
* fmt
* Ducking test covers every OS
* Linux idle-sleep falls back to an idle inhibitor outside the seat session
* fix borrow
* Docs: Lower audio, idle-sleep prevention and Bluetooth avoidance on every OS
* Switch model with keyboard language on Windows and X11 (#216)
* Verify installed models on Linux too
* Share installed-model verification with Linux
* Document keyboard model switching on Windows and X11
* Labs: a flat list of per-feature toggles, each off by default
* wip
* Labs: playground item from the window's launch state; Windows terminal paste test
* Labs: docs, AGENTS.md, goldens