@deepseek-ai/dsh-experimental-voice-input-bundle 0.1.7-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +77 -0
- package/README.zh.md +77 -0
- package/cordis.patch.yml +13 -0
- package/icon.svg +9 -0
- package/lib/index.js +1 -0
- package/lib/types/index.d.ts +3 -0
- package/locale/en.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +54 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.i18n.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
2
|
+
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
|
+
# after editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/experimental/voice-input-bundle/README.md
|
|
5
|
+
README.md: 48320f7430bd9f1343492e49d3199c180970acad
|
|
6
|
+
README.zh.md: f0a5b49741966b2e139ec5f803c15ddd79d12043
|
package/README.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Enable experimental speech input from the plugin manager."
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @deepseek-ai/dsh-experimental-voice-input-bundle
|
|
7
|
+
|
|
8
|
+
English | [中文](README.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
This optional bundle composes a speech Service Definition, local SenseVoice provider, authenticated Remote and browser microphone control. Shipped profiles leave it disabled.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Use this package](#use-this-package)
|
|
17
|
+
- [Understand the implementation](#understand-the-implementation)
|
|
18
|
+
- [Further Exploration](#further-exploration)
|
|
19
|
+
- [Model Experience](#model-experience)
|
|
20
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
21
|
+
- [Dev Note](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## Use this package
|
|
27
|
+
|
|
28
|
+
Open Plugins in the Web sidebar and enable Voice Input, marked by a blue waveform icon. If models need preparation, a dialog offers Go to setup or Later; Go to setup opens the bundle details. Complete caches need no setup prompt. In the details, choose Download and prepare; the collapsed current-step summary expands to the complete step list. Downloads report actual bytes; verification and loading show elapsed time. Once ready, click the microphone between the model selector and Send, then Stop to insert a transcript. Bundle details store the recognizer and language through the Settings service. Disabling the bundle cancels active work; cached assets remain on disk.
|
|
29
|
+
|
|
30
|
+
-----
|
|
31
|
+
|
|
32
|
+
<a id="understand-the-implementation"></a>
|
|
33
|
+
## Understand the implementation
|
|
34
|
+
|
|
35
|
+
<details>
|
|
36
|
+
<summary>Maintainer details — click to expand</summary>
|
|
37
|
+
|
|
38
|
+
The static `cordis.patch.yml` adds the four voice rows, selects `sensevoice-local` as the default recognizer and supplies the provider cache directory with `dshHomePath`. Optional-bundle installation makes the package available to management without selecting it in default profiles. The browser contribution owns its generated Remote mount; stable API Remotes do not import experimental code. No runtime invariant companion is published because this configuration-only package has no independently mutable runtime state.
|
|
39
|
+
|
|
40
|
+
</details>
|
|
41
|
+
|
|
42
|
+
-----
|
|
43
|
+
|
|
44
|
+
<a id="further-exploration"></a>
|
|
45
|
+
## Further Exploration
|
|
46
|
+
|
|
47
|
+
[Voice input subsystem](../../../docs/subsystems/voice-input.md)
|
|
48
|
+
|
|
49
|
+
-----
|
|
50
|
+
|
|
51
|
+
<a id="model-experience"></a>
|
|
52
|
+
## Model Experience
|
|
53
|
+
|
|
54
|
+
None, as recordings and preparation remain outside model requests; ordinary user submission owns any later text.
|
|
55
|
+
|
|
56
|
+
#### KV Cache effect
|
|
57
|
+
|
|
58
|
+
No direct effect; ordinary submission owns the message content.
|
|
59
|
+
|
|
60
|
+
## Known Limitations and Deferred Work
|
|
61
|
+
|
|
62
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
63
|
+
|
|
64
|
+
- The initial bundle supplies one local recognizer. Additional providers register with the same service under distinct ids; cloud recognition requires an explicit new provider and credential configuration. The bundle does not add a model tool or change the agent loop.
|
|
65
|
+
- Installing dsh also installs `sherpa-onnx-node` and its platform-specific native runtime, including ONNX Runtime, even when this bundle is disabled. Runtime installation adds disk and download costs separate from the models downloaded by Download and prepare; the native package size varies by platform and version.
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="dev-note"></a>
|
|
70
|
+
### Dev Note
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>Maintainer details — click to expand</summary>
|
|
74
|
+
|
|
75
|
+
None.
|
|
76
|
+
|
|
77
|
+
</details>
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "从插件管理页启用实验性语音输入。"
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @deepseek-ai/dsh-experimental-voice-input-bundle
|
|
7
|
+
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
此可选 Bundle 组合语音服务定义、本地 SenseVoice Provider、带认证的 Remote 与浏览器麦克风控件。随包配置默认禁用。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [使用此包](#use-this-package)
|
|
17
|
+
- [理解实现](#understand-the-implementation)
|
|
18
|
+
- [进一步探索](#further-exploration)
|
|
19
|
+
- [模型体验](#model-experience)
|
|
20
|
+
- [已知限制与后续工作](#known-limitations-and-deferred-work)
|
|
21
|
+
- [开发备注](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## 使用此包
|
|
27
|
+
|
|
28
|
+
打开 Web 侧栏的插件管理页并启用带蓝色声波图标的“语音输入”。模型需要准备时,弹窗提供“前往安装”和“稍后”选项;“前往安装”打开 Bundle 详情。缓存完整时不会提示安装。在详情中选择“下载并准备”;默认折叠的当前步骤摘要可展开为完整步骤列表。下载报告真实字节,校验和加载显示等待时间。就绪后点击模型选择器与发送按钮之间的麦克风,再点击停止以插入转写文字。Bundle 详情通过 Settings 服务保存识别器和语言。禁用 Bundle 会取消当前任务;缓存资源保留在磁盘上。
|
|
29
|
+
|
|
30
|
+
-----
|
|
31
|
+
|
|
32
|
+
<a id="understand-the-implementation"></a>
|
|
33
|
+
## 理解实现
|
|
34
|
+
|
|
35
|
+
<details>
|
|
36
|
+
<summary>维护者信息 — 点击展开</summary>
|
|
37
|
+
|
|
38
|
+
静态 `cordis.patch.yml` 添加四个语音条目,选择 `sensevoice-local` 作为默认识别器,并通过 `dshHomePath` 提供 Provider 缓存目录。可选 Bundle 安装使插件管理器能够发现此包,但不会在默认配置中选择它。浏览器贡献拥有其生成 Remote 的挂载;稳定 API Remotes 不导入实验性代码。此纯配置包没有独立可变的运行时状态,因此不发布不变量伴随模块。
|
|
39
|
+
|
|
40
|
+
</details>
|
|
41
|
+
|
|
42
|
+
-----
|
|
43
|
+
|
|
44
|
+
<a id="further-exploration"></a>
|
|
45
|
+
## 进一步探索
|
|
46
|
+
|
|
47
|
+
[语音输入子系统](../../../docs/subsystems/voice-input.zh.md)
|
|
48
|
+
|
|
49
|
+
-----
|
|
50
|
+
|
|
51
|
+
<a id="model-experience"></a>
|
|
52
|
+
## 模型体验
|
|
53
|
+
|
|
54
|
+
无,因为录音与准备不进入模型请求;之后的文字由普通用户提交拥有。
|
|
55
|
+
|
|
56
|
+
#### KV 缓存影响
|
|
57
|
+
|
|
58
|
+
没有直接影响;普通提交拥有消息内容。
|
|
59
|
+
|
|
60
|
+
## 已知限制与后续工作
|
|
61
|
+
|
|
62
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
63
|
+
|
|
64
|
+
- 此 Bundle 提供一个本地识别器。额外 Provider 使用不同 id 注册到同一服务;云端识别需要显式增加 Provider 与凭据配置。Bundle 不增加模型工具或修改智能体循环。
|
|
65
|
+
- 安装 dsh 时会一并安装 `sherpa-onnx-node` 及其平台原生运行时(含 ONNX Runtime),即使此 Bundle 处于禁用状态。运行时的磁盘占用和下载量独立于“下载并准备”所下载的模型;原生包体积随平台和版本变化。
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="dev-note"></a>
|
|
70
|
+
### 开发备注
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>维护者信息 — 点击展开</summary>
|
|
74
|
+
|
|
75
|
+
无。
|
|
76
|
+
|
|
77
|
+
</details>
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
- insert:
|
|
2
|
+
- id: speech-to-text
|
|
3
|
+
name: '@deepseek-ai/dsh-experimental-speech-to-text'
|
|
4
|
+
config:
|
|
5
|
+
defaultProvider: sensevoice-local
|
|
6
|
+
- id: speech-to-text-sensevoice
|
|
7
|
+
name: '@deepseek-ai/dsh-experimental-speech-to-text-sensevoice'
|
|
8
|
+
config:
|
|
9
|
+
dataRoot: !!js dshHomePath('speech-to-text', 'sensevoice')
|
|
10
|
+
- id: api-speech-to-text
|
|
11
|
+
name: '@deepseek-ai/dsh-experimental-api-speech-to-text'
|
|
12
|
+
- id: ui-voice-input
|
|
13
|
+
name: '@deepseek-ai/dsh-experimental-client-ui-voice-input'
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M23.7324 8.77148V27.2295L21.2324 27.2285V8.77051L23.7324 8.77148ZM14.6797 10.7715L14.6787 25.2295L12.1787 25.2285L12.1797 10.7705L14.6797 10.7715ZM19.3926 22.4131H16.8926V13.5859H19.3926V22.4131ZM10.0625 20.708H7.5625V15.291H10.0625V20.708ZM28.4375 20.708H25.9375V15.291H28.4375V20.708Z" fill="url(#paint0_linear_3371_85203)" />
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="paint0_linear_3371_85203" x1="8.24602" y1="16.4083" x2="32.5611" y2="22.9699" gradientUnits="userSpaceOnUse">
|
|
5
|
+
<stop stop-color="#67C7FE" />
|
|
6
|
+
<stop offset="1" stop-color="#3F77D8" />
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
</svg>
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/locale/en.json
ADDED
package/locale/zh.json
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@deepseek-ai/dsh-experimental-voice-input-bundle",
|
|
3
|
+
"description": "Experimental voice input with local SenseVoice; downloads its runtime on first use",
|
|
4
|
+
"version": "0.1.7-alpha.1",
|
|
5
|
+
"icon": "./icon.svg",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
12
|
+
"directory": "packages/experimental/voice-input-bundle"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "lib/index.js",
|
|
16
|
+
"types": "lib/types/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./lib/types/index.d.ts",
|
|
20
|
+
"default": "./lib/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./src/*": "./src/*",
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
25
|
+
"./locale/*.json": "./locale/*.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"icon.svg",
|
|
29
|
+
"locale/*.json",
|
|
30
|
+
"lib/index.js",
|
|
31
|
+
"cordis.patch.yml",
|
|
32
|
+
"lib/types/**/*.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@deepseek-ai/dsh-experimental-speech-to-text": "^0.1.7-alpha.1",
|
|
37
|
+
"@deepseek-ai/dsh-experimental-speech-to-text-sensevoice": "^0.1.7-alpha.1",
|
|
38
|
+
"@deepseek-ai/dsh-experimental-api-speech-to-text": "^0.1.7-alpha.1",
|
|
39
|
+
"@deepseek-ai/dsh-experimental-client-ui-voice-input": "^0.1.7-alpha.1"
|
|
40
|
+
},
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"@deepseek-ai/cordis": "^4.0.3"
|
|
43
|
+
},
|
|
44
|
+
"devDependencies": {
|
|
45
|
+
"js-yaml": "^4.2.0",
|
|
46
|
+
"@deepseek-ai/cordis": "^4.0.3",
|
|
47
|
+
"@deepseek-ai/cordis-plugin-include": "^1.0.8"
|
|
48
|
+
},
|
|
49
|
+
"dsh": {
|
|
50
|
+
"bundle": {
|
|
51
|
+
"patch": "./cordis.patch.yml"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|