# Labs Labs holds features we're unsure about, **especially features people asked for that we built**: they land in Labs, off by default, instead of shipping on. Each feature also has an **audience** (`labs::Feature::audience`, one `match` beside `on_this_os`, so a new feature must choose): `Everyone` ships in every build; `Dev` exists only in dev builds (`dev_build::is_dev_build`: debug, local `HEX_LOCAL_BUILD`, test `HEX_TEST_BUILD`, and dev-channel `HEX_BUILD_CHANNEL=dev` builds). A stable build never lists, accepts (`hex labs on`, `hex settings set`), or runs a Dev feature: `available()` drops it, its gate reads false even when `settings.json` says on, and the saved setting is kept untouched. In dev builds a Dev row carries a quiet "Dev" tag, and `hex labs` prints each feature's audience. Every feature below is `Everyone` today unless marked `(Dev)`. Each feature also has a **group** (`labs::Feature::group` in `src/labs/group.rs`, one exhaustive `match`, so a new feature must choose): Dictation, Output (paste, formatting, spoken punctuation), History, Meetings, Annotate, Shortcuts, or Models. There is no master switch. **Labs** is always the last item in the sidebar (Up and Down reach it from the last pane; pressing it while it shows keeps it open) and lists every Labs feature this OS has as a card (name, one-line description, toggle) under its group's collapsible header, each **off by default**, plus Send feedback and Run setup again. ```ts Feature Pane Toggle (settings.json, hex settings) On: what it does ├── Meetings (beta) yes meetings.enabled (macOS) Meetings joins the sidebar: call detection, recording, transcripts ├── Voice Filter (Dev) yes experimental.hex_microphone (macOS, Linux) Voice Filter joins the sidebar; feeds the Hex Microphone (macOS driver, Linux PipeWire source) │ a stable build never feeds it; with the macOS driver installed it keeps the pane with Uninstall alone ├── Playground (Dev) yes labs.playground a Playground sidebar item and ⇧⌘D open the story browser ├── Live text no labs.live_text provisional words beside the HUD while dictating; its card says when the selected speech model can't stream (Linux: or Speech engine is CPU), so no words would show ├── Failure notices no labs.failure_notices when a dictation fails, its explanation sits beside the HUD for about 6 s, or until the next capture starts ├── Live typing no labs.live_typing (Linux Wayland) provisional words as an underlined input-method preedit in the focused field; the final text is committed there instead of pasted; on a compositor that offers no input method (GNOME) its card is disabled with a note and `hex labs` says so ├── Settings search no labs.settings_search a search field atop General filters its rows, Advanced's included ├── Appearance no labs.appearance + labs.appearance_theme (system/light/dark, default system) the main window is forced light or dark instead of following the system; the onboarding HUD preview and the Sounds sheet's HUD replay inside the window, and every overlay window, keep following the OS. On Windows the title bar follows too, through its background and light/dark mode; Windows 10 has no caption colour, so DWM keeps its own light or dark caption background (builds before 19041 keep the OS caption) while its text and buttons follow ├── Release notes link no labs.release_notes_link the sidebar footer links this build's release notes: the dev changelog on a dev build, GitHub's release on a stable version ├── Live chapters no labs.live_chapters (macOS) chapters a meeting while it records, boundary pass after Stop ├── Vocabulary biasing no labs.vocabulary_biasing Parakeet transcription biased toward the vocabulary (#452/#457) ├── Screen vocabulary no labs.screen_vocabulary (macOS) names and terms in the focused window become temporary vocabulary for each dictation; read locally through Accessibility, never saved, password fields skipped ├── Switch model with keyboard language no keyboard_model_switching.enabled (macOS, Windows, X11) │ the input source picks its mapped model (#216); General shows the mappings while on ├── Switch model with app no labs.app_model_switching (macOS, Windows) │ each mode, Global included, picks a speech model and language; Modes shows the choice │ while on, and Hex switches when the app in front changes. Both OSes match by │ application, never by website, and Hex's own window is ignored; Linux has no │ runtime for it; a switch never downloads a model ├── Mouse shortcuts no labs.mouse_shortcuts (macOS) mouse buttons record as shortcuts (#209) ├── Also pause the browser no pause_browser_media (macOS) pause a playing tab too, with Pause media (#301); General shows its permission row ├── Share dictation shortcut no share_dictation_shortcut (Windows) apps such as Discord see the shortcut too (#176) ├── Unload model when idle no labs.unload_idle + labs.unload_idle_minutes (5/15/30/60, default 15) │ the engine frees the speech model after that long unused (#442) ├── Keep mic open after dictating no labs.keep_microphone_open + labs.keep_microphone_open_seconds (30/60/180/300/1800, default 60) │ with Turn off the mic when not dictating on, the microphone stays open for that │ long after a capture, so the next dictation starts at once ├── Restore shortcut default no labs.restore_shortcut_default Paste last dictation's row offers its default back (#613) ├── Keep dictation on clipboard no labs.keep_on_clipboard (every OS) a pasted dictation stays on the clipboard; the previous one is not restored (#200) ├── Copy dictation only no labs.copy_only (macOS, Windows) a dictation goes to the clipboard and is never pasted; Paste last dictation still pastes (#629) ├── Return to app no labs.return_to_app (macOS) a dictation pastes into the app it started in, switching back to it first when another app came forward ├── Print-only CLI dictation no labs.print_start (macOS) hex dictation start --print answers with the transcript however the recording ends; never pasted or copied ├── Voice prompt no labs.voice_prompt + labs.voice_prompt_phrase ("rewrite this", every OS) │ a spoken phrase inside a dictation hands the mode's OpenCode model a one-off │ instruction for that dictation; without one, processing is unchanged │ // checks: the tests in dictation/voice_prompt.rs (whole-word matching, the last │ // occurrence, the outcome table, phrase validation); a_spoken_instruction_replaces_ │ // the_rewrite_and_carries_context and a_voice_prompt_with_nothing_to_ask_pastes_ │ // nothing_and_runs_no_transformations (dictation/processor.rs); │ // voice_prompt_is_its_own_atomic_and_carries_its_phrase (labs.rs); │ // a_voice_prompt_phrase_needs_two_words_and_six_letters (control/settings.rs); │ // an_invalid_voice_prompt_phrase_loads_the_default_and_keeps_its_switch │ // (app_settings/persistence/tests.rs); voice_prompt_shows_its_phrase_on_its_card_while_on │ // (rune_ui/tests/panes.rs); not observed with a real dictation, and no request │ // ran against a live model ├── Spoken formatting no labs.spoken_formatting spoken "new line"/"line break", "new paragraph", "open/close quote", "quote … unquote" become line breaks and quotation marks; Spanish "nuevo párrafo", "nueva línea", "abre/cierra comillas", … too (#630, #1040) ├── Spoken symbols no labs.spoken_symbols spoken "hashtag", "underscore", "comma", … become symbols joined to their words: "#release", "my_variable", "done, thanks"; Spanish "arroba", "guion bajo", "coma", … too (#678, #1040) ├── Remove filler words no labs.filler_words English dictations lose um, umm, uh, uhh, erm, er, ah, with no model (#631) ├── Subtitle export no labs.subtitle_export (macOS) hex meetings show --srt|--vtt writes a meeting as timed subtitles (#633) ├── Second dictation shortcut no labs.second_dictation_shortcut + second_dictation_hotkey │ another shortcut dictates like the main one (#627); General shows its recorder while on ├── More dictation shortcuts no labs.more_dictation_shortcuts + extra_dictation_hotkeys (macOS) │ up to four more shortcuts that each dictate like the main one, each with its own │ mode; General shows a numbered row with a recorder, a shortcut mode, and Remove for each while on ├── Terminal paste shortcut no labs.terminal_paste_shortcut + terminal_paste_hotkey (Windows, Linux) │ another shortcut dictates like the main one and always pastes with Ctrl+Shift+V; General shows its recorder while on ├── Caps Lock dictation no labs.caps_lock_dictation + labs.caps_lock_light (macOS) a Caps Lock press starts and stops hands-free dictation; its light waits for the microphone, then shows recording (steady or slow blink), processing, and off ├── Smart spacing no labs.smart_spacing (macOS) a dictation pasted right after a word gets one leading space (#632) ├── Sided modifier chords no labs.sided_modifier_chords (macOS) the recorder keeps each modifier's side in a modifier-only chord: R⌘ R⌥ (#710) ├── Tap or hold no labs.tap_or_hold (macOS, Linux) in Toggle mode, a press held past 300 ms dictates until it lifts; a short tap still locks (#711, #1144) ├── Double-tap on a lone modifier no labs.double_tap_modifiers (macOS) Double-tap shortcut mode takes a shortcut without a key (one or more modifiers), such as Option, Globe, or ⌃⌥; two complete taps start hands-free, one tap or a hold does nothing ├── Sort and filter models no labs.picker_sort_filter the Local transcription picker sorts by recommendation, size, or name and can show only models for the saved language (#645) ├── Benchmark details no labs.benchmark_details picker rows show raw WER/CER (lower is better), language, dataset, source, and conditions; incomparable "Most accurate" badges drop (#647) ├── Parakeet Ultra no labs.parakeet_ultra the picker offers Moondream's Parakeet Ultra (pinned Q8_0, CC BY 4.0) with a details view; stays on while it dictates (#648) ├── Special keys alone no labs.standalone_special_keys (Linux, Windows) Linux: Menu, Pause, Scroll Lock may be a shortcut's key, alone or with modifiers (#767); Windows: Insert, Home, End, Page Up, Page Down may stand alone (#794) ├── Section key alone no labs.section_key_alone (Linux, macOS) the key left of 1 on ISO keyboards, § or a dead key such as ^, may be a shortcut with no modifier (#1050) ├── Dictation stats no labs.history_stats History's Stats button opens a summary of retained dictations; hex history stats prints it (#790) ├── Select multiple dictations no labs.history_multi_select History selects several dictations with Shift-click, Cmd-click (Ctrl on │ Windows and Linux), or a drag, and copies or deletes them together ├── Copy recent dictations no labs.recent_dictations (macOS) the menu bar's Copy Recent Dictation submenu copies one of the last five dictations (#877) ├── Skip long pauses no labs.skip_pauses (Linux, Windows) a whole-clip dictation run hears only the head and tail of each long pause (#899) ├── Stop when the call ends no labs.stop_when_call_ends (macOS) a recording Hex started on its own stops 30 s after its call app leaves the microphone and goes quiet (#835) ├── More call apps no labs.more_call_apps (every OS with Meetings) Signal, Telegram, WeChat, LINE, Webex, Element, and Phone calls are offered, │ and calls on Google Voice, Messenger, FaceTime, GroupMe, and Webex pages are named ├── Fix results in Output no labs.output_fixes Output's Try card offers Vocabulary and Fix this, which copies an agent prompt naming the wrong result (#989) ├── Process API transcripts no labs.api_processing (every OS) apps using Hex's local API can add process=global to │ POST /transcriptions and POST /streams/{id}/finish to get the text after Global │ mode's replacements, corrections, rewrite, and transformations; off, responses │ stay raw transcripts as before │ // checks: local_api::processing route tests (409, 403, 400, 429, processed, absent); │ // not observed on macOS or Windows, and no /transcriptions success without a model ├── Timestamps in API transcripts no labs.api_timestamps (every OS) apps using Hex's local API can add │ timestamps=segment|word to POST /transcriptions for the speech model's own │ segment or word times (startMs, endMs); off, a timed request answers 403 │ timestamps-disabled and responses stay as before │ // checks: local_api::timestamps (parse, 403 before the body, response fields, │ // clamping, empty arrays), transcription::service (the 422 decision), and │ // gguf_session (chunk offsets); no real-model transcript with times ├── Browser access to the local API no labs.api_browser_access + labs.api_browser_origins (every OS) │ a web page served from one of the listed origins can call Hex's local API with │ fetch: its unauthenticated OPTIONS preflight for that exact origin answers 204 │ with Access-Control-Allow-Origin, the methods and headers, and a 10-minute │ preflight cache, and every response (401, 404, and SSE streams included) carries │ Access-Control-Allow-Origin and Vary: Origin. Requests still need the API │ token, and no response allows credentials or `*`. Off, an origin not listed, │ or no Origin header answers exactly as before (OPTIONS is 401, no CORS headers). │ Entries are scheme://host[:port] only: *, null, paths, queries, fragments, │ and userinfo are ignored, a single trailing / and a default port are dropped, │ and scheme and host are lowercased. An IPv6 origin takes the browser's │ compressed form (http://[::1]:5173) and a non-ASCII host its punycode │ (xn--…), since a request's Origin is matched exactly. Errors answered before │ a request is read (400, 408, 431, and 503 when the connection queue is full) │ carry no CORS headers │ // checks: local_api::browser_access_is_off_unless_the_lab_lists_the_origin, │ // an_allowed_origin_gets_its_preflight_without_a_token, │ // a_duplicate_origin_header_never_earns_cors_but_still_routes, │ // authenticated_responses_carry_only_the_allowed_origin, │ // a_streams_events_response_carries_the_allowed_origin; │ // app_settings::browser_origins normalization tests; │ // api_browser_access_is_its_own_switch_and_keeps_normalized_origins (labs.rs); │ // browser_access_shows_its_origins_on_its_card_while_on and │ // browser_access_keeps_its_typing_through_its_own_save (rune_ui); not observed │ // from a real browser page, and no live macOS or Windows request ├── Model in use first no labs.picker_active_first the speech model picker shows the model in use first: Compare's first column, Every model's first row (#1019) ├── Use model files where they are no labs.model_in_place the picker adds a model file without copying it, so accounts can share one (#941) ├── Downloaded models only no labs.picker_downloaded the picker's All speech models view can show only downloaded models, with the space Hex's copies take (#1018) ├── Transcribe files no labs.transcribe_files (every OS) `hex transcribe ` prints a saved WAV recording's transcript │ from the selected model (or --model); any length is read in ≤30 s pieces and their text │ joined with one space; Hex running sends one piece at a time to POST /transcriptions with │ that model named (each on the dictation engine's loaded copy when it holds that model), Hex │ stopped loads the model here once on Linux and Windows (macOS answers not-running); the whole │ WAV is checked here; silent pieces are skipped once the speech detector is installed; no paste, History, or processing │ // checks: the_lab_off_refuses_and_names_its_toggle, │ // a_file_that_is_not_wav_is_refused_before_any_transcription, │ // a_wav_uses_the_selected_model_and_language, every_piece_hearing_nothing_is_no_speech, │ // pieces_join_with_one_space_in_order, a_truncated_file_is_refused_before_any_transcription, │ // a_piece_is_kept_without_the_detector_and_it_is_not_consulted, │ // an_installed_detector_skips_a_piece_it_hears_nothing_in, │ // a_refusal_follows_hexs_code_rather_than_its_status │ // (control/cli/transcribe.rs); pieces_cover_every_sample_exactly_once_in_order, │ // a_48_khz_file_is_read_in_pieces_of_at_most_thirty_seconds, │ // every_supported_sample_format_matches_the_whole_file_decoder, │ // streamed_samples_match_the_whole_file_decoder (control/cli/transcribe/pieces.rs); │ // a running service answered model-unavailable for an uninstalled │ // model, but no transcript answer or offline model load was observed, and nothing ran on macOS or Windows ├── Keep recordings no labs.keep_recordings History entries keep their dictation audio; Play hears it, and Transcribe again runs it through another installed model (#1032) ├── Hide menu bar icon no labs.hide_menu_bar_icon (macOS) the menu-bar icon hides while no meeting is under way; shortcuts keep working, reopening Hex shows Settings (#1064) ├── Pause from menu bar no labs.pause_menu (macOS) the menu bar's action block offers Pause Hex; while paused every capture shortcut and the secure-input hotkeys are inert, the event tap passes keys through, and Resume waits for a neutral keyboard (#82) ├── ⌘Q closes Settings no labs.quit_closes_window (macOS) the app menu's Quit Hex (⌘Q) closes the Settings window instead of quitting Hex; dictation keeps running, the menu bar icon still quits (#1473) ├── Notch indicator no labs.notch_indicator (macOS) on a screen with a notch, the HUD widens the notch sideways in the Dynamic Island's compact style at either visible position: an orange mic and level bars, the macOS spinner, a green checkmark; Hidden still hides it, and flat screens keep the Top/Bottom setting ├── Movable meeting capsules no labs.movable_meeting_capsules (macOS) panel capsules (Meeting transcript ready, Recording automatically, offers, reminders) drag to another corner and show in the last one, shared with the recording capsule (#1093) ├── Vocabulary in meeting notes no labs.meeting_notes_vocabulary (every OS with Meetings) │ final meeting titles and summaries (and Regenerate summary) read the vocabulary ahead of the transcript (#1154) ├── Meeting finished event no labs.meeting_finished_event (every OS with Meetings) │ the local API's GET /meetings/events sends each finished meeting's id once its final transcript is written (#964) ├── Follow live transcript no labs.follow_live_transcript (every OS with Meetings) │ a recording meeting's transcript card keeps its newest line in view while scrolled to │ the bottom; scroll up to read, back to the bottom to follow again (#1332) │ // check: only_a_recording_transcript_follows_and_only_with_its_lab (rune_ui/meetings.rs, │ // Linux and Windows); not observed on a real call; Labs page goldens need regenerating ├── Import audio no labs.meeting_import (macOS) Meetings offers Import audio…: a WAV, M4A, MP3, AIFF, or CAF │ file is decoded locally, transcribed with the selected model, saved as a normal │ meeting (Speaker turns), exported as Markdown, and given notes as a finished recording ├── Descriptive meeting file names no labs.meeting_descriptive_filenames (every OS with Meetings) │ once notes or a rename give a meeting a title, its exported Markdown is renamed │ in place to