CharlesLiuZC/deepseek-harness-voice-context--packages-client-ui-voice-context ↗★ 2

@deepseek-ai/dsh-client-ui-voice-context

Voice-Context Web surface: mic button in the composer and an API-key settings page over the voice-context Remote 适合想在网页对话中用语音转写输入的用户,需配置云端或本地识别。

패키지
@deepseek-ai/dsh-client-ui-voice-context
호환성
미검증
Harness peer 범위
workspace:^
Cordis peer 범위
workspace:^
버전
0.1.0-rc.5
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

검증된 bundle이 없거나 호환성 검사에 실패했습니다. 먼저 저장소 설명을 읽어 주세요. 전체 README 읽기 ↗

@deepseek-ai/dsh-client-ui-voice-context

English | 中文

Voice-Context Web surface, browser half: a mic button in the conversation.input.left composer tool row (order 100) records an utterance, encodes it to base64, transcribes through ctx.remote.voiceContext.transcribe(...), and appends the text through inputActions.setDraft. A settings.section page (order 40) provides first-time routing between the cloud API and local SenseVoiceSmall/faster-whisper small, medium, or large-v3. The controlled backend/model pair is stored in browser local storage; no URL is browser-configurable. The cloud API key is written through credentials.set under SILICONFLOW_API_KEY; the page reads only configured/writable state, never the value. MediaRecorder output is decoded and re-encoded as 16 kHz mono 16-bit PCM WAV so every ASR backend accepts the container.

Model Experience

Indirectly, through the composer draft that reaches a model request only when the user submits it as an ordinary prompt.

KV Cache effect

None unless the user submits the transcribed draft; it then extends history like any other user message.

Known Limitations and Deferred Work

  • Inline status only — transcription errors surface on the mic button's tooltip, not through the composer notice channel.
  • No live transcript preview — the final transcript appears only after the Remote settles; streaming results are future work.
  • Browser-local selection — backend/model preference does not synchronize between browsers or profiles.