wuxinzhe/dsh-cyberdog-speech-sherpa

Plugin ⭐ 2 MIT web-ui

Install

dsh-speech-sherpa/
├── index.mjs            # host 插件(Cordis):注册 3 个工具 + HTTP 路由
├── remote.mjs           # HTTP 路由(/speech-api/*,浏览器录音按钮直调)
├── http-body.mjs        # HTTP 请求体读取
├── core/                # 平台无关核心(STT/TTS/模型管理/WAV 编解码)
│   ├── index.js         #   createSpeechService() 门面
│   ├── models.js        #   模型管理(状态/下载/断点续传/镜像回退)
│   ├── stt.js           #   语音识别(wav 文件 / data URL)
│   ├── tts.js           #   语音合成(data URL / wav 文件)
│   └── wav.js           #   WAV 编解码 + 8kHz→16kHz 重采样
├── client/              # 浏览器端插件(录音按钮)
│   ├── index.ts         #   源码(TSX)
│   └── dist/client.js   #   构建产物(CJS factory bundle)
├── cordis.bundle.yml    # dsh bundle patch(dsh plugin add 安装)
├── cordis.patch.yml     # --patch 开发加载示例
└── scripts/
    ├── build-client.mjs # 构建 client bundle(esbuild)
    └── verify-dsh.mjs   # 插件契约验证(mock cordis ctx)

Add wuxinzhe/dsh-cyberdog-speech-sherpa to your DSH config (web profile) to enable.

README

Expand full README Collapse

README is empty.