Fix portal agent runtime route test for cursor policy service wiring.
Memind CI / Test, build, and release guards (push) Successful in 5m22s
Memind CI / Test, build, and release guards (push) Successful in 5m22s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -262,6 +262,7 @@ test('proxy-backed routes preserve handler order and fall through after completi
|
|||||||
getSessionAccess: () => ({ id: 'session-access' }),
|
getSessionAccess: () => ({ id: 'session-access' }),
|
||||||
getMindSpaceAssetAgent: () => ({ id: 'asset-agent' }),
|
getMindSpaceAssetAgent: () => ({ id: 'asset-agent' }),
|
||||||
getCodeRunPolicyService: () => ({ id: 'code-run-policy' }),
|
getCodeRunPolicyService: () => ({ id: 'code-run-policy' }),
|
||||||
|
getCursorExecutorPolicyService: () => ({ id: 'cursor-policy' }),
|
||||||
createPostAgentRunsHandlerFn(dependencies) {
|
createPostAgentRunsHandlerFn(dependencies) {
|
||||||
calls.push({ kind: 'create-post', dependencies });
|
calls.push({ kind: 'create-post', dependencies });
|
||||||
return (req, _res, next) => {
|
return (req, _res, next) => {
|
||||||
@@ -325,6 +326,7 @@ test('proxy-backed routes preserve handler order and fall through after completi
|
|||||||
agentRunGateway: { id: 'gateway' },
|
agentRunGateway: { id: 'gateway' },
|
||||||
mindSpaceAssetAgent: { id: 'asset-agent' },
|
mindSpaceAssetAgent: { id: 'asset-agent' },
|
||||||
codeRunPolicyService: { id: 'code-run-policy' },
|
codeRunPolicyService: { id: 'code-run-policy' },
|
||||||
|
cursorExecutorPolicyService: { id: 'cursor-policy' },
|
||||||
goalRunService: null,
|
goalRunService: null,
|
||||||
chatIntentRouter: null,
|
chatIntentRouter: null,
|
||||||
templateCatalogService: null,
|
templateCatalogService: null,
|
||||||
|
|||||||
Reference in New Issue
Block a user