mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
feat(frontend): hands-free voice conversation mode in the composer
The mic opens a voice loop that listens, sends on end of speech, reads each completed reply and reopens the mic when the agent is idle. The phase reducer, pause options and voice-mode instruction move to the shared package. TTS gains per-message completion and pause/resume. The old tap-and-drag recorder, its strip and its CSS are removed.
This commit is contained in:
1 parent
80ef211a94
commit
5d8b2c9445
34 files changed
+4876
-1302
No files matched your search
@@ -125,6 +125,42 @@ export {
|
||||
parseOpenCodeVersionOutput,
|
||||
} from './release'
|
||||
|
||||
export {
|
||||
DEFAULT_VOICE_PAUSE_MS,
|
||||
VOICE_NO_SPEECH_TIMEOUT_MS,
|
||||
VOICE_PAUSE_OPTIONS_MS,
|
||||
VOICE_PAUSE_STORAGE_KEY,
|
||||
formatVoicePauseMs,
|
||||
isVoicePauseOption,
|
||||
normalizeVoicePauseMs,
|
||||
parseVoicePauseMs,
|
||||
} from './voicePauseSetting'
|
||||
|
||||
export {
|
||||
INITIAL_VOICE_CONVERSATION_STATE,
|
||||
VOICE_MODE_INSTRUCTIONS,
|
||||
VOICE_MODE_INSTRUCTION_KEY,
|
||||
findNextUnspokenMessage,
|
||||
hasIncompleteAssistant,
|
||||
hasSpokenMessage,
|
||||
isVoiceTurnComplete,
|
||||
listUnspokenMessages,
|
||||
reduceVoiceConversation,
|
||||
voiceConversationHint,
|
||||
voiceConversationLabel,
|
||||
} from './voiceConversation'
|
||||
|
||||
export type {
|
||||
VoiceConversationEvent,
|
||||
VoiceConversationLabelInput,
|
||||
VoiceConversationState,
|
||||
VoicePauseReason,
|
||||
VoicePhase,
|
||||
VoiceSessionStatus,
|
||||
VoiceSpokenMessage,
|
||||
VoiceTurnCompletionInput,
|
||||
} from './voiceConversation'
|
||||
|
||||
export { OPENCODE_LIFECYCLE_STATES, OPENCODE_RECOVERY_ACTIONS } from './lifecycle'
|
||||
|
||||
export type { OpenCodeLifecycleState, OpenCodeLifecycleStatus, OpenCodeRecoveryAction } from './lifecycle'
|
||||
|
||||
Reference in new issue
Block a user