Repository navigation
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Windows 云终末地网页版需要把后台输入、游戏视频和任务生命周期接入 MXU。本改动添加 Windows Custom Controller,通过本机命名管道连接独立的 WebView2 宿主,并沿用 MaaFramework 的任务队列。
验证:
pnpm build、现有 8 项 Node 测试通过;Windows 下 4 项真实命名管道测试与 3 项任务完成跟踪测试通过;改动的 Rust 文件rustfmt --check --config skip_children=true通过。全仓cargo fmt --check仍报告未改动上游文件的换行格式差异,未做全仓格式化。配套宿主及资源:MaaEnd/MaaEnd#6746 。截图测试集:MaaEnd/MaaEndTestset#20 。宿主位于项目的
agent/cloud-webview.exe,不包含在此仓库内。当前先提交 Draft 供接口评审:接入仍按
Win32-CloudWeb名称与宿主路径识别,包含 MaaEnd 专属假设,尚未形成通用自定义控制器发现/生命周期契约。不能直接作为任意 PI V2 项目的通用实现合入;需要两仓协调接口后再移除 Draft。本轮 GUI 日常 10 项中 9 项成功,委托转交异常待核对:游戏已到奖励页,原任务仍等待确认页。补测自动采集 CommonRoute1 三轮,首轮岩壁旁恢复超时,后两轮成功;第三轮寻路中切换最大化、最小化、还原及窗口大小,六次操作焦点始终留在 GUI。所有队列结束均自动关闭云宿主,正确显示成功/失败并断开控制器。首轮失败仍保留,不宣称已解决;不在本 PR 改动游戏业务流程。自动抢委托送货、协议空间仅因测试账号当日已完成而未重复执行,并非不支持。
首轮 CI 暴露
Resource导入误加 Windows 条件编译限制,导致 Linux/macOS 构建失败;已恢复跨平台导入并推送修复,本地 3 项任务跟踪测试及该文件 rustfmt 检查通过。新一轮 Linux/macOS 的 x86_64、aarch64 构建及 Windows aarch64 构建通过,Windows x86_64 仍在运行。