Repository navigation
v0.1.2:精简战报、逐局评分与设置中心 - #5
Merged
Merged
Conversation
Owner
Author
|
@codex review |
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.
战报原先包含大量重复说明,单局核心信息不集中,图片超时也缺少可导出的诊断记录。本次将三类战报统一为简洁展示,并新增与 AstrBot 原生配置共享数据的设置中心。
timeance/astrbot_plugin_BA_stats和「数据来源 BATracer」。Astrbot_BA_Stats,移除客户端标识及令牌输入项。全局每日 100 次、个人默认 20 次、群默认 100 次和北京时间 0 点重置保持一致;总上限不可调整。
验证:635 项离线测试通过;320 个评分样本与固定上游 TypeScript 一致(包括缺少 StartTime 的边界);36 张卡片通过布局/外部请求检查;设置中心深浅主题与手机/桌面两组交互检查通过,涵盖保存、日志下载、冲突保留与待重载提示。Python/JS 语法及依赖兼容性检查通过。远端 CI 在 Python 3.11、3.12 均完成 635 项测试及交付归档校验。
真实 BATrace、AstrBot 渲染服务和 QQ 收发尚未在开发环境联调。本次增加图片发送诊断,不宣称已修复 QQ sendMsg 超时根因。
请审阅,不自动合并。