e6875f0b4b
- 13-service async plugin framework - Textual TUI with CLI fallback - Plugin hot-reload + permission system - Web management panel (aiohttp) - Bridge-based inter-module communication - 10 regression tests Fixes applied: - PBKDF2-SHA256 auth (was plain SHA256) - Auth bypass removed (was allow-all on fail) - Bare excepts replaced with logged errors - CatFramework/DreamSu -> SenSu naming unified - ServiceManager: health checks + startup_order - Env var credentials (SENSU_ADMIN_PASSWORD etc)
17 lines
512 B
YAML
17 lines
512 B
YAML
# 示例插件权限申请
|
|
plugin_name: "example_plugin"
|
|
permissions:
|
|
- "plugin.example.read"
|
|
- "plugin.example.write"
|
|
- "plugin.example.execute"
|
|
- "framework.event.subscribe"
|
|
- "framework.command.execute"
|
|
|
|
# 权限说明
|
|
permission_descriptions:
|
|
plugin.example.read: "读取示例插件数据"
|
|
plugin.example.write: "写入示例插件数据"
|
|
plugin.example.execute: "执行示例插件操作"
|
|
framework.event.subscribe: "订阅框架事件"
|
|
framework.command.execute: "执行框架命令"
|