Files
openclaw/CONFIG_BACKUP.md

5.0 KiB

配置文件备份 - Clawdbot

clawdbot.json

{
  "meta": {
    "lastTouchedVersion": "2026.1.24-3",
    "lastTouchedAt": "2026-02-08T13:01:54.331Z"
  },
  "wizard": {
    "lastRunAt": "2026-02-08T06:21:29.673Z",
    "lastRunVersion": "2026.1.24-3",
    "lastRunCommand": "onboard",
    "lastRunMode": "local"
  },
  "auth": {
    "profiles": {
      "zai:default": {
        "provider": "zai",
        "mode": "api_key"
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "zai/glm-4.7"
      },
      "models": {
        "zai/glm-4.7": {
          "alias": "GLM"
        }
      },
      "workspace": "/root/clawd",
      "compaction": {
        "mode": "safeguard"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto"
  },
  "hooks": {
    "internal": {
      "enabled": true,
      "entries": {
        "boot-md": {
          "enabled": true
        },
        "command-logger": {
          "enabled": true
        },
        "session-memory": {
          "enabled": true
        }
      }
    }
  },
  "channels": {
    "whatsapp": {
      "dmPolicy": "pairing",
      "selfChatMode": false,
      "allowFrom": [
        "+8613929927141",
        "+8618128105779"
      ],
      "groupPolicy": "allowlist",
      "mediaMaxMb": 50,
      "debounceMs": 0
    },
    "qqbot": {
      "enabled": true,
      "allowFrom": ["*"],
      "appId": "1903233329",
      "clientSecret": "CNSQI2lUDwd9c3Oj"
    }
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "bind": "loopback",
    "controlUi": {
      "allowInsecureAuth": true
    },
    "auth": {
      "mode": "token",
      "token": "19a6f039c7d4ff4c09d0db52022c0ec111b6f1a3abb5cc18"
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    }
  },
  "skills": {
    "install": {
      "nodeManager": "pnpm"
    }
  },
  "plugins": {
    "entries": {
      "whatsapp": {
        "enabled": true
      },
      "qqbot": {
        "enabled": true
      }
    }
  }
}

openclaw.json

{
  "meta": {
    "lastTouchedVersion": "2026.2.6-3",
    "lastTouchedAt": "2026-03-10T03:42:47.457Z"
  },
  "wizard": {
    "lastRunAt": "2026-03-10T03:42:47.451Z",
    "lastRunVersion": "2026.2.6-3",
    "lastRunCommand": "onboard",
    "lastRunMode": "local"
  },
  "auth": {
    "profiles": {
      "zai:default": {
        "provider": "zai",
        "mode": "api_key"
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "zai/glm-4.7"
      },
      "models": {
        "zai/glm-4.7": {
          "alias": "GLM"
        }
      },
      "workspace": "/root/clawd",
      "compaction": {
        "mode": "safeguard"
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      }
    }
  },
  "messages": {
    "ackReactionScope": "group-mentions"
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto"
  },
  "hooks": {
    "internal": {
      "enabled": true,
      "entries": {
        "boot-md": {
          "enabled": true
        },
        "command-logger": {
          "enabled": true
        },
        "session-memory": {
          "enabled": true
        }
      }
    }
  },
  "channels": {
    "whatsapp": {
      "dmPolicy": "allowlist",
      "selfChatMode": true,
      "allowFrom": [
        "+8613929927141"
      ],
      "groupPolicy": "allowlist",
      "mediaMaxMb": 50,
      "debounceMs": 0
    },
    "qqbot": {
      "enabled": true,
      "allowFrom": [
        "*"
      ],
      "appId": "1903233329",
      "clientSecret": "CNSQI2lUDwd9c3Oj"
    }
  },
  "gateway": {
    "port": 18789,
    "mode": "local",
    "bind": "loopback",
    "controlUi": {
      "allowInsecureAuth": true
    },
    "auth": {
      "mode": "token",
      "token": "19a6f039c7d4ff4c09d0db52022c0ec111b6f1a3abb5cc18"
    },
    "tailscale": {
      "mode": "off",
      "resetOnExit": false
    },
    "remote": {
      "url": "ws://124.156.205.112:18789",
      "token": "19a6f039c7d4ff4c09d0db52022c0ec111b6f1a3abb5cc18"
    }
  },
  "skills": {
    "install": {
      "nodeManager": "pnpm"
    }
  },
  "plugins": {
    "entries": {
      "whatsapp": {
        "enabled": true
      },
      "qqbot": {
        "enabled": true
      }
    },
    "installs": {
      "qqbot": {
        "source": "npm",
        "spec": "@sliverp/qqbot@latest",
        "installPath": "/root/.openclaw/extensions/qqbot",
        "version": "1.5.3",
        "installPath": "/root/.openclaw/extensions/qqbot",
        "version": "1.5.3",
        "installedAt": "2026-03-10T01:02:40.854Z"
      }
    }
  }
}

重要配置信息

QQ Bot

  • AppID: 1903233329
  • AppSecret: CNSQI2lUDwd9c3Oj
  • Enabled: true
  • AllowFrom: *

Gateway

  • Port: 18789
  • Auth Token: 19a6f039c7d4ff4c09d0db52022c0ec111b6f1a3abb5cc18
  • Remote URL: ws://124.156.205.112:18789

Model

  • Primary: zai/glm-4.7
  • Alias: GLM

Workspace

  • Path: /root/clawd