From cebcc85e844feac5de2d92805688780989eab6f6 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 28 Aug 2026 15:33:31 +0800 Subject: [PATCH] Fix portal agent runtime route test for cursor policy service wiring. Co-authored-by: Cursor --- server/portal-agent-runtime-routes.test.mjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/portal-agent-runtime-routes.test.mjs b/server/portal-agent-runtime-routes.test.mjs index d25f5df..8dfaf19 100644 --- a/server/portal-agent-runtime-routes.test.mjs +++ b/server/portal-agent-runtime-routes.test.mjs @@ -262,6 +262,7 @@ test('proxy-backed routes preserve handler order and fall through after completi getSessionAccess: () => ({ id: 'session-access' }), getMindSpaceAssetAgent: () => ({ id: 'asset-agent' }), getCodeRunPolicyService: () => ({ id: 'code-run-policy' }), + getCursorExecutorPolicyService: () => ({ id: 'cursor-policy' }), createPostAgentRunsHandlerFn(dependencies) { calls.push({ kind: 'create-post', dependencies }); return (req, _res, next) => { @@ -325,6 +326,7 @@ test('proxy-backed routes preserve handler order and fall through after completi agentRunGateway: { id: 'gateway' }, mindSpaceAssetAgent: { id: 'asset-agent' }, codeRunPolicyService: { id: 'code-run-policy' }, + cursorExecutorPolicyService: { id: 'cursor-policy' }, goalRunService: null, chatIntentRouter: null, templateCatalogService: null,