每日备份 2026-06-10 12:57:13

This commit is contained in:
root-backup committed 2026-06-10 12:57:14 +08:00
1 parent fda2ccb8c2
commit 3d2e638c6a
244 files changed
+58890 -3

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
# Start a new OpenClaw session
# Usage: ./new-session.sh [optional context message]
MESSAGE=${1:-"继续新任务"}
# Get current sessions
echo "当前活跃会话:"
ls -lh /root/.openclaw/agents/main/sessions/*.jsonl 2>/dev/null | awk '{print $5, $9}'
echo ""
echo "新会话会话ID: $(cat /proc/sys/kernel/random/uuid)"
echo "建议操作: 发送 '$MESSAGE' 到新会话"