Repository navigation
Remove automatic dictation cutoff - #9
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Recording disappeared after 4 minutes 55 seconds because AudioCapture called
record(forDuration: 295). ClearFlow now records until the user finishes or cancels. Unexpected recorder interruptions surface an error and retain recoverable audio for an explicit retry, rather than automatically transcribing and pasting.Long recordings stay file-backed and upload sequentially in parts of at most four minutes, within the existing local and optional Worker request limits. Silent parts do not discard speech elsewhere; failures and cancellation never deliver a partial result as complete. Pending temporary audio is deleted after success, cancellation, replacement or quit. No backend deployment or endpoint change is required.
Evidence
scripts/test-audio.shfailed when the simulated recorder clock advanced past the hardcoded deadline.After: the same capture test stays active at a simulated 60 minutes until explicit stop/cancel. File lifetime checks pass.
Merge Danger
Door: Two-way
Blast Radius: Dictation
Long recordings consume disk space and take longer to transcribe. Device/disk errors can still stop capture. A word crossing a part boundary may be less accurate. Ad-hoc signed app replacement may require renewed macOS permission approval.