@sonicloud/dsh-sonicloud-device 0.1.2 → 0.1.4
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/CHANGELOG.md +44 -1
- package/CHANGELOG.zh.md +44 -1
- package/README.md +36 -11
- package/README.zh.md +26 -1
- package/dist/build.json +1 -1
- package/dist/client.js +1594 -98
- package/docs/contributing/development.md +35 -5
- package/docs/specs/ci-cd.md +5 -4
- package/docs/specs/multilingual.md +98 -0
- package/docs/specs/smart-mouse-plugin.md +31 -1
- package/locale/de.json +7 -0
- package/locale/en.json +7 -0
- package/locale/es.json +7 -0
- package/locale/fr.json +7 -0
- package/locale/ja.json +7 -0
- package/locale/pt.json +7 -0
- package/locale/ru.json +7 -0
- package/locale/zh.json +7 -0
- package/native/README.md +4 -0
- package/native/desktop/VOICE_SOURCE.json +16 -0
- package/native/desktop/VoicePanel.cs +70 -33
- package/native/desktop/VoicePanel.swift +83 -19
- package/native/desktop/darwin-arm64/Sonicloud Voice.app/Contents/MacOS/sonicloud-voice +0 -0
- package/native/desktop/darwin-arm64/Sonicloud Voice.app/Contents/_CodeSignature/CodeResources +115 -0
- package/native/screenshot/README.md +34 -0
- package/native/screenshot/SOURCE.json +218 -0
- package/native/screenshot/darwin-arm64/screentool-macos-1.2.2.zip +0 -0
- package/native/screenshot/patches/hide-cloud-actions.patch +202 -0
- package/native/screenshot/patches/mac-permissions.patch +545 -0
- package/native/screenshot/patches/upstream-files.json +22 -0
- package/native/screenshot/win32-x64/PixPinScrollCapture.dll +0 -0
- package/native/screenshot/win32-x64/Qt5Core.dll +0 -0
- package/native/screenshot/win32-x64/Qt5Gui.dll +0 -0
- package/native/screenshot/win32-x64/Qt5Network.dll +0 -0
- package/native/screenshot/win32-x64/Qt5Svg.dll +0 -0
- package/native/screenshot/win32-x64/Qt5Widgets.dll +0 -0
- package/native/screenshot/win32-x64/iconengines/qsvgicon.dll +0 -0
- package/native/screenshot/win32-x64/imageformats/qjpeg.dll +0 -0
- package/native/screenshot/win32-x64/imageformats/qsvg.dll +0 -0
- package/native/screenshot/win32-x64/libcrypto-1_1-x64.dll +0 -0
- package/native/screenshot/win32-x64/libssl-1_1-x64.dll +0 -0
- package/native/screenshot/win32-x64/msvcp140.dll +0 -0
- package/native/screenshot/win32-x64/platforms/qwindows.dll +0 -0
- package/native/screenshot/win32-x64/qwindowsvistastyle.dll +0 -0
- package/native/screenshot/win32-x64/screenhelper.exe +0 -0
- package/native/screenshot/win32-x64/screentool.dll +0 -0
- package/native/screenshot/win32-x64/vcruntime140.dll +0 -0
- package/native/screenshot/win32-x64/vcruntime140_1.dll +0 -0
- package/package.json +5 -3
- package/src/asr/auth.mjs +9 -8
- package/src/asr/config.mjs +1 -1
- package/src/asr/stream.mjs +25 -24
- package/src/desktop/presentation.mjs +31 -11
- package/src/desktop/screenshot-worker.mjs +226 -0
- package/src/desktop/screenshot.mjs +186 -0
- package/src/devices/actions.mjs +7 -6
- package/src/devices/config.mjs +2 -1
- package/src/devices/diagnostics.mjs +4 -3
- package/src/devices/manager.mjs +72 -37
- package/src/devices/native-worker.mjs +4 -3
- package/src/devices/native.mjs +9 -8
- package/src/devices/queue.mjs +4 -3
- package/src/devices/recognition.mjs +5 -4
- package/src/devices/store.mjs +3 -2
- package/src/devices/translate.mjs +11 -10
- package/src/host/ai-conversation.mjs +8 -7
- package/src/host/index.mjs +12 -3
- package/src/host/locale.mjs +42 -0
- package/src/shared/devices.mjs +13 -12
- package/src/shared/i18n.mjs +47 -0
- package/src/shared/locales/de.json +155 -0
- package/src/shared/locales/en.json +155 -0
- package/src/shared/locales/es.json +155 -0
- package/src/shared/locales/fr.json +155 -0
- package/src/shared/locales/ja.json +155 -0
- package/src/shared/locales/pt.json +155 -0
- package/src/shared/locales/ru.json +155 -0
- package/src/shared/locales/zh.json +155 -0
- package/src/shared/remote.mjs +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,40 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.1.4 - 2026-11-26
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Automatically follow the Harness language in the plugin UI, feedback and desktop voice overlay for Chinese, English, Japanese, Spanish, French, German, Russian and Portuguese, preserving drafts and voice sessions; the separate screenshot UI is excluded.
|
|
8
|
+
- Localize the plugin name and use the Chinese README for Chinese descriptions and the English README for all other languages.
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
|
|
12
|
+
- Update the CI package allowlist to accept and require all eight language metadata files and dictionaries, fixing packaging failures caused by treating locale resources as non-release files.
|
|
13
|
+
- Prevent credential scanning from mistaking translation keys such as `panel.password` for password settings while retaining checks for actual credentials.
|
|
14
|
+
- Restore horizontal labels and controls at normal settings-dialog widths by removing premature stacked layout rules, while preserving long-text wrapping.
|
|
15
|
+
- Extend npm publication verification, reconcile the original package after upload timeouts or connection failures, and retry temporary registry and download errors to avoid false failures after publication; integrity mismatches still fail.
|
|
16
|
+
- Read CI release notes from the latest non-empty changelog section on every branch, whether Unreleased or a numbered version, independently of the branch or package version.
|
|
17
|
+
|
|
18
|
+
## 0.1.3 - 2026-11-20
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
|
|
22
|
+
- Check macOS typing and screenshot permissions on initial activation and reconnection, with separate Sonicloud Voice and screenhelper authorization and recheck guidance in Sonicloud Devices; system permission confirmation remains manual.
|
|
23
|
+
- Integrate standalone screenshot processes for Windows x64 and macOS ARM64, triggered by the mouse capture button or Start Screenshot in Sonicloud Devices, with region selection, annotation, copying, saving, pinning, and scrolling capture; report repeated triggers and startup failures, and close capture and pinned windows when the plugin is disabled.
|
|
24
|
+
|
|
25
|
+
### Changed
|
|
26
|
+
|
|
27
|
+
- Sign macOS Sonicloud Voice with a Developer ID; existing Accessibility grants from older versions may need to be confirmed again as prompted by the system.
|
|
28
|
+
- Move the screenshot controls to the bottom of the Sonicloud Devices page.
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Check macOS Screen Recording permission in both the host and native screenshot process before showing the overlay, preventing it from covering system permission prompts; missing Accessibility permission does not block regular screenshots or manual scrolling.
|
|
33
|
+
- Restore macOS voice helper execution permissions lost during cross-platform packaging so packages built on Windows can start Sonicloud Voice.
|
|
34
|
+
- Hide unsupported image translation and scrolling OCR/Word export actions in both Windows and macOS screenshot processes while keeping scrolling capture available; retain the original Developer ID identity for the macOS package.
|
|
35
|
+
- Parse Windows tar line endings correctly during package checks so complete packages are not reported as missing files.
|
|
36
|
+
|
|
37
|
+
## 0.1.2 - 2026-11-12
|
|
4
38
|
|
|
5
39
|
### Added
|
|
6
40
|
|
|
@@ -11,6 +45,8 @@
|
|
|
11
45
|
|
|
12
46
|
### Changed
|
|
13
47
|
|
|
48
|
+
- Sign macOS Sonicloud Voice with a Developer ID; existing Accessibility grants from older versions may need to be confirmed again as prompted by the system.
|
|
49
|
+
- Move the screenshot controls to the bottom of the Sonicloud Devices page.
|
|
14
50
|
- Provide an English-default user guide with a Chinese version, UI installation, update, and removal instructions, and screenshots.
|
|
15
51
|
- Refactor device and speech handling and share retry logic, preserving functionality and UI.
|
|
16
52
|
- Streamline specifications and development docs, consolidating CI/CD configuration and release verification records.
|
|
@@ -18,6 +54,13 @@
|
|
|
18
54
|
- Relax release-notes rules: publishing falls back to the Unreleased section when the changelog has no section for the current version, so merging dev directly can ship.
|
|
19
55
|
- Accept fully folded changelogs in release checks: an Unreleased section must stay at the top when present, and a fully folded changelog (version sections only) publishes from the current version section.
|
|
20
56
|
|
|
57
|
+
### Fixed
|
|
58
|
+
|
|
59
|
+
- Check macOS Screen Recording permission in both the host and native screenshot process before showing the overlay, preventing it from covering system permission prompts; missing Accessibility permission does not block regular screenshots or manual scrolling.
|
|
60
|
+
- Restore macOS voice helper execution permissions lost during cross-platform packaging so packages built on Windows can start Sonicloud Voice.
|
|
61
|
+
- Hide unsupported image translation and scrolling OCR/Word export actions in both Windows and macOS screenshot processes while keeping scrolling capture available; retain the original Developer ID identity for the macOS package.
|
|
62
|
+
- Parse Windows tar line endings correctly during package checks so complete packages are not reported as missing files.
|
|
63
|
+
|
|
21
64
|
## 0.1.1 - 2026-11-09
|
|
22
65
|
|
|
23
66
|
### Added
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -1,6 +1,40 @@
|
|
|
1
1
|
# 更新日志
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.1.4 - 2026-11-26
|
|
4
|
+
|
|
5
|
+
### 新增
|
|
6
|
+
|
|
7
|
+
- 插件界面、操作提示及桌面语音浮层自动跟随 Harness 的中文、英语、日语、西班牙语、法语、德语、俄语和葡萄牙语,切换保留草稿与语音会话;截图独立界面除外。
|
|
8
|
+
- 插件管理页提供本地化名称,中文简介使用中文 README,其余语言使用英文 README。
|
|
9
|
+
|
|
10
|
+
### 修复
|
|
11
|
+
|
|
12
|
+
- 更新 CI 安装包白名单,允许并检查八语种元数据和字典,修复多语言资源被误判为非发布文件导致打包失败的问题。
|
|
13
|
+
- 修复凭据扫描将 `panel.password` 等翻译键误判为密码配置的问题,保留实际凭据检测。
|
|
14
|
+
- 修复设置弹框中设备信息和设置项被过早切换为上下排列的问题,恢复常规宽度下的左右布局,并保留长文案换行。
|
|
15
|
+
- 延长 npm 发布确认窗口,上传超时或连接中断后自动核对原包,并重试临时查询与下载故障,避免包已发布却误报失败;完整性不一致仍停止发布。
|
|
16
|
+
- 统一所有分支的 CI 更新说明:按日志顺序读取最新的非空章节,无论是未发布还是具体版本,不再依赖分支或包版本。
|
|
17
|
+
|
|
18
|
+
## 0.1.3 - 2026-11-20
|
|
19
|
+
|
|
20
|
+
### 新增
|
|
21
|
+
|
|
22
|
+
- macOS 首次启用或重新连接时检查打字和截图权限,在“声云设备”中分别引导 Sonicloud Voice 与 screenhelper 授权并重新检查;系统授权由用户手动确认。
|
|
23
|
+
- 集成 Windows x64 与 macOS ARM64 独立截图进程,支持鼠标截图键及“声云设备”的“开始截图”按钮,提供选区、标注、复制、保存、贴图和滚动截图;截图重复触发及启动失败会提示,禁用插件时关闭截图和贴图窗口。
|
|
24
|
+
|
|
25
|
+
### 变更
|
|
26
|
+
|
|
27
|
+
- macOS Sonicloud Voice 改用 Developer ID 签名;旧版本的辅助功能授权可能需要按系统提示重新确认。
|
|
28
|
+
- 将“声云设备”页面的截图操作行移至最底部。
|
|
29
|
+
|
|
30
|
+
### 修复
|
|
31
|
+
|
|
32
|
+
- macOS 截图在宿主和原生进程两层检查屏幕录制权限,缺权限时不显示蒙层,避免遮挡系统授权弹窗;辅助功能缺失不阻止普通截图和手动滚动。
|
|
33
|
+
- 恢复跨平台打包丢失的 macOS 语音组件执行权限,避免从 Windows 生成的安装包无法启动 Sonicloud Voice。
|
|
34
|
+
- Windows、macOS 截图进程统一隐藏未接入的图片翻译及滚动 OCR/Word 导出入口,保留滚动截图;macOS 包沿用原 Developer ID 签名。
|
|
35
|
+
- 修正 Windows 上安装包检查对 tar 换行的解析,避免完整安装包被误判缺少文件。
|
|
36
|
+
|
|
37
|
+
## 0.1.2 - 2026-11-12
|
|
4
38
|
|
|
5
39
|
### 新增
|
|
6
40
|
|
|
@@ -11,6 +45,8 @@
|
|
|
11
45
|
|
|
12
46
|
### 变更
|
|
13
47
|
|
|
48
|
+
- macOS Sonicloud Voice 改用 Developer ID 签名;旧版本的辅助功能授权可能需要按系统提示重新确认。
|
|
49
|
+
- 将“声云设备”页面的截图操作行移至最底部。
|
|
14
50
|
- 提供默认英文、可切换中文的用户指南,补充界面安装、更新、卸载说明及截图。
|
|
15
51
|
- 重构设备与语音处理、复用重连逻辑,保持功能和界面不变。
|
|
16
52
|
- 精简规格与开发文档,汇总 CI/CD 配置及发布验证记录。
|
|
@@ -18,6 +54,13 @@
|
|
|
18
54
|
- 放宽发布说明规则:更新日志缺少当前版本章节时正式发布自动回退采用未发布章节内容,dev 分支直接合并即可发布。
|
|
19
55
|
- 发布校验兼容完全折叠的更新日志:未发布章节存在时仍须置顶,完全折叠(仅版本章节、无未发布章节)时正式发布直接采用当前版本章节。
|
|
20
56
|
|
|
57
|
+
### 修复
|
|
58
|
+
|
|
59
|
+
- macOS 截图在宿主和原生进程两层检查屏幕录制权限,缺权限时不显示蒙层,避免遮挡系统授权弹窗;辅助功能缺失不阻止普通截图和手动滚动。
|
|
60
|
+
- 恢复跨平台打包丢失的 macOS 语音组件执行权限,避免从 Windows 生成的安装包无法启动 Sonicloud Voice。
|
|
61
|
+
- Windows、macOS 截图进程统一隐藏未接入的图片翻译及滚动 OCR/Word 导出入口,保留滚动截图;macOS 包沿用原 Developer ID 签名。
|
|
62
|
+
- 修正 Windows 上安装包检查对 tar 换行的解析,避免完整安装包被误判缺少文件。
|
|
63
|
+
|
|
21
64
|
## 0.1.1 - 2026-11-09
|
|
22
65
|
|
|
23
66
|
### 新增
|
package/README.md
CHANGED
|
@@ -14,12 +14,16 @@ Use your Sonicloud smart mouse to dictate, translate, and search in desktop apps
|
|
|
14
14
|
|
|
15
15
|
Supports Apple silicon Macs and Windows x64. The plugin identifies your mouse and connects to the services automatically, with no authentication details to enter.
|
|
16
16
|
|
|
17
|
+
The plugin UI and desktop voice overlay follow the Harness language: Chinese, English, Japanese, Spanish, French, German, Russian, and Brazilian Portuguese. No separate language selection is needed, and speech recognition and translation languages are unchanged. The separate screenshot UI is excluded.
|
|
18
|
+
|
|
17
19
|
## Installation and activation
|
|
18
20
|
|
|
19
|
-
1. Open DeepSeek Harness and select **Plugins
|
|
20
|
-
2. Click **Add Plugin
|
|
21
|
-
3. Enter **@sonicloud/dsh-sonicloud-device** and click **Install
|
|
22
|
-
4. Once installed, enable the plugin and open **Settings → Sonicloud Devices
|
|
21
|
+
1. Open DeepSeek Harness and select **Plugins** in the sidebar.
|
|
22
|
+
2. Click **Add Plugin** in the upper-right corner.
|
|
23
|
+
3. Enter **@sonicloud/dsh-sonicloud-device** and click **Install**.
|
|
24
|
+
4. Once installed, enable the plugin and open **Settings → Sonicloud Devices** to view and configure your mouse.
|
|
25
|
+
|
|
26
|
+
On macOS, initial activation and reconnection check typing and screenshot permissions. Sonicloud Devices keeps the setup guidance available; see [first-time permissions](#first-time-permissions-on-macos).
|
|
23
27
|
|
|
24
28
|

|
|
25
29
|
|
|
@@ -31,15 +35,30 @@ Supports Apple silicon Macs and Windows x64. The plugin identifies your mouse an
|
|
|
31
35
|
| Voice translation | Choose source and target languages and assign Voice Translation to the voice or M button. Hold to speak, then release to insert the translation |
|
|
32
36
|
| Voice search | Assign Voice Search to the M button and choose Baidu, Bing, or Google. Speak your query and release to search |
|
|
33
37
|
| AI conversations | Hold the AI button to speak, then release to fill a Harness conversation. Auto-send is enabled by default and can be turned off in settings |
|
|
38
|
+
| Screenshots | Press the mouse capture button or click Start Screenshot in Sonicloud Devices, then select a region to annotate, copy, save, pin, or capture scrolling content |
|
|
34
39
|
| Buttons and sensitivity | Assign Enter, Backspace, Open Link, or other actions to the M button, and adjust mouse DPI |
|
|
35
40
|
| Multiple mice | View each mouse's connection, battery level, and serial number, and save its language, button, and sensitivity settings separately |
|
|
36
41
|
|
|
37
|
-
Manage these options in **Settings → Sonicloud Devices
|
|
42
|
+
Manage these options in **Settings → Sonicloud Devices**. Changes save automatically. **Restore Defaults** resets only the current mouse, and reconnecting restores its saved settings. The left navigation bar also shows a **Sonicloud Devices** panel with the same device management UI by default; use the Sidebar switch on the Sonicloud Devices title row to hide or restore it. Hiding the panel does not affect the settings page.
|
|
38
43
|
|
|
39
44
|

|
|
40
45
|
|
|
41
46
|
## Getting started
|
|
42
47
|
|
|
48
|
+
### First-time permissions on macOS
|
|
49
|
+
|
|
50
|
+
After enabling the plugin, open **Sonicloud Devices** and grant the permissions you need:
|
|
51
|
+
|
|
52
|
+
| Component | Permission and purpose |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
| Sonicloud Voice | Accessibility: insert recognized text into desktop apps; recognition and copying remain available without it |
|
|
55
|
+
| screenhelper | Screen Recording: required for screenshots; the capture overlay stays closed until permission is granted |
|
|
56
|
+
| screenhelper | Accessibility: optional for automatic scrolling; regular screenshots and manual scrolling remain available |
|
|
57
|
+
|
|
58
|
+
Click the corresponding **Authorize** button to let that component request permission. Confirm manually in the system prompt or **System Settings → Privacy & Security**, then click **Authorized, Check Again**. If a component is missing from the list, expand its location in the page and add it by that path. The plugin checks and guides setup; it never confirms system permissions for you.
|
|
59
|
+
|
|
60
|
+
Sonicloud Voice now uses a Developer ID signature. If an older version is already checked but the plugin still reports missing permission, follow the system prompts to authorize it again and restart Harness, then recheck.
|
|
61
|
+
|
|
43
62
|
### Voice typing and translation
|
|
44
63
|
|
|
45
64
|
1. Turn on your mouse, select Bluetooth or 2.4 GHz mode, and connect it.
|
|
@@ -51,7 +70,7 @@ Audio comes from the mouse. Recognized text and processing status appear in a se
|
|
|
51
70
|
|
|
52
71
|
Keep the target window, document, and input position unchanged during recording, and avoid typing, clicking, or scrolling. If the target changes or the app does not support automatic insertion, the overlay keeps the result available to copy. If translation fails, you can copy the recognized source text.
|
|
53
72
|
|
|
54
|
-
|
|
73
|
+
For macOS insertion permissions, see [first-time permissions](#first-time-permissions-on-macos). Insertion temporarily uses the clipboard, then restores its previous contents while preserving anything newly copied in the meantime.
|
|
55
74
|
|
|
56
75
|
On Windows, recognized text is typed live into the focused field character by character through the typer injection library, with automatic corrections while you speak; translation types only the final translated text. Character injection never touches the clipboard. Password fields and windows that reject simulated input (for example, elevated apps) keep the result available to copy instead.
|
|
57
76
|
|
|
@@ -59,18 +78,24 @@ On Windows, recognized text is typed live into the focused field character by ch
|
|
|
59
78
|
|
|
60
79
|
Holding the AI button brings Harness to the foreground, even when it is minimized or hidden in the tray. If you are on an AI conversation page, it uses that conversation; otherwise, it creates one. You do not need to focus the input field. Recognized text is appended to the existing draft.
|
|
61
80
|
|
|
62
|
-
With **Auto-send
|
|
81
|
+
With **Auto-send** enabled, the complete draft and attachments are submitted. Turn it off to review and send the text manually. This setting is saved per mouse, and each recording uses the setting captured when the button was pressed. If you switch pages or conversations during recording, the result still goes to the captured conversation. If conversation creation or insertion fails, the overlay keeps the result available to copy; on Windows it also shows a one-click submit button — open the target input and click it to type the text into the focused field.
|
|
63
82
|
|
|
64
83
|
### Search and Open Link
|
|
65
84
|
|
|
66
|
-
Voice search uses the current mouse's recognition language and selected search engine. For **Open Link
|
|
85
|
+
Voice search uses the current mouse's recognition language and selected search engine. For **Open Link**, enter a URL and click **Confirm**; you can omit `https://` or `http://`. Searching and opening links do not require a focused input field. Non-voice M button actions run when you release the button.
|
|
86
|
+
|
|
87
|
+
### Screenshots
|
|
88
|
+
|
|
89
|
+
Press the mouse capture button or click **Start Screenshot** at the bottom of **Sonicloud Devices**, then select a region in the separate capture UI. The capture process is bundled. The UI button also works without a connected mouse. Repeated triggers while capturing report that a capture is already in progress. Press `Esc` to leave region selection. Disabling the plugin or quitting Harness closes the capture process and pinned image windows.
|
|
90
|
+
|
|
91
|
+
On macOS, complete [first-time permissions](#first-time-permissions-on-macos) before taking a screenshot. Cloud service integration for OCR, image translation, and Word export is outside this integration.
|
|
67
92
|
|
|
68
93
|
## Update or uninstall
|
|
69
94
|
|
|
70
|
-
Find the Sonicloud smart mouse plugin under **Plugins → Installed
|
|
95
|
+
Find the Sonicloud smart mouse plugin under **Plugins → Installed** in Harness.
|
|
71
96
|
|
|
72
|
-
- **Update**: Select **Update
|
|
73
|
-
- **Uninstall**: Select **Uninstall
|
|
97
|
+
- **Update**: Select **Update** from the plugin's actions menu and follow the confirmation prompts.
|
|
98
|
+
- **Uninstall**: Select **Uninstall** from the plugin's actions menu and follow the confirmation prompts.
|
|
74
99
|
|
|
75
100
|
## Troubleshooting
|
|
76
101
|
|
package/README.zh.md
CHANGED
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
|
|
15
15
|
支持 Apple 芯片 Mac 和 Windows x64。插件会自动识别鼠标并接入服务,无需填写鉴权信息。
|
|
16
16
|
|
|
17
|
+
插件界面和桌面语音浮层自动跟随 Harness 语言,支持中文、英语、日语、西班牙语、法语、德语、俄语和巴西葡萄牙语;无需单独切换,不影响语音识别和翻译语种。截图独立界面暂不随插件切换语言。
|
|
18
|
+
|
|
17
19
|
## 安装与启用
|
|
18
20
|
|
|
19
21
|
1. 打开 DeepSeek Harness,进入左侧的**插件**页面。
|
|
@@ -21,6 +23,8 @@
|
|
|
21
23
|
3. 输入 **@sonicloud/dsh-sonicloud-device**,点击**安装**。
|
|
22
24
|
4. 安装完成后启用插件,打开**设置 → 声云设备**,即可查看和配置鼠标。
|
|
23
25
|
|
|
26
|
+
macOS 首次启用或重新连接插件时会检查打字和截图权限,并在“声云设备”中保留授权引导;操作见[首次授权](#macos-首次授权)。
|
|
27
|
+
|
|
24
28
|

|
|
25
29
|
|
|
26
30
|
## 你可以做什么
|
|
@@ -31,6 +35,7 @@
|
|
|
31
35
|
| 语音翻译 | 选择源语言和目标语言,将语音键或 M 键设为“语音翻译”,按住说话,松开后填入译文 |
|
|
32
36
|
| 语音搜索 | 将 M 键设为“语音搜索”,选择百度、Bing 或 Google,说出关键词后松开即可搜索 |
|
|
33
37
|
| AI 对话 | 按住 AI 键说话,松开后填入 Harness 对话;“自动发送”默认开启,可在设置中关闭 |
|
|
38
|
+
| 截图 | 按鼠标截图键,或在“声云设备”中点击“开始截图”,框选后标注、复制、保存、贴图或滚动截图 |
|
|
34
39
|
| 自定义按键与灵敏度 | 为 M 键选择回车、后退或一键链接等动作,并调整鼠标 DPI |
|
|
35
40
|
| 多设备管理 | 查看每台鼠标的连接方式、电量和序列号,分别保存语言、按键和灵敏度设置 |
|
|
36
41
|
|
|
@@ -40,6 +45,20 @@
|
|
|
40
45
|
|
|
41
46
|
## 开始使用
|
|
42
47
|
|
|
48
|
+
### macOS 首次授权
|
|
49
|
+
|
|
50
|
+
安装后启用插件,打开**声云设备**,按需要为以下组件授权:
|
|
51
|
+
|
|
52
|
+
| 组件 | 权限与用途 |
|
|
53
|
+
| --- | --- |
|
|
54
|
+
| Sonicloud Voice | 辅助功能:将识别文字自动填入桌面应用;未授权仍可识别并复制文字 |
|
|
55
|
+
| screenhelper | 屏幕录制:截图必需;未授权时不会显示截图蒙层 |
|
|
56
|
+
| screenhelper | 辅助功能:自动滚动可选,普通截图和手动滚动不受影响 |
|
|
57
|
+
|
|
58
|
+
点击对应的**授权**按钮后,由该组件向系统申请权限;在系统弹窗或**系统设置 → 隐私与安全性**中手动确认,再点击**已授权,重新检查**。找不到组件时,可展开页面中的组件位置,按路径手动添加。插件只检查和引导,不会自动确认系统授权。
|
|
59
|
+
|
|
60
|
+
Sonicloud Voice 已改用 Developer ID 签名。若旧版本已勾选,但插件仍显示待授权,请按系统提示重新授权并重启 Harness,再重新检查。
|
|
61
|
+
|
|
43
62
|
### 语音输入与翻译
|
|
44
63
|
|
|
45
64
|
1. 打开鼠标电源,选择蓝牙或 2.4G 模式并完成连接。
|
|
@@ -51,7 +70,7 @@
|
|
|
51
70
|
|
|
52
71
|
录音期间请保持目标窗口、文档和输入位置,不进行键盘编辑、鼠标点击或滚动。目标发生变化或应用不支持自动填入时,浮层会保留结果供复制;翻译失败时可复制识别原文。
|
|
53
72
|
|
|
54
|
-
macOS
|
|
73
|
+
macOS 自动填入所需权限见[首次授权](#macos-首次授权)。填入文字时会临时使用剪贴板,随后恢复原内容,并保留期间新复制的内容。
|
|
55
74
|
|
|
56
75
|
Windows 通过 typer 标准注入库逐字打字:说话期间文字实时填入当前焦点输入框并自动更正,全程不占用剪贴板;翻译在译文就绪后逐字打出。目标为密码框或注入被拒(如管理员窗口)时保留结果供复制。
|
|
57
76
|
|
|
@@ -65,6 +84,12 @@ Windows 通过 typer 标准注入库逐字打字:说话期间文字实时填
|
|
|
65
84
|
|
|
66
85
|
语音搜索使用当前鼠标的识别语言和所选搜索引擎。使用一键链接时,先填写网址并点击**确认**;可以省略 `https://` 或 `http://`。搜索和打开链接无需先选中输入框,非语音的 M 键动作在松键时执行。
|
|
67
86
|
|
|
87
|
+
### 截图
|
|
88
|
+
|
|
89
|
+
按鼠标截图键,或点击**声云设备**页面底部的**开始截图**,在独立截图界面中选择区域后操作。截图进程随插件提供,界面按钮无需连接鼠标。截图期间重复触发会提示正在进行,按 `Esc` 可退出选区。插件禁用或 Harness 退出时,截图进程和贴图窗口一并关闭。
|
|
90
|
+
|
|
91
|
+
macOS 请先完成[首次授权](#macos-首次授权),再开始截图。OCR、图片翻译和 Word 导出所需的云服务接入不包含在本次集成中。
|
|
92
|
+
|
|
68
93
|
## 更新与卸载
|
|
69
94
|
|
|
70
95
|
在 Harness 的**插件 → 已安装**中找到声云智能鼠标插件。
|
package/dist/build.json
CHANGED