Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

feat(feishu): add im:message:update, recall, cardkit scopes to permissions config

cyhhao4fe6639b4f0a
diff --git a/ui/src/components/steps/LarkConfig.tsx b/ui/src/components/steps/LarkConfig.tsx
index ae21ba2d6..aa2179b9e 100644
--- a/ui/src/components/steps/LarkConfig.tsx
+++ b/ui/src/components/steps/LarkConfig.tsx
@@ -16,7 +16,11 @@ const LARK_PERMISSIONS_JSON = `{
"im:message.reactions:read",
"im:message.reactions:write_only",
"im:message:send_as_bot",
- "im:resource"
+ "im:message:update",
+ "im:message:recall",
+ "im:resource",
+ "cardkit:card:write",
+ "cardkit:card:read"
],
"user": []
}
@@ -348,7 +352,7 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack })
<details className="text-sm text-muted">
<summary className="cursor-pointer font-medium text-text hover:text-accent transition-colors">{t('larkConfig.step3ManualList')}</summary>
<ul className="space-y-1.5 mt-2 pl-1">
- {[1,2,3,4,5,6,7,8,9].map(i => (
+ {[1,2,3,4,5,6,7,8,9,10,11,12,13].map(i => (
<li key={i} className="flex items-start gap-2">
<code className="text-xs bg-neutral-100 px-1.5 py-0.5 rounded font-mono shrink-0">{i}</code>
{t(`larkConfig.step3Item${i}`)}
diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.json
index c6a0b7a42..971082fe7 100644
--- a/ui/src/i18n/en.json
+++ b/ui/src/i18n/en.json
@@ -161,6 +161,10 @@
"step3Item7": "im:chat — Access chat/group information",
"step3Item8": "im:message.reactions — Read/write emoji reactions",
"step3Item9": "contact:user.base:readonly — Read user basic info",
+ "step3Item10": "im:message:update — Edit/update sent messages and cards",
+ "step3Item11": "im:message:recall — Recall (delete) bot messages",
+ "step3Item12": "cardkit:card:write — Create and manage card templates",
+ "step3Item13": "cardkit:card:read — Read card templates",
"step3BatchImport": "Quick setup: Copy JSON and use \"Batch Import/Export Permissions\"",
"step3CopyJson": "Copy JSON",
"step3Copied": "Copied!",
diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.json
index 5299271f9..34a51eed2 100644
--- a/ui/src/i18n/zh.json
+++ b/ui/src/i18n/zh.json
@@ -161,6 +161,10 @@
"step3Item7": "im:chat — 访问群聊信息",
"step3Item8": "im:message.reactions — 读写表情回复",
"step3Item9": "contact:user.base:readonly — 读取用户基本信息",
+ "step3Item10": "im:message:update — 编辑/更新已发送的消息和卡片",
+ "step3Item11": "im:message:recall — 撤回机器人消息",
+ "step3Item12": "cardkit:card:write — 创建和管理卡片模板",
+ "step3Item13": "cardkit:card:read — 读取卡片模板",
"step3BatchImport": "快捷配置:复制 JSON 后使用「批量导入/导出权限」",
"step3CopyJson": "复制 JSON",
"step3Copied": "已复制!",