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
@@ -34,6 +34,8 @@ export async function bootstrapPortalIntegrationServices({
sessionSnapshotService = null,
wechatScheduleLlmConfigService,
wechatIntentRouter = null,
wechatCursorExecutorPolicyService = null,
agentRunGateway = null,
llmProviderService,
chatIntentRouter,
systemDisclosurePolicyService,
@@ -119,6 +121,8 @@ export async function bootstrapPortalIntegrationServices({
? mindSpacePublicFinish
: null,
pageDataDeliveryReviewer,
wechatCursorExecutorPolicyService,
agentRunGateway,
apiFetch: tkmindProxy.apiFetch,
startAgentSession: ({
userId,