Rename core -> sdk (plugin SDK, self-documenting)

This commit is contained in:
2026-06-10 18:19:05 +08:00
parent 2bc00f8207
commit 3270a84c4e
6 changed files with 6 additions and 6 deletions
+15
View File
@@ -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"