13 Commits
Author SHA1 Message Date
Dax a38f6cb709 local api: native segment and word timestamps behind a labs toggle (#1658)
* local api: native segment and word timestamps behind a Labs toggle

POST /transcriptions takes timestamps=none|segment|word. Absent means
none and the response is unchanged. segment adds timestampGranularity
and segments; word adds segments and words, with text, startMs, and
endMs in whole milliseconds from the submitted audio's start.

The times are the model's own: the GGUF capabilities metadata decides
what it can produce, Apple Speech gives segments, and nothing estimates
or downgrades a level. A model without the requested level answers 422
unsupported-timestamps, decided after the model resolves on both the
shared dictation engine and the service's own copy. Chunked long clips
add each chunk's offset once from its sample position, and ends padded
past the decoded audio are clamped to durationMs.

Labs › Timestamps in API transcripts (labs.api_timestamps) gates it and
is off by default; off, a timed request answers 403 timestamps-disabled
before the audio body is read. The SDK takes timestamps and decodes the
new fields.

* local api timestamps: review follow-ups

* local api timestamps: correct embedded helper docs

* local api timestamps: align labs doc wording with the service spec
2026-11-10 17:07:52 -05:00
Dax 1843603caa local api: optional output processing behind a lab (#1597)
* local api: optional output processing behind a lab

* local api: share one processing state with listeners

* local api: process one transcript at a time

* docs: clarify the processing route checks
2026-11-09 10:35:05 -05:00
Kit Langton f249917ef6 refactor: simplify codebase and align desktop UI with OpenCode 2026-10-06 23:29:09 -07:00
Kit Langton 7b0c6f659c refactor: remove redundant desktop and transcription work 2026-09-22 17:24:01 -07:00
Kit Langton 04a42dae3d refactor: consolidate settings commits, transcription padding, and SDK framing
Settings controls commit a full candidate before changing the saved UI choice,
so a failed write keeps shortcut capture open and preserves pending debounced
edits. The macOS Transcriber owns backend input padding for ordinary,
voice-protocol, and segmented transcription. Moonshine stream cleanup and the
Linux client share one owner-side path. The command SDK shares capture
normalization between constructors and host registration, and the public SDK
decodes model progress and dictation levels with one bounded SSE framer. The
signing scripts share one identity helper, and historical release evidence
moves out of the feature map.
2026-09-22 17:08:43 -07:00
Kit Langton 7353e511d9 refactor: remove unused desktop and capture bookkeeping (#60)
Remove unused desktop projections, constant ingestion returns, and redundant recording-session state. Preserve capture behavior, shortcut recovery, and public SDK interfaces.
2026-09-01 09:45:51 -04:00
Kit Langton c5bffe32fa feat(sdk): add ready model-bound transcribers (#57)
* feat(sdk): add ready model-bound transcribers

* fix(sdk): simplify progress and preserve cleanup failures
2026-08-31 18:49:57 -04:00
Kit Langton e1637536fc fix: recover startup audio and update Effect SDKs (#39)
* fix(audio): recover from startup microphone failures

* fix(sdk): support Effect 4.0.0-rc.112

* chore(release): prepare Hex 2.1.4

* fix(commands): migrate managed Effect dependencies safely

* fix(commands): refresh cached local SDK dependency metadata
2026-08-28 16:24:25 -04:00
Kit Langton c5ba7d47cd fix: harden dictation and OpenCode integration
Move generation bodies and credentials off argv, match active service registrations, and align catalog IDs and model variants with the audited V2 contract.\n\nPreserve onboarding across imported settings, serialize paste settling, bound pending outputs, and fix capture, SDK, and Linux startup regressions. Add regression coverage, dependency patches, icon notices, and the V2 compatibility baseline.
2026-08-26 16:59:53 -04:00
Kit Langton 5b1d089612 fix: reject incompatible capture APIs 2026-08-06 20:09:39 -04:00
Kit Langton 135d9a0f8d feat: expose running app dictation SDK 2026-08-06 17:46:33 -04:00
Kit Langton d9e5066ce7 feat: add automatic transcription language detection 2026-07-30 13:16:49 -04:00
Kit Langton 3e166524bc feat: expand dictation tooling and TypeScript SDK 2026-07-22 20:58:27 -04:00