From 3222cf92c2a797d592301fddb61423cf12c04690 Mon Sep 17 00:00:00 2001 From: starmen1265 Date: Fri, 6 Mar 2026 11:33:10 +0800 Subject: [PATCH] fix: update feishu config for new plugin format - Add allowFrom for dmPolicy=open compatibility - Remove old feishu plugin (use built-in @openclaw/feishu) - Update device auth and paired devices --- devices/paired.json | 12 ++++++------ identity/device-auth.json | 2 +- openclaw.json | 15 ++++++++++----- openclaw.json.bak | 29 +++++++++++++++++++++-------- 4 files changed, 38 insertions(+), 20 deletions(-) diff --git a/devices/paired.json b/devices/paired.json index b8412e4..89f231f 100644 --- a/devices/paired.json +++ b/devices/paired.json @@ -3,8 +3,8 @@ "deviceId": "a12f851ec2a179ca97d45b204bc3788476f062520fa77c5edef5cd054a176b1e", "publicKey": "Ka6zP7u6MzDaQBqOpXHYUBC5MYLlVGGZM8vIi11WnTw", "platform": "linux", - "clientId": "gateway-client", - "clientMode": "backend", + "clientId": "cli", + "clientMode": "cli", "role": "operator", "roles": [ "operator" @@ -12,7 +12,9 @@ "scopes": [ "operator.admin", "operator.approvals", - "operator.pairing" + "operator.pairing", + "operator.read", + "operator.write" ], "tokens": { "operator": { @@ -28,8 +30,6 @@ } }, "createdAtMs": 1770807648254, - "approvedAtMs": 1770807648254, - "remoteIp": "192.168.1.36", - "displayName": "agent" + "approvedAtMs": 1770807648254 } } \ No newline at end of file diff --git a/identity/device-auth.json b/identity/device-auth.json index d47f3fe..77ec3f2 100644 --- a/identity/device-auth.json +++ b/identity/device-auth.json @@ -10,7 +10,7 @@ "operator.approvals", "operator.pairing" ], - "updatedAtMs": 1772765893136 + "updatedAtMs": 1772767890320 } } } diff --git a/openclaw.json b/openclaw.json index 269ff44..66f945f 100644 --- a/openclaw.json +++ b/openclaw.json @@ -1,11 +1,11 @@ { "meta": { "lastTouchedVersion": "2026.3.2", - "lastTouchedAt": "2026-03-06T02:48:05.962Z" + "lastTouchedAt": "2026-03-06T03:20:49.571Z" }, "wizard": { - "lastRunAt": "2026-02-13T15:47:05.928Z", - "lastRunVersion": "2026.2.9", + "lastRunAt": "2026-03-06T03:20:49.563Z", + "lastRunVersion": "2026.3.2", "lastRunCommand": "doctor", "lastRunMode": "local" }, @@ -302,7 +302,6 @@ "channels": { "feishu": { "enabled": true, - "dmPolicy": "open", "accounts": { "feishu-pm": { "appId": "cli_a9f74dc9a3f8dbce", @@ -323,10 +322,16 @@ "feishu-art": { "appId": "cli_a92baa31fdf8dbc0", "appSecret": "BKjGWv1MTz7WmTn0I5A2EhuKyzwuuUnk" + }, + "default": { + "dmPolicy": "open", + "groupPolicy": "open", + "allowFrom": [ + "*" + ] } }, "domain": "feishu", - "groupPolicy": "open", "requireMention": true }, "wecom": { diff --git a/openclaw.json.bak b/openclaw.json.bak index 4026828..269ff44 100644 --- a/openclaw.json.bak +++ b/openclaw.json.bak @@ -1,7 +1,7 @@ { "meta": { - "lastTouchedVersion": "2026.2.9", - "lastTouchedAt": "2026-03-03T15:06:05.649Z" + "lastTouchedVersion": "2026.3.2", + "lastTouchedAt": "2026-03-06T02:48:05.962Z" }, "wizard": { "lastRunAt": "2026-02-13T15:47:05.928Z", @@ -110,10 +110,10 @@ "agents": { "defaults": { "model": { - "primary": "m25", + "primary": "g5", "fallbacks": [ "g47f", - "g5", + "m25", "q3", "k2p5" ] @@ -135,7 +135,7 @@ "alias": "k2p5" } }, - "workspace": "/home/starmen1265/.openclaw/workspace", + "workspace": "/home/starmen1265/.openclaw/agents/haonan/workspace", "compaction": { "mode": "safeguard" }, @@ -147,6 +147,7 @@ "list": [ { "id": "haonan", + "workspace": "/home/starmen1265/.openclaw/agents/haonan/workspace", "skills": [ "common-require", "capability-evolver", @@ -155,6 +156,7 @@ }, { "id": "knowledge-base", + "workspace": "/home/starmen1265/.openclaw/agents/knowledge-base/workspace", "skills": [ "common-require", "kb-workflow", @@ -164,6 +166,7 @@ }, { "id": "dev-assist", + "workspace": "/home/starmen1265/.openclaw/agents/dev-assist/workspace", "skills": [ "common-require", "clawlist", @@ -173,6 +176,7 @@ }, { "id": "ui-designer", + "workspace": "/home/starmen1265/.openclaw/agents/ui-designer/workspace", "skills": [ "common-require", "capability-evolver", @@ -181,6 +185,7 @@ }, { "id": "thinker", + "workspace": "/home/starmen1265/.openclaw/agents/thinker/workspace", "skills": [ "common-require", "capability-evolver", @@ -267,7 +272,8 @@ "commands": { "native": "auto", "nativeSkills": "auto", - "restart": true + "restart": true, + "ownerDisplay": "raw" }, "approvals": { "exec": { @@ -286,6 +292,9 @@ }, "session-memory": { "enabled": true + }, + "self-improvement": { + "enabled": true } } } @@ -348,6 +357,10 @@ "mode": "local", "bind": "lan", "controlUi": { + "allowedOrigins": [ + "http://localhost:18789", + "http://127.0.0.1:18789" + ], "allowInsecureAuth": true }, "auth": { @@ -388,8 +401,8 @@ "source": "npm", "spec": "@m1heng-clawd/feishu", "installPath": "/home/starmen1265/.openclaw/extensions/feishu", - "version": "0.1.9", - "installedAt": "2026-02-12T16:31:18.854Z" + "version": "0.1.15", + "installedAt": "2026-03-06T02:47:51.601Z" }, "wecom": { "source": "npm",