* loop: stt-warmup completed after 6 iterations
* refactor: extract STT startup helpers and simplify audio recorder
* feat(stt): add energy-based VAD with silence gate and auto-stop
- New VoiceActivityDetector class: adaptive noise floor, per-frame RMS
classification, trailing-silence endpointing, configurable thresholds
- AudioWorkletProcessor computes RMS in existing flush loop and posts
{samples, rms} instead of a bare Int16Array
- AudioRecorder integrates VAD via handleVadFrame() in both worklet and
ScriptProcessor paths; auto-calls stop() on trailing silence; silence
gate in processRecording() fires onNoSpeech instead of sending empty
audio to the transcription API (fixes Whisper hallucination bug)
- useSTT wires setOnNoSpeech to reset isProcessing/isRecording cleanly
without surfacing an error
- computeRms() exported helper for ScriptProcessor fallback path
* fix(stt): clear processing state when stopping a silent recording
stopRecording() called recorder.stop() before setIsProcessing(true). For
a silent take the recorder synchronously fires onNoSpeech (which sets
processing false), so the subsequent setIsProcessing(true) won and the
voice overlay was stuck in the processing state forever.
Set processing before stop() so the recorder callback (onNoSpeech or
onDataAvailable) has the final say on the processing flag.
* fix(stt): always emit a terminal signal so the voice overlay never sticks
Two remaining stuck paths after the silent-stop fix:
- processRecording() early-returned without firing onNoSpeech when a take
had no captured audio (e.g. a quick start/stop under one worklet flush,
totalSamples === 0). Now any non-emitting path (empty audio or no
detected speech) fires onNoSpeech, while a genuine abort still returns
silently.
- stopRecording() set isProcessing true even when the recorder was no
longer recording (double-stop or post auto-stop), where stop() skips
processRecording entirely and nothing clears the flag. Guard the
external path on recorder state before entering processing.
* loop: mediarecorder-stt completed after 6 iterations
* refactor(stt): extract shared helpers and cleanup
* refactor(stt): add separate arm/disarm thresholds for voice swipe
* fix(stt): prevent default touch behavior on voice gesture handlers
* feat(stt): add audio-level speech detection before emitting data
* fix: enable swipe-back suspension on more drawer and remove unused variable
* refactor(frontend): improve dialog component and settings navigation
* fix: disable route swipe suspension in MoreDrawer to prevent unintended navigation
* fix(frontend): enable swipe-back suspension on more drawer route
* refactor(frontend): improve mobile navigation drawer and tab bar
* feat: add schedules service and workspace hook with navigation updates
* chore: add workspace hook, schedules library, and tests
* fix: prevent MoreDrawer sentinel from undoing navigation
* feat: per-agent model selection and UI refinements (#217)
* feat: per-agent model selection and UI refinements
- Add agentModels store with setAgentModel/getAgentModel
- PromptInput uses session model priority and stores agent model on change
- useContextUsage derives model from assistant message instead of global
- Migrate sub-agent/subtask badges from purple to blue with refined styling
- Fix MoreDrawer sentinel to skip history-back on navigation
* refactor: improve per-agent model selection and task tool call status indicators
* feat: add repo management skill and internal repos API
* fix: improve assistant session launcher and UI components
* fix: update atomic-json test assertions
* refactor: split Assistant Mode instructions between AGENTS.md and assistant.md
* loop: todo-header-mobile completed after 3 iterations (#218)
* loop: stt-perf-1 completed after 5 iterations
* fix: load audio worklet per recording context
* fix: canonicalize assistant navigation routes
* fix: adjust scroll-up threshold for header visibility
* fix: update settings and skills handling with assistant redirect
* refactor: simplify context usage indicator and extract token sum helper
* feat: add currently selected model row to popover and fix responsive truncate
- Make STT API key optional and remove continuous mode field
- Consolidate TTS and STT settings into new Voice settings tab
- Convert audio recorder from MediaRecorder to AudioContext with WAV output
- Improve STT backend validation and response handling
- Update tests for optional API key scenarios
* fix session last active
* Feature/sst (#81)
* Use CSS field-sizing for textarea auto-height and abort STT recording on clear
* Fix invalid date display in git commits
* Use Unix timestamps for git log dates