name: vala_git_workspace_backup description: 自动备份OpenClaw workspace到Git仓库,支持定时任务,无硬编码敏感信息 version: 1.0.0 author: xiaoyan parameters: agent_name: description: 数字员工名称(如xiaoyan/xiaoxi/xiaokui等),用于生成仓库名 required: true type: string git_token: description: Git仓库访问Token(所有数字员工共用同一个Git账号的Token) required: true type: string git_username: description: Git用户名(所有数字员工共用同一个Git账号) required: true type: string git_email: description: Git提交邮箱 required: true type: string git_repo_url: description: Git仓库HTTPS地址(可选,默认使用公司git.valavala.com服务,仓库名规则:ai_member_${agent_name}) required: false type: string cron_schedule: description: 定时任务cron表达式,默认每天8:30 required: false type: string default: "30 8 * * *" actions: setup: description: 初始化Git配置和定时任务 script: scripts/setup.sh backup: description: 手动触发备份 script: scripts/backup.sh