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.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(lark): swap publish/event steps — app must be published before long connection appears
cyh53d380afef1f
diff --git a/ui/src/components/steps/LarkConfig.tsx b/ui/src/components/steps/LarkConfig.tsxindex 59c2ad750..edcfd18eb 100644--- a/ui/src/components/steps/LarkConfig.tsx+++ b/ui/src/components/steps/LarkConfig.tsx@@ -230,12 +230,12 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack }))}</div>- {/* Step 3: Configure Event Subscription */}+ {/* Step 3: Publish App (must be before Event Subscription) */}<div className="bg-panel border border-border rounded-xl overflow-hidden"><StepHeaderstep={3}title={t('larkConfig.step3Title')}- icon={<Send size={16} className="text-accent" />}+ icon={<BookOpen size={16} className="text-accent" />}/>{expandedSteps[3] && (<div className="p-4 space-y-4 border-t border-border">@@ -243,29 +243,20 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack })<ol className="list-decimal list-inside space-y-1.5 text-sm text-muted pl-1"><li>{t('larkConfig.step3Item1')}</li><li>{t('larkConfig.step3Item2')}</li>- <li>{t('larkConfig.step3Item3')}</li></ol><div className="bg-amber-50 border border-amber-200 rounded-lg p-3 text-sm text-amber-800"><strong>{t('slackConfig.important')}:</strong> {t('larkConfig.step3Tip')}</div>- {/* Long connection FAQ */}- <div className="bg-neutral-50 border border-neutral-200 rounded-lg p-3 space-y-1.5">- <div className="flex items-center gap-2 text-sm font-medium text-text">- <AlertTriangle size={14} className="text-amber-500" />- {t('larkConfig.step3LongConnFaqTitle')}- </div>- <p className="text-xs text-muted">{t('larkConfig.step3LongConnFaqDesc')}</p>- </div></div>)}</div>- {/* Step 4: Publish App */}+ {/* Step 4: Configure Event Subscription */}<div className="bg-panel border border-border rounded-xl overflow-hidden"><StepHeaderstep={4}title={t('larkConfig.step4Title')}- icon={<BookOpen size={16} className="text-accent" />}+ icon={<Send size={16} className="text-accent" />}/>{expandedSteps[4] && (<div className="p-4 space-y-4 border-t border-border">@@ -273,7 +264,16 @@ export const LarkConfig: React.FC<LarkConfigProps> = ({ data, onNext, onBack })<ol className="list-decimal list-inside space-y-1.5 text-sm text-muted pl-1"><li>{t('larkConfig.step4Item1')}</li><li>{t('larkConfig.step4Item2')}</li>+ <li>{t('larkConfig.step4Item3')}</li></ol>+ {/* Long connection FAQ */}+ <div className="bg-neutral-50 border border-neutral-200 rounded-lg p-3 space-y-1.5">+ <div className="flex items-center gap-2 text-sm font-medium text-text">+ <AlertTriangle size={14} className="text-amber-500" />+ {t('larkConfig.step3LongConnFaqTitle')}+ </div>+ <p className="text-xs text-muted">{t('larkConfig.step3LongConnFaqDesc')}</p>+ </div></div>)}</div>diff --git a/ui/src/i18n/en.json b/ui/src/i18n/en.jsonindex 412176788..2a957ccb9 100644--- a/ui/src/i18n/en.json+++ b/ui/src/i18n/en.json@@ -141,16 +141,18 @@"step2Item6": "im:chat — Access chat/group information","step2Item7": "im:message.reactions — Read/write emoji reactions","step2Item8": "contact:user.base:readonly — Read user basic info",- "step3Title": "Configure Event Subscription",- "step3Description": "Set up event subscription to receive messages via WebSocket long connection.",- "step3Item1": "Go to \"Events & Callbacks\" in your app settings",- "step3Item2": "Set subscription method to \"Use Long Connection\"",- "step3Item3": "Add event: im.message.receive_v1 (Receive Messages)",- "step3Tip": "Important: The app must be published first before long connection can work. Complete Step 4 first if needed.",- "step4Title": "Publish App",- "step4Description": "Create a version and publish your app to make it available.",- "step4Item1": "Go to \"Version Management & Release\"",- "step4Item2": "Create a new version and submit for release",+ "step3Title": "Publish App",+ "step3Description": "You must publish the app before configuring event subscriptions. Long connection requires a published app.",+ "step3Item1": "Go to \"Version Management & Release\"",+ "step3Item2": "Create a new version and submit for release",+ "step3Tip": "The app must be published before the \"Use Long Connection\" option appears in Event Subscription settings.",+ "step4Title": "Configure Event Subscription",+ "step4Description": "Set up event subscription to receive messages via WebSocket long connection.",+ "step4Item1": "Go to \"Events & Callbacks\" in your app settings",+ "step4Item2": "Set subscription method to \"Use Long Connection\"",+ "step4Item3": "Add event: im.message.receive_v1 (Receive Messages)",+ "step3LongConnFaqTitle": "Can't find \"Use Long Connection\"?",+ "step3LongConnFaqDesc": "If you only see \"Send events to developer server\", your app is likely not published yet. Complete Step 3 (Publish App) first, then return to Events & Callbacks — the \"Use Long Connection\" option will appear. If still missing, also check that the Bot capability is enabled in your app.","step5Title": "Enter Credentials & Validate","step5Description": "Enter your App ID and App Secret from the \"Credentials & Basic Info\" page.","appId": "App ID",diff --git a/ui/src/i18n/zh.json b/ui/src/i18n/zh.jsonindex c353fa372..76ede909c 100644--- a/ui/src/i18n/zh.json+++ b/ui/src/i18n/zh.json@@ -141,16 +141,18 @@"step2Item6": "im:chat — 访问群聊信息","step2Item7": "im:message.reactions — 读写表情回复","step2Item8": "contact:user.base:readonly — 读取用户基本信息",- "step3Title": "配置事件订阅",- "step3Description": "配置事件订阅,通过 WebSocket 长连接接收消息。",- "step3Item1": "进入应用的「事件与回调」设置",- "step3Item2": "订阅方式选择「使用长连接接收事件」",- "step3Item3": "添加事件:im.message.receive_v1(接收消息)",- "step3Tip": "注意:必须先发布应用,长连接才能生效。如需要请先完成第 4 步。",- "step4Title": "发布应用",- "step4Description": "创建版本并发布应用,使其可用。",- "step4Item1": "进入「版本管理与发布」",- "step4Item2": "创建新版本并提交发布",+ "step3Title": "发布应用",+ "step3Description": "必须先发布应用,才能配置事件订阅。长连接功能需要应用已发布上线。",+ "step3Item1": "进入「版本管理与发布」",+ "step3Item2": "创建新版本并提交发布",+ "step3Tip": "应用必须先发布上线,「使用长连接接收事件」选项才会出现在事件订阅设置中。",+ "step4Title": "配置事件订阅",+ "step4Description": "配置事件订阅,通过 WebSocket 长连接接收消息。",+ "step4Item1": "进入应用的「事件与回调」设置",+ "step4Item2": "订阅方式选择「使用长连接接收事件」",+ "step4Item3": "添加事件:im.message.receive_v1(接收消息)",+ "step3LongConnFaqTitle": "找不到「使用长连接接收事件」?",+ "step3LongConnFaqDesc": "如果只看到「将事件发送至开发者服务器」,说明应用尚未发布上线。请先完成第 3 步(发布应用),然后再回到「事件与回调」页面,就会出现「使用长连接接收事件」选项。如果仍然看不到,请检查应用是否已开启「机器人」能力。","step5Title": "填入凭证并验证","step5Description": "从「凭证与基础信息」页面获取 App ID 和 App Secret。","appId": "App ID",