@ds-hu/dsh-better-voice-input 0.0.0-stage → 0.2.0
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/NOTICE +31 -0
- package/README.en.md +129 -0
- package/README.md +112 -2
- package/cordis.patch.yml +34 -0
- package/docs/ARCHITECTURE.md +318 -0
- package/docs/CONTRACTS.md +437 -0
- package/docs/DETAIL.md +83 -0
- package/docs/DETAIL.zh.md +68 -0
- package/docs/VERIFICATION.md +85 -0
- package/docs/preview-en.svg +100 -0
- package/docs/preview-settings-en.svg +69 -0
- package/docs/preview-settings.svg +69 -0
- package/docs/preview.svg +100 -0
- package/icon.svg +9 -0
- package/lib/index.js +2 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +85 -4
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Verification record
|
|
2
|
+
|
|
3
|
+
This project never runs builds, tests, linters or browsers on a development laptop. CI is the
|
|
4
|
+
only verifier; this file records what the gates actually proved for the release, with links to the
|
|
5
|
+
workflow runs. The repository is public, so every link is reproducible.
|
|
6
|
+
|
|
7
|
+
## Quality gate
|
|
8
|
+
|
|
9
|
+
`.github/workflows/ci.yml` runs `npm ci && npm run check` (eslint + `node --test`) on Node 20 and
|
|
10
|
+
Node 22, then verifies the exact file list each package would publish
|
|
11
|
+
(`scripts/verify-packages.mjs`). The release workflow repeats the gate on the tagged tree before
|
|
12
|
+
publishing.
|
|
13
|
+
|
|
14
|
+
- Latest green run on `main`: see the [CI runs](https://github.com/ds-hu/dsh-better-voice-input/actions/workflows/ci.yml).
|
|
15
|
+
- Test suites: core config store / WAV / HTTP / cloud provider factory, 14 cloud wire-format
|
|
16
|
+
adapters against recorded responses, service API, streaming session relay and host routes
|
|
17
|
+
against a fake speech registry, local catalog / downloads / zip extraction / provider
|
|
18
|
+
preparation / worker protocol (including the X-ASR `/stream/*` relay), both browser entries in
|
|
19
|
+
a `vm` React harness (gesture state machine, virtual-keyboard guard, keyboard shortcut, live
|
|
20
|
+
streaming client, fly-to-composer animation degradation), plus a cross-component test that
|
|
21
|
+
holds the 21-provider, release-order and documentation contracts together.
|
|
22
|
+
|
|
23
|
+
## Local models — real download and inference
|
|
24
|
+
|
|
25
|
+
`.github/workflows/local-models-smoke.yml` is a manual workflow that downloads a pinned model,
|
|
26
|
+
spawns the real worker process with `sherpa-onnx-node`, and transcribes the same speech sample. It
|
|
27
|
+
is the acceptance test for everything the unit tests cannot cover. **All eleven catalog variants
|
|
28
|
+
passed** before `v0.1.0`:
|
|
29
|
+
|
|
30
|
+
| Variant | Workflow run | Transcript | Inference |
|
|
31
|
+
| --- | --- | --- | --- |
|
|
32
|
+
| sensevoice / small-int8 | [47617128571](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617128571) | 开放时间早上9点至下午5点。 | 0.73 s |
|
|
33
|
+
| sensevoice / small-full | [47617357697](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617357697) | 开放时间早上9点至下午5点。 | 0.56 s |
|
|
34
|
+
| funasr-nano / nano-int8 | [47617223657](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617223657) | 开放时间早上九点至下午五点 | 3.19 s |
|
|
35
|
+
| funasr-nano / mlt-int8 (zip source) | [47617347277](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617347277) | 开饭时间早上九点至下午五点。 | 4.48 s |
|
|
36
|
+
| qwen3-asr / qwen3-0.6b-int8 | [47617230146](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617230146) | 开放时间:早上九点至下午五点。 | 2.59 s |
|
|
37
|
+
| qwen3-asr / qwen3-1.7b-int8 (zip source) | [47617350807](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617350807) | 开饭时间早上九点至下午五点。 | 4.64 s |
|
|
38
|
+
| parakeet / 0.6b-v3-int8 | [47617236124](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617236124) | (English model on the Chinese sample — pipeline check) | 1.90 s |
|
|
39
|
+
| parakeet / 0.6b-v2-int8 | [47617354218](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617354218) | (English model on the Chinese sample — pipeline check) | 1.36 s |
|
|
40
|
+
| giga-am / giga-v3 | [47617241954](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617241954) | (Russian model on the Chinese sample — pipeline check) | 1.09 s |
|
|
41
|
+
| firered-asr / ctc-int8 | [47617247666](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617247666) | 开放时间早上九点至下午五点 | 2.37 s |
|
|
42
|
+
| x-asr / x-asr-480ms (streaming) | [47617254289](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47617254289) | 开放时间早上九点至下午五点 | 1.17 s |
|
|
43
|
+
|
|
44
|
+
The X-ASR row above exercised the batch path only. For v0.2 the same workflow also pushes the
|
|
45
|
+
recording through `provider.bviStreaming` in 200 ms chunks (after a cancelled session) and checks
|
|
46
|
+
both the cumulative partial text and the final transcript:
|
|
47
|
+
|
|
48
|
+
| Check | Workflow run | Result |
|
|
49
|
+
| --- | --- | --- |
|
|
50
|
+
| X-ASR batch + live streaming | [47626928831](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47626928831) | batch “开放时间早上九点至下午五点” (0.75 s inference); streaming produced 8 partial updates and the same final text |
|
|
51
|
+
|
|
52
|
+
Sample: the 5.59 s Chinese test clip shipped upstream with the SenseVoice model; a fresh cache
|
|
53
|
+
download was verified file by file against the pinned SHA-256 digests on each run (including the
|
|
54
|
+
zip-archive sources for `mlt-int8` and `qwen3-1.7b-int8`). The sensevoice run that first exercised
|
|
55
|
+
the download path also caught a real provisioning bug — a missing `Content-Length` header was
|
|
56
|
+
treated as zero — which is fixed and covered by a unit test.
|
|
57
|
+
|
|
58
|
+
## OpenAI-compatible endpoint (v0.2)
|
|
59
|
+
|
|
60
|
+
`.github/workflows/openai-compat-smoke.yml` is a manual workflow that proves the
|
|
61
|
+
OpenAI-compatible / self-hosted path end to end, with no vendor account: it prepares the real
|
|
62
|
+
X-ASR model, serves it through a loopback `POST /v1/audio/transcriptions` endpoint, writes a
|
|
63
|
+
temporary config with an **empty API key** and that loopback base URL, then transcribes the sample
|
|
64
|
+
through the real `bvi-cloud-openai` adapter.
|
|
65
|
+
|
|
66
|
+
| Check | Workflow run | Result |
|
|
67
|
+
| --- | --- | --- |
|
|
68
|
+
| OpenAI-compatible, keyless | [47626933281](https://github.com/ds-hu/dsh-better-voice-input/actions/runs/47626933281) | cloud transcript equals the local model output (“开放时间早上九点至下午五点”); server logged `authorization=none`; exactly one request, WAV bytes forwarded unchanged |
|
|
69
|
+
|
|
70
|
+
## What is not verified end-to-end
|
|
71
|
+
|
|
72
|
+
- **Cloud vendors** are implemented against their public HTTP APIs but were not called with real
|
|
73
|
+
credentials (no vendor account is part of this repository). Cloud *streaming* is deliberately
|
|
74
|
+
out of scope: only providers with a native incremental recognizer (local X-ASR) stream live. Wire formats and response parsing are
|
|
75
|
+
unit-tested against documented response shapes; a live call is the first thing to try when a
|
|
76
|
+
vendor changes its API.
|
|
77
|
+
- **The Web GUI integration** (slot rendering, the overlay's real-browser visuals, and the
|
|
78
|
+
settings page styling) is exercised through a `vm` React harness and the official slot contract,
|
|
79
|
+
not in a browser session, because this repository does not run browsers in CI.
|
|
80
|
+
- **Real audio capture** (microphone → WAV/PCM → service) is covered by unit tests of the
|
|
81
|
+
gesture, encoder, streaming client and HTTP layers; it needs a user's browser and microphone to
|
|
82
|
+
be observed. The real X-ASR worker streaming path is verified in CI (above), but the full
|
|
83
|
+
AudioWorklet → service relay → overlay → fly-to-composer chain still needs a GUI session.
|
|
84
|
+
- **Mobile virtual-keyboard behavior** (the v0.2 guard) is unit-tested against `visualViewport`
|
|
85
|
+
states; real iOS/Android keyboard geometry is observed by the user, not by CI.
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="800" viewBox="0 0 1280 800">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="blue" x1="0" y1="0" x2="0" y2="1">
|
|
4
|
+
<stop offset="0%" stop-color="#0f1112"/><stop offset="8%" stop-color="#0c141d"/>
|
|
5
|
+
<stop offset="18%" stop-color="#0b223d"/><stop offset="29%" stop-color="#04376a"/>
|
|
6
|
+
<stop offset="38%" stop-color="#004992"/><stop offset="50%" stop-color="#005ec0"/>
|
|
7
|
+
<stop offset="60%" stop-color="#0066d3"/><stop offset="70%" stop-color="#0169dc"/>
|
|
8
|
+
<stop offset="100%" stop-color="#006bd8"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
<radialGradient id="blueglow" cx="50%" cy="74%" r="52%">
|
|
11
|
+
<stop offset="0%" stop-color="#0074eb" stop-opacity=".55"/><stop offset="70%" stop-color="#0074eb" stop-opacity="0"/>
|
|
12
|
+
</radialGradient>
|
|
13
|
+
<linearGradient id="red" x1="0" y1="0" x2="0" y2="1">
|
|
14
|
+
<stop offset="0%" stop-color="#0f0f0f"/><stop offset="12%" stop-color="#0f0f0f"/>
|
|
15
|
+
<stop offset="20%" stop-color="#151011"/><stop offset="30%" stop-color="#1d1314"/>
|
|
16
|
+
<stop offset="45%" stop-color="#391b1a"/><stop offset="61%" stop-color="#602728"/>
|
|
17
|
+
<stop offset="70%" stop-color="#772d31"/><stop offset="80%" stop-color="#873235"/>
|
|
18
|
+
<stop offset="90%" stop-color="#903538"/><stop offset="100%" stop-color="#953535"/>
|
|
19
|
+
</linearGradient>
|
|
20
|
+
<radialGradient id="redglow" cx="50%" cy="76%" r="50%">
|
|
21
|
+
<stop offset="0%" stop-color="#be2d32" stop-opacity=".45"/><stop offset="72%" stop-color="#be2d32" stop-opacity="0"/>
|
|
22
|
+
</radialGradient>
|
|
23
|
+
<radialGradient id="vig" cx="50%" cy="50%" r="72%">
|
|
24
|
+
<stop offset="42%" stop-color="#000" stop-opacity="0"/><stop offset="100%" stop-color="#000" stop-opacity=".34"/>
|
|
25
|
+
</radialGradient>
|
|
26
|
+
</defs>
|
|
27
|
+
<rect width="1280" height="800" fill="#0b0d10"/>
|
|
28
|
+
<text x="640" y="44" fill="#e8ecf6" font-size="22" font-family="Source Serif Pro, Georgia, serif" text-anchor="middle">Better voice input · hold to talk, release to write</text>
|
|
29
|
+
<rect x="40" y="80" width="360" height="640" rx="26" fill="#16181c"/><text x="220.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Source Serif Pro, Georgia, serif">Message, or hold to talk</text>
|
|
30
|
+
<rect x="40" y="500" width="360" height="220" fill="#16181c"/>
|
|
31
|
+
<rect x="64" y="540" width="312" height="150" rx="20" fill="#23262b" stroke="#34383f"/>
|
|
32
|
+
<text x="84" y="588" fill="#a7a8ba" font-size="16" font-family="Source Serif Pro, Georgia, serif">Message, or hold to talk</text>
|
|
33
|
+
<rect x="84" y="628" width="108" height="30" rx="15" fill="#1d2430" stroke="#3b5f9e"/>
|
|
34
|
+
<text x="98" y="648" fill="#8b9fe4" font-size="12" font-family="Source Serif Pro, Georgia, serif">Deep thinking</text>
|
|
35
|
+
<rect x="200" y="628" width="108" height="30" rx="15" fill="#1d2430" stroke="#3b5f9e"/>
|
|
36
|
+
<text x="214" y="648" fill="#8b9fe4" font-size="12" font-family="Source Serif Pro, Georgia, serif">Smart search</text>
|
|
37
|
+
<circle cx="298" cy="644" r="14" fill="none" stroke="#d7d9de" stroke-width="1.6"/>
|
|
38
|
+
<path d="M298 639v10M293 644h10" stroke="#d7d9de" stroke-width="1.6" stroke-linecap="round"/>
|
|
39
|
+
<circle cx="342" cy="644" r="14" fill="none" stroke="#d7d9de" stroke-width="1.6"/>
|
|
40
|
+
<rect x="339" y="638" width="5" height="8" rx="2.5" fill="#d7d9de"/>
|
|
41
|
+
<path d="M336 646a5.5 5.5 0 0 0 11 0M342 651v3" stroke="#d7d9de" stroke-width="1.4" stroke-linecap="round" fill="none"/>
|
|
42
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="#0f1112"/><text x="640.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Source Serif Pro, Georgia, serif">Recording · slide up to cancel</text>
|
|
43
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#blue)"/>
|
|
44
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#blueglow)"/>
|
|
45
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#vig)"/>
|
|
46
|
+
<text x="640" y="322" fill="#cfe6ff" font-size="25" text-anchor="middle" font-family="Source Serif Pro, Georgia, serif" letter-spacing="3">Release to insert · slide up to cancel</text>
|
|
47
|
+
<text x="640" y="356" fill="#9fc8ff" font-size="12" letter-spacing="2" text-anchor="middle" font-family="-apple-system, Segoe UI, sans-serif">LIVE TRANSCRIPT</text>
|
|
48
|
+
<text x="640" y="392" fill="#eef5ff" font-size="20" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">Let's move today's meeting to 3 p.m.</text>
|
|
49
|
+
<text x="640" y="422" fill="#eef5ff" font-size="20" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif" opacity=".9">Bring the design doc with you.</text>
|
|
50
|
+
<rect x="491.0" y="466.0" width="4" height="8.0" rx="2" fill="#dde8ff" opacity="0.55" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
51
|
+
<rect x="505.0" y="463.8" width="4" height="12.3" rx="2" fill="#dde8ff" opacity="0.69" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
52
|
+
<rect x="519.0" y="461.5" width="4" height="16.9" rx="2" fill="#dde8ff" opacity="0.77" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
53
|
+
<rect x="533.0" y="462.1" width="4" height="15.8" rx="2" fill="#dde8ff" opacity="0.82" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
54
|
+
<rect x="547.0" y="459.8" width="4" height="20.3" rx="2" fill="#dde8ff" opacity="0.87" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
55
|
+
<rect x="561.0" y="459.8" width="4" height="20.5" rx="2" fill="#dde8ff" opacity="0.91" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
56
|
+
<rect x="575.0" y="460.5" width="4" height="18.9" rx="2" fill="#dde8ff" opacity="0.94" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
57
|
+
<rect x="589.0" y="458.1" width="4" height="23.7" rx="2" fill="#dde8ff" opacity="0.96" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
58
|
+
<rect x="603.0" y="460.0" width="4" height="19.9" rx="2" fill="#dde8ff" opacity="0.98" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
59
|
+
<rect x="617.0" y="457.9" width="4" height="24.1" rx="2" fill="#dde8ff" opacity="0.99" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
60
|
+
<rect x="631.0" y="459.6" width="4" height="20.8" rx="2" fill="#dde8ff" opacity="1.00" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
61
|
+
<rect x="645.0" y="459.5" width="4" height="21.0" rx="2" fill="#dde8ff" opacity="1.00" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
62
|
+
<rect x="659.0" y="458.0" width="4" height="24.1" rx="2" fill="#dde8ff" opacity="0.99" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
63
|
+
<rect x="673.0" y="456.3" width="4" height="27.4" rx="2" fill="#dde8ff" opacity="0.98" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
64
|
+
<rect x="687.0" y="459.9" width="4" height="20.2" rx="2" fill="#dde8ff" opacity="0.96" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
65
|
+
<rect x="701.0" y="459.8" width="4" height="20.3" rx="2" fill="#dde8ff" opacity="0.94" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
66
|
+
<rect x="715.0" y="458.7" width="4" height="22.5" rx="2" fill="#dde8ff" opacity="0.91" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
67
|
+
<rect x="729.0" y="458.4" width="4" height="23.2" rx="2" fill="#dde8ff" opacity="0.87" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
68
|
+
<rect x="743.0" y="460.6" width="4" height="18.8" rx="2" fill="#dde8ff" opacity="0.82" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
69
|
+
<rect x="757.0" y="462.1" width="4" height="15.7" rx="2" fill="#dde8ff" opacity="0.77" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
70
|
+
<rect x="771.0" y="462.5" width="4" height="14.9" rx="2" fill="#dde8ff" opacity="0.69" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
71
|
+
<rect x="785.0" y="466.0" width="4" height="8.0" rx="2" fill="#dde8ff" opacity="0.55" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
72
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="#0f0f0f"/><text x="1060.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Source Serif Pro, Georgia, serif">Cancel zone · release to cancel</text>
|
|
73
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#red)"/>
|
|
74
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#redglow)"/>
|
|
75
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#vig)"/>
|
|
76
|
+
<text x="1060" y="322" fill="#d4525e" font-size="25" text-anchor="middle" font-family="Source Serif Pro, Georgia, serif" letter-spacing="3">Release to cancel</text>
|
|
77
|
+
<rect x="911.0" y="466.0" width="4" height="8.0" rx="2" fill="#e06770" opacity="0.55" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
78
|
+
<rect x="925.0" y="463.8" width="4" height="12.3" rx="2" fill="#e06770" opacity="0.69" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
79
|
+
<rect x="939.0" y="461.5" width="4" height="16.9" rx="2" fill="#e06770" opacity="0.77" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
80
|
+
<rect x="953.0" y="462.1" width="4" height="15.8" rx="2" fill="#e06770" opacity="0.82" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
81
|
+
<rect x="967.0" y="459.8" width="4" height="20.3" rx="2" fill="#e06770" opacity="0.87" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
82
|
+
<rect x="981.0" y="459.8" width="4" height="20.5" rx="2" fill="#e06770" opacity="0.91" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
83
|
+
<rect x="995.0" y="460.5" width="4" height="18.9" rx="2" fill="#e06770" opacity="0.94" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
84
|
+
<rect x="1009.0" y="458.1" width="4" height="23.7" rx="2" fill="#e06770" opacity="0.96" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
85
|
+
<rect x="1023.0" y="460.0" width="4" height="19.9" rx="2" fill="#e06770" opacity="0.98" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
86
|
+
<rect x="1037.0" y="457.9" width="4" height="24.1" rx="2" fill="#e06770" opacity="0.99" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
87
|
+
<rect x="1051.0" y="459.6" width="4" height="20.8" rx="2" fill="#e06770" opacity="1.00" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
88
|
+
<rect x="1065.0" y="459.5" width="4" height="21.0" rx="2" fill="#e06770" opacity="1.00" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
89
|
+
<rect x="1079.0" y="458.0" width="4" height="24.1" rx="2" fill="#e06770" opacity="0.99" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
90
|
+
<rect x="1093.0" y="456.3" width="4" height="27.4" rx="2" fill="#e06770" opacity="0.98" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
91
|
+
<rect x="1107.0" y="459.9" width="4" height="20.2" rx="2" fill="#e06770" opacity="0.96" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
92
|
+
<rect x="1121.0" y="459.8" width="4" height="20.3" rx="2" fill="#e06770" opacity="0.94" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
93
|
+
<rect x="1135.0" y="458.7" width="4" height="22.5" rx="2" fill="#e06770" opacity="0.91" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
94
|
+
<rect x="1149.0" y="458.4" width="4" height="23.2" rx="2" fill="#e06770" opacity="0.87" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
95
|
+
<rect x="1163.0" y="460.6" width="4" height="18.8" rx="2" fill="#e06770" opacity="0.82" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
96
|
+
<rect x="1177.0" y="462.1" width="4" height="15.7" rx="2" fill="#e06770" opacity="0.77" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
97
|
+
<rect x="1191.0" y="462.5" width="4" height="14.9" rx="2" fill="#e06770" opacity="0.69" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
98
|
+
<rect x="1205.0" y="466.0" width="4" height="8.0" rx="2" fill="#e06770" opacity="0.55" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
99
|
+
<text x="640" y="770" fill="#6f7688" font-size="14" font-family="-apple-system, Segoe UI, sans-serif" text-anchor="middle">Hold the composer: the transcript streams in live and flies into the input on release. Insert draft by default; send is a setting.</text>
|
|
100
|
+
</svg>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="1000" viewBox="0 0 1280 1000">
|
|
2
|
+
<rect width="1280" height="1000" fill="#0e1014"/>
|
|
3
|
+
<text x="640" y="46" fill="#e8ecf6" font-size="24" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">Settings · pick a model first, then edit it</text>
|
|
4
|
+
<text x="60" y="104" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">Cloud services</text>
|
|
5
|
+
<text x="300" y="104" fill="#6f7688" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Pick one; only its settings expand</text>
|
|
6
|
+
<rect x="60" y="120" width="400" height="300" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
7
|
+
<rect x="76" y="136" width="368" height="62" rx="12" fill="#182231" stroke="#4f7fd6"/>
|
|
8
|
+
<text x="94" y="162" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">火山引擎 Volcengine</text>
|
|
9
|
+
<text x="94" y="183" fill="#6fae7d" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Configured</text>
|
|
10
|
+
<text x="424" y="174" fill="#8fb6ff" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
11
|
+
<rect x="76" y="206" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
12
|
+
<text x="94" y="232" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">阿里云百炼 DashScope</text>
|
|
13
|
+
<text x="424" y="244" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
14
|
+
<rect x="76" y="276" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
15
|
+
<text x="94" y="302" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">OpenAI / OpenAI 兼容</text>
|
|
16
|
+
<text x="424" y="314" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
17
|
+
<rect x="76" y="346" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
18
|
+
<text x="94" y="372" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">SiliconFlow 硅基流动</text>
|
|
19
|
+
<text x="424" y="384" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
20
|
+
<rect x="484" y="120" width="736" height="300" rx="16" fill="#16181d" stroke="#4f7fd6"/>
|
|
21
|
+
<text x="510" y="156" fill="#eef2fb" font-size="19" font-family="Songti SC, Noto Serif SC, serif">火山引擎 Volcengine</text>
|
|
22
|
+
<rect x="1080" y="137" width="112" height="26" rx="13" fill="#1b2a22" stroke="#2f5d40"/><text x="1136" y="155" fill="#7fc48f" font-size="12" text-anchor="middle" font-family="-apple-system, Segoe UI, sans-serif">已配置</text>
|
|
23
|
+
<text x="510" y="196" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">API Key</text>
|
|
24
|
+
<rect x="510" y="206" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
25
|
+
<text x="526" y="230" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Stored sk-…3f2a · leave blank to keep</text>
|
|
26
|
+
<text x="510" y="266" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Base URL</text>
|
|
27
|
+
<rect x="510" y="276" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
28
|
+
<text x="526" y="300" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">https://ark.cn-beijing.volces.com/api/v3</text>
|
|
29
|
+
<text x="510" y="336" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">资源 ID / model</text>
|
|
30
|
+
<rect x="510" y="346" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
31
|
+
<text x="526" y="370" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">volc.bigasr.auc_turbo</text>
|
|
32
|
+
<text x="510" y="400" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Env fallback VOLCENGINE_API_KEY (read-only; saved value wins)</text>
|
|
33
|
+
<a href="https://www.volcengine.com/docs/6561/1354869" target="_blank"><text x="1096" y="400" fill="#7ea6ee" font-size="12" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">API docs</text></a>
|
|
34
|
+
<rect x="510" y="352" width="136" height="34" rx="9" fill="#2563c9"/><text x="578" y="374" fill="#fff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Save this service</text>
|
|
35
|
+
<text x="60" y="466" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">Local models</text>
|
|
36
|
+
<text x="300" y="466" fill="#6f7688" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Runs offline once downloaded; audio stays on this machine</text>
|
|
37
|
+
<rect x="60" y="482" width="400" height="236" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
38
|
+
<rect x="76" y="498" width="368" height="62" rx="12" fill="#182231" stroke="#4f7fd6"/>
|
|
39
|
+
<text x="94" y="524" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">SenseVoice</text>
|
|
40
|
+
<text x="94" y="545" fill="#7fc48f" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">small int8 · Ready</text>
|
|
41
|
+
<text x="424" y="536" fill="#8fb6ff" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
42
|
+
<rect x="76" y="568" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
43
|
+
<text x="94" y="594" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Qwen3-ASR</text>
|
|
44
|
+
<text x="94" y="615" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">0.6B int8 · Not downloaded</text>
|
|
45
|
+
<text x="424" y="606" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
46
|
+
<rect x="76" y="638" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
47
|
+
<text x="94" y="664" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">X-ASR</text>
|
|
48
|
+
<text x="94" y="685" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">streaming 480 ms · Not downloaded</text>
|
|
49
|
+
<text x="424" y="676" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
50
|
+
<rect x="484" y="482" width="736" height="236" rx="16" fill="#16181d" stroke="#4f7fd6"/>
|
|
51
|
+
<text x="510" y="518" fill="#eef2fb" font-size="19" font-family="Songti SC, Noto Serif SC, serif">SenseVoice · small int8</text>
|
|
52
|
+
<text x="510" y="548" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">~239 MB · est. 480 MB disk / 1.2 GB memory</text>
|
|
53
|
+
<rect x="510" y="566" width="360" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/><text x="526" y="590" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, sans-serif">small int8 · 239 MB ▾</text>
|
|
54
|
+
<rect x="890" y="566" width="306" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/><text x="906" y="590" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, sans-serif">Hugging Face ▾</text>
|
|
55
|
+
<rect x="510" y="622" width="686" height="8" rx="4" fill="#232830"/><rect x="510" y="622" width="686" height="8" rx="4" fill="#3d8f57"/>
|
|
56
|
+
<text x="510" y="662" fill="#7fc48f" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Ready to use</text>
|
|
57
|
+
<text x="1078" y="662" fill="#7ea6ee" font-size="13" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Delete and redownload</text>
|
|
58
|
+
<text x="60" y="770" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">Interaction and shortcut</text>
|
|
59
|
+
<rect x="60" y="786" width="1160" height="150" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
60
|
+
<text x="90" y="824" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">On release [Insert draft] [Send]</text>
|
|
61
|
+
<text x="90" y="858" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Live transcript for streaming models [on]</text>
|
|
62
|
+
<text x="90" y="900" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Hold-to-talk shortcut</text>
|
|
63
|
+
<rect x="220" y="884" width="240" height="34" rx="9" fill="#182231" stroke="#4f7fd6"/><text x="340" y="906" fill="#cfe0ff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Ctrl + Shift + Space</text>
|
|
64
|
+
<rect x="474" y="884" width="96" height="34" rx="9" fill="#2563c9"/><text x="522" y="906" fill="#fff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">录制</text>
|
|
65
|
+
<rect x="582" y="884" width="96" height="34" rx="9" fill="#23272f"/><text x="630" y="906" fill="#aab2c2" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">清除</text>
|
|
66
|
+
<text x="700" y="906" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Press “Record”, then press the combination; Esc cancels</text>
|
|
67
|
+
<text x="60" y="968" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Stored only in the local config.json (0600); the UI never shows a full secret.</text>
|
|
68
|
+
<text x="60" y="988" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Local models are verified file by file; keep the official voice input bundle enabled.</text>
|
|
69
|
+
</svg>
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="1000" viewBox="0 0 1280 1000">
|
|
2
|
+
<rect width="1280" height="1000" fill="#0e1014"/>
|
|
3
|
+
<text x="640" y="46" fill="#e8ecf6" font-size="24" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">设置 · 先选模型,再改设置</text>
|
|
4
|
+
<text x="60" y="104" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">云端识别服务</text>
|
|
5
|
+
<text x="300" y="104" fill="#6f7688" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">点一个服务,只展开它的设置项</text>
|
|
6
|
+
<rect x="60" y="120" width="400" height="300" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
7
|
+
<rect x="76" y="136" width="368" height="62" rx="12" fill="#182231" stroke="#4f7fd6"/>
|
|
8
|
+
<text x="94" y="162" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">火山引擎 Volcengine</text>
|
|
9
|
+
<text x="94" y="183" fill="#6fae7d" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">已配置</text>
|
|
10
|
+
<text x="424" y="174" fill="#8fb6ff" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
11
|
+
<rect x="76" y="206" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
12
|
+
<text x="94" y="232" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">阿里云百炼 DashScope</text>
|
|
13
|
+
<text x="424" y="244" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
14
|
+
<rect x="76" y="276" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
15
|
+
<text x="94" y="302" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">OpenAI / OpenAI 兼容</text>
|
|
16
|
+
<text x="424" y="314" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
17
|
+
<rect x="76" y="346" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
18
|
+
<text x="94" y="372" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">SiliconFlow 硅基流动</text>
|
|
19
|
+
<text x="424" y="384" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
20
|
+
<rect x="484" y="120" width="736" height="300" rx="16" fill="#16181d" stroke="#4f7fd6"/>
|
|
21
|
+
<text x="510" y="156" fill="#eef2fb" font-size="19" font-family="Songti SC, Noto Serif SC, serif">火山引擎 Volcengine</text>
|
|
22
|
+
<rect x="1080" y="137" width="112" height="26" rx="13" fill="#1b2a22" stroke="#2f5d40"/><text x="1136" y="155" fill="#7fc48f" font-size="12" text-anchor="middle" font-family="-apple-system, Segoe UI, sans-serif">已配置</text>
|
|
23
|
+
<text x="510" y="196" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">API Key</text>
|
|
24
|
+
<rect x="510" y="206" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
25
|
+
<text x="526" y="230" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">已保存 sk-…3f2a · 留空则不修改</text>
|
|
26
|
+
<text x="510" y="266" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Base URL</text>
|
|
27
|
+
<rect x="510" y="276" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
28
|
+
<text x="526" y="300" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">https://ark.cn-beijing.volces.com/api/v3</text>
|
|
29
|
+
<text x="510" y="336" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">资源 ID / model</text>
|
|
30
|
+
<rect x="510" y="346" width="600" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/>
|
|
31
|
+
<text x="526" y="370" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">volc.bigasr.auc_turbo</text>
|
|
32
|
+
<text x="510" y="400" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">也可用环境变量 VOLCENGINE_API_KEY(只读,保存值优先)</text>
|
|
33
|
+
<a href="https://www.volcengine.com/docs/6561/1354869" target="_blank"><text x="1096" y="400" fill="#7ea6ee" font-size="12" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">接口文档</text></a>
|
|
34
|
+
<rect x="510" y="352" width="136" height="34" rx="9" fill="#2563c9"/><text x="578" y="374" fill="#fff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">保存此服务</text>
|
|
35
|
+
<text x="60" y="466" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">本地识别模型</text>
|
|
36
|
+
<text x="300" y="466" fill="#6f7688" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">下载后离线运行,音频不出本机</text>
|
|
37
|
+
<rect x="60" y="482" width="400" height="236" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
38
|
+
<rect x="76" y="498" width="368" height="62" rx="12" fill="#182231" stroke="#4f7fd6"/>
|
|
39
|
+
<text x="94" y="524" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">SenseVoice</text>
|
|
40
|
+
<text x="94" y="545" fill="#7fc48f" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">small int8 · 已就绪</text>
|
|
41
|
+
<text x="424" y="536" fill="#8fb6ff" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
42
|
+
<rect x="76" y="568" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
43
|
+
<text x="94" y="594" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Qwen3-ASR</text>
|
|
44
|
+
<text x="94" y="615" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">0.6B int8 · 未下载</text>
|
|
45
|
+
<text x="424" y="606" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
46
|
+
<rect x="76" y="638" width="368" height="62" rx="12" fill="#1a1d23" stroke="#262a32"/>
|
|
47
|
+
<text x="94" y="664" fill="#e7ebf4" font-size="15" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">X-ASR</text>
|
|
48
|
+
<text x="94" y="685" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">流式 480 ms · 未下载</text>
|
|
49
|
+
<text x="424" y="676" fill="#555c6b" font-size="16" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">›</text>
|
|
50
|
+
<rect x="484" y="482" width="736" height="236" rx="16" fill="#16181d" stroke="#4f7fd6"/>
|
|
51
|
+
<text x="510" y="518" fill="#eef2fb" font-size="19" font-family="Songti SC, Noto Serif SC, serif">SenseVoice · small int8</text>
|
|
52
|
+
<text x="510" y="548" fill="#8f96a6" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">约 239 MB · 预计磁盘 480 MB / 内存 1.2 GB</text>
|
|
53
|
+
<rect x="510" y="566" width="360" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/><text x="526" y="590" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, sans-serif">small int8 · 239 MB ▾</text>
|
|
54
|
+
<rect x="890" y="566" width="306" height="38" rx="10" fill="#1d2027" stroke="#2c313a"/><text x="906" y="590" fill="#c9d1e0" font-size="13" font-family="-apple-system, Segoe UI, sans-serif">Hugging Face ▾</text>
|
|
55
|
+
<rect x="510" y="622" width="686" height="8" rx="4" fill="#232830"/><rect x="510" y="622" width="686" height="8" rx="4" fill="#3d8f57"/>
|
|
56
|
+
<text x="510" y="662" fill="#7fc48f" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">已就绪,可直接使用</text>
|
|
57
|
+
<text x="1078" y="662" fill="#7ea6ee" font-size="13" text-anchor="end" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">删除并重新下载</text>
|
|
58
|
+
<text x="60" y="770" fill="#dfe4ee" font-size="19" font-family="Songti SC, Noto Serif SC, serif">交互与快捷键</text>
|
|
59
|
+
<rect x="60" y="786" width="1160" height="150" rx="16" fill="#16181d" stroke="#282c34"/>
|
|
60
|
+
<text x="90" y="824" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">松手后 [插入草稿] [直接发送]</text>
|
|
61
|
+
<text x="90" y="858" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">实时显示识别文字(流式模型) [开]</text>
|
|
62
|
+
<text x="90" y="900" fill="#aab2c2" font-size="13" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">快捷键长按说话</text>
|
|
63
|
+
<rect x="220" y="884" width="240" height="34" rx="9" fill="#182231" stroke="#4f7fd6"/><text x="340" y="906" fill="#cfe0ff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">Ctrl + Shift + Space</text>
|
|
64
|
+
<rect x="474" y="884" width="96" height="34" rx="9" fill="#2563c9"/><text x="522" y="906" fill="#fff" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">录制</text>
|
|
65
|
+
<rect x="582" y="884" width="96" height="34" rx="9" fill="#23272f"/><text x="630" y="906" fill="#aab2c2" font-size="13" text-anchor="middle" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">清除</text>
|
|
66
|
+
<text x="700" y="906" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">点“录制”后按下组合键;Esc 取消</text>
|
|
67
|
+
<text x="60" y="968" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">只保存到本机 config.json(0600),界面永远只显示掩码。</text>
|
|
68
|
+
<text x="60" y="988" fill="#6f7688" font-size="12" font-family="-apple-system, Segoe UI, 'Noto Sans SC', sans-serif">本地模型逐文件 sha256 校验;官方语音输入插件保持启用。</text>
|
|
69
|
+
</svg>
|
package/docs/preview.svg
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1280" height="800" viewBox="0 0 1280 800">
|
|
2
|
+
<defs>
|
|
3
|
+
<linearGradient id="blue" x1="0" y1="0" x2="0" y2="1">
|
|
4
|
+
<stop offset="0%" stop-color="#0f1112"/><stop offset="8%" stop-color="#0c141d"/>
|
|
5
|
+
<stop offset="18%" stop-color="#0b223d"/><stop offset="29%" stop-color="#04376a"/>
|
|
6
|
+
<stop offset="38%" stop-color="#004992"/><stop offset="50%" stop-color="#005ec0"/>
|
|
7
|
+
<stop offset="60%" stop-color="#0066d3"/><stop offset="70%" stop-color="#0169dc"/>
|
|
8
|
+
<stop offset="100%" stop-color="#006bd8"/>
|
|
9
|
+
</linearGradient>
|
|
10
|
+
<radialGradient id="blueglow" cx="50%" cy="74%" r="52%">
|
|
11
|
+
<stop offset="0%" stop-color="#0074eb" stop-opacity=".55"/><stop offset="70%" stop-color="#0074eb" stop-opacity="0"/>
|
|
12
|
+
</radialGradient>
|
|
13
|
+
<linearGradient id="red" x1="0" y1="0" x2="0" y2="1">
|
|
14
|
+
<stop offset="0%" stop-color="#0f0f0f"/><stop offset="12%" stop-color="#0f0f0f"/>
|
|
15
|
+
<stop offset="20%" stop-color="#151011"/><stop offset="30%" stop-color="#1d1314"/>
|
|
16
|
+
<stop offset="45%" stop-color="#391b1a"/><stop offset="61%" stop-color="#602728"/>
|
|
17
|
+
<stop offset="70%" stop-color="#772d31"/><stop offset="80%" stop-color="#873235"/>
|
|
18
|
+
<stop offset="90%" stop-color="#903538"/><stop offset="100%" stop-color="#953535"/>
|
|
19
|
+
</linearGradient>
|
|
20
|
+
<radialGradient id="redglow" cx="50%" cy="76%" r="50%">
|
|
21
|
+
<stop offset="0%" stop-color="#be2d32" stop-opacity=".45"/><stop offset="72%" stop-color="#be2d32" stop-opacity="0"/>
|
|
22
|
+
</radialGradient>
|
|
23
|
+
<radialGradient id="vig" cx="50%" cy="50%" r="72%">
|
|
24
|
+
<stop offset="42%" stop-color="#000" stop-opacity="0"/><stop offset="100%" stop-color="#000" stop-opacity=".34"/>
|
|
25
|
+
</radialGradient>
|
|
26
|
+
</defs>
|
|
27
|
+
<rect width="1280" height="800" fill="#0b0d10"/>
|
|
28
|
+
<text x="640" y="44" fill="#e8ecf6" font-size="22" font-family="Songti SC, Noto Serif SC, serif" text-anchor="middle">更好的语音输入 · 长按说,松手写</text>
|
|
29
|
+
<rect x="40" y="80" width="360" height="640" rx="26" fill="#16181c"/><text x="220.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">发消息或按住说话</text>
|
|
30
|
+
<rect x="40" y="500" width="360" height="220" fill="#16181c"/>
|
|
31
|
+
<rect x="64" y="540" width="312" height="150" rx="20" fill="#23262b" stroke="#34383f"/>
|
|
32
|
+
<text x="84" y="588" fill="#a7a8ba" font-size="16" font-family="Songti SC, Noto Serif SC, serif">发消息或按住说话</text>
|
|
33
|
+
<rect x="84" y="628" width="108" height="30" rx="15" fill="#1d2430" stroke="#3b5f9e"/>
|
|
34
|
+
<text x="98" y="648" fill="#8b9fe4" font-size="12" font-family="Songti SC, Noto Serif SC, serif">✳ 深度思考</text>
|
|
35
|
+
<rect x="200" y="628" width="108" height="30" rx="15" fill="#1d2430" stroke="#3b5f9e"/>
|
|
36
|
+
<text x="214" y="648" fill="#8b9fe4" font-size="12" font-family="Songti SC, Noto Serif SC, serif">◍ 智能搜索</text>
|
|
37
|
+
<circle cx="298" cy="644" r="14" fill="none" stroke="#d7d9de" stroke-width="1.6"/>
|
|
38
|
+
<path d="M298 639v10M293 644h10" stroke="#d7d9de" stroke-width="1.6" stroke-linecap="round"/>
|
|
39
|
+
<circle cx="342" cy="644" r="14" fill="none" stroke="#d7d9de" stroke-width="1.6"/>
|
|
40
|
+
<rect x="339" y="638" width="5" height="8" rx="2.5" fill="#d7d9de"/>
|
|
41
|
+
<path d="M336 646a5.5 5.5 0 0 0 11 0M342 651v3" stroke="#d7d9de" stroke-width="1.4" stroke-linecap="round" fill="none"/>
|
|
42
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="#0f1112"/><text x="640.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">录音中 · 上滑取消</text>
|
|
43
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#blue)"/>
|
|
44
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#blueglow)"/>
|
|
45
|
+
<rect x="460" y="80" width="360" height="640" rx="26" fill="url(#vig)"/>
|
|
46
|
+
<text x="640" y="322" fill="#cfe6ff" font-size="25" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif" letter-spacing="3">松手插入,上滑取消</text>
|
|
47
|
+
<text x="640" y="356" fill="#9fc8ff" font-size="12" letter-spacing="2" text-anchor="middle" font-family="-apple-system, Segoe UI, sans-serif">实时转写</text>
|
|
48
|
+
<text x="640" y="392" fill="#eef5ff" font-size="20" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">今天的会议改到下午三点。</text>
|
|
49
|
+
<text x="640" y="422" fill="#eef5ff" font-size="20" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif" opacity=".9">记得带上那份设计稿。</text>
|
|
50
|
+
<rect x="491.0" y="466.0" width="4" height="8.0" rx="2" fill="#dde8ff" opacity="0.55" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
51
|
+
<rect x="505.0" y="463.8" width="4" height="12.3" rx="2" fill="#dde8ff" opacity="0.69" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
52
|
+
<rect x="519.0" y="461.5" width="4" height="16.9" rx="2" fill="#dde8ff" opacity="0.77" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
53
|
+
<rect x="533.0" y="462.1" width="4" height="15.8" rx="2" fill="#dde8ff" opacity="0.82" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
54
|
+
<rect x="547.0" y="459.8" width="4" height="20.3" rx="2" fill="#dde8ff" opacity="0.87" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
55
|
+
<rect x="561.0" y="459.8" width="4" height="20.5" rx="2" fill="#dde8ff" opacity="0.91" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
56
|
+
<rect x="575.0" y="460.5" width="4" height="18.9" rx="2" fill="#dde8ff" opacity="0.94" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
57
|
+
<rect x="589.0" y="458.1" width="4" height="23.7" rx="2" fill="#dde8ff" opacity="0.96" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
58
|
+
<rect x="603.0" y="460.0" width="4" height="19.9" rx="2" fill="#dde8ff" opacity="0.98" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
59
|
+
<rect x="617.0" y="457.9" width="4" height="24.1" rx="2" fill="#dde8ff" opacity="0.99" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
60
|
+
<rect x="631.0" y="459.6" width="4" height="20.8" rx="2" fill="#dde8ff" opacity="1.00" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
61
|
+
<rect x="645.0" y="459.5" width="4" height="21.0" rx="2" fill="#dde8ff" opacity="1.00" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
62
|
+
<rect x="659.0" y="458.0" width="4" height="24.1" rx="2" fill="#dde8ff" opacity="0.99" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
63
|
+
<rect x="673.0" y="456.3" width="4" height="27.4" rx="2" fill="#dde8ff" opacity="0.98" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
64
|
+
<rect x="687.0" y="459.9" width="4" height="20.2" rx="2" fill="#dde8ff" opacity="0.96" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
65
|
+
<rect x="701.0" y="459.8" width="4" height="20.3" rx="2" fill="#dde8ff" opacity="0.94" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
66
|
+
<rect x="715.0" y="458.7" width="4" height="22.5" rx="2" fill="#dde8ff" opacity="0.91" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
67
|
+
<rect x="729.0" y="458.4" width="4" height="23.2" rx="2" fill="#dde8ff" opacity="0.87" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
68
|
+
<rect x="743.0" y="460.6" width="4" height="18.8" rx="2" fill="#dde8ff" opacity="0.82" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
69
|
+
<rect x="757.0" y="462.1" width="4" height="15.7" rx="2" fill="#dde8ff" opacity="0.77" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
70
|
+
<rect x="771.0" y="462.5" width="4" height="14.9" rx="2" fill="#dde8ff" opacity="0.69" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
71
|
+
<rect x="785.0" y="466.0" width="4" height="8.0" rx="2" fill="#dde8ff" opacity="0.55" style="filter:drop-shadow(0 0 6px #9fc8ff)"/>
|
|
72
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="#0f0f0f"/><text x="1060.0" y="754" fill="#8b90a0" font-size="17" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif">上滑到取消区 · 松手取消</text>
|
|
73
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#red)"/>
|
|
74
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#redglow)"/>
|
|
75
|
+
<rect x="880" y="80" width="360" height="640" rx="26" fill="url(#vig)"/>
|
|
76
|
+
<text x="1060" y="322" fill="#d4525e" font-size="25" text-anchor="middle" font-family="Songti SC, Noto Serif SC, serif" letter-spacing="3">松手取消</text>
|
|
77
|
+
<rect x="911.0" y="466.0" width="4" height="8.0" rx="2" fill="#e06770" opacity="0.55" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
78
|
+
<rect x="925.0" y="463.8" width="4" height="12.3" rx="2" fill="#e06770" opacity="0.69" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
79
|
+
<rect x="939.0" y="461.5" width="4" height="16.9" rx="2" fill="#e06770" opacity="0.77" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
80
|
+
<rect x="953.0" y="462.1" width="4" height="15.8" rx="2" fill="#e06770" opacity="0.82" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
81
|
+
<rect x="967.0" y="459.8" width="4" height="20.3" rx="2" fill="#e06770" opacity="0.87" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
82
|
+
<rect x="981.0" y="459.8" width="4" height="20.5" rx="2" fill="#e06770" opacity="0.91" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
83
|
+
<rect x="995.0" y="460.5" width="4" height="18.9" rx="2" fill="#e06770" opacity="0.94" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
84
|
+
<rect x="1009.0" y="458.1" width="4" height="23.7" rx="2" fill="#e06770" opacity="0.96" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
85
|
+
<rect x="1023.0" y="460.0" width="4" height="19.9" rx="2" fill="#e06770" opacity="0.98" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
86
|
+
<rect x="1037.0" y="457.9" width="4" height="24.1" rx="2" fill="#e06770" opacity="0.99" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
87
|
+
<rect x="1051.0" y="459.6" width="4" height="20.8" rx="2" fill="#e06770" opacity="1.00" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
88
|
+
<rect x="1065.0" y="459.5" width="4" height="21.0" rx="2" fill="#e06770" opacity="1.00" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
89
|
+
<rect x="1079.0" y="458.0" width="4" height="24.1" rx="2" fill="#e06770" opacity="0.99" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
90
|
+
<rect x="1093.0" y="456.3" width="4" height="27.4" rx="2" fill="#e06770" opacity="0.98" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
91
|
+
<rect x="1107.0" y="459.9" width="4" height="20.2" rx="2" fill="#e06770" opacity="0.96" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
92
|
+
<rect x="1121.0" y="459.8" width="4" height="20.3" rx="2" fill="#e06770" opacity="0.94" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
93
|
+
<rect x="1135.0" y="458.7" width="4" height="22.5" rx="2" fill="#e06770" opacity="0.91" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
94
|
+
<rect x="1149.0" y="458.4" width="4" height="23.2" rx="2" fill="#e06770" opacity="0.87" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
95
|
+
<rect x="1163.0" y="460.6" width="4" height="18.8" rx="2" fill="#e06770" opacity="0.82" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
96
|
+
<rect x="1177.0" y="462.1" width="4" height="15.7" rx="2" fill="#e06770" opacity="0.77" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
97
|
+
<rect x="1191.0" y="462.5" width="4" height="14.9" rx="2" fill="#e06770" opacity="0.69" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
98
|
+
<rect x="1205.0" y="466.0" width="4" height="8.0" rx="2" fill="#e06770" opacity="0.55" style="filter:drop-shadow(0 0 6px #ff5f69)"/>
|
|
99
|
+
<text x="640" y="770" fill="#6f7688" font-size="14" font-family="-apple-system, Segoe UI, sans-serif" text-anchor="middle">按住输入框说话:录音时实时显示转写,松手后文字飞入输入框;默认插入草稿,可在设置中改为发送。</text>
|
|
100
|
+
</svg>
|
package/icon.svg
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<g fill="none" stroke="#3b82f6" stroke-linecap="round" stroke-width="2.6">
|
|
3
|
+
<path d="M9 16v4"/>
|
|
4
|
+
<path d="M14 12v12"/>
|
|
5
|
+
<path d="M19 8v20"/>
|
|
6
|
+
<path d="M24 13v10"/>
|
|
7
|
+
<path d="M29 16v4"/>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
package/lib/index.js
ADDED
package/locale/en.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Better voice input",
|
|
4
|
+
"description": "Extends the official experimental voice input plugin: 14 cloud speech-recognition providers plus 7 local sherpa-onnx models (21 in total), and a DeepSeek-App-style hold-to-talk composer — long-press the input box to record, slide up to cancel, release to insert the transcript (or send it). Requires the official voice input bundle for its speech-to-text registry.",
|
|
5
|
+
"detail": "docs/DETAIL.md"
|
|
6
|
+
}
|
|
7
|
+
}
|