Release StickS3 streaming and power improvements#2
Draft
blackdm666 wants to merge 2 commits into
Draft
Conversation
Owner
|
感谢提交。目前这版先不过,请修改以下问题:
修改后请在干净环境重新跑 CI,并补充 Windows/macOS 对应路径的测试。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Why
The original record-then-upload path made long voice input feel slow and could leave the UI stuck in the listening state. Provisional/final transcript replacement could also delete or duplicate already-entered text. The original power path left peripheral LDO holds enabled, so a dark screen could still drain the battery. Quota and task state also depended too heavily on a local desktop bridge.
Impact
StickS3 now streams audio while the button is held, exits listening promptly on release, and only corrects the active tail. A server-hosted Bridge can relay results to Windows, fetch normalized quota snapshots without exposing credentials to firmware, and forward task alerts. Idle battery operation now shuts down peripheral rails before PMIC power-off, with deep sleep as a fallback.
The companion Windows GUI is maintained separately; this PR contains its Bridge-side protocol and tests.
Checks
PYTHONPATH=bridge/src python -m pytest -q tests: 90 passed.Detailed release and rollback record:
docs/releases/0.1.6.md.