feat(plugin_system): 添加ON_STOP事件类型

为插件系统增加ON_STOP事件,用于处理程序停止时的任务。
This commit is contained in:
minecraft1024a
2025-09-06 20:58:49 +08:00
parent 2241db3ebf
commit ef41f4eaf7

View File

@@ -80,6 +80,7 @@ class EventType(Enum):
""" """
ON_START = "on_start" # 启动事件,用于调用按时任务 ON_START = "on_start" # 启动事件,用于调用按时任务
ON_STOP ="on_stop"
ON_MESSAGE = "on_message" ON_MESSAGE = "on_message"
ON_PLAN = "on_plan" ON_PLAN = "on_plan"
POST_LLM = "post_llm" POST_LLM = "post_llm"