## Summary by Sourcery
发布 v6.1.0,新增玩法自动化支持、增强日志与更新体验、大幅优化识别与模板,并带来多项稳定性与开发工具改进。
New Features:
- 在全服务器上新增 Hidden Front 玩法的全流程自动化支持。
- 为 Yostar JP/KR/EN 服务器新增类肉鸽玩法(JieGarden)的自动化支持。
- 引入悬浮日志窗口与托盘开关,用于实时查看自动战斗日志。
- 支持点击主窗口中的更新提示,直接触发更新流程。
- 新增对极寒保全(Extreme Cold Security,保全)委托与相关战斗的自动化支持。
- 在线索栏已满时支持一键放置线索。
- 在 WPF 日志系统中支持按日志级别输出到文件。
Bug Fixes:
- 修复多处更新流程问题,包括缓存文件夹拷贝、过期 OTA 包处理,以及在无可用 OTA 补丁时的错误提示信息。
- 修复 macOS 上 asst.log 被意外清空的问题,以及路径字符串含首尾空白或控制字符时导致的报错。
- 在更新进行中时正确禁用“检查更新”按钮。
- 解决日志、UI 变化与加载指示器之间的时序不匹配问题,避免因此造成的误识别。
- 修复 ROI 越界错误以及更新工具异常。
- 修复自动战斗流程问题,包括借助战后卡在好友添加界面、因布阵过快/模拟器卡顿导致的误触,以及在网络波动下确认编队失败等。
- 修复财富道具(通宝/铜钱)识别与死锁问题,并提升跨多服务器与多语言环境下的 OCR/正则与模板精度。
Enhancements:
- 打磨悬浮窗口布局与交互体验。
- 重构并优化模板资源与索引,以提升加载与识别性能。
- 缓存 ProcessTask 结果并优化 StableHash,减少重复计算并提升一致性。
- 在工具链中统一从源分辨率到目标分辨率的截图缩放逻辑。
- 通过切换到 boost::regex 改进基础设施规划刷新 API 与正则性能。
- 在拖动悬浮窗口时保持可见,避免与部分应用搭配时出现闪烁。
- 更新 macOS CMake 配置、C# EditorConfig 与开发工具,移除过时的 lint/格式化配置。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Release v6.1.0 with new gameplay automation support, enhanced logging
and update experience, broad recognition/template optimizations, and
multiple stability and tooling improvements.
New Features:
- Add full Hidden Front gameplay automation support across servers.
- Add roguelike (JieGarden) automation support for Yostar JP/KR/EN
servers.
- Introduce a floating log window and tray toggle for real-time
auto-battle log viewing.
- Allow clicking the main window update notification to directly trigger
the update process.
- Add automation support for new Extreme Cold Security (保全) assignments
and related battles.
- Enable one-click clue placement when clue slots are full.
- Support level-based log file output in the WPF logging system.
Bug Fixes:
- Fix multiple update flow issues including cache folder copying, stale
OTA packages, and incorrect messaging when no OTA patch is available.
- Fix asst.log being unexpectedly cleared on macOS and path strings with
surrounding whitespace or control characters causing errors.
- Disable the update check button correctly while an update is in
progress.
- Resolve timing-related mismatches between logs, UI changes, and
loading indicators that caused misrecognition.
- Fix ROI out-of-range errors and update tool exceptions.
- Fix auto-battle flow issues including being stuck on friend add after
borrowing support, misclicks due to fast formations/emulator lag, and
failures confirming lineups under network fluctuations.
- Fix treasury item (通宝/铜钱) recognition and deadlock issues, and improve
OCR/regex and template accuracy across multiple servers and languages.
Enhancements:
- Refine floating window layout and interaction experience.
- Refactor and optimize template resources and indexing to improve
loading and recognition performance.
- Cache ProcessTask results and optimize StableHash to reduce repeated
computation and improve consistency.
- Standardize screenshot scaling from source to target resolution in
tooling.
- Improve infrastructure plan refresh API and regex performance by
switching to boost::regex.
- Keep the floating window visible while moving to avoid flicker with
certain applications.
- Update macOS CMake config, C# EditorConfig, and developer tooling,
removing outdated lint/format configs.
</details>
* docs: Auto Generate Changelog of Release v6.1.0
* Release v6.1.0 with new features and bug fixes
This release includes new features such as Hidden Front support, improvements to Roguelike gameplay across Yostar servers, a floating log window for auto-battle logs, and a clickable update notification for easier upgrades. Several bug fixes and optimizations were also implemented to enhance overall performance and user experience.
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
## Summary by Sourcery
优化自定义基建排程、肉鸽源石锭处理以及若干游戏内任务行为,并更新相关工具链、本地化以及 CI / pre-commit 配置。
New Features:
- 引入强类型的 `CustomInfrastConfig`
模型和新的选择机制,以支持基于时间和基于索引的自定义基建方案,并支持序列化到辅助任务中。
- 新增 YoStarJP SecretFront 任务配置,并在叠加层中支持 SSS Copilot 任务链日志记录。
Bug Fixes:
- 修复自定义基建方案解析与选择逻辑,包括更安全的配置默认值、更好地处理缺失的时段,以及在文件无效或方案不完整时提供更健壮的日志。
- 确保 Secret Front 关卡名称 OCR 使用可配置的 ROI,并通过重试机制让战斗编队中的支援干员入场更加稳健。
- 改进当游戏窗口移动时叠加层窗口的行为,并限制叠加层最大宽度以获得更好的布局效果。
- 将被跳过的肉鸽源石锭拾取/兑换流程视为非致命问题并细化日志记录,避免不必要的任务失败。
- 防止在更新检查运行过程中退出应用,并调整基建附加检查逻辑以适配新的自定义方案列表模型。
Enhancements:
- 现代化基建设置中的配置访问方式,并将自定义方案刷新逻辑简化为单一的解析/刷新流程。
- 优化基于时间的自定义方案显示刷新,以及自动在运行后切换方案与相关日志记录。
- 收紧 `TaskData` 的 loading-justreturn 检查,以覆盖更多加载类任务类型。
- 对各类实用脚本和测试应用多处 Python 及工具链格式清理。
- 调整 GitHub Actions 工作流,使用 Prek 来执行定时的 pre-commit 运行,并改进针对 PR 与直接推送的 PNG
优化逻辑,同时更新 devcontainer 中的 Python 工具链以使用 Ruff 替代 Black/Isort。
Build:
- 将 pre-commit 钩子更新到较新版本,用 Ruff 替换 Black/Isort 进行 Python
格式化,并微调优化模板工具的输出格式。
CI:
- 用 Prek GitHub Action 替代自定义的基于 Python 的定时 pre-commit 任务,并优化
optimize-templates 工作流逻辑,以更好地区分直接推送与 PR 合并。
Documentation:
- 修复日文入门手册中轻微的表格格式与对齐问题。
Tests:
- 整理 AutoLocalization XAML 解析器测试,不改变其现有行为。
Chores:
- 添加或调整多处任务/资源 JSON 与 XAML 本地化文件,并更新 CLI 与视图 XAML,使其与新的行为和资源保持一致。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refine custom infrastructure scheduling, roguelike copper handling, and
several gameplay task behaviors while updating tooling, localization,
and CI/pre-commit setup.
New Features:
- Introduce a strongly typed CustomInfrastConfig model and new selection
mechanism to support time-based and index-based custom infrastructure
plans, including serialization to assistant tasks.
- Add a YoStarJP SecretFront task configuration and support SSS Copilot
task chain logging in the overlay.
Bug Fixes:
- Fix custom infrastructure plan parsing and selection, including safer
configuration defaults, better handling of missing periods, and more
robust logging when files are invalid or plans are incomplete.
- Ensure Secret Front stage name OCR uses a configurable ROI and make
battle formation support-unit entry more resilient with retries.
- Improve overlay window behavior when the game window moves and clamp
overlay width to a maximum for better layout.
- Treat skipped roguelike copper pickup/exchange flows as non-fatal and
refine logging, preventing unnecessary task failures.
- Prevent exiting the app while an update check is running and adjust
infrast append checks to reflect the new custom plan list model.
Enhancements:
- Modernize config access patterns in infrastructure settings and
simplify custom plan refresh logic into a single parsing/refresh flow.
- Refine time-based custom plan display refresh and automatic post-run
plan switching and logging.
- Tighten TaskData loading-justreturn checks for additional loading task
types.
- Apply assorted Python and tooling formatting cleanups across utility
scripts and tests.
- Adjust GitHub Actions workflows to use Prek for scheduled pre-commit
runs and improve PNG optimization logic for PR vs direct pushes, while
updating devcontainer Python tooling to use Ruff instead of Black/Isort.
Build:
- Update pre-commit hooks to newer versions, replace Black/Isort with
Ruff for Python formatting, and tweak optimization template tooling
output formatting.
CI:
- Replace the custom Python-based pre-commit scheduled job with the Prek
GitHub Action and refine the optimize-templates workflow logic for
detecting direct pushes vs PR merges.
Documentation:
- Fix minor table formatting and alignment issues in the Japanese
introduction manual.
Tests:
- Tidy AutoLocalization XAML parser tests without changing behavior.
Chores:
- Add or adjust various task/resource JSON and XAML localization files,
plus CLI and view XAML tweaks, to align with the new behaviors and
resources.
</details>
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
优化自定义基建排程、肉鸽源石锭处理以及若干游戏内任务行为,并更新相关工具链、本地化以及 CI / pre-commit 配置。
New Features:
- 引入强类型的 `CustomInfrastConfig`
模型和新的选择机制,以支持基于时间和基于索引的自定义基建方案,并支持序列化到辅助任务中。
- 新增 YoStarJP SecretFront 任务配置,并在叠加层中支持 SSS Copilot 任务链日志记录。
Bug Fixes:
- 修复自定义基建方案解析与选择逻辑,包括更安全的配置默认值、更好地处理缺失的时段,以及在文件无效或方案不完整时提供更健壮的日志。
- 确保 Secret Front 关卡名称 OCR 使用可配置的 ROI,并通过重试机制让战斗编队中的支援干员入场更加稳健。
- 改进当游戏窗口移动时叠加层窗口的行为,并限制叠加层最大宽度以获得更好的布局效果。
- 将被跳过的肉鸽源石锭拾取/兑换流程视为非致命问题并细化日志记录,避免不必要的任务失败。
- 防止在更新检查运行过程中退出应用,并调整基建附加检查逻辑以适配新的自定义方案列表模型。
Enhancements:
- 现代化基建设置中的配置访问方式,并将自定义方案刷新逻辑简化为单一的解析/刷新流程。
- 优化基于时间的自定义方案显示刷新,以及自动在运行后切换方案与相关日志记录。
- 收紧 `TaskData` 的 loading-justreturn 检查,以覆盖更多加载类任务类型。
- 对各类实用脚本和测试应用多处 Python 及工具链格式清理。
- 调整 GitHub Actions 工作流,使用 Prek 来执行定时的 pre-commit 运行,并改进针对 PR 与直接推送的 PNG
优化逻辑,同时更新 devcontainer 中的 Python 工具链以使用 Ruff 替代 Black/Isort。
Build:
- 将 pre-commit 钩子更新到较新版本,用 Ruff 替换 Black/Isort 进行 Python
格式化,并微调优化模板工具的输出格式。
CI:
- 用 Prek GitHub Action 替代自定义的基于 Python 的定时 pre-commit 任务,并优化
optimize-templates 工作流逻辑,以更好地区分直接推送与 PR 合并。
Documentation:
- 修复日文入门手册中轻微的表格格式与对齐问题。
Tests:
- 整理 AutoLocalization XAML 解析器测试,不改变其现有行为。
Chores:
- 添加或调整多处任务/资源 JSON 与 XAML 本地化文件,并更新 CLI 与视图 XAML,使其与新的行为和资源保持一致。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refine custom infrastructure scheduling, roguelike copper handling, and
several gameplay task behaviors while updating tooling, localization,
and CI/pre-commit setup.
New Features:
- Introduce a strongly typed CustomInfrastConfig model and new selection
mechanism to support time-based and index-based custom infrastructure
plans, including serialization to assistant tasks.
- Add a YoStarJP SecretFront task configuration and support SSS Copilot
task chain logging in the overlay.
Bug Fixes:
- Fix custom infrastructure plan parsing and selection, including safer
configuration defaults, better handling of missing periods, and more
robust logging when files are invalid or plans are incomplete.
- Ensure Secret Front stage name OCR uses a configurable ROI and make
battle formation support-unit entry more resilient with retries.
- Improve overlay window behavior when the game window moves and clamp
overlay width to a maximum for better layout.
- Treat skipped roguelike copper pickup/exchange flows as non-fatal and
refine logging, preventing unnecessary task failures.
- Prevent exiting the app while an update check is running and adjust
infrast append checks to reflect the new custom plan list model.
Enhancements:
- Modernize config access patterns in infrastructure settings and
simplify custom plan refresh logic into a single parsing/refresh flow.
- Refine time-based custom plan display refresh and automatic post-run
plan switching and logging.
- Tighten TaskData loading-justreturn checks for additional loading task
types.
- Apply assorted Python and tooling formatting cleanups across utility
scripts and tests.
- Adjust GitHub Actions workflows to use Prek for scheduled pre-commit
runs and improve PNG optimization logic for PR vs direct pushes, while
updating devcontainer Python tooling to use Ruff instead of Black/Isort.
Build:
- Update pre-commit hooks to newer versions, replace Black/Isort with
Ruff for Python formatting, and tweak optimization template tooling
output formatting.
CI:
- Replace the custom Python-based pre-commit scheduled job with the Prek
GitHub Action and refine the optimize-templates workflow logic for
detecting direct pushes vs PR merges.
Documentation:
- Fix minor table formatting and alignment issues in the Japanese
introduction manual.
Tests:
- Tidy AutoLocalization XAML parser tests without changing behavior.
Chores:
- Add or adjust various task/resource JSON and XAML localization files,
plus CLI and view XAML tweaks, to align with the new behaviors and
resources.
</details>
</details>
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
优化自定义基建排程、肉鸽源石锭处理以及若干游戏内任务行为,并更新相关工具链、本地化以及 CI / pre-commit 配置。
New Features:
- 引入强类型的 `CustomInfrastConfig`
模型和新的选择机制,以支持基于时间和基于索引的自定义基建方案,并支持序列化到辅助任务中。
- 新增 YoStarJP SecretFront 任务配置,并在叠加层中支持 SSS Copilot 任务链日志记录。
Bug Fixes:
- 修复自定义基建方案解析与选择逻辑,包括更安全的配置默认值、更好地处理缺失的时段,以及在文件无效或方案不完整时提供更健壮的日志。
- 确保 Secret Front 关卡名称 OCR 使用可配置的 ROI,并通过重试机制让战斗编队中的支援干员入场更加稳健。
- 改进当游戏窗口移动时叠加层窗口的行为,并限制叠加层最大宽度以获得更好的布局效果。
- 将被跳过的肉鸽源石锭拾取/兑换流程视为非致命问题并细化日志记录,避免不必要的任务失败。
- 防止在更新检查运行过程中退出应用,并调整基建附加检查逻辑以适配新的自定义方案列表模型。
Enhancements:
- 现代化基建设置中的配置访问方式,并将自定义方案刷新逻辑简化为单一的解析/刷新流程。
- 优化基于时间的自定义方案显示刷新,以及自动在运行后切换方案与相关日志记录。
- 收紧 `TaskData` 的 loading-justreturn 检查,以覆盖更多加载类任务类型。
- 对各类实用脚本和测试应用多处 Python 及工具链格式清理。
- 调整 GitHub Actions 工作流,使用 Prek 来执行定时的 pre-commit 运行,并改进针对 PR 与直接推送的 PNG
优化逻辑,同时更新 devcontainer 中的 Python 工具链以使用 Ruff 替代 Black/Isort。
Build:
- 将 pre-commit 钩子更新到较新版本,用 Ruff 替换 Black/Isort 进行 Python
格式化,并微调优化模板工具的输出格式。
CI:
- 用 Prek GitHub Action 替代自定义的基于 Python 的定时 pre-commit 任务,并优化
optimize-templates 工作流逻辑,以更好地区分直接推送与 PR 合并。
Documentation:
- 修复日文入门手册中轻微的表格格式与对齐问题。
Tests:
- 整理 AutoLocalization XAML 解析器测试,不改变其现有行为。
Chores:
- 添加或调整多处任务/资源 JSON 与 XAML 本地化文件,并更新 CLI 与视图 XAML,使其与新的行为和资源保持一致。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refine custom infrastructure scheduling, roguelike copper handling, and
several gameplay task behaviors while updating tooling, localization,
and CI/pre-commit setup.
New Features:
- Introduce a strongly typed CustomInfrastConfig model and new selection
mechanism to support time-based and index-based custom infrastructure
plans, including serialization to assistant tasks.
- Add a YoStarJP SecretFront task configuration and support SSS Copilot
task chain logging in the overlay.
Bug Fixes:
- Fix custom infrastructure plan parsing and selection, including safer
configuration defaults, better handling of missing periods, and more
robust logging when files are invalid or plans are incomplete.
- Ensure Secret Front stage name OCR uses a configurable ROI and make
battle formation support-unit entry more resilient with retries.
- Improve overlay window behavior when the game window moves and clamp
overlay width to a maximum for better layout.
- Treat skipped roguelike copper pickup/exchange flows as non-fatal and
refine logging, preventing unnecessary task failures.
- Prevent exiting the app while an update check is running and adjust
infrast append checks to reflect the new custom plan list model.
Enhancements:
- Modernize config access patterns in infrastructure settings and
simplify custom plan refresh logic into a single parsing/refresh flow.
- Refine time-based custom plan display refresh and automatic post-run
plan switching and logging.
- Tighten TaskData loading-justreturn checks for additional loading task
types.
- Apply assorted Python and tooling formatting cleanups across utility
scripts and tests.
- Adjust GitHub Actions workflows to use Prek for scheduled pre-commit
runs and improve PNG optimization logic for PR vs direct pushes, while
updating devcontainer Python tooling to use Ruff instead of Black/Isort.
Build:
- Update pre-commit hooks to newer versions, replace Black/Isort with
Ruff for Python formatting, and tweak optimization template tooling
output formatting.
CI:
- Replace the custom Python-based pre-commit scheduled job with the Prek
GitHub Action and refine the optimize-templates workflow logic for
detecting direct pushes vs PR merges.
Documentation:
- Fix minor table formatting and alignment issues in the Japanese
introduction manual.
Tests:
- Tidy AutoLocalization XAML parser tests without changing behavior.
Chores:
- Add or adjust various task/resource JSON and XAML localization files,
plus CLI and view XAML tweaks, to align with the new behaviors and
resources.
</details>
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
优化自定义基建排程、肉鸽源石锭处理以及若干游戏内任务行为,并更新相关工具链、本地化以及 CI / pre-commit 配置。
New Features:
- 引入强类型的 `CustomInfrastConfig`
模型和新的选择机制,以支持基于时间和基于索引的自定义基建方案,并支持序列化到辅助任务中。
- 新增 YoStarJP SecretFront 任务配置,并在叠加层中支持 SSS Copilot 任务链日志记录。
Bug Fixes:
- 修复自定义基建方案解析与选择逻辑,包括更安全的配置默认值、更好地处理缺失的时段,以及在文件无效或方案不完整时提供更健壮的日志。
- 确保 Secret Front 关卡名称 OCR 使用可配置的 ROI,并通过重试机制让战斗编队中的支援干员入场更加稳健。
- 改进当游戏窗口移动时叠加层窗口的行为,并限制叠加层最大宽度以获得更好的布局效果。
- 将被跳过的肉鸽源石锭拾取/兑换流程视为非致命问题并细化日志记录,避免不必要的任务失败。
- 防止在更新检查运行过程中退出应用,并调整基建附加检查逻辑以适配新的自定义方案列表模型。
Enhancements:
- 现代化基建设置中的配置访问方式,并将自定义方案刷新逻辑简化为单一的解析/刷新流程。
- 优化基于时间的自定义方案显示刷新,以及自动在运行后切换方案与相关日志记录。
- 收紧 `TaskData` 的 loading-justreturn 检查,以覆盖更多加载类任务类型。
- 对各类实用脚本和测试应用多处 Python 及工具链格式清理。
- 调整 GitHub Actions 工作流,使用 Prek 来执行定时的 pre-commit 运行,并改进针对 PR 与直接推送的 PNG
优化逻辑,同时更新 devcontainer 中的 Python 工具链以使用 Ruff 替代 Black/Isort。
Build:
- 将 pre-commit 钩子更新到较新版本,用 Ruff 替换 Black/Isort 进行 Python
格式化,并微调优化模板工具的输出格式。
CI:
- 用 Prek GitHub Action 替代自定义的基于 Python 的定时 pre-commit 任务,并优化
optimize-templates 工作流逻辑,以更好地区分直接推送与 PR 合并。
Documentation:
- 修复日文入门手册中轻微的表格格式与对齐问题。
Tests:
- 整理 AutoLocalization XAML 解析器测试,不改变其现有行为。
Chores:
- 添加或调整多处任务/资源 JSON 与 XAML 本地化文件,并更新 CLI 与视图 XAML,使其与新的行为和资源保持一致。
<details>
<summary>Original summary in English</summary>
## Summary by Sourcery
Refine custom infrastructure scheduling, roguelike copper handling, and
several gameplay task behaviors while updating tooling, localization,
and CI/pre-commit setup.
New Features:
- Introduce a strongly typed CustomInfrastConfig model and new selection
mechanism to support time-based and index-based custom infrastructure
plans, including serialization to assistant tasks.
- Add a YoStarJP SecretFront task configuration and support SSS Copilot
task chain logging in the overlay.
Bug Fixes:
- Fix custom infrastructure plan parsing and selection, including safer
configuration defaults, better handling of missing periods, and more
robust logging when files are invalid or plans are incomplete.
- Ensure Secret Front stage name OCR uses a configurable ROI and make
battle formation support-unit entry more resilient with retries.
- Improve overlay window behavior when the game window moves and clamp
overlay width to a maximum for better layout.
- Treat skipped roguelike copper pickup/exchange flows as non-fatal and
refine logging, preventing unnecessary task failures.
- Prevent exiting the app while an update check is running and adjust
infrast append checks to reflect the new custom plan list model.
Enhancements:
- Modernize config access patterns in infrastructure settings and
simplify custom plan refresh logic into a single parsing/refresh flow.
- Refine time-based custom plan display refresh and automatic post-run
plan switching and logging.
- Tighten TaskData loading-justreturn checks for additional loading task
types.
- Apply assorted Python and tooling formatting cleanups across utility
scripts and tests.
- Adjust GitHub Actions workflows to use Prek for scheduled pre-commit
runs and improve PNG optimization logic for PR vs direct pushes, while
updating devcontainer Python tooling to use Ruff instead of Black/Isort.
Build:
- Update pre-commit hooks to newer versions, replace Black/Isort with
Ruff for Python formatting, and tweak optimization template tooling
output formatting.
CI:
- Replace the custom Python-based pre-commit scheduled job with the Prek
GitHub Action and refine the optimize-templates workflow logic for
detecting direct pushes vs PR merges.
Documentation:
- Fix minor table formatting and alignment issues in the Japanese
introduction manual.
Tests:
- Tidy AutoLocalization XAML parser tests without changing behavior.
Chores:
- Add or adjust various task/resource JSON and XAML localization files,
plus CLI and view XAML tweaks, to align with the new behaviors and
resources.
</details>
</details>
</details>