Commit Graph

17556 Commits

Author SHA1 Message Date
Status102
a7bb06a225 fix: 大地图技能, 撤离按钮及相机偏移修复, 连带引航者S6地图TN-2 ~ TN-4 view[1] (#15252)
* chore: TN-2

* fix: 技能&撤退 大地图视角偏移

Co-authored-by: status102 <102887808+status102@users.noreply.github.com>

* chore: TN-3&TN-4

* perf: const

---------

Co-authored-by: Weiyou Wang <44151844+Alan-Charred@users.noreply.github.com>
2025-12-31 20:03:37 +08:00
Manicsteiner
a96d297693 chore: YostarJP copper regex 2025-12-31 16:38:22 +08:00
Constrat
4fbe8bcc8b fix: Copper regex for Sui Garden EN 2025-12-30 13:09:51 +01:00
Manicsteiner
7e959785a1 chore: YostarJP roguelike JieGarden ocr edit 2025-12-30 18:38:47 +08:00
uye
fb31e41693 fix: 满线索再放入 2025-12-30 15:04:31 +08:00
github-actions[bot]
9ef2efe550 chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20582634976
[skip changelog]
2025-12-29 21:04:35 +00:00
HY
30b8853af7 chore: 繁中服「紅絲絨」活動導航 (#15234) 2025-12-29 18:17:04 +01:00
SherkeyXD
ecafbee4a2 feat: 添加孤星主题配置 2025-12-29 21:41:20 +08:00
SherkeyXD
9d141f184a feat: 添加孤星主题模板图 2025-12-29 21:41:20 +08:00
SherkeyXD
8975236c80 feat: 优化 ImageCropper 输出 2025-12-29 21:41:20 +08:00
SherkeyXD
e773bb861e chore: update template tool 2025-12-29 21:41:20 +08:00
uye
a6a40d0cd4 Release v6.1.0 (#15216)
## 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>
2025-12-29 21:20:11 +08:00
uye
d3b311c0d2 docs: 更新 changelog 2025-12-29 21:07:30 +08:00
Constrat
2d18df5fe2 fix: use delay for all client
cc @HX3N
2025-12-29 13:59:53 +01:00
github-actions[bot]
6bebf18930 chore: Auto Update Game Resources - 2025-12-29
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20569894345

[skip changelog]
2025-12-29 09:48:45 +00:00
uye
bdbff20637 fix: 有猪把切换主题改炸了 2025-12-29 17:42:15 +08:00
uye
0879c7427e debug: 打这么多日志真有人看吗 2025-12-29 17:42:00 +08:00
uye
c7a2a243bf chore: 调整倍战超过限制提示 2025-12-29 16:53:15 +08:00
github-actions[bot]
7e07979339 chore: Auto Update Game Resources - 2025-12-29
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20567964907

[skip changelog]
2025-12-29 08:05:00 +00:00
github-actions[bot]
12c6ec62ab chore: Auto Update Game Resources - 2025-12-29
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20567450539

[skip changelog]
2025-12-29 07:30:08 +00:00
github-actions[bot]
293873d378 chore: Auto Update Game Resources - 2025-12-28
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20558862532

[skip changelog]
2025-12-28 20:04:05 +00:00
Constrat
e206a5f497 fix: typo 2025-12-28 19:26:57 +01:00
SherkeyXD
3cab06723b rft: 优化多主题路径 2025-12-29 01:01:05 +08:00
status102
3e926892b4 fix: 自定义基建选择被错误重置 2025-12-28 23:27:56 +08:00
Manicsteiner
f814ce6ff7 chore: YostarJP Roguelike StartExploreCD for JieGarden 2025-12-28 23:15:36 +08:00
Constrat
3e1c016a04 fix: missing StartExploreCD for Sui EN
fix #15225
2025-12-28 15:50:24 +01:00
status102
497708f13b fix: 刷理智设置的基建计划绑定失效
link to #15222
2025-12-28 11:08:39 +08:00
Constrat
9cedd3ff53 chore: remove dupes from ocrREplaces EN 2025-12-28 00:36:32 +01:00
HX3N
18ad5b4e23 fix: YostarKR stuck after send clues (#15223) 2025-12-28 05:05:08 +09:00
github-actions[bot]
068f8d61f5 chore: auto blame ignore
[skip changelog]
2025-12-27 15:35:18 +00:00
Constrat
8c65fbdb9a fix: typo for blame_ignore.yml 2025-12-27 16:27:33 +01:00
uye
ea4f71bc10 docs: Update CHANGELOG with recent changes and fixes
Added new features, improvements, and fixes to the application.
2025-12-27 20:48:28 +08:00
晓丶梦丶仁
9b5445d1a9 perf: move_camera 允许微调镜头 (#15220) 2025-12-27 20:41:51 +08:00
Constrat
ef1ecaaf96 ci(fix): continue on error required for blame ignore\npost 22.04 to 24.04 ubuntu migration 2025-12-27 10:44:43 +01:00
Fryze
000bf2b5f6 i18n: Update ko-kr.xaml (#15213) 2025-12-27 14:37:01 +09:00
uye
151435becd fix: 引航者试炼借助战 2025-12-27 12:43:02 +08:00
github-actions[bot]
005202dc5f docs: Auto Update Changelogs of v6.1.0 (#15215)
* 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>
2025-12-27 12:29:20 +08:00
github-actions[bot]
ef27a0bdac chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20529356176
[skip changelog]
2025-12-26 21:04:24 +00:00
uye
b4a4c69ed8 Release v6.1.0-beta.4 (#15208)
## 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>
2025-12-27 00:42:45 +08:00
github-actions[bot]
41c8792f71 docs: Auto Update Changelogs of v6.1.0-beta.4 (#15209)
* docs: Auto Generate Changelog of Release v6.1.0-beta.4

* docs: Update CHANGELOG with recent improvements and fixes

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-12-27 00:01:27 +08:00
Constrat
1c8415f0e6 feat(tools): add ability to remove unused templates (#15207) 2025-12-26 16:37:39 +01:00
uye
204404179b fix: 部分情况下无法进入借助战界面 2025-12-26 23:07:36 +08:00
Constrat
835e89e2e8 perf: reoptimize ALL templates from scratch 2025-12-26 15:59:20 +01:00
白隐Hakuin
3f498b557f feat: 更新期间退出应用添加二次确认 (#14964)
* feat: 防止资源更新期间退出应用

- 在应用关闭前检查资源更新状态
- 若资源更新进行中,弹出确认对话框提示用户
- 防止解压过程中意外关闭导致资源更新异常
- 新增本地化字符串用于资源更新确认提示

* fix: 修复编译错误 - 局部变量重复声明

- 修改第二个 MessageBoxHelper.Show() 返回值变量名为 confirmResult
- 避免在同一方法作用域内重复声明 result 变量

* chore: 更新版本更新的退出确认对话框

将ResourceUpdateInProgress本地化字符串替换为UpdateConfirmExit
在版本更新期间退出时提供更清晰的消息传递。

* i18n: 翻译

---------

Co-authored-by: Hakuin123 <hakuin123@github.com>
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2025-12-26 22:47:14 +08:00
Status102
a19cf301e3 fix: LoadingText 结束后 UI 延迟变化导致误匹配 (#15198)
* fix: LoadingText 结束后 UI 延迟变化导致误匹配

* fix: task check
2025-12-26 22:36:57 +08:00
Fryze
b5a1998f22 fix: roi out of range (#15204)
* fix: roi out of range

* fix: roi out of range in base.json
2025-12-26 22:28:20 +08:00
Constrat
b636a97550 ci: fix for optimize templates
- fixed wrong condition
- xargs -> jq for better checking
2025-12-26 14:45:57 +01:00
Constrat
193a161e39 fix: sendclue reception standardize templates (#15205)
fix: standardize template for all clients
2025-12-26 14:31:00 +01:00
github-actions[bot]
bd640c2375 feat: Update Submodules MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/20511398549
[skip changelog]
2025-12-25 21:52:28 +00:00
uye
2f760f9237 fix: 前往上一次作战增加重试
fix #15202
2025-12-26 03:23:34 +08:00