Initial commit: SenSu Alpha 0.2.0
- 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)
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
framework:
|
||||
debug: true
|
||||
name: SenSu
|
||||
version: Alpha_0.2.0
|
||||
logging:
|
||||
debug_level_file: true
|
||||
level: DEBUG
|
||||
max_file_size: 10MB
|
||||
max_log_files: 20
|
||||
plugins:
|
||||
auto_load: true
|
||||
hot_reload: true
|
||||
max_retry_count: 3
|
||||
# TUI配置
|
||||
tui:
|
||||
enabled: true
|
||||
refresh_rate: 30
|
||||
# TUI布局配置
|
||||
layout:
|
||||
grid_rows: "4fr 5fr 1fr" # 三行布局:日志区域、消息区域、输入区域的比例
|
||||
# TUI样式配置
|
||||
styles:
|
||||
log_area: "border: solid green; overflow-y: auto;"
|
||||
message_area: "border: solid yellow; overflow-y: auto;"
|
||||
input_area: "border: solid red;"
|
||||
# TUI日志显示配置
|
||||
log_display:
|
||||
max_lines: 200
|
||||
# 互联网服务配置
|
||||
internet:
|
||||
websocket:
|
||||
host: "0.0.0.0"
|
||||
port: 4240
|
||||
# 其他websocket配置...
|
||||
http:
|
||||
host: "0.0.0.0"
|
||||
port: 4200
|
||||
# 其他http配置...
|
||||
panel:
|
||||
entrance:
|
||||
path: "/SenSu"
|
||||
username: "admin"
|
||||
password: "admin"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user