用户可开箱即用地编排、运行和扩展自动化流程,降低开发和运维成本。支持 interface v2 协议,具备速通模式、外部通知、计划任务、热更新及动态加载自定义动作/识别器等功能。【此简介由AI生成】
| Files | Last commit | Last update |
|---|---|---|
| 10 months ago | ||
| 9 months ago | ||
| 1 year ago | ||
| 11 months ago | ||
| 10 months ago | ||
| 9 months ago | ||
| 2 years ago | ||
| 9 months ago | ||
| 9 months ago | ||
| 1 year ago | ||
| 9 months ago | ||
| 11 months ago | ||
| 9 months ago |
MFW-ChainFlow Assistant
Cross-platform GUI built with PySide6 and MaaFramework, fully supporting interface v2 for orchestrating, running, and extending automation flows out of the box.
Table of Contents
- Overview
- Highlights
- Speedrun Mode
- Common CLI Parameters
- External Notifications
- Scheduling
- Hot Update
- Dynamic Custom Actions/Recognizers
- GitHub Action Build
- License
- Acknowledgments
Overview
MFW-ChainFlow Assistant provides a ready-to-use visual orchestrator for MaaFramework users, covering configuration management, task scheduling, notifications, and custom extensions to reduce automation development and ops costs.
Highlights
- Full support for interface v2
- Cross-platform: Windows / Linux / macOS
- Parameterized launch: specify config ID and auto-run tasks
- External notifications: DingTalk, Lark/Feishu, SMTP, WxPusher, WeCom bot, Gotify
- Built-in scheduler: once / daily / weekly / monthly with queue or force run
- Dynamic custom actions and recognizers, with Agent support for tailored flows
- Embedded Agent: enable built-in mode in the agent field to automatically convert to custom loading, using the UI's internal environment for a smaller and lighter footprint
- Speedrun mode: limit runs per day/week/month with minimal intervals to avoid repeats
- Hot update: automatically enabled when
update_flag.txtin resource repo matches local, faster and no restart required
Speedrun Mode
- Add a
speedrunblock under each task ininterface.jsonto define period and run limits, then enable speedrun mode via UI/CLI for it to take effect. - Supports daily / weekly / monthly cycles with run counts and minimal intervals; will skip when quota is exhausted.
- Full field reference and examples:
docs/speedrun_mode.md.
Common CLI Parameters
-c <config_id>: start with the specified config ID (works forpython main.pyand packagedMFW.exe)-d: run tasks immediately after launch (also works forMFW.exe)
External Notifications
Supports DingTalk, Lark/Feishu, SMTP, WxPusher, WeCom bot, and Gotify; enable as needed in your configuration.
Scheduling
Run saved configurations on once / daily / weekly / monthly cadence. Choose force start or queued execution; toggle or delete schedules directly in the list.
Hot Update
When the content of update_flag.txt in the resource repository matches the local update_flag.txt, hot update mode will be enabled, which is faster and requires no restart.
Dynamic Custom Actions/Recognizers
Refer to MaaFramework's custom action/recognizer guide:
- Use Python 3.12 for custom actions/recognizers.
- If third-party deps are required, install them into the
_internaldirectory. - Declare custom objects in
custom.json, and point to it via thecustomkey ininterface.json({custom_path}defaults to the repo'scustom/). - Reference the custom names in your pipeline.
Example custom.json snippet:
{
"ActionName1": {
"file_path": "{custom_path}/any/path/action1.py",
"class": "ActionClass1",
"type": "action"
},
"RecognizerName1": {
"file_path": "{custom_path}/any/path/recognizer1.py",
"class": "RecognizerClass1",
"type": "recognition"
}
}
Referencing in pipeline:
"MyCustomTask": {
"recognition": "Custom",
"custom_recognition": "RecognizerName1",
"action": "Custom",
"custom_action": "ActionName1"
}
Custom class example:
class ActionClass1(CustomAction):
def apply(self, context, ...):
image = context.tasker.controller.cached_image
# process the image and return your result
More examples: MAA_Punish/assets.
Embedded Agent
Set embedded: true in the agent field of interface.json to automatically convert the agent to custom loading mode. This approach runs within the UI's internal environment without a separate process, resulting in lower resource usage and faster startup.
Example interface.json snippet:
{
"agent": {
"embedded": true,
"child_args": ["{PROJECT_DIR}/agent/main.py"]
}
}
When embedded mode is enabled, the system will automatically:
- Copy the agent entry directory
- Generate the corresponding
custom.jsonconfiguration - Remove the
agentfield and use thecustomfield for loading instead
GitHub Action Build
- Replace
MaaXXXwith your project name indeploy/install.yml. - Commit and push to
.github/workflowsin your GitHub repo. - Push a new release/tag to trigger the automated build.
License
MFW-PyQt6 is open source under GPL-3.0 License.
Acknowledgments
Open Source Projects
- PyQt-Fluent-Widgets
A fluent design widgets library based on C++ Qt/PyQt/PySide. - MaaFramework
An image-recognition-based automation framework. - MirrorChyan
Mirror-chan update service. - AutoMAA
A MAA plugin for multi-account management and automation.
Contributors
Introduction
用户可开箱即用地编排、运行和扩展自动化流程,降低开发和运维成本。支持 interface v2 协议,具备速通模式、外部通知、计划任务、热更新及动态加载自定义动作/识别器等功能。【此简介由AI生成】
Customize your domain