hex/tests/golden/rune-linux-labs-light.png
Dax d182cba937
add hex transcribe for saved wav files (labs) (#1579)
* 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
2026-11-09 06:51:42 -05:00

210 KiB
1960x1520px