feat(cursor): wire executor through portal, admin, and wechat routes

Register cursor in LLM executor bindings, route page/code tasks through
cursor runtime selection, and bootstrap wechat cursor policy services.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-08-27 09:33:47 +08:00
parent a29e1ec5c8
commit ad6dcc283f
17 changed files with 343 additions and 16 deletions
+5
View File
@@ -283,6 +283,7 @@ let memoryV2ConfigService = null;
let skillRuntimeConfigService = null;
let systemDisclosurePolicyService = null;
let agentCodeRunPolicyService = null;
let wechatCursorExecutorPolicyService = null;
let wechatScheduleLlmConfigService = null;
let wechatIntentRouter = null;
let mindSpace = null;
@@ -476,6 +477,8 @@ async function bootstrapUserAuth() {
memorySessionServices.systemDisclosurePolicyService;
agentCodeRunPolicyService =
memorySessionServices.agentCodeRunPolicyService;
wechatCursorExecutorPolicyService =
memorySessionServices.wechatCursorExecutorPolicyService;
wechatScheduleLlmConfigService =
memorySessionServices.wechatScheduleLlmConfigService;
wechatIntentRouter =
@@ -543,6 +546,8 @@ async function bootstrapUserAuth() {
sessionSnapshotService,
wechatScheduleLlmConfigService,
wechatIntentRouter,
wechatCursorExecutorPolicyService,
agentRunGateway,
llmProviderService,
chatIntentRouter,
systemDisclosurePolicyService,