From d7a7c6dcff1395243ae074998b61dbe0453bad50 Mon Sep 17 00:00:00 2001 From: paisley <8197966+su8su@users.noreply.github.com> Date: Wed, 11 Feb 2026 17:59:40 +0800 Subject: [PATCH] fix(setup): resolve conflicts, fix light mode styles, add Feishu permission warning (#53) --- src/i18n/locales/en/channels.json | 5 +++-- src/i18n/locales/ja/channels.json | 5 +++-- src/i18n/locales/zh/channels.json | 5 +++-- src/types/channel.ts | 1 + 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/i18n/locales/en/channels.json b/src/i18n/locales/en/channels.json index 601ac3c58..4fe87d1c9 100644 --- a/src/i18n/locales/en/channels.json +++ b/src/i18n/locales/en/channels.json @@ -140,10 +140,11 @@ } }, "instructions": [ - "Go to Feishu Open Platform", + "Read the documentation, then go to Feishu Open Platform", "Create a new application", "Get App ID and App Secret", - "Configure event subscription" + "Configure event subscription", + "Note: Not mentioned in current OpenClaw docs, but you MUST add 'contact:contact.base:readonly' permission in Permission Management" ] }, "imessage": { diff --git a/src/i18n/locales/ja/channels.json b/src/i18n/locales/ja/channels.json index 0821c7860..6f7cdb96c 100644 --- a/src/i18n/locales/ja/channels.json +++ b/src/i18n/locales/ja/channels.json @@ -135,10 +135,11 @@ } }, "instructions": [ - "Feishu Open Platform に移動します", + "ドキュメントを読み、Feishu Open Platform に移動します", "新しいアプリケーションを作成します", "App ID と App Secret を取得します", - "イベント購読を設定します" + "イベント購読を設定します", + "注意:現在のドキュメントには記載されていませんが、権限管理で 'contact:contact.base:readonly' 権限を必ず追加してください" ] }, "imessage": { diff --git a/src/i18n/locales/zh/channels.json b/src/i18n/locales/zh/channels.json index 3f734f5d6..a574a4d9d 100644 --- a/src/i18n/locales/zh/channels.json +++ b/src/i18n/locales/zh/channels.json @@ -140,10 +140,11 @@ } }, "instructions": [ - "前往飞书开放平台", + "阅读文档,前往飞书开放平台", "创建一个新应用", "获取 App ID 和 App Secret", - "配置事件订阅" + "配置事件订阅", + "注意:当前OpenClaw文档中未提及,但请务必在权限管理中添加 contact:contact.base:readonly 权限,否则无法正常使用" ] }, "imessage": { diff --git a/src/types/channel.ts b/src/types/channel.ts index 4acf53c64..b6bc8b7bf 100644 --- a/src/types/channel.ts +++ b/src/types/channel.ts @@ -254,6 +254,7 @@ export const CHANNEL_META: Record = { 'channels:meta.feishu.instructions.1', 'channels:meta.feishu.instructions.2', 'channels:meta.feishu.instructions.3', + 'channels:meta.feishu.instructions.4', ], isPlugin: true, },