Commit Graph

19111 Commits

Author SHA1 Message Date
github-actions[bot]
a1f736a763 chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26343777856
[skip changelog]
2026-05-23 21:18:46 +00:00
Loong
48424a68c5 fix: refactor ADB connection logic to only connect when needed (#15300)
优化 ADB 连接处理逻辑,避免不必要的连接尝试,并在连接不需要或无效时改进错误报告。
2026-05-23 16:24:49 +01:00
Kaleb Luedtke
c14685311b ci:请使用 wingetcreate 代替 winget-releaser (#16813)
* fix: Use wingetcreate instead of winget-releaser

* fix: Pin to a version and hash

* fix: Specify to use PowerShell

* fix: Use GitHub API for fetching the download URLs

* fix: Don't set GITHUB_TOKEN

* fix: Trim leading character from version

* fix: Anchor regex for safety

* chore: Use newer API version

* fix: Ensure terminating errors terminate
2026-05-23 22:33:14 +08:00
uye
4499a0b9c5 chore: inheritdoc 2026-05-23 22:25:34 +08:00
uye
b6126a7392 fix: 修复 Bark 与 Gotify 无法使用反代路径 2026-05-23 22:23:21 +08:00
github-actions[bot]
f716362e03 chore: Auto Templates Optimization
Triggered by 8d236d83c5

[skip changelog]
2026-05-23 13:47:57 +00:00
萨拉托加
8d236d83c5 fix: RA-4已知问题 (#16821)
## Summary by Sourcery

为 `Reclamation3.json` 更新 RA Reclamation3 任务配置。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update RA Reclamation3 task configuration for Reclamation3.json.

</details>
2026-05-23 21:47:38 +08:00
HX3N
7949869f2e chore: YostarKR UR ocr edit 2026-05-23 18:08:35 +09:00
status102
8e239b8bc2 rft: IsRefreshingUI 自动化支持 2026-05-23 16:27:09 +08:00
status102
53f1ac9e07 perf: 剿灭关使用代理卷后网络卡顿等待 2026-05-23 15:59:43 +08:00
status102
7f8f4bdfff fix: 自动战斗结束检测bypass 2026-05-23 11:08:59 +08:00
uye
b6dec3a403 ai: Update KNOWLEDGE.md with Connect.TouchMode information
Added details about Connect.TouchMode and its modes.
2026-05-23 06:31:40 +08:00
github-actions[bot]
c56bb31e19 chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26312714696
[skip changelog]
alpha/v6.10.6-alpha.1.d001.gc56bb31e19
2026-05-22 21:26:42 +00:00
uye
fb89bec322 Release v6.10.5 (#16807)
## Summary by Sourcery

为回收算法任务和配置添加 RA-4 支持,改进超时和停滞检测处理,并优化模板匹配缓存行为和 GUI 工具提示。

New Features:
- 在核心任务、配置、协议定义、UI 配置以及多语言文档中引入 RA-4 作为新的回收算法模式。
- 在运行时状态和游戏设置 UI 中开放启用/禁用停滞检测的配置。
- 为当前理智刷图阶段方案添加 UI 工具提示说明,包括自定义关卡代码的提示。

Bug Fixes:
- 在线索交换被禁用时,通过默认产品类型,确保接待任务能计算出有效效率。
- 修复支线剧情重新开启时的导航和关卡处理,避免超时和错误的任务终止。
- 通过使用依赖属性而不是计算属性来跟踪内容空与否,使 TooltipBlock 的提示文本支持数据绑定。
- 修正信用战斗的战斗后处理逻辑,确保正确等待动作完成。

Enhancements:
- 将 `MaskedCcoeffMatcher` 中的 DFT 方案缓存替换为受 LRU 限制的模板方案缓存,并改为每次调用计算
DFT,同时加入淘汰日志和缓存大小追踪。
- 限制与超时相关的配置值在安全范围内,以避免整数溢出和无效的定时器间隔。
- 更新支线剧情重新开启关卡的导航处理逻辑,改为使用专用导航任务,而不是简单禁用导航。
- 调整 RA-1 回收任务行为和文档,包括部署重试机制和动画等待时间的调优。

Documentation:
- 在所有支持的语言中记录 RA-4 回收算法模式、流程与需求。
- 在所有地区的协议集成文档中描述 RA-4 模式。
- 为版本 v6.10.5 更新变更日志,包含新特性、改进、修复及其他说明。

Chores:
- 移除未使用的战斗关卡设置,并清理相关 UI 绑定和布局。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Add RA-4 support to Reclamation Algorithm tasks and configuration,
improve timeout and stall detection handling, and refine template
matching cache behavior and GUI tooltips.

New Features:
- Introduce RA-4 as a new Reclamation Algorithm mode across core tasks,
configuration, protocol definitions, UI configuration, and multilingual
documentation.
- Expose configuration for enabling or disabling stall detection in both
runtime state and game settings UI.
- Add UI tooltip guidance for the current sanity farming stage plan,
including hints for custom stage codes.

Bug Fixes:
- Ensure reception task computes valid efficiency when clue exchange is
disabled by defaulting the product type.
- Fix side story reopen navigation and stage handling to avoid timeouts
and incorrect task termination.
- Allow TooltipBlock tooltip text to be data-bound by tracking emptiness
via a dependency property instead of a computed property.
- Correct credit fight post-battle handling to wait properly for action
completion.

Enhancements:
- Replace the DFT plan cache in MaskedCcoeffMatcher with an LRU-limited
template plan cache and per-call DFT computation, including eviction
logging and cache size tracking.
- Clamp timeout-related configuration values to safe ranges to avoid
integer overflow and invalid timer intervals.
- Update stage navigation handling for sidestory reopen stages to use
dedicated navigation tasks rather than disabling navigation.
- Adjust RA-1 Reclamation task behavior and documentation, including
deployment retries and animation wait tuning.

Documentation:
- Document RA-4 Reclamation Algorithm mode, flow, and requirements in
all supported languages.
- Describe RA-4 mode in protocol integration documentation for all
locales.
- Update changelog for version v6.10.5 with new features, improvements,
fixes, and other notes.

Chores:
- Remove unused fight stage settings and clean up related UI bindings
and layout.

</details>
v6.10.5
2026-05-23 02:00:58 +08:00
uye
29c5b0abb2 docs: changelog 2026-05-23 02:00:25 +08:00
uye
62ae9c56b6 fix: 选项显示内容错误 2026-05-23 01:52:26 +08:00
uye
bcd6bcf949 fix: 企鹅物流汇报 ID 始终显示 2026-05-23 01:51:22 +08:00
uye
ad810146df chore: 移除不必要的刷新 2026-05-23 01:44:41 +08:00
status102
cfe86445f8 fix: 自动战斗快速编队干员名roi 2026-05-23 01:27:58 +08:00
uye
9a491c0baa chore: 优化任务超时判断 2026-05-23 01:20:39 +08:00
uye
fef0e8f25b docs: Release notes for version 6.10.5
Updated CHANGELOG for version 6.10.5 with new features, improvements, and fixes.
2026-05-23 00:21:03 +08:00
uye
e4ab103f96 fix: 修复未开启线索交流时不计算会客室效率 2026-05-22 23:43:54 +08:00
Status102
0dec7ff8fc perf: 刷理智关卡选择提示当前任务将执行的关卡 (#16797)
* perf: 刷理智关卡选择提示当前任务将执行的关卡

* i18n: EN

* i18n: KR

* i18n: JP

---------

Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com>
Co-authored-by: HX3N <scarlet7518@gmail.com>
Co-authored-by: ManicSteiner <manicsteiner@outlook.com>
2026-05-22 22:54:03 +08:00
Aliothmoon
3db262c5ca fix: 移除dft路径下的缓存 & 补充缓存驱逐机制 (#16800)
* fix: 移除dft路径下的缓存

* feat: 使用LRU控制一下缓存上限

* fix: potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* feat: 驱逐缓存项时打印日志

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-05-22 22:52:50 +08:00
Status102
263eaf14c1 fix: TooltipBlock无法使用Binding进行绑定 (#16796)
* fix: TooltipBlock无法使用Binding进行绑定

* fix: review
2026-05-22 22:52:35 +08:00
github-actions[bot]
8d8e800c3b chore: Auto Update Game Resources - 2026-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26293837506

[skip changelog]
2026-05-22 14:38:19 +00:00
萨拉托加
4f094c68c9 feat: RA-4 (#16749)
* feat: RA-4

* fix: 修复一些问题

* fix: 继续优化改进

* fix: 继续优化改进

* feat: 添加 RA-4 入口与文档

* perf: 提取 baseTask

* chore: 调整描述

---------

Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com>
2026-05-22 22:23:59 +08:00
uye
2882637c83 chore: 删除 (大型) 兽栏的描述 2026-05-22 22:16:47 +08:00
github-actions[bot]
0c3002380d chore: Auto Update Game Resources - 2026-05-22
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26285403922

[skip changelog]
2026-05-22 11:36:07 +00:00
status102
fe2bae6093 fix: SS复刻任务导航超时临时修复
等待重构拆分
2026-05-22 18:48:12 +08:00
status102
9c15e82ff8 fix: 删多了 2026-05-22 16:05:13 +08:00
status102
3ba810d1d5 rft: 移除FightTask不再使用的关卡设置 2026-05-22 14:55:23 +08:00
github-actions[bot]
294d1c52be chore: Auto update by pre-commit hooks
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26254266055
[skip changelog]
alpha/v6.10.5-alpha.1.d014.g294d1c52be
2026-05-21 21:32:08 +00:00
uye
ebe325a474 fix: RA-15 导致无法启动 2026-05-22 02:19:27 +08:00
github-actions[bot]
e52a41745f chore: Auto Update Game Resources - 2026-05-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26244718893

[skip changelog]
2026-05-21 18:18:17 +00:00
Michael Liu 刘嘉远
37d0fec568 fix: 生息演算RA15 bug fix (#16770)
* fix: 0520 bug fix

* fix: RA-15代码完善

* fix: 完善RA15
2026-05-22 01:52:53 +08:00
github-actions[bot]
ff9c7b8048 chore: Auto Update Game Resources - 2026-05-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26242308150

[skip changelog]
2026-05-21 17:31:45 +00:00
Luhan Xiao
c04dab8c05 fix(macOS): 为 PlayCover 生息演算 RA1 二倍速识别添加 iOS 模板和降低识别阈值 (#16779)
## 修改内容

为 iOS / PlayCover 差异资源中的 `RelaunchAnchor@RA@RA1-DoubleSpeed`
增加单独的模板匹配阈值:

```json
"RelaunchAnchor@RA@RA1-DoubleSpeed": {
    "templThreshold": 0.75
}
```

修改文件:

```text
resource/platform_diff/iOS/resource/tasks.json
```

## 问题背景

在 MacBook Air M4 + PlayCover 环境下执行生息演算 `Reclamation / RelaunchAnchor`
时,RA-1 流程会在部署采集基站后卡在:

```text
RelaunchAnchor@RA@RA1-WaitDoubleSpeed
```

游戏画面右上角实际已经出现二倍速按钮,但模板匹配分数只有约 `0.78`,低于默认阈值时不会进入 `RA1-DoubleSpeed`
点击节点,而是持续停留在 `RA1-WaitDoubleSpeed / DoNothing`。

相关问题背景可参考:#16775、#16778  
更完整的问题发现、排查、修改和本地测试闭环见:#16778

## 本地验证

本地先恢复了通用任务文件 `resource/tasks/RA/Reclamation3.json`,只在 iOS 差异文件中加入上述
`templThreshold` 配置后,重新启动 MAA 并测试。

日志中可以看到 iOS 差异资源被加载:

```text
load ../../../../../../../../Applications/MAA.app/Contents/Resources/resource/platform_diff/iOS/resource/template
load ret 1
```

原本卡住的位置可以成功识别并进入 `RA1-DoubleSpeed`:

```text
cur_task":"RelaunchAnchor@RA@RA1-WaitDoubleSpeed"
to_be_recognized":["RelaunchAnchor@RA@RA1-DoubleSpeed","RelaunchAnchor@RA@RA1-WaitDoubleSpeed"]

match_templ | RelaunchAnchor@RA@DoubleSpeed.png [optimized] score: 0.784211 rect: [ 1068, 24, 52, 63 ] roi: [ 1060, 20, 80, 70 ]
analyze | MatchTemplate RelaunchAnchor@RA@RA1-DoubleSpeed

"action":"ClickSelf"
"algorithm":"MatchTemplate"
"score":0.784211
"task":"RA1-DoubleSpeed"

Click with scaled coordinates (1094, 83) 1.5
PlayTools click: (1641, 124)
```

之后流程继续进入后续节点:

```text
RelaunchAnchor@RA@RA1-DeployGatheringBaseWait
RelaunchAnchor@RA@RA1-WaitCost
RelaunchAnchor@RA@RA1-Cost
RelaunchAnchor@RA@RA1-DeployOperatorSwipe
RelaunchAnchor@RA@RA1-DeployOperatorDirection
```

本地游戏内也确认可以正常继续执行,不再卡在 `RA1-WaitDoubleSpeed`。

## 说明

该修改没有改动通用 `resource/tasks/RA/Reclamation3.json`,只对 iOS / PlayCover
平台差异资源生效,用于兼容 PlayCover 环境下二倍速按钮模板匹配分数偏低的问题。
2026-05-22 00:57:29 +08:00
uye
a1047e9d33 perf: RA-1 增加迷迭香部署方向失败重试,增加过场动画过长时等待 2026-05-21 23:54:13 +08:00
uye
313b39a1e9 chore: 肉鸽分队添加 代理人分队 不支持描述 2026-05-21 23:54:13 +08:00
github-actions[bot]
1e84039f78 chore: Auto Update Game Resources - 2026-05-21
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26215064526

[skip changelog]
2026-05-21 08:37:21 +00:00
github-actions[bot]
c0c177d273 feat: Update Submodules MAAUnified, MaaMacGui, maa-cli
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26193227134
[skip changelog]
alpha/v6.10.5-alpha.1.d005.gc0c177d273
2026-05-20 22:18:27 +00:00
uye
5ec43a8ead chore: 优化界面布局 2026-05-20 23:27:21 +08:00
uye
bac1bbeb21 perf: 支持禁用日志停滞检测,优化数据绑定 2026-05-20 23:13:13 +08:00
github-actions[bot]
52a76b0386 chore: Auto Update Game Resources - 2026-05-20
https://github.com/MaaAssistantArknights/MaaAssistantArknights/actions/runs/26150926055

[skip changelog]
2026-05-20 08:31:25 +00:00
status102
ad0295c83e fix: OF-1战斗失败错误结束
- link to #16748
2026-05-20 12:28:34 +08:00
uye
cf1137be3d Release v6.10.4 (#16743)
怎么 [issues-helper](https://github.com/actions-cool/issues-helper) 被 ban
了
v6.10.4
2026-05-20 02:27:59 +08:00
uye
c0a5cf6b1f ci: Remove issue creation step on CI failure
Removed issue creation step on failure in CI workflow.
2026-05-20 02:21:50 +08:00
uye
a3b421f948 ci: Remove issue creation on OTA release failure
Removed failure issue creation steps for OTA releases on Windows and macOS.
2026-05-20 02:21:30 +08:00
uye
6d5fc774ce Release v6.10.4 (#16741)
## Summary by Sourcery

更新游戏自动化功能及文档,改进配置恢复行为,并优化关卡掉落处理与远程控制日志行为。

New Features:
- 在所有支持的语言中编写并公开新的迷你游戏自动化功能文档,包括活动商店与“再遗战地(Reclamation
Algorithm)”商店相关的自动化流程。
- 为“再遗战地·重启锚点(Reclamation Algorithm Relaunch Anchor)”主题添加支持与配置
schema,并加入 RA-1 和 RA-15 自动化模式。
- 为 YoStar EN/JP 服务器的 UR 关卡以及额外的“再遗战地”资源提供新的关卡/任务定义。

Bug Fixes:
- 放宽对剿灭作战关卡掉落的处理逻辑,对于缺失合成玉的情况不再强制停止任务,以避免在识别异常时提前终止。
- 改进配置加载逻辑,可从旧配置文件中恢复缺失或不匹配的配置,并在执行修复时通知用户。

Enhancements:
- 将 Android、Linux 和 macOS 设备连接指南重构为明确的步骤容器,并在所有支持语言中厘清 ADB 与 Python
的使用流程。
- 更新干员与仓库识别工具文档,统一列出支持的导出格式,并移除过时的 beta/alpha 标签。
- 明确“再遗战地”使用文档与集成协议,反映 Tales 默认主题、新的重启锚点模式以及不同主题的专有参数。
- 统一特殊文档容器命名,在各语言的文档规范中将 demo-wrapper 容器重命名为 window。
- 调整远程控制启动逻辑,通过其公共 API 而非反射来清理任务队列视图模型日志。

<details>
<summary>Original summary in English</summary>

## Summary by Sourcery

Update game automation features and documentation, improve configuration
recovery behavior, and refine stage drop handling and remote control
logging behavior.

New Features:
- Document and expose the new mini-game automation feature across
supported languages, including event shop and Reclamation Algorithm shop
workflows.
- Add support and configuration schema for the Reclamation Algorithm
Relaunch Anchor theme with RA-1 and RA-15 automation modes.
- Provide new stage/task definitions for UR stages for YoStar EN/JP
servers and additional Reclamation Algorithm resources.

Bug Fixes:
- Relax annihilation stage drop handling so missing orundum no longer
forcibly stops the task, avoiding premature termination on recognition
anomalies.
- Improve configuration loading to recover missing or mismatched
configurations from old config files and notify the user when repairs
are applied.

Enhancements:
- Restructure Android, Linux, and macOS device connection guides into
explicit step containers and clarify ADB and Python usage flows in all
supported languages.
- Update operator and depot recognition tool docs to list supported
export formats consistently and remove obsolete beta/alpha labels.
- Clarify Reclamation Algorithm usage docs and integration protocol to
reflect the Tales default theme, new Relaunch Anchor modes, and
theme-specific parameters.
- Standardize special documentation containers by renaming the
demo-wrapper container to window in documentation guidelines across
languages.
- Adjust remote control startup to clear the task queue view model log
through its public API instead of reflection.

</details>
2026-05-20 01:19:39 +08:00