This directory is the plugin runtime core: type definitions, global registry, lifecycle management. Implementation code is in the parent directory (../*.go), with Go package name **plugin** and import path **github.com/RealityLink-Tech/MoonHub/pkg/framework**.
- This document — Positioning and terminology
- ARCHITECTURE.md — Interfaces, Registry, lifecycle
- INTEGRATION.md — Integration with Gateway, channels, providers, agent
Implementation status and phase details: docs/implementation/plugin-status.md.
| What You See | Meaning |
|---|---|
Directory pkg/framework/ |
Physical path |
package plugin |
Go package name, so code uses plugin.GlobalRegistry(), plugin.Metadata{} |
import ".../pkg/framework" |
Standard library-style import, does not provide framework. prefix |
- Does not enumerate business plugins in
init(); specific Channel / Provider / Tool implementations are in[pkg/plugins](../../plugins/docs/README.md), registered via blank imports by Gateway. **LoadBuiltin()** is a no-op retained for compatibility; seebuiltin.gocomments.