Commit Graph
17 Commits
Author SHA1 Message Date
Dax 84ed9a52c8 labs: fold yearly stats into dictation stats (#1976)
* labs: fold yearly stats into dictation stats

* labs: strip retired yearly_stats key and keep it under a lock
2026-11-18 12:22:38 -05:00
Dax 0ec0438c22 history: yearly stats heatmap, time saved and busiest hour (#1971)
* history: add yearly stats rollup, time saved, and busiest hour

* history: fix clearing and seeding the usage rollup
2026-11-18 07:08:05 -05:00
Dax a2a583b95f history: chart the dictation stats dialog (#1962)
* history: chart the dictation stats dialog

The Lab's Stats dialog now leads with four headline tiles (dictations, words,
words per minute, and the daily streak), then charts dictations per local day
over the last 30 days with empty days left at zero and today's bar in the
accent colour, lists the top apps as bars against the busiest one, meters
Output's share of the text, and names each rewrite profile's median and
slowest latency. A section with nothing to show stays out.

HistoryStats gains the daily series and per-profile latency, both additive in
hex history stats --json. The dialog moves to rune_ui/history/stats.rs so
history.rs keeps its headroom, the big number is controls::STATS_NUMBER, and
the History strings live in desktop/i18n/history.rs.

Docs cover the new contents and JSON fields, and the scene fixture shows every
section.

* history: make the stats dialog honest about Output time and fit small windows

Output time now names each mode's whole Output processing, rewrite plus any
transformations, and leaves out runs that fell back (a failure or a deadline)
and runs that only applied the person's transformations, whose profile is the
processor's `CUSTOM_TRANSFORMATIONS` constant. The field and its JSON are
`output_time`, renamed from the unreleased `rewrite_latency`.

The dialog's body scrolls inside the window (never past the minimum 860×560),
keeping the title and Close put, and sizes to its content otherwise. Tile
numbers group their thousands, truncate instead of spilling, and use tabular
figures; profile names match app names; decimal seconds use a comma where the
language writes one. The chart's accessible label names today's and the
busiest day's counts.

The scene fixture is the worst case: five apps, four modes, long names, and a
six-digit word count. Docs and translations follow, and tests cover fallback
and transformation-only runs, the JSON field names, and the smallest window.

* history: group stats numbers by language and fit the dialog to its content

Number grouping and the decimal comma now live together in
desktop/i18n/numbers.rs, keyed on the interface language: thousands are "."
in German, Spanish, and Portuguese, a narrow no-break space in French,
Polish, Russian, and Ukrainian, and "," in English, Chinese, and Japanese,
while the decimal comma covers Polish and Spanish too. Stats numbers and
latency seconds call them instead of the English-only helpers, and the
numbers tests cover every language Hex ships.

When the sections fit, the dialog now draws no scroll body at all: no bar, no
edge-fade padding, and the counts and timings end on the Close button's edge.
The title and footer are measured rather than assumed, so the body's room
follows their real heights, and only a short window gets the scrolling body.
2026-11-18 03:38:56 -05:00
Kit Langton 5f01839ea8 feat(meetings): graduate meeting labs into normal behaviour and Meetings settings (#1821)
* Graduate six meeting labs, move four into Meetings settings, and throw capsules into corners (t1532)

* Regenerate goldens and count call rows from the provider list (t1532)

* 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)

* Drop the graduated labs from the Labs card and catalog (t1532)

* Keep the merged meeting files inside the source cap (t1532)

* Regenerate the Labs and Meetings goldens for the cleanup (t1532)

* Drop the graduated labs from the website catalog (t1532)

* Keep the throw's frame hook on every capsule (t1532)
2026-11-16 00:51:48 -08:00
Dax 3e69978e57 Labs #1616: play kept History recordings and show their path in hex history --json (#1619)
* Labs #1616: play kept History recordings and show their path in hex history --json

* Address review: read keep recordings from settings in hex history, stop playback on leave

* Stop history playback when the window closes

* Keep src/labs.rs under the 1,500-line size limit

saved_on moved to src/labs/cli.rs, where its only caller lives.
2026-11-10 01:58:31 -05:00
DaxandHex issue pipeline c322f88672 Fix #1264: meetings completion events for external consumers (#1265)
Automated fix from the Hex issue pipeline (run 1264-2026-11-04t12-45-58-184z).

Fixes #1264

Co-authored-by: Hex issue pipeline <noreply@anoma.ly>
2026-11-04 07:51:10 -05:00
DaxandHex issue pipeline effcfbf1d9 Labs #790: History dictation stats view (#803)
Automated fix from the Hex issue pipeline (run 790-2026-11-01t11-23-54-144z).

Fixes #790

Co-authored-by: Hex issue pipeline <noreply@anoma.ly>
2026-11-01 06:47:43 -05:00
DaxandHex issue pipeline 83d4bae695 Labs #633: meeting transcript export (#642)
Automated fix from the Hex issue pipeline (run 633-2026-10-31t18-28-49-917z).

Fixes #633

Co-authored-by: Hex issue pipeline <noreply@anoma.ly>
2026-10-31 14:35:33 -04:00
Dax 781a6566cb Dictate without processing: an optional second dictation shortcut (#451) (#607)
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.
2026-10-31 13:05:02 -04:00
Dax 3434eb5f35 Rename voice-control to hex everywhere, without migrations (#293)
* 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
2026-10-28 13:08:44 -04:00
Kit Langton 328e69190c Add live meeting chapters behind the live-chapters experiment
While a meeting records, one on-device Apple Intelligence pass per ~3 minutes
of rolling transcript names the new lines; Rust decides topic changes (name
overlap, two passes away, 90 s minimum) and stores chapters in the manifest.
After publication, one call per boundary labels nearby lines and moves the
boundary to the best split. Titles gain chapter names unless the user typed
them (title_source). Copy section in the Meetings pane and menu bar,
hex meetings chapters, show --chapter, and MCP get_chapters.
2026-10-24 08:14:31 -07:00
Kit Langton d221a4ac1e Edit the vocabulary in Settings and with hex vocabulary, and name it in rewrite prompts (experiment) 2026-10-23 20:49:38 -07:00
Kit Langton ed2d1c6b20 Meetings: strict offsets, --to 0 check, one history document per entry, deterministic matches, 1-edit common fallback, MCP from/to fields 2026-10-23 13:45:38 -07:00
Kit Langton c1d66f770a Meetings: --from/--to ranges for show and MCP; exact stems outrank fuzzy search matches
hex meetings show <id> --from/--to (mm:ss, h:mm:ss, or seconds) limits Markdown
and JSON to entries overlapping the range, on final and rolling transcripts.
JSON gains an additive range field. MCP get_transcript accepts from/to as
aliases of start/end. Inverted ranges and ranges starting after the meeting
are errors; a recording in progress runs until now.

Search: prefix 0.5, edit 0.35, Soundex 0.2 (was 0.8/0.7/0.45), with coverage
weighted the same way. Passages matching every term exactly rank first. Edit
and Soundex fallbacks apply only to terms with fewer than three exact passages
and skip words in more than 0.5% of passages (at least five), unless the term
has no exact hit and the word is one edit away. Shared with history --search.
2026-10-23 13:21:27 -07:00
Kit Langton 53726a2cc4 feat(meetings): in-call text from short Parakeet chunks; remove the Moonshine draft
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.
2026-10-23 00:01:13 -07:00
Kit Langton 04e77f8667 Rank dictation history with meeting search's fuzzy BM25
hex history --search ranks filtered, unexpired entries by final and raw text
with the same stemmed, fuzzy scorer as meetings search. JSON adds optional
score and snippet fields, so the contract stays version 1.
2026-10-22 23:55:04 -07:00
Kit Langton fd7445ea30 feat: add read-only history and meetings CLI for agents 2026-10-22 19:27:02 -07:00