Add per-feature Cursor channel toggles for admin and runtime.
Memind CI / Test, build, and release guards (push) Has been cancelled

Expose page/data/scheduled-task/chat-bridge switches in the智趣体验通道 config so Tang can roll out Cursor paths independently with DeepSeek fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-31 09:40:52 +08:00
parent ac2c87be43
commit 617ff0d1dd
21 changed files with 915 additions and 127 deletions
@@ -134,6 +134,7 @@ export function bootstrapPortalGatewayServices({
conversationMemoryService,
memoryV2,
systemDisclosurePolicyService,
wechatCursorExecutorPolicyService = null,
mindSpaceAssets,
getWorkspacePublicationDelivery = () =>
null,
@@ -182,6 +183,7 @@ export function bootstrapPortalGatewayServices({
conversationMemoryService,
memoryV2,
systemDisclosurePolicyService,
cursorExecutorPolicyService: wechatCursorExecutorPolicyService,
localFetchAsset: mindSpaceAssets
? async (userId, assetId) => {
const { asset, bodyBase64 } =
@@ -226,8 +226,8 @@ export async function bootstrapPortalIntegrationServices({
});
}
},
applySessionLlmProvider: (sessionId) =>
tkmindProxy.applySessionLlmProvider(sessionId),
applySessionLlmProvider: (sessionId, options = {}) =>
tkmindProxy.applySessionLlmProvider(sessionId, options),
refreshSessionSnapshot:
sessionSnapshotService?.isEnabled()
? (sessionId, userId) =>
@@ -300,6 +300,8 @@ export async function bootstrapPortalIntegrationServices({
scheduleService,
userAuth,
tkmindProxy,
agentRunGateway,
cursorExecutorPolicyService: wechatCursorExecutorPolicyService,
sessionSnapshotService,
notificationDispatcher,
pool,