Files
SenSu/config/framework/base_config.yaml.example
T
qinglong b53410bc77 fix: Sentinel SSE 每次轮询都推送 (实时性) + isolation 默认 false + 文档
Sentinel:
- poll_interval 3s→2s, 每次轮询都推 SSE (不再等状态变化)
- 解决稳定状态下数据更新不实时问题

插件系统:
- 默认 isolation: false (避免插件 WebUI 不显示)
- example_plugin 显式设置 isolation: false
- 插件开发指南: settings 示例增加 isolation 说明

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-13 17:54:39 +08:00

52 lines
1.0 KiB
Plaintext

framework:
debug: true
name: SenSu
version: v0.7.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
isolation: false
# 自动启动脚本 — 框架启动时后台拉起
auto_start_scripts:
enabled: true
scripts: []
# 示例:
# - name: cyrene_debug
# path: ~/cyrene_debug_server.py
# enabled: true
# args: []
# cwd: ~
# API Keys — 服务器间通信凭证 (在 WebUI 设置页管理)
# api_keys: []
# TUI配置
tui:
enabled: true
refresh_rate: 30
layout:
grid_rows: "4fr 5fr 1fr"
styles:
log_area: "border: solid green; overflow-y: auto;"
message_area: "border: solid yellow; overflow-y: auto;"
input_area: "border: solid red;"
log_display:
max_lines: 200
# 互联网服务配置
internet:
websocket:
host: "0.0.0.0"
port: 4240
http:
host: "0.0.0.0"
port: 4200
panel:
entrance:
path: "/SenSu"
username: "admin"
password: "CHANGE_ME" # 首次启动请修改!