Files
sproutclaw-data/README.md
shumengya 50edff80f5 feat: 导出 SproutClaw .sproutclaw 配置
包含 extensions、skills、prompts、settings、auth、models、mcp 等配置。
排除 node_modules、npm 缓存、sessions 等运行时数据。
2026-06-26 15:48:56 +08:00

36 lines
1.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# sproutclaw-data
SproutClaw 本地 `.sproutclaw` 配置备份仓库。
## 目录结构
```
agent/
├── settings.json # 运行配置
├── settings.example.json # 配置模板
├── auth.json # 认证信息
├── models.json # 模型配置
├── mcp.json # MCP 服务配置
├── extensions/ # 已启用扩展
├── extensions-disabled/ # 已禁用扩展
├── skills/ # 已启用技能
├── skills-disabled/ # 已禁用技能
└── prompts/ # 自定义提示词
```
## 恢复
将本仓库内容复制到 SproutClaw 项目根目录下的 `.sproutclaw/`
```bash
rsync -av --exclude node_modules sproutclaw-data/ /path/to/sproutclaw/.sproutclaw/
```
扩展目录中若有 `package.json`,需在各扩展目录下执行 `npm install` 安装依赖。
## 不包含的内容
- `node_modules/` — npm 依赖,需本地安装
- `agent/npm/` — npm 缓存
- `agent/sessions/` — 会话记录
- `agent/bin/` — 运行时二进制