graph TB
subgraph "插件生命周期"
D[1. Discovery 发现
扫描 extensions/ 目录]
M[2. Manifest 加载
读取 openclaw.plugin.json]
R[3. Runtime 创建
初始化 Hook Runner]
REG[4. Registration 注册
setActivePluginRegistry]
end
D --> M --> R --> REG
subgraph "插件类型"
CH[通道插件 ×34
Telegram/Slack/Discord/...]
MEM[记忆插件
memory-core / memory-lancedb]
AUTH_P[认证插件
google-gemini-cli-auth 等]
DIAG[诊断插件
diagnostics-otel]
SPEC[特殊插件
thread-ownership / llm-task]
end
REG --> CH & MEM & AUTH_P & DIAG & SPEC