feat: 添加 agent/sessions 会话记录备份
数据备份仓库应包含完整会话历史,便于恢复对话上下文。
This commit is contained in:
@@ -15,7 +15,8 @@ agent/
|
||||
├── extensions-disabled/ # 已禁用扩展
|
||||
├── skills/ # 已启用技能
|
||||
├── skills-disabled/ # 已禁用技能
|
||||
└── prompts/ # 自定义提示词
|
||||
├── prompts/ # 自定义提示词
|
||||
└── sessions/ # 会话记录
|
||||
```
|
||||
|
||||
## 恢复
|
||||
@@ -32,5 +33,4 @@ rsync -av --exclude node_modules sproutclaw-data/ /path/to/sproutclaw/.sproutcla
|
||||
|
||||
- `node_modules/` — npm 依赖,需本地安装
|
||||
- `agent/npm/` — npm 缓存
|
||||
- `agent/sessions/` — 会话记录
|
||||
- `agent/bin/` — 运行时二进制
|
||||
Reference in New Issue
Block a user