From dcb90f6ef26a68017f3994b4ed68e75cdacdc11f Mon Sep 17 00:00:00 2001
From: TevinClaw <510129976@qq.com>
Date: Sat, 14 Mar 2026 12:15:56 +0800
Subject: [PATCH] Initial configuration: OpenClaw core setup

---
 agents/main/agent/models.json       |   46 +++++++++
 .gitignore                          |    1 
 openclaw.json                       |  205 +++++++++++++++++++++++++++++++++++++++++
 agents/lifehelper/agent/models.json |   46 +++++++++
 4 files changed, 298 insertions(+), 0 deletions(-)

diff --git a/.gitignore b/.gitignore
index 7a8aa9f..6a5f57c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -29,6 +29,7 @@
 identity/
 cron/
 memory/
+feishu/
 
 # ============================================
 # 敏感信息(绝不能提交)
diff --git a/agents/lifehelper/agent/models.json b/agents/lifehelper/agent/models.json
new file mode 100644
index 0000000..ffa9726
--- /dev/null
+++ b/agents/lifehelper/agent/models.json
@@ -0,0 +1,46 @@
+{
+  "providers": {
+    "custom-api-siliconflow-cn": {
+      "baseUrl": "https://api.siliconflow.cn",
+      "apiKey": "sk-hjxtzyxeoagiqozjdifstbmzmtdmmpiupquzfvoicyfnfnmy",
+      "api": "openai-completions",
+      "models": [
+        {
+          "id": "Pro/zai-org/GLM-5",
+          "name": "Pro/zai-org/GLM-5 (Custom Provider)",
+          "reasoning": true,
+          "input": [
+            "text"
+          ],
+          "cost": {
+            "input": 0,
+            "output": 0,
+            "cacheRead": 0,
+            "cacheWrite": 0
+          },
+          "contextWindow": 200000,
+          "maxTokens": 128000,
+          "api": "openai-completions"
+        },
+        {
+          "id": "Pro/moonshotai/Kimi-K2.5",
+          "name": "Pro/moonshotai/Kimi-K2.5 (Custom Provider)",
+          "reasoning": true,
+          "input": [
+            "text",
+            "image"
+          ],
+          "cost": {
+            "input": 0,
+            "output": 0,
+            "cacheRead": 0,
+            "cacheWrite": 0
+          },
+          "contextWindow": 256000,
+          "maxTokens": 65536,
+          "api": "openai-completions"
+        }
+      ]
+    }
+  }
+}
diff --git a/agents/main/agent/models.json b/agents/main/agent/models.json
new file mode 100644
index 0000000..7a0ce10
--- /dev/null
+++ b/agents/main/agent/models.json
@@ -0,0 +1,46 @@
+{
+  "providers": {
+    "custom-api-siliconflow-cn": {
+      "baseUrl": "https://api.siliconflow.cn",
+      "apiKey": "SILICONFLOW_CN_API_KEY",
+      "api": "openai-completions",
+      "models": [
+        {
+          "id": "Pro/zai-org/GLM-5",
+          "name": "Pro/zai-org/GLM-5 (Custom Provider)",
+          "reasoning": true,
+          "input": [
+            "text"
+          ],
+          "cost": {
+            "input": 0,
+            "output": 0,
+            "cacheRead": 0,
+            "cacheWrite": 0
+          },
+          "contextWindow": 200000,
+          "maxTokens": 128000,
+          "api": "openai-completions"
+        },
+        {
+          "id": "Pro/moonshotai/Kimi-K2.5",
+          "name": "Pro/moonshotai/Kimi-K2.5 (Custom Provider)",
+          "reasoning": true,
+          "input": [
+            "text",
+            "image"
+          ],
+          "cost": {
+            "input": 0,
+            "output": 0,
+            "cacheRead": 0,
+            "cacheWrite": 0
+          },
+          "contextWindow": 256000,
+          "maxTokens": 65536,
+          "api": "openai-completions"
+        }
+      ]
+    }
+  }
+}
diff --git a/openclaw.json b/openclaw.json
new file mode 100644
index 0000000..826deb2
--- /dev/null
+++ b/openclaw.json
@@ -0,0 +1,205 @@
+{
+  "meta": {
+    "lastTouchedVersion": "2026.3.8",
+    "lastTouchedAt": "2026-03-12T03:54:52.596Z"
+  },
+  "wizard": {
+    "lastRunAt": "2026-03-11T06:55:00.911Z",
+    "lastRunVersion": "2026.3.8",
+    "lastRunCommand": "configure",
+    "lastRunMode": "local"
+  },
+  "models": {
+    "mode": "merge",
+    "providers": {
+      "custom-api-siliconflow-cn": {
+        "baseUrl": "https://api.siliconflow.cn",
+        "apiKey": "${SILICONFLOW_API_KEY}",
+        "api": "openai-completions",
+        "models": [
+          {
+            "id": "Pro/zai-org/GLM-5",
+            "name": "Pro/zai-org/GLM-5 (Custom Provider)",
+            "reasoning": true,
+            "input": [
+              "text"
+            ],
+            "cost": {
+              "input": 0,
+              "output": 0,
+              "cacheRead": 0,
+              "cacheWrite": 0
+            },
+            "contextWindow": 200000,
+            "maxTokens": 128000
+          },
+          {
+            "id": "Pro/moonshotai/Kimi-K2.5",
+            "name": "Pro/moonshotai/Kimi-K2.5 (Custom Provider)",
+            "reasoning": true,
+            "input": [
+              "text",
+              "image"
+            ],
+            "cost": {
+              "input": 0,
+              "output": 0,
+              "cacheRead": 0,
+              "cacheWrite": 0
+            },
+            "contextWindow": 256000,
+            "maxTokens": 65536
+          }
+        ]
+      }
+    }
+  },
+  "agents": {
+    "defaults": {
+      "models": {
+        "custom-api-siliconflow-cn/Pro/moonshotai/Kimi-K2.5": {},
+        "custom-api-siliconflow-cn/Pro/zai-org/GLM-5": {}
+      },
+      "compaction": {
+        "mode": "safeguard"
+      },
+      "maxConcurrent": 4,
+      "subagents": {
+        "maxConcurrent": 8
+      }
+    },
+    "list": [
+      {
+        "id": "main",
+        "workspace": "/home/tevin/.openclaw/workspace",
+        "agentDir": "/home/tevin/.openclaw/agents/main/agent",
+        "model": {
+          "primary": "custom-api-siliconflow-cn/Pro/moonshotai/Kimi-K2.5"
+        }
+      },
+      {
+        "id": "lifehelper",
+        "name": "LifeHelper",
+        "workspace": "/home/tevin/.openclaw/workspace-lifehelper",
+        "agentDir": "/home/tevin/.openclaw/agents/lifehelper/agent",
+        "model": {
+          "primary": "custom-api-siliconflow-cn/Pro/moonshotai/Kimi-K2.5"
+        }
+      }
+    ]
+  },
+  "tools": {
+    "profile": "full",
+    "sessions": {
+      "visibility": "all"
+    }
+  },
+  "bindings": [
+    {
+      "agentId": "main",
+      "match": {
+        "channel": "feishu",
+        "accountId": "main"
+      }
+    },
+    {
+      "agentId": "lifehelper",
+      "match": {
+        "channel": "feishu",
+        "accountId": "lifehelper"
+      }
+    }
+  ],
+  "messages": {
+    "ackReactionScope": "group-mentions"
+  },
+  "commands": {
+    "native": "auto",
+    "nativeSkills": "auto",
+    "restart": true,
+    "ownerDisplay": "raw"
+  },
+  "session": {
+    "dmScope": "per-channel-peer"
+  },
+  "channels": {
+    "feishu": {
+      "enabled": true,
+      "accounts": {
+        "main": {
+          "appId": "cli_a93baf57e9badbce",
+          "appSecret": "758JnZwiIUkVmE7sh4mSdermzKsbafEW"
+        },
+        "lifehelper": {
+          "appId": "cli_a93a53efc2781bdf",
+          "appSecret": "Zr5ZpQbilUn0SuxSa0uSvdLMipyXQYbR"
+        }
+      },
+      "connectionMode": "websocket",
+      "domain": "feishu",
+      "groupPolicy": "open",
+      "dmPolicy": "open",
+      "allowFrom": [
+        "*"
+      ]
+    }
+  },
+  "gateway": {
+    "port": 18789,
+    "mode": "local",
+    "bind": "loopback",
+    "auth": {
+      "mode": "token",
+      "token": "97e5b293eeb01eb9a7776668b21da797083774c11321a5e6"
+    },
+    "tailscale": {
+      "mode": "off",
+      "resetOnExit": false
+    },
+    "nodes": {
+      "denyCommands": [
+        "camera.snap",
+        "camera.clip",
+        "screen.record",
+        "contacts.add",
+        "calendar.add",
+        "reminders.add",
+        "sms.send"
+      ]
+    }
+  },
+  "skills": {
+    "entries": {
+      "1password": {
+        "enabled": true
+      }
+    }
+  },
+  "plugins": {
+    "load": {
+      "paths": [
+        "/home/tevin/.nvm/versions/node/v24.14.0/lib/node_modules/openclaw/extensions/feishu"
+      ]
+    },
+    "entries": {
+      "feishu": {
+        "enabled": true
+      }
+    },
+    "installs": {
+      "feishu": {
+        "source": "npm",
+        "spec": "@m1heng-clawd/feishu",
+        "installPath": "/home/tevin/.openclaw/extensions/feishu",
+        "version": "0.1.16",
+        "resolvedName": "@m1heng-clawd/feishu",
+        "resolvedVersion": "0.1.16",
+        "resolvedSpec": "@m1heng-clawd/feishu@0.1.16",
+        "integrity": "sha512-BRbAdogf0NrjAX8HTPHcgMQ4zsx0SEFfWgoPcFYOTeq4muvGRkAXfPR14zS0ZtTGImcijatlZvgexWB7unj/pw==",
+        "shasum": "47780b9ee0d1b9a8585612e6072fbd787402e03d",
+        "resolvedAt": "2026-03-11T06:34:29.122Z",
+        "installedAt": "2026-03-11T06:34:48.231Z"
+      }
+    }
+  }
+}

--
Gitblit v1.9.1