Isolate Cursor executor to admin-configured whitelist channel for H5 and WeChat.
Memind CI / Test, build, and release guards (push) Failing after 4m22s

Non-allowlisted users stay on the existing Goose/DeepSeek path; only memindadm whitelist users enter the TKMind Cursor channel on selected intents and channels.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-28 15:27:10 +08:00
parent 02fdcdedc5
commit 416bf7a29a
13 changed files with 339 additions and 42 deletions
+2
View File
@@ -42,6 +42,7 @@ export function attachPortalAgentRuntimeRoutes(
getSessionAccess = () => null,
getMindSpaceAssetAgent = () => null,
getCodeRunPolicyService = () => null,
getCursorExecutorPolicyService = () => null,
getUserToken = () => null,
getDeepSearchInternalSecret = () => null,
bearerToken = () => null,
@@ -133,6 +134,7 @@ export function attachPortalAgentRuntimeRoutes(
agentRunGateway,
mindSpaceAssetAgent: getMindSpaceAssetAgent(),
codeRunPolicyService: getCodeRunPolicyService(),
cursorExecutorPolicyService: getCursorExecutorPolicyService(),
goalRunService: getGoalRunService(),
chatIntentRouter: getChatIntentRouter(),
templateCatalogService: getTemplateCatalog(),