Doubao-powered voice input for Linux, Wayland and Omarchy
release: prepare v1.1.0
quanru2fde9ec71dbf
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex d0607c0..b8e3fbd 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -8,7 +8,7 @@ body:id: versionattributes:label: Version and installation method- placeholder: "1.0.0, app archive or Omarchy plugin"+ placeholder: "1.1.0, app archive or Omarchy plugin"validations:required: true- type: textareadiff --git a/CHANGELOG.md b/CHANGELOG.mdindex 6e5458a..75ea7fc 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,5 +1,26 @@# Changelog+## 1.1.0++- Added native X11/XFCE automatic input with target/focus guards, terminal-aware+ paste shortcuts and a non-activating overlay. `xdotool` and `xclip` remain+ optional runtime enhancements; recognition still works without either tool.+- Preserve the contributor history behind native X11 support. Thanks to+ [@laukkw](https://github.com/laukkw) for the original implementation and+ desktop acceptance coverage.+- Keep local microphone pre-roll out of the network stream until a recording+ gesture is confirmed, ignore the first startup RMS block, remove DC offset+ from level detection and finish recognition after a 500 ms quiet period.+- Preserve complete clipboard MIME payloads during paste and restore them only+ when the temporary text is still present, avoiding overwriting a clipboard+ change made while delivery is in progress. CopyQ is not required.+- Refresh onboarding readiness after microphone, voice and credential checks;+ retain recent recognition results for copy or guarded retry when delivery+ cannot be confirmed.+- Restrict diagnostics to allowlisted stages and timing data, without+ credentials, transcripts or device identifiers.+- Expanded regression, native-X11 and release documentation coverage.+## 1.0.0 — release candidate- Add an optional direct typing mode using wtype without touching the clipboard; clipboard paste remains the default.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdindex 5a6de18..fa850ae 100644--- a/CONTRIBUTING.md+++ b/CONTRIBUTING.md@@ -55,9 +55,9 @@ For marketplace preparation, use `make marketplace-check` with Gitleaks on PATHand follow [the publishing checklist](packaging/MARKETPLACE.md). Reports and localreview drafts belong in ignored `artifacts/` and `docs/`, not in release payloads.-The first public version is `1.0.0`. Keep `pyproject.toml`, `manifest.json` and+The current public version is `1.1.0`. 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.0.0` runs all checks and secret scanning, builds app+them. A pushed tag such as `v1.1.0` runs all checks and secret scanning, builds appand plugin archives for every supported Python version, creates `SHA256SUMS`, andpublishes the GitHub Release. `workflow_dispatch` performs a non-publishing build.# Bounded desktop testsdiff --git a/README.md b/README.mdindex c4fb274..fae558a 100644--- a/README.md+++ b/README.md@@ -357,7 +357,7 @@ validate package metadata and scan for secrets. The current whole-package branchcoverage floor is 55%; desktop UI, WebKit and real-device paths remain includedin the denominator.-The first release version is **1.0.0**. A `v1.0.0` tag must match every embedded+The current release version is **1.1.0**. A `v1.1.0` tag must match every embeddedversion before CI can publish. Tag releases rebuild both offline app and Omarchyplugin archives for Python 3.11–3.14 and attach SHA-256 checksums. A manually startedrelease workflow builds artifacts for inspection but does not publish them. Realdiff --git a/README.zh-CN.md b/README.zh-CN.mdindex 75e7641..7ede559 100644--- a/README.zh-CN.md+++ b/README.zh-CN.md@@ -280,7 +280,7 @@ timeout --kill-after=5s 50s env PYTHONPATH=src python3 tests/manual_x11.py --runGTK 测试、代码检查、编译、包元数据校验和密钥扫描。覆盖率按整个源码包的分支覆盖率计算,当前真实门槛为 55%;GTK 界面、WebKit 和实体设备路径没有从分母中排除。-首个发布版本为 **1.0.0**。只有 `v1.0.0` 标签与所有内置版本完全一致时,CI 才能发布。+当前发布版本为 **1.1.0**。只有 `v1.1.0` 标签与所有内置版本完全一致时,CI 才能发布。标签发布会为 Python 3.11–3.14 分别构建独立应用与 Omarchy 插件离线包,并附带 SHA-256校验文件。手动启动发布工作流只构建供检查的产物,不会公开发布。真实登录、麦克风、全局按键及桌面行为仍需按人工验收清单检查。diff --git a/manifest.json b/manifest.jsonindex 9ffbd2f..1616933 100644--- a/manifest.json+++ b/manifest.json@@ -2,7 +2,7 @@"schemaVersion": 1,"id": "md.lifeos.doubao-say","name": "Doubao Say",- "version": "1.0.0",+ "version": "1.1.0","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.mdindex c411ec3..04fff42 100644--- a/packaging/INSTALL.md+++ b/packaging/INSTALL.md@@ -1,4 +1,4 @@-# Doubao Say 1.0.0+# Doubao Say 1.1.0English interface by default. Select System, English or 简体中文 in Settings;the choice saves and applies automatically. System follows the session locale (Chinese → Simplified Chinese;diff --git a/packaging/build-deb.sh b/packaging/build-deb.shindex fd4f9f4..15113e6 100755--- a/packaging/build-deb.sh+++ b/packaging/build-deb.sh@@ -7,7 +7,7 @@# python3-websockets python3-sounddevice python3-evdev## Usage:-# ./packaging/build-deb.sh # builds ../doubao-say_1.0.0-1_all.deb+# ./packaging/build-deb.sh # builds ../doubao-say_1.1.0-1_all.deb# ./packaging/build-deb.sh --install # also installs it locallyset -e@@ -49,4 +49,4 @@ if [ "${1:-}" = "--install" ]; thenDEB=$(ls doubao-say_*.deb | head -1)echo ">>> Installing $DEB ..."sudo apt install "./$DEB"-fi\ No newline at end of file+fidiff --git a/packaging/runtime-requirements.txt b/packaging/runtime-requirements.txtindex c84a517..7289090 100644--- a/packaging/runtime-requirements.txt+++ b/packaging/runtime-requirements.txt@@ -1,4 +1,4 @@-# Complete Python dependency set tested for the 1.0.0 release.+# Complete Python dependency set tested for the 1.1.0 release.websockets==17.1sounddevice==0.5.6evdev==2.0.0diff --git a/pyproject.toml b/pyproject.tomlindex 6bc0daf..ea2f60d 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"[project]name = "doubao-say"-version = "1.0.0"+version = "1.1.0"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.pyindex e3e1d13..ccd7901 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.0.0"+VERSION = "1.1.0"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/test_product.py b/tests/test_product.pyindex 0e6d83c..f7a4abf 100644--- a/tests/test_product.py+++ b/tests/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.0.0")+ self.assertEqual(json.loads(data)["product_version"], "1.1.0")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/test_updates.py b/tests/test_updates.pyindex 707f380..cbee5e8 100644--- a/tests/test_updates.py+++ b/tests/test_updates.py@@ -45,7 +45,7 @@ class UpdateTest(TestCase):self.assertEqual(found[0].version, "1.3.0")cache = json.loads(checker.cache_path().read_text())self.assertEqual(cache["checked_at"], 1000)- self.assertEqual(cache["current_version"], "1.0.0")+ self.assertEqual(cache["current_version"], "1.1.0")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.3.0",- "current_version": "1.0.0",+ "current_version": "1.1.0","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.0.0")+ self.assertEqual(cache["tag_name"], "1.1.0")def test_offline_check_preserves_previous_update(self):found = []diff --git a/tests/test_version_check.py b/tests/test_version_check.pyindex 12094ce..9b7b279 100644--- a/tests/test_version_check.py+++ b/tests/test_version_check.py@@ -10,15 +10,15 @@ SPEC.loader.exec_module(VERSION_CHECK)class VersionCheckTests(unittest.TestCase):- def test_sources_are_aligned_at_first_release(self):- self.assertEqual(VERSION_CHECK.validate(root=ROOT), "1.0.0")+ def test_sources_are_aligned_at_current_release(self):+ self.assertEqual(VERSION_CHECK.validate(root=ROOT), "1.1.0")def test_exact_release_tag_is_accepted(self):- self.assertEqual(VERSION_CHECK.validate("v1.0.0", ROOT), "1.0.0")+ self.assertEqual(VERSION_CHECK.validate("v1.1.0", ROOT), "1.1.0")def test_wrong_release_tag_is_rejected(self):- with self.assertRaisesRegex(ValueError, "must be 'v1.0.0'"):- VERSION_CHECK.validate("v1.0.1", ROOT)+ with self.assertRaisesRegex(ValueError, "must be 'v1.1.0'"):+ VERSION_CHECK.validate("v1.0.0", ROOT)if __name__ == "__main__":