把基建排班文档中的链接从master存档分支改到了v2分支
## Summary by Sourcery
文档:
- 更新基础调度模式文档(EN/JA/KO/ZH)中的示例 JSON 链接,使其引用 master-v2 分支中的资源。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Documentation:
- Update example JSON links in base scheduling schema docs (EN/JA/KO/ZH)
to reference the master-v2 branch resources.
</details>
## Summary by Sourcery
更新回收任务模式的处理方式,使用统一的标志位(flags)风格枚举,并通过改进的验证和容错机制,收紧 JSON 枚举转换行为。
New Features:
- 引入统一的 `ReclamationMode` 枚举,使用标志位(flags)风格的取值来同时表示 Tales 和 Relaunch
Anchor 模式。
- 在宽容(tolerant)的 JSON 枚举转换器中,新增对标志位(flags)风格枚举组合以及作为字典键使用的支持。
Bug Fixes:
- 通过更改底层数字取值,确保 Relaunch Anchor 的回收模式值在 C# 与 C++ 配置之间保持一致。
- 在切换主题时,正确保留或重置回收清除存储(clear store)和模式设置,并验证所选模式与当前主题是否兼容。
Enhancements:
- 优化宽容枚举 JSON 转换器,通过预计算掩码和预定义集合来验证枚举值,并在出错时抛出带路径信息的
`JsonException`,而不是默默回退到默认值。
- 简化回收设置视图模型,将分离的模式列表统一为单一模式列表,并根据所选主题进行刷新。
- 明确容错根级转换行为,改为依赖具备路径信息的枚举转换错误来恢复无效属性。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Update reclamation task mode handling to use a unified flags-style enum
and tighten JSON enum conversion behavior with improved validation and
fault tolerance.
New Features:
- Introduce a unified ReclamationMode enum with flags-style values to
represent both Tales and Relaunch Anchor modes.
- Add support for flags-style enum combinations and dictionary keys in
the tolerant JSON enum converter.
Bug Fixes:
- Ensure Reclamation mode values for Relaunch Anchor align between C#
and C++ configurations by changing the underlying numeric values.
- Preserve or reset reclamation clear store and mode settings correctly
when switching themes, and validate that the selected mode is compatible
with the current theme.
Enhancements:
- Refine the tolerant enum JSON converter to validate enum values via a
precomputed mask and defined set, and to throw JsonException with path
information instead of silently defaulting.
- Simplify reclamation settings view model by unifying separate mode
lists into a single mode list that is refreshed based on the selected
theme.
- Clarify fault-tolerant root conversion behavior to rely on path-aware
enum conversion errors for recovering invalid properties.
</details>
## Summary by Sourcery
围绕共享的 `ReclamationMode` 枚举统一回收任务模式处理方式,并相应更新 UI 和配置流程。
New Features:
- 引入共享的 `ReclamationMode` 枚举,在各类回收主题和任务中统一用于表示算法模式。
Bug Fixes:
- 确保 `RelaunchAnchor` 模式选择在使用新的基于位标志(bitflag)的模式值时,仍能正确映射到 `RA-1` 和
`RA-15`,并保持已序列化配置中的现有行为不变。
Enhancements:
- 更新回收设置视图模型,使其暴露统一的模式列表;该列表会根据当前选中的主题动态重建,同时在可能的情况下保留当前选择。
- 调整 `ReclamationTask` 及相关配置类,使用新的 `ReclamationMode` 枚举来替代原先按主题划分的整型模式值。
- 在主题或底层任务数据变更时刷新回收模式选项,以保持 UI 与模型的同步。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Unify reclamation task mode handling around a shared ReclamationMode
enum and update UI and config flows accordingly.
New Features:
- Introduce a shared ReclamationMode enum used across reclamation themes
and tasks to represent algorithm modes.
Bug Fixes:
- Ensure RelaunchAnchor mode selection correctly maps to RA-1 and RA-15
using the new bitflag-based mode values while maintaining existing
behavior in serialized configs.
Enhancements:
- Update reclamation settings view model to expose a unified mode list
that is dynamically rebuilt based on the selected theme while preserving
the current selection where possible.
- Adjust ReclamationTask and related config classes to use the new
ReclamationMode enum instead of theme-specific integer modes.
- Refresh reclamation mode options whenever the theme or underlying task
data changes to keep the UI and model in sync.
</details>
增强内容:
- 将原本分别使用整数和主题特定表示的回收模式,统一替换为在任务配置和视图模型中通用的 `ReclamationMode` 枚举。
- 更新回收设置的 UI,使其根据所选主题动态生成模式列表,并在主题变化时保持已选模式同步。
- 调整配置转换和任务序列化逻辑,使其使用新的枚举来读写回收模式,同时保持现有行为不变。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
围绕共享的 `ReclamationMode` 枚举统一回收任务模式处理方式,并相应更新 UI 和配置流程。
New Features:
- 引入共享的 `ReclamationMode` 枚举,在各类回收主题和任务中统一用于表示算法模式。
Bug Fixes:
- 确保 `RelaunchAnchor` 模式选择在使用新的基于位标志(bitflag)的模式值时,仍能正确映射到 `RA-1` 和
`RA-15`,并保持已序列化配置中的现有行为不变。
Enhancements:
- 更新回收设置视图模型,使其暴露统一的模式列表;该列表会根据当前选中的主题动态重建,同时在可能的情况下保留当前选择。
- 调整 `ReclamationTask` 及相关配置类,使用新的 `ReclamationMode` 枚举来替代原先按主题划分的整型模式值。
- 在主题或底层任务数据变更时刷新回收模式选项,以保持 UI 与模型的同步。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Unify reclamation task mode handling around a shared ReclamationMode
enum and update UI and config flows accordingly.
New Features:
- Introduce a shared ReclamationMode enum used across reclamation themes
and tasks to represent algorithm modes.
Bug Fixes:
- Ensure RelaunchAnchor mode selection correctly maps to RA-1 and RA-15
using the new bitflag-based mode values while maintaining existing
behavior in serialized configs.
Enhancements:
- Update reclamation settings view model to expose a unified mode list
that is dynamically rebuilt based on the selected theme while preserving
the current selection where possible.
- Adjust ReclamationTask and related config classes to use the new
ReclamationMode enum instead of theme-specific integer modes.
- Refresh reclamation mode options whenever the theme or underlying task
data changes to keep the UI and model in sync.
</details>
</details>
## Summary by Sourcery
重构宽容枚举 JSON 转换器,以复用解析逻辑,并扩展对作为 JSON 属性名使用的枚举值的支持。
增强内容:
- 将通用的宽容枚举解析逻辑提取到一个辅助方法中,在字符串场景和属性名场景中复用。
- 为枚举序列化为 JSON 属性名时的宽容枚举处理添加读/写支持。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refactor tolerant enum JSON converter to reuse parsing logic and extend
support to enum values used as JSON property names.
Enhancements:
- Extract shared tolerant enum parsing into a helper method reused
across string and property-name scenarios.
- Add read/write support for tolerant enum handling when enums are
serialized as JSON property names.
</details>
## Summary by Sourcery
在改进更新流程、任务配置和 CI 行为的同时,增强文档与本地化格式化支持。
New Features:
- 新增对主题特定 Reclamation 模式的支持,包括针对 Tales 和 Relaunch Anchor 的独立模式,并更新相关 UI
绑定和提示信息。
- 引入重试机制,在回退到整包更新之前,等待 MirrorChyan OTA 包可用。
- 在多语言文档中补充说明嵌套容器、标记(markers)、隐藏文本、步骤、智能图片容器以及字段容器的使用方法。
Bug Fixes:
- 修复多处面向用户的消息,统一改为使用本地化格式化助手而非手动字符串格式化,避免在边缘场景中出现格式问题。
- 确保 MirrorChyan CDK 错误处理在网络或 JSON 解析错误发生时,能够正确记录上下文日志并更新获取失败状态。
Enhancements:
- 将 MirrorChyan 更新处理重构为专门的助手模块,用于 HTTP 获取、错误处理和 OTA 等待逻辑。
- 调整高级设置的可见性,使其依赖当前任务和 Reclamation 主题,并在主题变化时自动刷新。
- 在核心和 GUI 两侧优化 Reclamation 配置,通过将模式拆分为 Tales 和 Relaunch Anchor
变体,并按主题校验模式取值。
- 改进小游戏任务列表以及其他 UI 代码路径的可读性与行为细节。
Build:
- 将 GitHub Actions artifact 上传步骤升级到最新的 action 版本,并配置制品在存储时不进行压缩。
- 优化 PR 提交检查工作流,以区分无效标题与合并提交,提供更丰富的双语反馈,并避免重复发表评论。
CI:
- 优化 PR 校验,对无效的提交标题和合并提交给出结构化反馈,并在无效集合发生变化时清理或复用此前的机器人评论。
Documentation:
- 扩展并修正 zh-cn、zh-tw、en-us、ja-jp 和 ko-kr
各语言下的文档规范,包括嵌套容器规则、替代容器语法、特殊演示容器、标记、隐藏文本、步骤容器、智能图片网格以及字段容器等内容。
- 新增关于在现代 Windows 版本上处理与 DWM 相关问题的内部知识说明。
Chores:
- 将较旧的自定义基础设施布局 JSON 以版本化文件名方式归档,并更新与 Reclamation 相关的资源定义和本地化内容。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refine update, task configuration, and CI behaviors while enhancing
documentation and localization formatting support.
New Features:
- Add support for theme-specific Reclamation modes, including distinct
modes for Tales and Relaunch Anchor with updated UI bindings and tips.
- Introduce a retry mechanism to wait for MirrorChyan OTA packages
before falling back to full-package updates.
- Extend documentation in multiple languages with guidance on nested
containers, markers, hidden text, steps, smart image containers, and
field containers.
Bug Fixes:
- Fix various user-facing messages to consistently use the localization
formatting helper instead of manual string formatting, preventing
formatting issues in edge cases.
- Ensure MirrorChyan CDK error handling correctly logs context and
updates fetch-failed state when network or JSON parsing errors occur.
Enhancements:
- Refactor MirrorChyan update handling into dedicated helpers for HTTP
fetching, error processing, and OTA waiting logic.
- Adjust advanced settings visibility to depend on the current task and
Reclamation theme, and refresh automatically when the theme changes.
- Refine Reclamation configuration on both core and GUI sides by
splitting modes into Tales and Relaunch Anchor variants and validating
mode values per theme.
- Improve mini-game task listing and other UI code paths with minor
readability and behavior tweaks.
Build:
- Upgrade GitHub Actions artifact upload steps to the latest action
version and configure artifacts to be stored without compression.
- Improve the PR commit checker workflow to distinguish invalid titles
from merge commits, produce richer bilingual feedback, and avoid posting
duplicate comments.
CI:
- Refine PR validation to give structured feedback on invalid commit
titles and merge commits, and clean up or reuse previous bot comments
when the invalid set changes.
Documentation:
- Expand and correct documentation guidelines across zh-cn, zh-tw,
en-us, ja-jp, and ko-kr, including nested container rules, alternative
container syntaxes, special demo containers, markers, hidden text, step
containers, smart image grids, and field containers.
- Add internal knowledge notes about handling DWM-related issues on
modern Windows versions.
Chores:
- Archive older custom infrastructure layout JSONs under versioned
filenames and update Reclamation-related resource definitions and
localizations.
</details>
## Summary by Sourcery
为 MirrorChyan OTA 更新新增等待与重试支持:当初始仅有整包可用时,可以等待 OTA 包上线后再使用。同时重构
MirrorChyan 更新检查逻辑,以提升复用性和错误处理能力。
新功能:
- 支持在延迟一段时间后重试 MirrorChyan 更新检查,这样当 OTA 包变得可用时可以使用 OTA 包,而不是立即回退到整包。
改进:
- 将 MirrorChyan 的 HTTP 请求和 JSON 解析抽取到一个共享的辅助工具中,以集中管理日志与错误处理。
- 将 MirrorChyan 的错误码处理抽取到专用辅助工具中,以简化更新检查流程,并在不同分支中保持 toast 和设置更新行为的一致性。
文档:
- 更新本地化字符串,以支持在所有受支持语言中新增 MirrorChyan OTA 构建与重试相关的用户通知。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Add support for waiting and retrying MirrorChyan OTA updates when only a
full package is initially available, while refactoring the MirrorChyan
update-check logic for better reuse and error handling.
New Features:
- Support retrying MirrorChyan update checks after a delay so that OTA
packages can be used when they become available instead of immediately
falling back to full packages.
Enhancements:
- Extract MirrorChyan HTTP request and JSON parsing into a shared helper
to centralize logging and error handling.
- Extract MirrorChyan error-code handling into a dedicated helper to
simplify the update check flow and keep toast/setting updates consistent
across paths.
Documentation:
- Update localized strings for the new MirrorChyan OTA-building and
retry user notifications across supported languages.
</details>
## Summary by Sourcery
添加新的操作员框导出格式,并提升带掩膜模板匹配的精度和日志记录,同时进行一些配置和通知方面的小改动。
新功能:
- 为操作员框引入可配置的导出格式,包括剪贴板、JSON、Markdown 和 CSV,并持久化用户选择的选项。
改进:
- 通过使用带类型的枚举来表示导出格式,优化仓库导出处理逻辑。
- 通过使用更高精度的 DFT 缓冲区和方差处理,提高带掩膜的互相关模板匹配的数值稳定性和精度。
- 调整匹配日志和键生成的格式,使其更清晰易读。
- 优化“任务卡住”处理逻辑:始终显示本地 UI 通知,而外部通知则根据用户设置有条件触发。
- 在配置键中记录所选的操作员框导出格式。
- 在任务队列视图模型中记录招募确认次数的日志。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Add new operator box export formats and improve masked template matching
precision and logging, along with minor configuration and notification
tweaks.
New Features:
- Introduce configurable export formats for the operator box, including
clipboard, JSON, Markdown, and CSV, with persistence of the selected
option.
Enhancements:
- Refine depot export handling by using typed enums for export formats.
- Improve numerical stability and precision of masked cross-correlation
template matching by using higher-precision DFT buffers and variance
handling.
- Adjust match logging and key generation formatting for clarity.
- Refine stalled task handling to always show local UI notifications
while making external notifications conditional on user settings.
- Track the selected operator box export format in configuration keys.
- Log recruit confirmation counts in the task queue view model.
</details>
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
添加新的操作员框导出格式,并提升带掩膜模板匹配的精度和日志记录,同时进行一些配置和通知方面的小改动。
新功能:
- 为操作员框引入可配置的导出格式,包括剪贴板、JSON、Markdown 和 CSV,并持久化用户选择的选项。
改进:
- 通过使用带类型的枚举来表示导出格式,优化仓库导出处理逻辑。
- 通过使用更高精度的 DFT 缓冲区和方差处理,提高带掩膜的互相关模板匹配的数值稳定性和精度。
- 调整匹配日志和键生成的格式,使其更清晰易读。
- 优化“任务卡住”处理逻辑:始终显示本地 UI 通知,而外部通知则根据用户设置有条件触发。
- 在配置键中记录所选的操作员框导出格式。
- 在任务队列视图模型中记录招募确认次数的日志。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Add new operator box export formats and improve masked template matching
precision and logging, along with minor configuration and notification
tweaks.
New Features:
- Introduce configurable export formats for the operator box, including
clipboard, JSON, Markdown, and CSV, with persistence of the selected
option.
Enhancements:
- Refine depot export handling by using typed enums for export formats.
- Improve numerical stability and precision of masked cross-correlation
template matching by using higher-precision DFT buffers and variance
handling.
- Adjust match logging and key generation formatting for clarity.
- Refine stalled task handling to always show local UI notifications
while making external notifications conditional on user settings.
- Track the selected operator box export format in configuration keys.
- Log recruit confirmation counts in the task queue view model.
</details>
</details>