Compare commits

..

5 Commits

Author SHA1 Message Date
uye
5b8a260deb Release v6.0.0 (#15040)
## Summary by Sourcery

更新支持列表处理逻辑以使用回调方式,并让 ROI 自适应窗口大小,同时为新版本刷新 VSCode 扩展文档和打包资源元数据。

New Features:
- 文档中新增 VSCode 扩展的功能说明,例如快速跳转到任务定义、ROI 复制、识别工具以及跨多种语言查看日志等能力。

Enhancements:
- 重构 SupportList,使其由回调函数、assistant 实例和任务链构造,而不是依赖 AbstractTask 父类。
- 调整支持列表分析的 ROI 宽度,以更好适配不同的窗口宽度。

Documentation:
- 扩展多语言 VSCode 扩展教程,增加功能概览、使用技巧、OCR 故障排查、日志查看说明,以及对 MaaFramework
版本选择行为的更清晰解释。

Chores:
- 为新版本刷新打包的战斗/资源元数据、区域任务数据以及模板优化配置。

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

## Summary by Sourcery

Update support list handling to use callbacks and adapt ROI to window
size, while refreshing VSCode extension documentation and bundled
resource metadata for the new release.

New Features:
- Document new VSCode extension capabilities such as quick task
definition jump, ROI copy, recognition tools, and log viewing across
multiple languages.

Enhancements:
- Refactor SupportList to be constructed from callback, assistant
instance, and task chain instead of an AbstractTask parent.
- Adjust support list analysis ROI width to better accommodate varying
window widths.

Documentation:
- Expand multi-language VSCode extension tutorials with feature
overview, usage tips, OCR troubleshooting, logging instructions, and
clarified MaaFramework version selection behavior.

Chores:
- Refresh packaged battle/resource metadata, regional task data, and
template optimization settings for the new version.

</details>

增强功能:
- 通过在等待详情面板出现时允许更多重试,提高支持单元选择的健壮性。
- 调整支持列表分析的 ROI 宽度计算,以更好地适应不同的窗口大小。

文档:
- 扩展多语言 VSCode 插件教程,加入功能概览、使用技巧、日志查看说明,以及关于 MaaFramework 版本选择的最新行为说明。

日常维护:
- 为新版本刷新打包的资源元数据和任务数据,包括特定地区的资源和优化模板。

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

## Summary by Sourcery

更新支持列表处理逻辑以使用回调方式,并让 ROI 自适应窗口大小,同时为新版本刷新 VSCode 扩展文档和打包资源元数据。

New Features:
- 文档中新增 VSCode 扩展的功能说明,例如快速跳转到任务定义、ROI 复制、识别工具以及跨多种语言查看日志等能力。

Enhancements:
- 重构 SupportList,使其由回调函数、assistant 实例和任务链构造,而不是依赖 AbstractTask 父类。
- 调整支持列表分析的 ROI 宽度,以更好适配不同的窗口宽度。

Documentation:
- 扩展多语言 VSCode 扩展教程,增加功能概览、使用技巧、OCR 故障排查、日志查看说明,以及对 MaaFramework
版本选择行为的更清晰解释。

Chores:
- 为新版本刷新打包的战斗/资源元数据、区域任务数据以及模板优化配置。

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

## Summary by Sourcery

Update support list handling to use callbacks and adapt ROI to window
size, while refreshing VSCode extension documentation and bundled
resource metadata for the new release.

New Features:
- Document new VSCode extension capabilities such as quick task
definition jump, ROI copy, recognition tools, and log viewing across
multiple languages.

Enhancements:
- Refactor SupportList to be constructed from callback, assistant
instance, and task chain instead of an AbstractTask parent.
- Adjust support list analysis ROI width to better accommodate varying
window widths.

Documentation:
- Expand multi-language VSCode extension tutorials with feature
overview, usage tips, OCR troubleshooting, logging instructions, and
clarified MaaFramework version selection behavior.

Chores:
- Refresh packaged battle/resource metadata, regional task data, and
template optimization settings for the new version.

</details>

</details>
2025-12-12 02:36:20 +08:00
uye
79a658c8db docs: changelog 2025-12-12 02:34:06 +08:00
github-actions[bot]
3d796dec56 docs: Auto Update Changelogs of v6.0.0 (#15048)
* docs: Auto Generate Changelog of Release v6.0.0

* docs: ai 改 changelog

---------

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-12 02:32:50 +08:00
uye
8a824c23af docs: Update docs/en-us/develop/vsc-ext-tutorial.md
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
2025-12-12 01:16:29 +08:00
status102
37d4185cbe fix: 移除废弃的右键添加作业集行为 2025-12-12 01:03:10 +08:00
9 changed files with 42 additions and 56 deletions

View File

@@ -1,51 +1,56 @@
## v6.0.0
### Highlights
#### .NET 10 升级
MAA 已升级至 .NET 10带来性能与开发体验改进取消单文件发布同时将第三方依赖移至子文件夹在保持目录清爽的同时有效减少更新包的体积。 (PR #14971, #14984) @SherkeyXD @ABA2396
#### 关卡导航与小游戏优化
重构关卡导航 API小游戏列表可通过 API 动态获取并支持配置小游戏开放时间,增强灵活性与可配置性。 (PR #14997) @ABA2396
----
#### .NET 10 Upgrade
MAA has been upgraded to .NET 10, improving performance and the developer experience. Cancel the single file release and move third-party dependencies to subfolders, effectively reducing update package size while keeping the directory clean. (PR #14971) @SherkeyXD @ABA2396
#### Stage Navigation and Mini-game Optimization
Refactored the stage navigation API. Mini-game lists can be retrieved via API and opening times configured, improving flexibility. (PR #14997, #14984) @ABA2396
----
以下是详细内容:
## v6.0.0
### 新增 | New
* LocalizationHelper 支持 TryGetString 与 HasTranslation @ABA2396
* 第三方依赖移至子文件夹 (#14984) @ABA2396
* `LocalizationHelper` 支持 `TryGetString``HasTranslation` @ABA2396
* 第三方依赖移至子文件夹以减小更新包体积 (PR #14984) @ABA2396
### 改进 | Improved
* 重构简化关卡导航 api,小游戏列表通过 api 获取 (#14997) @ABA2396
* 自动编队助战页面继承优化 @status102
* 自动编队编入助战后缺失干员查找 @status102
* 自动编队缺失干员查找优化 @status102
* 使用LibraryImport替换部分DllImport @status102
* 重构关卡导航 API,小游戏列表通过 API 获取并支持配置开放时间 (PR #14997) @ABA2396
* RoguelikeStageTrader 与 OCR 兼容性与 UI 优化,改进多区域支持 (PR #15047, #15026) @Manicsteiner @HX3N
* 将部分 P/Invoke 从 `DllImport` 切换为 `LibraryImport`,提高跨平台兼容性 @status102
### 修复 | Fix
* YostarJP Roguelike StagrTrader (#15047) @Manicsteiner
* 自动编队助战模块retry_times @status102
* 助战干员进入详情页后flag检测retry @status102
* YostarKR Roguelike@StageTrader UI updates @HX3N
* 自动编队助战干员组名存储错误 @status102
* 在已开启更新日志的情况下点击更新日志窗口不会移至前台 @ABA2396
* import @status102
* fix nightly ota dotnet build (#14996) @Manicsteiner
* 自动编队编入助战后未添加至干员-干员组映射 @status102
* 自动编队当干员存在于多个作业组且已经被编入后可能被误标记为未持有 @status102
* 因延迟进入线索传递界面导致任务出错 @ABA2396
* 资源更新创建 ToolTip 失败 @ABA2396
* 自动编队助战切换职业retry @status102
* 多活动同时开放时提示可能被错误折叠 @ABA2396
* 修复 nightly OTA dotnet 构建问题 (PR #14996) @Manicsteiner
* 修复资源更新时创建 ToolTip 失败的问题 @ABA2396
* 修复自动编队/助战模块中 retry 与标记导致的重复或遗漏问题 @status102
* 修复多活动同时开放时被错误折叠的问题 @ABA2396
### 文档 | Docs
* add instruction of log view in vsc-ext (#14696) @NtskwK @pre-commit-ci[bot]
* Generate v6.0.0-beta.1 changelog following project conventions (#15003) @Copilot @ABA2396 @ABA2396 @ABA2396 @ABA2396
* Auto Update Changelogs of v6.0.0-beta.2 (#15022) @github-actions[bot] @ABA2396 @ABA2396 @github-actions[bot] @Copilot @ABA2396
* 更新文档中的 .NET 版本至 10 (#15023) @wryx166
* 更新安全策略版本 @SherkeyXD
* 在 VS Code 扩展中补充日志查看说明 (PR #14696) @NtskwK
* 在文档中更新 .NET 版本说明为 10 (PR #15023) @wryx166
### 其他 | Other
* Revert "fix: 助战干员进入详情页后flag检测retry" @status102
* YostarKR ocr edits for FM @HX3N
* YostarJP ocr (#15026) @Manicsteiner
* Release v6.0.0-beta.2 (#15021) @ABA2396
* Release v6.0.0-beta.1 (#15001) @ABA2396
* 移除不再使用的report @status102
* YostarKR CharsNameOcrReplace ocr edit @HX3N
* Revert "chore: 隐藏 .deps.json 与 .runtimeconfig*.json" @ABA2396
* 隐藏 .deps.json 与 .runtimeconfig*.json @ABA2396
* 移除废弃的右键添加作业集行为 @status102
* 移除不再使用的 `report` 与相关引用 @status102
* 若干 OCR 与文本替换的局部改进 YostarKR / YostarJP @HX3N @Manicsteiner

View File

@@ -18,7 +18,7 @@ Searching `Maa` and installing it from VSCode extensions list is recommended.
::: tip
When used for the first time, the extension will automatically download the preset version of resources.
Search command `Maa: select fetch registry` to switch downloading source (npm / cnpm).
Search command `Maa: select fetch registry` to switch the download source (npm / cnpm).
:::
## Features

View File

@@ -839,7 +839,6 @@ Only level rewards can be farmed; to get the Engraved Medal, all 「Key Objectiv
<system:String x:Key="SelectTheFile">Select task file</system:String>
<system:String x:Key="SelectTheFileTip">Task files can be imported by dragging the mouse</system:String>
<system:String x:Key="PasteClipboardTip">Read the clipboard and add it as a job</system:String>
<system:String x:Key="PasteClipboardToAddCopilotSetWarning">A separate button has been added for adding assignment sets; the behavior of adding assignment sets by right-clicking will be removed in the future.</system:String>
<system:String x:Key="PasteClipboardCopilotSetTip">Read the clipboard and add it as a job set</system:String>
<system:String x:Key="ImportFilesTip">Import task files</system:String>
<system:String x:Key="DoYouLikeThisWebJson">Do you like this task file? Rate it!</system:String>

View File

@@ -839,7 +839,6 @@ C:\\leidian\\LDPlayer9
<system:String x:Key="SelectTheFile">ファイル選択</system:String>
<system:String x:Key="SelectTheFileTip">攻略ファイルはマウスで直接ドラッグして取り込むことがきます(o゚v゚)</system:String>
<system:String x:Key="PasteClipboardTip">クリップボードを読み取り、ジョブとして追加します</system:String>
<system:String x:Key="PasteClipboardToAddCopilotSetWarning">割り当てセットを追加するための別のボタンが追加されました。右クリックによる割り当てセットの追加の動作は将来的に削除される予定です。</system:String>
<system:String x:Key="PasteClipboardCopilotSetTip">クリップボードを読み取り、ジョブセットとして追加します</system:String>
<system:String x:Key="ImportFilesTip">バッチインポート</system:String>
<system:String x:Key="DoYouLikeThisWebJson">この攻略ファイルは好きですか?評価してください!</system:String>

View File

@@ -840,7 +840,6 @@ C:\\leidian\\LDPlayer9
<system:String x:Key="SelectTheFile">작업 선택</system:String>
<system:String x:Key="SelectTheFileTip">마우스로 작업 파일을 드래그해 선택할 수 있어요 (o゚v゚)</system:String>
<system:String x:Key="PasteClipboardTip">클립보드에서 작업 파일을 읽고 추가합니다</system:String>
<system:String x:Key="PasteClipboardToAddCopilotSetWarning">작업 목록에 추가하기 위한 별도의 버튼이 추가되었습니다. 마우스 오른쪽 버튼을 클릭하여 작업 목록에 추가하는 동작은 향후에 제거될 예정입니다.</system:String>
<system:String x:Key="PasteClipboardCopilotSetTip">클립보드에서 작업 파일을 읽고 작업 목록에 추가합니다.</system:String>
<system:String x:Key="ImportFilesTip">일괄 가져오기</system:String>
<system:String x:Key="DoYouLikeThisWebJson">이 작업 파일이 마음에 드셨나요? 평가해 주세요!</system:String>

View File

@@ -839,7 +839,6 @@ C:\\leidian\\LDPlayer9。\n
<system:String x:Key="SelectTheFile">选择作业</system:String>
<system:String x:Key="SelectTheFileTip">作业文件可以直接用鼠标拖进来哦 (o゚v゚)</system:String>
<system:String x:Key="PasteClipboardTip">读取剪贴板并添加为作业</system:String>
<system:String x:Key="PasteClipboardToAddCopilotSetWarning">为添加作业集新增了独立的按钮, 使用右键添加作业集的行为将在未来移除</system:String>
<system:String x:Key="PasteClipboardCopilotSetTip">读取剪贴板并添加为作业集</system:String>
<system:String x:Key="ImportFilesTip">批量导入</system:String>
<system:String x:Key="DoYouLikeThisWebJson">作业怎么样?评价下吧!</system:String>

View File

@@ -840,7 +840,6 @@ C:\\leidian\\LDPlayer9。\n
<system:String x:Key="SelectTheFile">選擇作業</system:String>
<system:String x:Key="SelectTheFileTip">作業檔可以直接用滑鼠拖進來喔 (o゚v゚)</system:String>
<system:String x:Key="PasteClipboardTip">讀取剪貼簿並新增為作業</system:String>
<system:String x:Key="PasteClipboardToAddCopilotSetWarning">為新增作業集新增了獨立的按鈕, 使用右鍵新增作業集的行為將在未來移除</system:String>
<system:String x:Key="PasteClipboardCopilotSetTip">讀取剪貼簿並新增為作業集</system:String>
<system:String x:Key="ImportFilesTip">批次導入</system:String>
<system:String x:Key="DoYouLikeThisWebJson">作業怎麼樣?評價一下吧!</system:String>

View File

@@ -773,19 +773,6 @@ public partial class CopilotViewModel : Screen
StartEnabled = true;
}
/// <summary>
/// Paste clipboard contents.
/// UI 绑定的方法
/// </summary>
/// <returns>Task</returns>
/// TODO: 移除该方法后连带移除 PasteClipboardToAddCopilotSetWarning
[UsedImplicitly]
public async Task PasteClipboardCopilotSetOld()
{
await PasteClipboardCopilotSet();
AddLog(LocalizationHelper.GetString("PasteClipboardToAddCopilotSetWarning"), UiLogColor.Warning);
}
/// <summary>
/// 批量导入作业
/// UI 绑定的方法

View File

@@ -111,8 +111,7 @@
hc:IconElement.Geometry="{StaticResource ClipboardLink20Regular}"
BorderThickness="0,1,1,1"
Command="{s:Action PasteClipboard}"
IsEnabled="{c:Binding '(Idle) and (StartEnabled)'}"
MouseRightButtonUp="{s:Action PasteClipboardCopilotSetOld}" />
IsEnabled="{c:Binding '(Idle) and (StartEnabled)'}" />
<Button
Grid.Column="3"
Height="30"