Add per-feature Cursor channel toggles for admin and runtime.
Memind CI / Test, build, and release guards (push) Has been cancelled
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user