@sonicloud/dsh-sonicloud-device 0.1.3 → 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 +16 -1
- package/CHANGELOG.zh.md +16 -1
- package/README.md +15 -13
- package/README.zh.md +2 -0
- package/dist/build.json +1 -1
- package/dist/client.js +1506 -109
- package/docs/contributing/development.md +4 -2
- package/docs/specs/ci-cd.md +5 -4
- package/docs/specs/multilingual.md +98 -0
- 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/desktop/VOICE_SOURCE.json +2 -2
- package/native/desktop/VoicePanel.cs +70 -33
- package/native/desktop/VoicePanel.swift +58 -21
- package/native/desktop/darwin-arm64/Sonicloud Voice.app/Contents/MacOS/sonicloud-voice +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 +17 -11
- package/src/desktop/screenshot-worker.mjs +33 -32
- package/src/desktop/screenshot.mjs +25 -24
- 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 +41 -40
- 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 +7 -2
- 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 +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
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
|
|
4
19
|
|
|
5
20
|
### Added
|
|
6
21
|
|
package/CHANGELOG.zh.md
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
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
|
|
4
19
|
|
|
5
20
|
### 新增
|
|
6
21
|
|
package/README.md
CHANGED
|
@@ -14,12 +14,14 @@ 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.
|
|
23
25
|
|
|
24
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).
|
|
25
27
|
|
|
@@ -37,7 +39,7 @@ On macOS, initial activation and reconnection check typing and screenshot permis
|
|
|
37
39
|
| Buttons and sensitivity | Assign Enter, Backspace, Open Link, or other actions to the M button, and adjust mouse DPI |
|
|
38
40
|
| Multiple mice | View each mouse's connection, battery level, and serial number, and save its language, button, and sensitivity settings separately |
|
|
39
41
|
|
|
40
|
-
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.
|
|
41
43
|
|
|
42
44
|

|
|
43
45
|
|
|
@@ -45,7 +47,7 @@ Manage these options in **Settings → Sonicloud Devices (设置 → 声云设
|
|
|
45
47
|
|
|
46
48
|
### First-time permissions on macOS
|
|
47
49
|
|
|
48
|
-
After enabling the plugin, open **Sonicloud Devices
|
|
50
|
+
After enabling the plugin, open **Sonicloud Devices** and grant the permissions you need:
|
|
49
51
|
|
|
50
52
|
| Component | Permission and purpose |
|
|
51
53
|
| --- | --- |
|
|
@@ -53,7 +55,7 @@ After enabling the plugin, open **Sonicloud Devices (声云设备)** and grant t
|
|
|
53
55
|
| screenhelper | Screen Recording: required for screenshots; the capture overlay stays closed until permission is granted |
|
|
54
56
|
| screenhelper | Accessibility: optional for automatic scrolling; regular screenshots and manual scrolling remain available |
|
|
55
57
|
|
|
56
|
-
Click the corresponding **Authorize
|
|
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.
|
|
57
59
|
|
|
58
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.
|
|
59
61
|
|
|
@@ -76,24 +78,24 @@ On Windows, recognized text is typed live into the focused field character by ch
|
|
|
76
78
|
|
|
77
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.
|
|
78
80
|
|
|
79
|
-
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.
|
|
80
82
|
|
|
81
83
|
### Search and Open Link
|
|
82
84
|
|
|
83
|
-
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.
|
|
84
86
|
|
|
85
87
|
### Screenshots
|
|
86
88
|
|
|
87
|
-
Press the mouse capture button or click **Start Screenshot
|
|
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.
|
|
88
90
|
|
|
89
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.
|
|
90
92
|
|
|
91
93
|
## Update or uninstall
|
|
92
94
|
|
|
93
|
-
Find the Sonicloud smart mouse plugin under **Plugins → Installed
|
|
95
|
+
Find the Sonicloud smart mouse plugin under **Plugins → Installed** in Harness.
|
|
94
96
|
|
|
95
|
-
- **Update**: Select **Update
|
|
96
|
-
- **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.
|
|
97
99
|
|
|
98
100
|
## Troubleshooting
|
|
99
101
|
|
package/README.zh.md
CHANGED
package/dist/build.json
CHANGED