refactor: QQ → OBv11 重命名 + 平台格式统一抽象

- 所有对外称呼从 QQ 改为 OBv11(注释/提示词/日志/配置项)
- 新增 PlatformFormat 结构体,统一管理平台消息标记格式
- defaultPlatformFormats() 注册表替代硬编码 qqTargetRe
- extractProactiveMessage 改为 Thinker 方法,遍历格式注册表匹配
- 配置项重命名: QQ_BOT_PORT → OBV11_BOT_PORT, QQBotPort → OBv11BotPort
- 标记格式: 【QQ群聊】→【OBv11群聊】、【QQ私聊】→【OBv11私聊】

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-22 20:48:07 +08:00
parent 70dbb23234
commit 41f653b672
25 changed files with 1609 additions and 82 deletions
+7 -4
View File
@@ -13,10 +13,13 @@ VGMSTREAM = r"D:\Project\Code\Uni\Cyrene\scripts\voice\tools\vgmstream\vgmstream
RAW_DIR = r"D:\Project\Code\Uni\Cyrene-Voice-Model\data\raw"
CLEANED_DIR = r"D:\Project\Code\Uni\Cyrene-Voice-Model\data\cleaned"
# 转换的子目录(按优先级
TARGETS = [
"VoBanks27", "VoBanks28", "VoBanks29", "VoBanks30", "VoBanks31",
]
# 转换 3.4-3.7 剧情(昔涟出场版本
TARGETS = sorted([
d for d in os.listdir(RAW_DIR)
if d.startswith("External_del_3.") and any(
d.startswith(f"External_del_3.{v}") for v in ["4", "5", "6", "7"]
)
])
def convert_wem_to_wav(wem_path: str, wav_path: str) -> bool: