@deepseek-ai/dsh-experimental-speech-to-text 0.2.0-rc.2 → 0.2.1-alpha.2
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/README.i18n.yaml +2 -2
- package/README.md +1 -1
- package/README.zh.md +1 -1
- package/package.json +11 -11
package/README.i18n.yaml
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
en: faf7c49d8870eaad
|
|
19
19
|
zh: 9c1c42eba9660f75
|
|
20
20
|
/deepseek-ai-dsh-experimental-speech-to-text/understand-the-implementation:
|
|
21
|
-
en:
|
|
22
|
-
zh:
|
|
21
|
+
en: 2b1648ac92551bc0
|
|
22
|
+
zh: 41c5a2405711d7c2
|
|
23
23
|
/deepseek-ai-dsh-experimental-speech-to-text/further-exploration:
|
|
24
24
|
en: 5c64426add9d79d6
|
|
25
25
|
zh: 4e06aa2ead8d2ccd
|
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ Providers advertise preparation origins through `downloadSources`. `prepare(id,
|
|
|
37
37
|
<details>
|
|
38
38
|
<summary>Maintainer details — click to expand</summary>
|
|
39
39
|
|
|
40
|
-
`resolve()` captures the provider instance, recording and language. `transcribe()` rejects a withdrawn or replaced registration. A registration disposer closes admission, aborts accepted requests and joins provider settlement; providers must honor cancellation. No fallback selects a different recognizer or uploads audio.
|
|
40
|
+
`resolve()` captures the provider instance, recording and language. `transcribe()` rejects a withdrawn or replaced registration. A registration disposer closes admission, aborts accepted requests and joins provider settlement; providers must honor cancellation. No fallback selects a different recognizer or uploads audio.
|
|
41
41
|
|
|
42
42
|
`defaultProvider` and `language` are volatile Config fields: `configure()` writes the supplied fields into this plugin's profile entry through the `settings` service, and the running instance reads the updated values without remounting; composition defaults apply until an override is saved. Settings addresses the entry by its configured id (`entry.options.id`), without the Loader's Include path. `configure()` fails without `settings` or a profile entry, and rejects a language unsupported by the selected provider before saving. Providers advertise accepted language hints through `languages`; `resolve()` validates the selected hint before transcription. Provider-owned preparation is observed through complete `SpeechSnapshot` values; closing an observer never cancels preparation.
|
|
43
43
|
|
package/README.zh.md
CHANGED
|
@@ -37,7 +37,7 @@ kind: "package-reference"
|
|
|
37
37
|
<details>
|
|
38
38
|
<summary>维护者信息 — 点击展开</summary>
|
|
39
39
|
|
|
40
|
-
`resolve()` 捕获 Provider 实例、录音和语言。`transcribe()` 拒绝已撤销或替换的注册。注册的清理函数先拒绝新请求,再取消已接收的请求并等待 Provider 完成;Provider
|
|
40
|
+
`resolve()` 捕获 Provider 实例、录音和语言。`transcribe()` 拒绝已撤销或替换的注册。注册的清理函数先拒绝新请求,再取消已接收的请求并等待 Provider 完成;Provider 必须响应取消。服务不会回退到其他识别器或上传音频。
|
|
41
41
|
|
|
42
42
|
`defaultProvider` 与 `language` 是 volatile Config 字段:`configure()` 通过 `settings` 服务把传入的字段写入本插件的 profile 条目,运行中的实例无需重挂载即可读到更新值;保存覆盖值之前使用组合配置默认值。Settings 使用条目配置中的 id(`entry.options.id`)定位条目,不包含 Loader 的 Include 路径。没有 `settings` 或 profile 条目时 `configure()` 失败,并在保存前拒绝所选 Provider 不支持的语言。Provider 通过 `languages` 公布支持的语言提示;`resolve()` 在转写前校验所选提示。观察者通过完整 `SpeechSnapshot` 接收 Provider 拥有的准备状态;关闭观察者不会取消准备。
|
|
43
43
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-speech-to-text",
|
|
3
3
|
"description": "Experimental speech recognition with independently selectable providers",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.1-alpha.2",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -36,20 +36,20 @@
|
|
|
36
36
|
],
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@deepseek-ai/
|
|
40
|
-
"@deepseek-ai/
|
|
39
|
+
"@deepseek-ai/dsh-brand": "0.2.1-alpha.2",
|
|
40
|
+
"@deepseek-ai/schemastery": "~3.18.5-alpha.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
|
-
"@deepseek-ai/
|
|
44
|
-
"@deepseek-ai/
|
|
45
|
-
"@deepseek-ai/cordis-plugin-loader": "~1.0.
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
44
|
+
"@deepseek-ai/dsh-settings": "0.2.1-alpha.2",
|
|
45
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@deepseek-ai/cordis": "~4.0.
|
|
49
|
-
"@deepseek-ai/dsh-app-boot": "0.2.
|
|
50
|
-
"@deepseek-ai/dsh-config-editor": "0.2.
|
|
51
|
-
"@deepseek-ai/dsh-settings": "0.2.
|
|
52
|
-
"@deepseek-ai/cordis-plugin-loader": "~1.0.
|
|
48
|
+
"@deepseek-ai/cordis": "~4.0.5-alpha.1",
|
|
49
|
+
"@deepseek-ai/dsh-app-boot": "0.2.1-alpha.2",
|
|
50
|
+
"@deepseek-ai/dsh-config-editor": "0.2.1-alpha.2",
|
|
51
|
+
"@deepseek-ai/dsh-settings": "0.2.1-alpha.2",
|
|
52
|
+
"@deepseek-ai/cordis-plugin-loader": "~1.0.6-alpha.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependenciesMeta": {
|
|
55
55
|
"@deepseek-ai/cordis-plugin-loader": {
|