forrestahha / dsh-voice-input

목록에 있음

Voice-to-text input plugin for the DeepSeek Harness Web UI

main도구 소스 보기

설치

npx -y @deepseek-ai/dsh plugin --profile web add github:forrestahha/dsh-voice-input

이 설치 명령은 GitHub 저장소 주소에서 생성된 확인되지 않은 시작점입니다.

README

유지 관리자가 작성한 문서 스냅샷입니다.

GitHub에서 보기 ↗
커밋 76c1c5a동기화 2026. 8. 18.

dsh-voice-input

English | 简体中文

Voice-to-text input for the DeepSeek Harness Web UI.

The plugin adds a microphone button immediately before the composer send button. It uses the browser's Web Speech API, streams recognition results into the current draft, and never submits the message automatically.

Features

  • Adds to the official conversation.input.right extension slot.
  • Supports standard and WebKit-prefixed SpeechRecognition implementations.
  • Uses the browser language, falling back to zh-CN.
  • Preserves natural spacing for Chinese, Japanese, Korean, and Latin text.
  • Stops recording when clicked again and aborts when the component unloads.
  • Requires no additional API key or host-side service.

Install

Install directly from GitHub into the Web profile:

dsh plugin --profile web add github:forrestahha/dsh-voice-input
dsh web

For a pinned installation:

dsh plugin --profile web add github:forrestahha/dsh-voice-input#v0.1.1

Open the Web UI, select a workspace, and click the microphone button. The browser asks for microphone access on first use.

Browser support

The plugin requires SpeechRecognition or webkitSpeechRecognition. Chromium-based browsers provide the broadest support. Unsupported browsers show a disabled microphone button instead of failing at startup.

localhost is treated as a secure context by modern browsers. If Harness is served from another machine, use HTTPS or the browser may refuse microphone access.

Privacy

The plugin does not store audio and does not add its own network calls. The Web Speech API implementation is controlled by the browser and may send audio to the browser vendor's speech service. Review your browser's privacy policy before recording sensitive material.

Development

Requirements: Node.js ^22.19.0 || >=24.0.0 and pnpm 11.

pnpm install
pnpm check

Install a local checkout for integration testing:

dsh plugin --profile web add /absolute/path/to/dsh-voice-input
dsh web

Design

The npm package is both a Harness bundle and a client plugin:

  • cordis.patch.yml inserts the package into the selected profile.
  • The Node entry is intentionally empty; dsh.client discovers ./client.
  • The browser entry registers VoiceInputButton in conversation.input.right.
  • Harness supplies the current input state and inputActions.setDraft() through slot props.

No agent-loop, model, session-log, or Host API behavior is changed.

License

MIT

프로젝트 파일 및 신호

표시된 항목은 디렉터리 스냅샷에서 감지된 공개 저장소 신호입니다.

테스트감지됨

저장소 정보

언어
TypeScript
라이선스
MIT
마지막 업데이트
2026. 8. 14. 오전 8:31

신중하게 설치하기

소스 코드, 권한, 수명 주기 스크립트, 의존성 및 네트워크 접근을 검토하고 신뢰하지 않는 플러그인은 격리 환경에서 테스트하세요.