fix(rain): keep Goose agent turns on DeepSeek, not Cursor chat bridge.
Memind CI / Test, build, and release guards (push) Failing after 13m25s

Cursor bridge PoC rejects tool calls; Rain and other agent sessions must not
apply it during session provider selection.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-09-04 14:33:55 +08:00
parent ab557ac8c7
commit 7cc3fb7f8a
3 changed files with 39 additions and 4 deletions
+2
View File
@@ -43,6 +43,8 @@ export function resolveCursorChatBridgeEligible({
// WeChat Goose sessions always carry tools; the bridge PoC rejects tool calls.
if (normalizedChannel === CURSOR_EXECUTOR_CHANNEL.WECHAT_MP) return false;
if (String(intentKind ?? '').trim() === 'page.generate') return false;
// Bridge is text-only: only explicit direct-chat intents; agent / rain / empty → DeepSeek.
if (String(intentKind ?? '').trim() !== 'chat.general') return false;
if (!isChannelAllowedByCursorPolicy(normalizedChannel || CURSOR_EXECUTOR_CHANNEL.H5, policy)) {
return false;
}