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
+1 -1
View File
@@ -233,7 +233,7 @@ export function sandboxDeveloperTools(capabilities) {
export function sandboxMcpTools(capabilities) {
const tools = [];
if (capabilities.static_publish) {
tools.push('read_file', 'write_file', 'edit_file', 'create_dir');
tools.push('read_file', 'write_file', 'edit_file', 'create_dir', 'generate_long_image');
if (capabilities.shell || capabilities.code_browse) tools.push('list_dir');
}
if (capabilities.private_data_space) {