v2.1.7
·
27 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
v2.1.7 - 加固异形缓存 Record 发现
v2.1.7 是 v2.1.6 修复内容的正常发布版,用新 tag 绕开 GitHub immutable release 导致 v2.1.6 无法补传资产的问题。运行时主链路与 v2.1.6 一致。
修复内容
_find_records()现在会额外扫描event.extras、message_obj.extras、_extras、extra以及常见request/input/messages/content缓存字段,避免异形适配器缓存里的Record(file="xxx.amr")漏进官方 agent 后段。- 主消息链替换仍不改写 extras 缓存,只在识别与残留清理阶段读取这些缓存,降低对 AstrBot / 其它插件私有数据的破坏风险。
- README / CHANGELOG 同步说明:
preprocess_stage的Voice processing failed: not a valid file: xxx.amr仍属于 AstrBot 官方前置预处理阶段,插件侧只能处理后段可接管的 Record 残留。
校验
py -3 -m py_compile .\main.py .\astrbot_plugin_volcengine_asr\main.py- 手动加载
tests.conftest后运行tests.test_helpers与tests.test_voice_workflow:共 59 个测试通过 scripts\build_release_zip.py已校验 zip 内bin/linux-x86_64/ffmpeg为0o100755
下载
astrbot_plugin_volcengine_asr.zip- SHA256: 43fd23d388b2c34267bb485846ef85099088d21e5ba863791b9a65de72c48465