Skip to content

feat(windows): 新增可选的「Siri 优化版」实时转写条带 - #1288

Closed
DepengWang wants to merge 1 commit into
Open-Less:betafrom
DepengWang:pr/siri-enhanced-capsule
Closed

DepengWang wants to merge 1 commit into
Open-Less:betafrom
DepengWang:pr/siri-enhanced-capsule

Conversation

@DepengWang

Copy link
Copy Markdown
Contributor

摘要

新增一个可选的胶囊样式「Siri 优化版」(Windows 分屏转写条带)。默认样式(Classic / Siri / Typeless)和 macOS 同窗口转写都没有改动。

修复 / 新增 / 改进

  • 设置里胶囊样式多一项「Siri 优化版」。实现为 capsuleStyle = siri 加一个设备本地偏好 capsuleSiriEnhanced,该偏好在同步注册表里标为 Excluded(原因 local_only_visual_effect)。没有新增 CapsuleStyle 枚举值:已同步的 capsuleStyle 会被校验为 siri / classic / typeless,新增枚举会让不认识它的旧端把文档判成无效。
  • 麦克风就绪后条带从 Siri 波浪中心升起,随文字变宽到屏幕宽度的 1/2.7,之后跑马灯滚动;关闭时收拢并沉回波浪。
  • 文字上屏时字形有一个很短的模糊淡入;润色等待期间整行循环「模糊 → 从左到右对焦」,对应润色这一步。
  • 背景是无边框、重度虚化的蓝 / 紫 / 粉渐变光晕,文字固定为白色并带柔和阴影,在深色和浅色桌面上都可读。
  • capsule-ready-replay 测试的 vm 模拟列表补上 setSiriEnhanced。

兼容

  • 不包含:默认样式、macOS 转写、同步数据结构(该偏好不参与同步)。
  • 对现有用户 / 本地环境 / 构建流程的影响:不选「Siri 优化版」时没有任何变化。只有 Windows 的分屏转写条带会用到它。

测试计划

  • 命令:npx tsc --noEmit;node scripts/capsule-ready-replay.test.mjs;node scripts/frontend-test-runner.mjs;cargo check --bin openless;scripts/*.test.mjs 全部运行
  • 结果:tsc 零错误;capsule-ready-replay 通过;cargo check 通过。android-apk-workflow-contract、ci-cache-usage、ci-changed-areas、ci-workflow-behavior、resolve-release-cask-version 以及 frontend-test-runner 里的一个子项在本机失败(缺 RUNNER_TEMP 等环境变量),在未改动的 beta 上同样失败,与本 PR 无关。
  • 证据路径:在 Windows 11 实机安装使用,深色和浅色桌面都看过;动画是时序相关的,截图 / 录屏稍后补在评论里。

🤖 Generated with Claude Code

Adds a fourth capsule style option, "Siri enhanced", for the Windows split-rail
transcript. It is capsuleStyle=siri plus a device-local preference
capsuleSiriEnhanced (excluded from cloud sync, reason local_only_visual_effect), so
devices that do not know the flag keep rendering plain Siri and no synced document
becomes invalid.

What it does:
- The band appears once the microphone is ready, grows out of the centre of the Siri
  wave, widens with the text up to 1/2.7 of the monitor, then marquees.
- Glyphs are born with a short blur-in; while the text is being polished the line
  loops blur -> left-to-right focus, echoing the polish step.
- On close the band collapses and sinks back into the wave.
- The background is a borderless, heavily blurred blue/violet/pink glow with white
  text and a soft shadow in every theme, so it stays legible on light and dark
  desktops.

Default styles (classic, siri, typeless) and the macOS same-window transcript are
untouched. Also lists setSiriEnhanced in the capsule-ready-replay test scope.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-28T14:59:59.027642Z
We couldn’t complete this review. Comment @codex review to try again.
7a8f80b PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@appergb

appergb commented Oct 28, 2026

Copy link
Copy Markdown
Collaborator

??? 已经有的风格为什么要增加?另外,这里给你提出了一些问题:

  1. 你改完之后,并没有上传对 UI 的任何提交和改动描述,以及照片、视频等等。
  2. 你的 CI 的 UI 构建也没有通过。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants