Skip to content

Doubao-powered voice input for Linux, Wayland and Omarchy

chore: 发布 1.3.1 剪贴板修复版本 (#67)

Leyangd4be00554b37
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 03dfe86..6a2ed01 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## 1.3.1
+
+- Fixed clipboard restoration after dictation: prefer plain text when the original clipboard offers both plain text and HTML, preventing HTML markup from appearing in later text pastes. Image and file payloads retain priority; HTML-only clipboards still use HTML. Added Wayland and X11 regression coverage.
+- Upgraded Midscene desktop acceptance to 1.13.3 and stabilized onboarding, microphone, polishing, and cancellation flows.
+- Preserved historical CI screenshots and reports, including custom steps without linked screenshots, and retried transient report-history download failures.
+
## 1.3.0
- Added Deepgram Nova-3 as an optional recognition provider for US English dictation. Users supply their own API key; interim and final transcripts appear in the existing voice-input flow. The key is stored separately with owner-only permissions.
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 27827a2..987b859 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -79,9 +79,9 @@ For marketplace preparation, use `make marketplace-check` with Gitleaks on PATH
and follow [the publishing checklist](packaging/MARKETPLACE.md). Reports and local
review drafts belong in ignored `artifacts/` and `docs/`, not in release payloads.
-The current public version is `1.3.0`. Keep `pyproject.toml`, `manifest.json` and
+The current public version is `1.3.1`. Keep `pyproject.toml`, `manifest.json` and
`src/doubao_input/product.py` aligned; `python packaging/version_check.py` verifies
-them. A pushed tag such as `v1.3.0` runs all checks and secret scanning, builds app
+them. A pushed tag such as `v1.3.1` runs all checks and secret scanning, builds app
and plugin archives for every supported Python version, creates `SHA256SUMS`, and
publishes the GitHub Release. `workflow_dispatch` performs a non-publishing build.
# Bounded desktop tests
diff --git a/README.md b/README.md
index e281c1d..7b19d26 100644
--- a/README.md
+++ b/README.md
@@ -429,7 +429,7 @@ validate package metadata and scan for secrets. The current whole-package branch
coverage floor is 55%; desktop UI, WebKit and real-device paths remain included
in the denominator.
-The current release version is **1.3.0**. A `v1.3.0` tag must match every embedded
+The current release version is **1.3.1**. A `v1.3.1` tag must match every embedded
version before CI can publish. Tag releases rebuild both offline app and Omarchy
plugin archives for Python 3.11–3.14 and attach SHA-256 checksums. A manually started
release workflow builds artifacts for inspection but does not publish them. Real
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 2c5efcf..34ae546 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -335,7 +335,7 @@ timeout --kill-after=5s 50s env PYTHONPATH=src python3 tests/manual/x11.py --run
GTK 测试、代码检查、编译、包元数据校验和密钥扫描。覆盖率按整个源码包的分支覆盖率
计算,当前真实门槛为 55%;GTK 界面、WebKit 和实体设备路径没有从分母中排除。
-当前发布版本为 **1.3.0**。只有 `v1.3.0` 标签与所有内置版本完全一致时,CI 才能发布。
+当前发布版本为 **1.3.1**。只有 `v1.3.1` 标签与所有内置版本完全一致时,CI 才能发布。
标签发布会为 Python 3.11–3.14 分别构建独立应用与 Omarchy 插件离线包,并附带 SHA-256
校验文件。手动启动发布工作流只构建供检查的产物,不会公开发布。真实登录、麦克风、
全局按键及桌面行为仍需按人工验收清单检查。
diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md
index c3f393a..ba8dab3 100644
--- a/RELEASE_NOTES.md
+++ b/RELEASE_NOTES.md
@@ -1,31 +1,23 @@
-# Doubao Say 1.3.0
+# Doubao Say 1.3.1
-豆包说 1.3.0 新增 Deepgram Nova-3 英语语音识别。现在可以在同一应用中选择豆包账号、火山引擎官方 API,或 Deepgram API。
+豆包说 1.3.1 修复听写结束后的剪贴板恢复问题,并更新桌面自动化验收和测试报告。
-## 本次新增
+## 剪贴板恢复修复
-### Deepgram Nova-3 英语听写
+从浏览器等应用复制内容时,剪贴板可能同时提供纯文本和 HTML。旧版在听写结束后优先恢复 HTML,可能导致下一次向文本框粘贴时出现 HTML 标签。新版优先恢复纯文本,并补充 Wayland 和 X11 回归测试。
-在「设置 → 语音识别服务」中选择 **Deepgram Nova-3(英语)**,填写自己的 API Key,并先使用「测试 API Key」检查连接。应用会在录音期间流式发送音频,显示中间识别结果,并在录音结束后取得最终文字。当前固定使用美式英语;其他语言和多语种模式尚未开放。Deepgram 按你的账号计费。
+图片和文件列表仍保留原有优先级;仅提供 HTML 的剪贴板仍按 HTML 恢复。
-API Key 单独保存在本机,仅当前用户可读,不进入设置文件、诊断信息、日志或安装包。切换识别服务时,豆包网页登录与火山引擎 API 仍可继续使用。
+## 桌面验收与报告
-### 输入与安装改进
+Midscene 升级至 1.13.3,调整引导、麦克风、文字润色和取消听写等流程的自动化操作。测试报告保留历史截图及未关联截图的自定义步骤,并在历史报告下载遇到临时错误时重试。
-- 使用 Fn 听写时,可以用另一个按键结束录音,减少按键操作上的限制。
-- 修正 Debian 安装包的离线依赖安装路径;独立应用和 Omarchy 插件的 GitHub Release 压缩包仍是主要分发方式。
-- README 增加中英文实际界面截图和三种识别方式的设置说明。
+本版继续支持豆包账号识别、火山引擎 Volcengine Seed ASR 2.0 和 Deepgram Nova-3 英语识别。
## 获取与升级
-本 Release 提供适配 Python 3.11–3.14 的独立应用与 Omarchy 插件压缩包,并附有 `SHA256SUMS`。按 CPU 架构和 Python 版本选择对应文件,运行包内 `./install.sh`;设置与登录信息会保留。完整步骤见 [安装指南](https://doubao-say.lifeos.md/zh/guide/install)。
+本 Release 提供适配 Python 3.11–3.14 的独立应用与 Omarchy 插件压缩包,并附有 `SHA256SUMS`。按 CPU 架构和 Python 版本选择对应文件,运行包内 `./install.sh`;设置与登录信息会保留。完整步骤见[安装指南](https://doubao-say.lifeos.md/zh/guide/install)。
-豆包说是非官方客户端,不代表豆包、字节跳动或 Deepgram 的认可或背书。
+Git 安装的 Omarchy 插件需先禁用,再执行 `omarchy plugin update md.lifeos.doubao-say`,按安装指南完成检查后重新启用。市场审核状态以插件市场公布的提交快照为准。
-## English highlights
-
-Doubao Say 1.3.0 adds **Deepgram Nova-3 for US English dictation** alongside Doubao web-account recognition and the official Volcengine Seed ASR 2.0 API. Choose a recognition service in Settings, enter your own API key for an API provider, and test it before dictating. Deepgram receives audio only while recording and bills usage to your account. Its key stays in a separate owner-readable local file.
-
-The release also improves Fn-key dictation completion, fixes the Debian offline dependency path, and updates the bilingual README screenshots and setup instructions. App and Omarchy-plugin archives are built for Python 3.11–3.14 with SHA-256 checksums.
-
-See the full comparison: https://github.com/quanru/doubao-say/compare/v1.2.0...v1.3.0
+[完整变更](https://github.com/quanru/doubao-say/compare/v1.3.0...v1.3.1)
diff --git a/debian/changelog b/debian/changelog
index c6bfb68..7166488 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+doubao-say (1.3.1-1) noble; urgency=medium
+
+ * Prefer plain text over HTML when restoring the clipboard after dictation.
+ * Add Wayland and X11 clipboard regression coverage.
+
+ -- doubao-say contributors <[email protected]> Fri, 02 Oct 2026 09:30:00 +0800
+
doubao-say (1.3.0-1) noble; urgency=medium
* Add optional Deepgram Nova-3 English speech recognition.
diff --git a/manifest.json b/manifest.json
index 025f82c..a2e1348 100644
--- a/manifest.json
+++ b/manifest.json
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "md.lifeos.doubao-say",
"name": "Doubao Say",
- "version": "1.3.0",
+ "version": "1.3.1",
"author": "quanru and contributors",
"description": "Doubao Say turns speech into polished text with live captions and configurable tap or hold triggers on Wayland.",
"kinds": [
diff --git a/packaging/INSTALL.md b/packaging/INSTALL.md
index 80f2684..6f8f8d0 100644
--- a/packaging/INSTALL.md
+++ b/packaging/INSTALL.md
@@ -1,4 +1,4 @@
-# Doubao Say 1.3.0
+# Doubao Say 1.3.1
[Website](https://doubao-say.lifeos.md/) · [简体中文安装指南](https://doubao-say.lifeos.md/zh/guide/install)
diff --git a/packaging/build-deb.sh b/packaging/build-deb.sh
index 3dfa140..152daff 100755
--- a/packaging/build-deb.sh
+++ b/packaging/build-deb.sh
@@ -7,7 +7,7 @@
# python3-installer
#
# Usage:
-# ./packaging/build-deb.sh # builds ../doubao-say_1.3.0-1_all.deb
+# ./packaging/build-deb.sh # builds ../doubao-say_1.3.1-1_all.deb
# ./packaging/build-deb.sh --install # also installs it locally
set -e
diff --git a/packaging/runtime-requirements.txt b/packaging/runtime-requirements.txt
index 4c82227..1290485 100644
--- a/packaging/runtime-requirements.txt
+++ b/packaging/runtime-requirements.txt
@@ -1,4 +1,4 @@
-# Complete Python dependency set tested for the 1.3.0 release.
+# Complete Python dependency set tested for the 1.3.1 release.
websockets==17.1
sounddevice==0.5.6
evdev==2.0.0
diff --git a/pyproject.toml b/pyproject.toml
index dd462d2..5c389dc 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "doubao-say"
-version = "1.3.0"
+version = "1.3.1"
description = "Global push-to-hold voice input for Linux/Wayland, backed by Doubao ASR"
readme = "README.md"
requires-python = ">=3.11"
diff --git a/src/doubao_input/product.py b/src/doubao_input/product.py
index dec0526..431b865 100644
--- a/src/doubao_input/product.py
+++ b/src/doubao_input/product.py
@@ -1,5 +1,5 @@
"""Single runtime source for Doubao Say release identity."""
-VERSION = "1.3.0"
+VERSION = "1.3.1"
REPOSITORY_URL = "https://github.com/quanru/doubao-say"
LATEST_RELEASE_API = "https://api.github.com/repos/quanru/doubao-say/releases/latest"
diff --git a/tests/contracts/test_release.py b/tests/contracts/test_release.py
index 29a132e..05b1729 100644
--- a/tests/contracts/test_release.py
+++ b/tests/contracts/test_release.py
@@ -49,7 +49,7 @@ class ReleaseTest(unittest.TestCase):
notes = (ROOT / "RELEASE_NOTES.md").read_text()
self.assertIn("--notes-file RELEASE_NOTES.md", workflow)
self.assertNotIn("--generate-notes", workflow)
- for expected in ("Doubao Say 1.3.0", "Volcengine Seed ASR 2.0", "Deepgram Nova-3"):
+ for expected in ("Doubao Say 1.3.1", "Volcengine Seed ASR 2.0", "Deepgram Nova-3"):
self.assertIn(expected, notes)
def test_both_archives_exclude_ignored_source_files(self):
diff --git a/tests/contracts/test_version_check.py b/tests/contracts/test_version_check.py
index 4a1ef29..a656789 100644
--- a/tests/contracts/test_version_check.py
+++ b/tests/contracts/test_version_check.py
@@ -11,13 +11,13 @@ SPEC.loader.exec_module(VERSION_CHECK)
class VersionCheckTests(unittest.TestCase):
def test_sources_are_aligned_at_current_release(self):
- self.assertEqual(VERSION_CHECK.validate(root=ROOT), "1.3.0")
+ self.assertEqual(VERSION_CHECK.validate(root=ROOT), "1.3.1")
def test_exact_release_tag_is_accepted(self):
- self.assertEqual(VERSION_CHECK.validate("v1.3.0", ROOT), "1.3.0")
+ self.assertEqual(VERSION_CHECK.validate("v1.3.1", ROOT), "1.3.1")
def test_wrong_release_tag_is_rejected(self):
- with self.assertRaisesRegex(ValueError, "must be 'v1.3.0'"):
+ with self.assertRaisesRegex(ValueError, "must be 'v1.3.1'"):
VERSION_CHECK.validate("v1.1.0", ROOT)
diff --git a/tests/unit/test_product.py b/tests/unit/test_product.py
index bc8846a..a7fe2f8 100644
--- a/tests/unit/test_product.py
+++ b/tests/unit/test_product.py
@@ -51,7 +51,7 @@ class ProductTest(TestCase):
self.assertNotIn("private-device-identifier", data)
self.assertNotIn("cookies", data)
self.assertNotIn("transcript", data)
- self.assertEqual(json.loads(data)["product_version"], "1.3.0")
+ self.assertEqual(json.loads(data)["product_version"], "1.3.1")
self.assertEqual(json.loads(data)["recognition_provider"], "volcengine")
self.assertEqual(json.loads(data)["recent_stages"], [
{"stage": "first_result", "after_ms": 125}])
diff --git a/tests/unit/test_updates.py b/tests/unit/test_updates.py
index a2724ff..f1a78d0 100644
--- a/tests/unit/test_updates.py
+++ b/tests/unit/test_updates.py
@@ -45,7 +45,7 @@ class UpdateTest(TestCase):
self.assertEqual(found[0].version, "1.4.0")
cache = json.loads(checker.cache_path().read_text())
self.assertEqual(cache["checked_at"], 1000)
- self.assertEqual(cache["current_version"], "1.3.0")
+ self.assertEqual(cache["current_version"], "1.3.1")
self.assertEqual(checker.cache_path().stat().st_mode & 0o777, 0o600)
def test_fresh_cache_avoids_network_and_repeats_notification(self):
@@ -56,7 +56,7 @@ class UpdateTest(TestCase):
checker.cache_path().parent.mkdir(parents=True)
checker.cache_path().write_text(json.dumps({
"checked_at": 999, "tag_name": "v1.4.0",
- "current_version": "1.3.0",
+ "current_version": "1.3.1",
"draft": False, "prerelease": False}))
with patch.object(checker, "_fetch") as fetch:
checker.check()
@@ -81,7 +81,7 @@ class UpdateTest(TestCase):
checker._fetch()
cache = json.loads(checker.cache_path().read_text())
self.assertEqual(cache["checked_at"], 1000)
- self.assertEqual(cache["tag_name"], "1.3.0")
+ self.assertEqual(cache["tag_name"], "1.3.1")
def test_offline_check_preserves_previous_update(self):
found = []