Files
edict/scripts/run_loop.sh
cft0808 5b46f67603 🏛️ init: 三省六部 OpenClaw Multi-Agent Orchestration System
Features:
- 9 specialized agents (中书省·门下省·尚书省 + 六部)
- Real-time dashboard with 6 tabs (Overview/Kanban/History/Timeline/Models/Skills)
- Model configuration with live-apply via local API server
- One-click install script
- Data sync pipeline (15s refresh loop)
- Full audit trail via flow_log
2026-02-23 22:34:55 +08:00

19 lines
734 B
Bash
Executable File

#!/bin/bash
# 三省六部 · 数据刷新循环
# 每 15 秒同步一次所有数据源
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "🏛️ 三省六部数据刷新循环启动 (PID=$$)"
echo " 脚本目录: $SCRIPT_DIR"
echo " 日志: /tmp/sansheng_liubu_refresh.log"
echo " 按 Ctrl+C 停止"
while true; do
python3 "$SCRIPT_DIR/sync_from_openclaw_runtime.py" >> /tmp/sansheng_liubu_refresh.log 2>&1
python3 "$SCRIPT_DIR/sync_agent_config.py" >> /tmp/sansheng_liubu_refresh.log 2>&1
python3 "$SCRIPT_DIR/apply_model_changes.py" >> /tmp/sansheng_liubu_refresh.log 2>&1
python3 "$SCRIPT_DIR/refresh_live_data.py" >> /tmp/sansheng_liubu_refresh.log 2>&1
sleep 15
done