feat: complete Aider Page Data review workflow

This commit is contained in:
john
2026-07-25 09:47:25 +08:00
parent be9c25f1d0
commit 104fb4e370
15 changed files with 914 additions and 30 deletions
+18
View File
@@ -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');
});