feat: complete Aider Page Data review workflow
This commit is contained in:
@@ -503,3 +503,21 @@ test('sandboxMcp can use workspaceRoot as the local runtime root compatibility f
|
||||
assert.equal(sandboxExt.envs.MINDSPACE_WORKSPACE_ROOT, '/opt/h5/MindSpace/abc123');
|
||||
assert.equal(sandboxExt.envs.MINDSPACE_WORKSPACE_REF, 'mindspace://users/abc123/workspace');
|
||||
});
|
||||
|
||||
test('Excel analyst uses the container-visible bundled MCP directory', () => {
|
||||
const policy = buildAgentExtensionPolicy(
|
||||
{
|
||||
...DEFAULT_USER_CAPABILITIES,
|
||||
excel_analysis: true,
|
||||
},
|
||||
{
|
||||
sandboxMcp: {
|
||||
containerized: true,
|
||||
serverPath: '/opt/portal/mindspace-sandbox-mcp.mjs',
|
||||
sandboxRoot: '/opt/portal/MindSpace/user-1',
|
||||
},
|
||||
},
|
||||
);
|
||||
const extension = policy.extensionOverrides.find((ext) => ext.name === 'tkmind-excel');
|
||||
assert.equal(extension.args[0], '/opt/portal/tkmind-excel-mcp.mjs');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user