版本1.0.4 - 发布前准备

- 修复system.py缩进错误
- 优化前端页面样式(待重构)
- 改进API接口结构
- 完善文档和自动化脚本
- 平台基本功能稳定运行
This commit is contained in:
lt
2026-04-29 09:32:43 +08:00
parent 0a31ae09af
commit e1ba31afda
96 changed files with 165251 additions and 376 deletions
+3 -3
View File
@@ -96,7 +96,7 @@ class WeComNotifier:
Args:
message: 要发送的消息
account: OpenClaw账户ID(对应openclaw.json中的channels.wecom.accounts key
默认为None,自动根据项目选择:yzr-yxl项目用"yzr-yxl"main项目用"main"
默认为None,自动根据项目选择:yu-zhi-ran项目用"yuzhiran"main项目用"main"
"""
try:
import subprocess
@@ -105,8 +105,8 @@ class WeComNotifier:
if account is None:
# 根据项目根目录推断账户(PROJECT_ROOT已定义)
cwd = str(PROJECT_ROOT)
if 'yzr-yxl' in cwd:
account = "yzr-yxl"
if 'yu-zhi-ran' in cwd:
account = "yuzhiran"
elif 'agent-lt' in cwd:
account = "agent-lt"
else: