557135c376
- base_config.yaml → .gitignore (含真实密码不入库) - 新增 base_config.yaml.example 模板 (password: CHANGE_ME) - InitService: 检测缺失时自动从模板复制 - 首次启动自动创建配置文件 Co-Authored-By: Claude <noreply@anthropic.com>
52 lines
1.0 KiB
Plaintext
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: true
|
|
# 自动启动脚本 — 框架启动时后台拉起
|
|
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" # 首次启动请修改!
|