Initial configuration: OpenClaw core setup
- Add .gitignore with runtime data exclusions (browser, canvas, logs, media,
extensions, agents/*/sessions/, feishu/, etc.)
- Add main openclaw.json with:
- SiliconFlow CN provider (GLM-5, Kimi-K2.5) using env var for API key
- Feishu channel configuration for main and lifehelper agents
- Gateway auth and security settings
- Add per-agent model configs for main and lifehelper agents
1 files modified
3 files added
| | |
| | | identity/ |
| | | cron/ |
| | | memory/ |
| | | feishu/ |
| | | |
| | | # ============================================ |
| | | # 敏感信息(绝不能提交) |
| New file |
| | |
| | | { |
| | | "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" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | { |
| | | "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" |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| New file |
| | |
| | | { |
| | | "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" |
| | | } |
| | | } |
| | | } |
| | | } |