feat(maaend): 支持IMS - #1184
Open
HarcoChen wants to merge 1 commit into
Open
feat(maaend): 支持IMS#1184HarcoChen wants to merge 1 commit into
HarcoChen wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Sorry @HarcoChen, you've used your own review budget of 250,000 diff characters for the last 7 days.
You can request another review in 1 hour and 43 minutes by commenting @sourcery-ai review. Upgrade to get a review now.
审查者指南本 PR 为 MaaEnd 托管流程引入可配置的理智任务执行策略:默认使用 MAS 指定任务,同时允许沿用 MaaEnd 中已启用的原生任务和库存目标;后端调整快速配置的任务筛选、执行与完成判定,前端提供策略切换和按配置来源进入 MaaEnd 配置的入口,并同步更新配置回填、摘要和提示文案。 MaaEnd 原生理智任务执行时序图sequenceDiagram
participant User
participant MAS as MAS托管流程
participant AutoProxy
participant MaaEnd
User->>MAS: 选择原生理智策略
MAS->>AutoProxy: get_task_book_name(task)
AutoProxy->>MaaEnd: _source_maaend_tasks()
MaaEnd-->>AutoProxy: 已启用的理智任务
AutoProxy->>AutoProxy: _daily_once_task_done(task_name)
AutoProxy-->>MAS: 保留已启用任务并执行
MAS->>AutoProxy: _quick_task_daily_once_done("Sanity")
AutoProxy-->>MAS: 所有原生理智任务完成状态
MaaEnd 理智策略选择流程图flowchart TD
A[启用理智任务] --> B{SanityStrategy}
B -->|MAS| C[使用 MAS 指定理智任务]
C --> D[应用理智模式与计划配置]
B -->|Native| E[读取 MaaEnd 已启用的协议空间和基质刷取]
E --> F[保留 MaaEnd 原生库存目标]
F --> G[MAS 理智开关控制整组是否运行]
文件级变更
提示与命令与 Sourcery 交互
自定义使用体验访问你的控制面板以:
获取帮助Original review guide in EnglishReviewer's Guide本 PR 为 MaaEnd 托管流程引入可配置的理智任务执行策略:默认使用 MAS 指定任务,同时允许沿用 MaaEnd 中已启用的原生任务和库存目标;后端调整快速配置的任务筛选、执行与完成判定,前端提供策略切换和按配置来源进入 MaaEnd 配置的入口,并同步更新配置回填、摘要和提示文案。 Sequence diagram for MaaEnd native sanity task executionsequenceDiagram
participant User
participant MAS as MAS托管流程
participant AutoProxy
participant MaaEnd
User->>MAS: 选择原生理智策略
MAS->>AutoProxy: get_task_book_name(task)
AutoProxy->>MaaEnd: _source_maaend_tasks()
MaaEnd-->>AutoProxy: 已启用的理智任务
AutoProxy->>AutoProxy: _daily_once_task_done(task_name)
AutoProxy-->>MAS: 保留已启用任务并执行
MAS->>AutoProxy: _quick_task_daily_once_done("Sanity")
AutoProxy-->>MAS: 所有原生理智任务完成状态
Flow diagram for MaaEnd sanity strategy selectionflowchart TD
A[启用理智任务] --> B{SanityStrategy}
B -->|MAS| C[使用 MAS 指定理智任务]
C --> D[应用理智模式与计划配置]
B -->|Native| E[读取 MaaEnd 已启用的协议空间和基质刷取]
E --> F[保留 MaaEnd 原生库存目标]
F --> G[MAS 理智开关控制整组是否运行]
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Sourcery 摘要
支持在由 MAS 管理的用户中选择由 MAS 指定的理智任务执行方式,或由 MaaEnd 原生执行理智任务。
新功能:
Bug 修复:
增强:
Original summary in English
Summary by Sourcery
Support choosing between MAS-specified and MaaEnd-native sanity-task execution for managed users.
New Features:
Bug Fixes:
Enhancements: