From 3e4c397451cf57cf39612ae66f79d5c21aaabd7a Mon Sep 17 00:00:00 2001 From: ie2718 Date: Tue, 27 Jan 2026 11:09:34 +0800 Subject: [PATCH] fix(feishu): remove allowFrom prompt, use pairing mode by default --- extensions/feishu/src/onboarding.ts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/extensions/feishu/src/onboarding.ts b/extensions/feishu/src/onboarding.ts index 0ec7dc3fd..894dc8995 100644 --- a/extensions/feishu/src/onboarding.ts +++ b/extensions/feishu/src/onboarding.ts @@ -199,6 +199,7 @@ export const feishuOnboardingAdapter: ChannelOnboardingAdapter = { feishu: { ...next.channels?.feishu, enabled: true, + dmPolicy: "pairing", }, }, } as ClawdbotConfig; @@ -293,14 +294,7 @@ export const feishuOnboardingAdapter: ChannelOnboardingAdapter = { } // WebSocket mode - no webhook configuration needed - - if (forceAllowFrom) { - next = await promptFeishuAllowFrom({ - cfg: next, - prompter, - accountId: feishuAccountId, - }); - } + // Pairing mode by default - no allowFrom needed return { cfg: next, accountId: feishuAccountId }; },