feat: add Playwright long image downloads

This commit is contained in:
john
2026-07-02 18:10:33 +08:00
parent 8260ff1e0e
commit f9eb3d1440
16 changed files with 993 additions and 64 deletions
+2
View File
@@ -178,6 +178,7 @@ test('sandboxMcpTools returns correct tool list based on capabilities', () => {
'write_file',
'edit_file',
'create_dir',
'generate_long_image',
'private_data_info',
'private_data_schema',
'private_data_query',
@@ -240,6 +241,7 @@ test('static_publish with sandboxMcp uses stdio sandbox-fs extension instead of
assert.equal(sandboxExt.args[1], '/opt/h5/MindSpace/abc123'); // also passed as argv[2]
assert.ok(sandboxExt.available_tools.includes('write_file'));
assert.ok(sandboxExt.available_tools.includes('read_file'));
assert.ok(sandboxExt.available_tools.includes('generate_long_image'));
// built-in developer extension should only remain for read_image (image_read: true by default)
const developer = policy.extensionOverrides.find((ext) => ext.name === 'developer');