Rename core -> sdk (plugin SDK, self-documenting)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python3
|
||||
# -*- coding: utf-8 -*-
|
||||
"""插件状态枚举 — 统一的插件生命周期状态跟踪"""
|
||||
from enum import Enum
|
||||
|
||||
class PluginStatus(str, Enum):
|
||||
UNLOADED = "unloaded"
|
||||
LOADING = "loading"
|
||||
LOADED = "loaded"
|
||||
INITIALIZING = "initializing"
|
||||
RUNNING = "running"
|
||||
ERROR = "error"
|
||||
STOPPING = "stopping"
|
||||
STOPPED = "stopped"
|
||||
UNLOADING = "unloading"
|
||||
Reference in New Issue
Block a user