graph TB
    subgraph "插件生命周期"
        D[1. Discovery 发现<br/>扫描 extensions/ 目录]
        M[2. Manifest 加载<br/>读取 openclaw.plugin.json]
        R[3. Runtime 创建<br/>初始化 Hook Runner]
        REG[4. Registration 注册<br/>setActivePluginRegistry]
    end

    D --> M --> R --> REG

    subgraph "插件类型"
        CH[通道插件 ×34<br/>Telegram/Slack/Discord/...]
        MEM[记忆插件<br/>memory-core / memory-lancedb]
        AUTH_P[认证插件<br/>google-gemini-cli-auth 等]
        DIAG[诊断插件<br/>diagnostics-otel]
        SPEC[特殊插件<br/>thread-ownership / llm-task]
    end

    REG --> CH & MEM & AUTH_P & DIAG & SPEC