9294b44831
* fix: resolve pipeline and star import cycles - Add bootstrap.py and stage_order.py to break circular dependencies - Export Context, PluginManager, StarTools from star module - Update pipeline __init__ to defer imports - Split pipeline initialization into separate bootstrap module Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> * fix: add logging for get_config() failure in Star class * fix: reorder logger initialization in base.py --------- Co-authored-by: whatevertogo <whatevertogo@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
20 lines
436 B
Python
20 lines
436 B
Python
# 兼容导出: Provider 从 provider 模块重新导出
|
|
from astrbot.core.provider import Provider
|
|
|
|
from .base import Star
|
|
from .context import Context
|
|
from .star import StarMetadata, star_map, star_registry
|
|
from .star_manager import PluginManager
|
|
from .star_tools import StarTools
|
|
|
|
__all__ = [
|
|
"Context",
|
|
"PluginManager",
|
|
"Provider",
|
|
"Star",
|
|
"StarMetadata",
|
|
"StarTools",
|
|
"star_map",
|
|
"star_registry",
|
|
]
|