* feat(plugin): support capability plugins
Add capability plugin metadata and parsing so plugins without app/api sections can participate in dependency ordering and hooks without being routed as app plugins.
Also rebuild missing plugin status cache from the normalized plugin config when a route dependency checks plugin state.
* refactor code
---------
Co-authored-by: linwu@onemt.com.cn <linwu@onemt.com.cn>
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com>
* feat: add priority support to LifespanManager.register
* feat: support lifespan stages and plugin dependencies
* Optimize implementations
* Fix dependency resolution
* Fix the depends on type
---------
Co-authored-by: Wu Clan <jianhengwu0407@gmail.com>