{
  "id": "openclaw-auto-rollback",
  "name": "OpenClaw Auto Rollback",
  "description": "Smart auto-backup & auto-rollback with Travel Mode for headless/unattended OpenClaw servers. Automatically monitors Gateway health and rolls back to last known-good config when issues are detected.",
  "channels": [],
  "extensions": [],
  "skills": ["skills/auto-rollback"],
  "capabilities": {
    "proactiveMessaging": false,
    "cronJobs": true
  },
  "configSchema": {
    "type": "object",
    "additionalProperties": false,
    "properties": {
      "autoBackup": {
        "type": "boolean",
        "default": true,
        "description": "Enable automatic daily backups at 2:00 AM"
      },
      "maxBackups": {
        "type": "number",
        "default": 10,
        "description": "Maximum number of regular backups to keep"
      },
      "webUIPort": {
        "type": "number",
        "default": 3738,
        "description": "Port for the Web UI"
      },
      "backupItems": {
        "type": "array",
        "items": { "type": "string" },
        "default": [],
        "description": "Files and directories to backup (empty = auto-scan)"
      },
      "travelMode": {
        "type": "boolean",
        "default": false,
        "description": "Enable Travel Mode: auto-monitor Gateway health and auto-rollback on failure"
      },
      "travelModeInterval": {
        "type": "number",
        "default": 120,
        "description": "Travel Mode check interval in minutes (10, 120, or 480)"
      },
      "travelModeMaxBackups": {
        "type": "number",
        "default": 20,
        "description": "Maximum number of Travel Mode backups to keep"
      }
    }
  }
}
