fix: validate merged voice fallback and host toolbar features

This commit is contained in:
illusia committed 2026-11-27 08:53:26 +08:00
1 parent 02509ea551
commit 001457d004
32 files changed
+319 -102

No files matched your search

+3 -3
View File
@@ -183,9 +183,9 @@ legacy 分支:
`WEBSPEAK_VOICE_ICE_TRANSPORT_POLICY` 改成 `relay`,那会掩盖直连问题。
- 媒体地址配置错误时,先清空管理台“公网媒体地址”并确认非 Cloudflare
直连入口,再检查防火墙;Cloudflare 请求下留空会禁用直连,需要 TURN。
- 数据库结构升级:本构建首次启动会把数据库迁移到 schema 14。旧版本二进制
会拒绝 schema 14,因此回退二进制前必须先恢复升级前的数据库备份及对应的
`master.key`;只回退代码、保留 schema 14 数据库会导致旧版本无法启动。
- 语音覆盖配置保存在现有 metadata 表,数据库保持 schema 13;TURN 密钥仍加密。
回退到 0.3.3 时旧程序会忽略新增元数据,不影响启动,也不会清除这些配置。
自动更新失败时可以继续使用现有代码回滚流程,无需降级数据库。
## 5. 已知限制
+3 -5
View File
@@ -73,11 +73,9 @@ WEBSPEAK_TURN_REST_TTL_SECONDS=21600
## 数据库与回滚
- 本构建把数据库迁移到 schema 14。schema 13→14 只新增可空的语音覆盖列,
现有行继续继承环境变量;新数据库仍从 schema 1 顺序迁移。
- 旧版本二进制会拒绝 schema 14。升级前应备份数据库及对应的 `master.key`;
回退二进制时必须恢复匹配的备份。只回退代码而保留 schema 14 数据库会导致
旧版本无法启动。
- 语音覆盖配置写入现有 metadata 表,数据库保持 schema 13;未设置的值继承
环境变量,TURN 密钥继续加密保存。
- 0.3.3 会忽略并保留这些元数据,可以在自动更新健康检查失败后直接恢复旧代码。
- 恢复非 Cloudflare 旧音频行为:选择 `legacy`,或确保没有控制台覆盖后设置
`WEBSPEAK_VOICE_PROFILE=legacy`。
- 关闭 Opus:取消控制台选项或设置 `WEBSPEAK_VOICE_OPUS_WS=0`。
+2 -2
View File
@@ -12,12 +12,12 @@ A minimal schema v3 open skin that docks the trusted recovery entry into the pag
```text
host-chrome-toolbar/
manifest.json # schema v3, version 1.1.1, minAppVersion 0.3.3, author WebSpeak Community
manifest.json # schema v3, version 1.1.2, minAppVersion 0.3.4-dev.0, author WebSpeak Community
chrome.json # one grouped toolbar slot with a home/voice anchor list
skin.css # light page theme, Classic toolbar tokens and header space
```
This package requires WebSpeak 0.3.3. WebSpeak 0.3.2 does not accept `mode`, `appearance`, or anchor candidate arrays, so importing it there cannot provide toolbar-mode behavior. Older slots without those fields remain valid and keep their capsule presentation.
This package requires WebSpeak 0.3.4-dev.0 or later. Released WebSpeak 0.3.3 and earlier do not accept `mode`, `appearance`, or anchor candidate arrays, so importing it there cannot provide toolbar-mode behavior. Older slots without those fields remain valid and keep their capsule presentation.
`skin.css` uses only public `data-ws-part` hooks and sets `--skin-host-toolbar-*` / `--skin-recovery-toolbar-*` variables. It never targets the host toolbar DOM, the recovery capsule, the authorization dialog or the load-failure banner.
Binary file not shown.
@@ -3,11 +3,11 @@
"packageType": "open-skin",
"id": "community.host-chrome-toolbar",
"name": "Host Chrome Toolbar",
"version": "1.1.1",
"version": "1.1.2",
"author": "WebSpeak Community",
"license": "AGPL-3.0-only",
"description": "Minimal open skin that docks Classic-aligned host-owned recovery icons into the page header.",
"entry": "skin.css",
"chrome": "chrome.json",
"minAppVersion": "0.3.3"
"minAppVersion": "0.3.4-dev.0"
}