fix(feishu): remove allowFrom prompt, use pairing mode by default

This commit is contained in:
ie2718 2026-01-27 11:09:34 +08:00
parent 31d87fa133
commit 3e4c397451

View File

@ -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 };
},