Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

fix(web): stabilize combined UI E2E runtime (#571)

Gustavo Yebaf480373827
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 726cbb998..10d7cc7fa 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -602,6 +602,9 @@ importers:
wrangler:
specifier: ^4.125.0
version: 4.125.0(@cloudflare/[email protected])
+ wrangler-e2e:
+ specifier: npm:[email protected]
+ version: [email protected](@cloudflare/[email protected])
src/ws-do:
dependencies:
@@ -1205,30 +1208,60 @@ packages:
'@vitest/snapshot': ^4.1.0
vitest: ^4.1.0
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-VivNMhiEdZIB4JBWxf1RMJGROErv53qmQ+dvhjA1evrCouvqRYW718VqDideU3PSV7Ythl5Df48NqZYWoaEHpQ==}
+ engines: {node: '>=16'}
+ cpu: [x64]
+ os: [darwin]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-5F2/t7SVnugG3rscSe9da1LoHst+GiuVGPaE9BP6j5AonlFpiYi0eoJrl3wof9zDBIIgJZ87NjRj9TKjbbYgHg==}
engines: {node: '>=16'}
cpu: [x64]
os: [darwin]
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-k7oye1ZiuwnnBBA2eTMduconr/ud5ZxFtRNTsYwMdmJeeeislw2+M72otrHxxvybCP7JWPPlJ38uhfajpcyhOA==}
+ engines: {node: '>=16'}
+ cpu: [arm64]
+ os: [darwin]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-jFnG7715+r9FXRZPpuWWe5Ayd9v/IJKDODARg56ffFJWWtte6bFNi5VY3GazBM04hEmxny6OjXQBh3j2E/wNZw==}
engines: {node: '>=16'}
cpu: [arm64]
os: [darwin]
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-hon0lW4ZQ4boAVgaw+0ZFTNS8v5MWPWvK0HZnt4tDpKYnDUviLZawtUW3KqvFmCQTipVHl1S34j3J8Eqb93hGQ==}
+ engines: {node: '>=16'}
+ cpu: [x64]
+ os: [linux]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-TbTYaCBht0OaOWmnVpg43hXVYtIti/Kg6lvO819H2DwbxPpK1BH0z2C+Y7ySrVJLlxZQeic5eN7/noqbP80hJg==}
engines: {node: '>=16'}
cpu: [x64]
os: [linux]
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-nAl+HRQqpX5b7xVwWcvLPZmCk8NQ2yjI0yvJTWcHiRswbMEg1ZZckVmjJUAn0PHzZARbCSyIV7v3UjM+SPRmIQ==}
+ engines: {node: '>=16'}
+ cpu: [arm64]
+ os: [linux]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-FQmri1UF7hBnnpeyC5SZJCAnsSRs3+Ykn9wlO5zxmE2qIgKfbJZ+toJ6qrQyugWlxE65juT33HU6aYLtutLJHw==}
engines: {node: '>=16'}
cpu: [arm64]
os: [linux]
+ '@cloudflare/[email protected]':
+ resolution: {integrity: sha512-9paFG5cMTKz/CRixnEEnZbe5uvFPBFSDthxJHANfCWhUtBj49GSL1FPIokIg+Q+H8DGJEExU0lL92LtxD0lTxQ==}
+ engines: {node: '>=16'}
+ cpu: [x64]
+ os: [win32]
+
'@cloudflare/[email protected]':
resolution: {integrity: sha512-BPvCuMxIQfA47wtYsGbBG6Bcar57Qs7yHqU2jWkT1+sRnL/741/ZbQGP9kVRMQ5fwBMuqNFmQRzAu8gSm7ri/w==}
engines: {node: '>=16'}
@@ -1922,6 +1955,12 @@ packages:
resolution: {integrity: sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-imtQ3WMJXbMY4fxb/Ndp6HBTNVtWCUI0WdobyheGf5+ad6xX8VIDO8u2xE4qc/fr08CKG/7dDseFtn6M6g/r3w==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-eEieHsMksAW4IiO5NzauESRl2D2qz3J/kwUxUrSfV06A93eEaRfMpHXyUb1mAqrR7i8U9A0GRqE9pjn6u1Jjpg==}
engines: {node: '>=20.9.0'}
@@ -1934,6 +1973,12 @@ packages:
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-YNEFAF/4KQ/PeW0N+r+aVVsoIY0/qxxikF2SWdp+NRkmMB7y9LBZAVqQ4yhGCm/H3H270OSykqmQMKLBhBJDEw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-BaktuGPCeHJMARpodR8jK4uKiZrPAy9WrfQW0sdI37clracq8Bp01AYS3SZgi5FS/y5twa9t4+LIuuxQjqRrWw==}
engines: {node: '>=20.9.0'}
@@ -1956,6 +2001,11 @@ packages:
engines: {node: '>=20.9.0'}
os: [freebsd]
+ resolution: {integrity: sha512-zqjjo7RatFfFoP0MkQ51jfuFZBnVE2pRiaydKJ1G/rHZvnsrHAOcQALIi9sA5co5xenQdTugCvtb1cuf78Vf4g==}
+ cpu: [arm64]
+ os: [darwin]
+
resolution: {integrity: sha512-4V/M3roRMTYjiwZY9IOVQOE8OyeCxFAkYmyZDrZl51uOKjibm3oeEJ4WAmLxutAfzFbC9jqUiPs2gbnGflH+7g==}
cpu: [arm64]
@@ -1966,6 +2016,11 @@ packages:
cpu: [arm64]
os: [darwin]
+ resolution: {integrity: sha512-1IOd5xfVhlGwX+zXv2N93k0yMONvUlANylbJw1eTah8K/Jtpi15KC+WSiaX/nBmbm2HxRM1gZ0nSdjSsrZbGKg==}
+ cpu: [x64]
+ os: [darwin]
+
resolution: {integrity: sha512-c0/DxItpJv2+dGhgycJBBgotdqruGYDvA79drdh0MD1dFpy7JzJ/PlXwi1H4rFf0eTy8tgbI91aHDnZIceY3jQ==}
cpu: [x64]
@@ -1976,6 +2031,12 @@ packages:
cpu: [x64]
os: [darwin]
+ resolution: {integrity: sha512-excjX8DfsIcJ10x1Kzr4RcWe1edC9PquDRRPx3YVCvQv+U5p7Yin2s32ftzikXojb1PIFc/9Mt28/y+iRklkrw==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-JznefmcK9j1JKPz8AkQDh89kjojubyfOasWBPKfzMIhPwsgDy9evpE/naJTXXXmghS1iFwR8u/kTwh/I2/+GCw==}
cpu: [arm64]
@@ -1988,6 +2049,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-bFI7xcKFELdiNCVov8e44Ia4u2byA+l3XtsAj+Q8tfCwO6BQ8iDojYdvoPMqsKDkuoOo+X6HZA0s0q11ANMQ8A==}
+ cpu: [arm]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-aGGy9aWzXgHBG7HNyQPWorZthlp7+x6fDRoPAQbGO3ThcttuTyKIx3NuSHb6zb4gBNq6/yNn9f1cy9nFKS/Vmg==}
cpu: [arm]
@@ -2000,6 +2067,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-FMuvGijLDYG6lW+b/UvyilUWu5Ayu+3r2d1S8notiGCIyYU/76eig1UfMmkZ7vwgOrzKzlQbFSuQfgm7GYUPpA==}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-1EkwGNCZk6iWNCMWqrvdJ+r1j0PT1zIz60CNPhYnJlK/zyeWqlsPZIe+ocBVqPF8k/Ssee/NCk+tE9Ryrko6ng==}
cpu: [ppc64]
@@ -2012,6 +2085,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-oVDbcR4zUC0ce82teubSm+x6ETixtKZBh/qbREIOcI3cULzDyb18Sr/Wcyx7NRQeQzOiHTNbZFF1UwPS2scyGA==}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-Ilays+w2bXdnxzxtQdmXR62u8o8GYa3eL4+Gr+1KiE4xperMZUslRaVPJwwPkzlHEjGfXAfRVAa/7CYCtSqsBw==}
cpu: [riscv64]
@@ -2024,6 +2103,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-qmp9VrzgPgMoGZyPvrQHqk02uyjA0/QrTO26Tqk6l4ZV0MPWIW6LTkqOIov+J1yEu7MbFQaDpwdwJKhbJvuRxQ==}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-VfBwVHQTbRoj4XlpA/KLZ7ltgMpz+4WSejFzQ+GnoImjo1PtEJ59QB2qR1xQEeRPYIkNrPIm2L4cICMvz4C2ew==}
cpu: [s390x]
@@ -2036,6 +2121,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-tJxiiLsmHc9Ax1bz3oaOYBURTXGIRDODBqhveVHonrHJ9/+k89qbLl0bcJns+e4t4rvaNBxaEZsFtSfAdquPrw==}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-+c8ukgwU62DS54nCAjw7keOfHUkmr0B5QHEdcOqRnodF/MNXJbVI8Eopoj4B/0H8Asr65I+A4Amrn7a85/md6A==}
cpu: [x64]
@@ -2048,6 +2139,12 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-FVQHuwx1IIuNow9QAbYUzJ+En8KcVm9Lk5+uGUQJHaZmMECZmOlix9HnH7n1TRkXMS0pGxIJokIVB9SuqZGGXw==}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
resolution: {integrity: sha512-qlKb/pwbkAi1WMsJrYHk7CuDrd12s27U2QnRhFYUoJNrRCmkosMTttuRFat/DDB3IlDm5qE1TJgZ4JDnHX8Ldw==}
cpu: [arm64]
@@ -2060,6 +2157,12 @@ packages:
os: [linux]
libc: [musl]
+ resolution: {integrity: sha512-+LpyBk7L44ZIXwz/VYfglaX/okxezESc6UxDSoyo2Ks6Jxc4Y7sGjpgU9s4PMgqgjj1gZCylTieNamqA1MF7Dg==}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
resolution: {integrity: sha512-yO21HwoUVLN8Qa+/SBjQLMYwBWAVJjeGPNe+hc0OUeMeifEtJqu5a1c4HayE1nNpDih9y3/KkoltfkDodmKAlg==}
cpu: [x64]
@@ -2072,6 +2175,13 @@ packages:
os: [linux]
libc: [musl]
+ resolution: {integrity: sha512-bKQzaJRY/bkPOXyKx5EVup7qkaojECG6NLYswgktOZjaXecSAeCWiZwwiFf3/Y+O1HrauiE3FVsGxFg8c24rZg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-af12Pnd0ZGu2HfP8NayB0kk6eC/lrfbQE6HlR4jD+34wdJ1Vw9TF6TMn6ZvffT+WgqVsl0hRbmNvz2u/23VmwA==}
engines: {node: '>=20.9.0'}
@@ -2086,6 +2196,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-9dLqsvwtg1uuXBGZKsxem9595+ujv0sJ6Vi8wcTANSFpwV/GONat5eCkzQo/1O6zRIkh0m/8+5BjrRr7jDUSZw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-SE4kzF2mepn6z+6E7L6lsV8FzuLL6IPQdyX8ZiwROAG/G8td+hP/m7FsFPwidtrF19gvajuC9l6TxAVcsA4S7A==}
engines: {node: '>=20.9.0'}
@@ -2100,6 +2217,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-7zznwNaqW6YtsfrGGDA6BRkISKAAE1Jo0QdpNYXNMHu2+0dTrPflTLNkpc8l7MUP5M16ZJcUvysVWWrMefZquA==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [ppc64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-hYSBm7zcNtDCozCxQHYZJiu63b/bXsgRZuOxCIBZsStMM9Vap47iFHdbX4kCvQsblPB/k+clhELpdQJHQLSHvg==}
engines: {node: '>=20.9.0'}
@@ -2114,6 +2238,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-51gJuLPTKa7piYPaVs8GmByo7/U7/7TZOq+cnXJIHZKavIRHAP77e3N2HEl3dgiqdD/w0yUfiJnII77PuDDFdw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [riscv64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-qQt0Kc13+Hoan/Awq/qMSQw3L+RI1NCRPgD5cUJ/1WSSmIoysLOc72jlRM3E0OHN9Yr313jgeQ2T+zW+F03QFA==}
engines: {node: '>=20.9.0'}
@@ -2128,6 +2259,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-nQtCk0PdKfho3eC5MrbQoigJ2gd1CgddUMkabUj+rBevs8tZ2cULOx46E7oyX+04WGfABgIwmMC0VqieTiR4jg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [s390x]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-E4fLLfRPzDLlEeDaTzI98OFLcv++WL5ChLLMwPoVd0CIoZQqupBSNbOisPL5am9XsbQ9T84+iiMpUvbFtkunbA==}
engines: {node: '>=20.9.0'}
@@ -2142,6 +2280,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-MEzd8HPKxVxVenwAa+JRPwEC7QFjoPWuS5NZnBt6B3pu7EG2Ge0id1oLHZpPJdn3OQK+BQDiw9zStiHBTJQQQQ==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [glibc]
+
resolution: {integrity: sha512-gi0zFJJRLswfCZmHtJdikXPOc5u7qamSOS3NHedLqLd4W8Q0NqjdBr6TTRIgsfFjqfTsHFgdfvJ9LwqSgcHiAA==}
engines: {node: '>=20.9.0'}
@@ -2156,6 +2301,13 @@ packages:
os: [linux]
libc: [glibc]
+ resolution: {integrity: sha512-fprJR6GtRsMt6Kyfq44IsChVZeGN97gTD331weR1ex1c1rypDEABN6Tm2xa1wE6lYb5DdEnk03NZPqA7Id21yg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [linux]
+ libc: [musl]
+
resolution: {integrity: sha512-siWbOW1u6HFnFLrp0waKyW7VEf7jYvcDWdrXEFa8AkdAQgEvuu5Fz8/Y70w9EeqAdwDtfU012BhEHHaDqvQNzg==}
engines: {node: '>=20.9.0'}
@@ -2170,6 +2322,13 @@ packages:
os: [linux]
libc: [musl]
+ resolution: {integrity: sha512-Jg8wNT1MUzIvhBFxViqrEhWDGzqymo3sV7z7ZsaWbZNDLXRJZoRGrjulp60YYtV4wfY8VIKcWidjojlLcWrd8Q==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [linux]
+ libc: [musl]
+
resolution: {integrity: sha512-YBqMMcjDi4QGYiSn4vNOYBhmlC4z5AXqkOUUqI2e0AFA4urNv4ESgOgwNl3K+4etQhha0twXlzeF20bbULm9Yg==}
engines: {node: '>=20.9.0'}
@@ -2184,6 +2343,11 @@ packages:
os: [linux]
libc: [musl]
+ resolution: {integrity: sha512-OdWTEiVkY2PHwqkbBI8frFxQQFekHaSSkUIJkwzclWZe64O1X4UlUjqqqLaPbUpMOQk6FBu/HtlGXNblIs0huw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [wasm32]
+
resolution: {integrity: sha512-Mrv4JQNYVQ94xH+jzZ9r+gowleN8mv2FTgKT+PI6bx5C0G8TdNYndu161pg2i7uoBwxy2ImPMHrJOM2LZef7Bw==}
engines: {node: '>=20.9.0'}
@@ -2202,6 +2366,12 @@ packages:
engines: {node: '>=20.9.0'}
cpu: [wasm32]
+ resolution: {integrity: sha512-WQ3AgWCWYSb2yt+IG8mnC6Jdk9Whs7O0gxphblsLvdhSpSTtmu69ZG1Gkb6NuvxsNACwiPV6cNSZNzt0KPsw7g==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [arm64]
+ os: [win32]
+
resolution: {integrity: sha512-BiVRYc/t6/Vl3e1hBx0hugG4oN9Pydf4fgMSpxTQJmwGUg/YoXTWHiFeRymHfCZzifxu4F4rpk/I67D0LQ20wQ==}
engines: {node: '>=20.9.0'}
@@ -2214,6 +2384,12 @@ packages:
cpu: [arm64]
os: [win32]
+ resolution: {integrity: sha512-FV9m/7NmeCmSHDD5j4+4pNI8Cp3aW+JvLoXcTUo0IqyjSfAZJ8dIUmijx1qaJsIiU+Hosw6xM5KijAWRJCSgNg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [ia32]
+ os: [win32]
+
resolution: {integrity: sha512-YYEhx9PImCC7T0tI8JDMi4DB9LwLCXCU5OWNYEXAxh5Q1ShKkyC6byxzoBJ3gEFDnH2lQckWuDe70G7mB2XJog==}
engines: {node: ^20.9.0}
@@ -2226,6 +2402,12 @@ packages:
cpu: [ia32]
os: [win32]
+ resolution: {integrity: sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+ cpu: [x64]
+ os: [win32]
+
resolution: {integrity: sha512-imoOyBcoM/iiUr4J6VPpCNjPnjvP/Gks95898yB8YqoGGYmHYbOyCuNv9FMhFgtaiHFGbHW8bxKqRV6VjtXThQ==}
engines: {node: '>=20.9.0'}
@@ -6922,9 +7104,6 @@ packages:
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
- resolution: {integrity: sha512-pVKE4UdSQ7DvHzivsCIFx2BJn1mHG6KsyrFcaxFx6tONdneEuThrDx0Cj3AMg58KyN4pzYT+LHOotxDQDjNvkw==}
-
resolution: {integrity: sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==}
@@ -7232,6 +7411,11 @@ packages:
resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-fBLaCxZ2i/nPH8iyLzvza0C8/sSF4sjD1ma1Skf+pkZVK0TlaW5ujHJlUHwcwR66v2JZt+Q28d4DCX/oaLG0cA==}
+ engines: {node: '>=22.0.0'}
+ hasBin: true
+
resolution: {integrity: sha512-Bv1j2kcKKNwXLWuCx+j0xGt7z318mqQkJmEN6ellM9sCESbPBDTM9ofZMbKqx47jSnoGA3CiaUkAmzGVXUa/wQ==}
engines: {node: '>=22.0.0'}
@@ -8239,6 +8423,10 @@ packages:
engines: {node: '>=20.18.1'}
hasBin: true
+ resolution: {integrity: sha512-Ou9I5Ft9WNcCbXrU9cMgPBcCK8LiwLqcbywW3t4oDV37n1pzpuNLsYiAV8eODnjbtQlSDwZ2cUEeQz4E54Hltg==}
+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}
+
resolution: {integrity: sha512-FVtFjtBCMiJS6yb5CX7Sop45WFMpeGw6oRKuJnXYgf/f1ms/D7LE/ZUSNxnW7rZ/dbslQWYkoqFHGPaDBtaK4w==}
engines: {node: '>=20.9.0'}
@@ -8786,6 +8974,10 @@ packages:
resolution: {integrity: sha512-j375ScV60dom+YkPFIfTLcOiPxkN/buHz5GobjLhixFuANaNs3C9l4GmrWqejgXWJ7BbJcFYpTEUkS1Ge8bpZQ==}
+ resolution: {integrity: sha512-cRZYrTDwWznlnRiPjggAGxZXanty6M8RV1ff8Wm4LWXBp7/IG8v5DnOm74DtUBp9OONpK75YlPnIjQqX0dBDtA==}
+ engines: {node: '>=20.18.1'}
+
resolution: {integrity: sha512-IDxfleLmmbSskfWSUATiN1nfn2rDuvnMOqb5CWR92iIfojA0Ud+ulOAAEQ57LPr9rWmsreUyf5lwyao+7GNNVw==}
engines: {node: '>=20.18.1'}
@@ -9110,11 +9302,26 @@ packages:
resolution: {integrity: sha512-gS2ei/mrpRqNs+AHmqxhT6vFPwCLw2qnz5ShmyGD0ULaU0Q9hxnFAcx9jhAip/MnD6+MjgnQu6hQQgA8mlOkVA==}
+ resolution: {integrity: sha512-b/DWhpV0jTudzQpLhDovcOgBz233386q+3Hbari7CLCNT9UXxjQziSTZ9yCoKdT2K3TSx5jrwlOisq8hlLWXYg==}
+ engines: {node: '>=16'}
+ hasBin: true
+
resolution: {integrity: sha512-/wk4rFNHH6IVMXFe6aPEZsT5YWpWtfKTUMt7+rFkyeGbXcGCy4yxODmJatbqYj0jmqHETdz0+m2mT+vNjXnF7w==}
engines: {node: '>=16'}
hasBin: true
+ resolution: {integrity: sha512-ROGzSloJv0y21It6Oc9LaruNcu1tdiQ/XzL3Jc3YkFjzXEMXzTqVhA8vQaGMTdZHTjFP0PVcwAHNgaw3gXu4wA==}
+ engines: {node: '>=22.0.0'}
+ hasBin: true
+ peerDependencies:
+ '@cloudflare/workers-types': ^5.20260721.1
+ peerDependenciesMeta:
+ '@cloudflare/workers-types':
+ optional: true
+
resolution: {integrity: sha512-yFpvggu+xk1Hdm/Uxwaqa19bb7GArME4CrCS3Vov68a2TZq2MPO+wLocKbbnIC9K0oLowcdau7/ycxbbNHKCEg==}
engines: {node: '>=22.0.0'}
@@ -10194,6 +10401,12 @@ snapshots:
'@cloudflare/[email protected]': {}
+ dependencies:
+ unenv: 2.0.0-rc.24
+ optionalDependencies:
+ workerd: 1.20260721.1
+
dependencies:
unenv: 2.0.0-rc.24
@@ -10215,18 +10428,33 @@ snapshots:
- bufferutil
- utf-8-validate
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]':
optional: true
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]':
optional: true
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]':
optional: true
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]':
optional: true
+ '@cloudflare/[email protected]':
+ optional: true
+
'@cloudflare/[email protected]':
optional: true
@@ -10740,6 +10968,11 @@ snapshots:
'@img/[email protected]': {}
+ optionalDependencies:
+ '@img/sharp-libvips-darwin-arm64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-darwin-arm64': 1.3.1
@@ -10750,6 +10983,11 @@ snapshots:
'@img/sharp-libvips-darwin-arm64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-darwin-x64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-darwin-x64': 1.3.1
@@ -10770,66 +11008,101 @@ snapshots:
'@img/sharp-wasm32': 0.35.3
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-arm64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-arm64': 1.3.1
@@ -10840,6 +11113,11 @@ snapshots:
'@img/sharp-libvips-linux-arm64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-arm': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-arm': 1.3.1
@@ -10850,6 +11128,11 @@ snapshots:
'@img/sharp-libvips-linux-arm': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-ppc64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-ppc64': 1.3.1
@@ -10860,6 +11143,11 @@ snapshots:
'@img/sharp-libvips-linux-ppc64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-riscv64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-riscv64': 1.3.1
@@ -10870,6 +11158,11 @@ snapshots:
'@img/sharp-libvips-linux-riscv64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-s390x': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-s390x': 1.3.1
@@ -10880,6 +11173,11 @@ snapshots:
'@img/sharp-libvips-linux-s390x': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linux-x64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linux-x64': 1.3.1
@@ -10890,6 +11188,11 @@ snapshots:
'@img/sharp-libvips-linux-x64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linuxmusl-arm64': 1.3.1
@@ -10900,6 +11203,11 @@ snapshots:
'@img/sharp-libvips-linuxmusl-arm64': 1.3.2
optional: true
+ optionalDependencies:
+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4
+ optional: true
+
optionalDependencies:
'@img/sharp-libvips-linuxmusl-x64': 1.3.1
@@ -10910,6 +11218,11 @@ snapshots:
'@img/sharp-libvips-linuxmusl-x64': 1.3.2
optional: true
+ dependencies:
+ '@emnapi/runtime': 1.11.3
+ optional: true
+
dependencies:
'@emnapi/runtime': 1.11.3
@@ -10930,18 +11243,27 @@ snapshots:
'@img/sharp-wasm32': 0.35.3
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
optional: true
+ optional: true
+
optional: true
@@ -12857,7 +13179,7 @@ snapshots:
istanbul-lib-coverage: 3.2.2
istanbul-lib-report: 3.0.1
istanbul-reports: 3.2.0
- magicast: 0.5.3
+ magicast: 0.5.4
obug: 2.1.3
std-env: 4.2.0
tinyrainbow: 3.1.0
@@ -15977,12 +16299,6 @@ snapshots:
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
- dependencies:
- '@babel/parser': 7.29.8
- '@babel/types': 7.29.8
- source-map-js: 1.2.1
-
dependencies:
'@babel/parser': 7.29.8
@@ -16566,6 +16882,18 @@ snapshots:
+ dependencies:
+ '@cspotcode/source-map-support': 0.8.1
+ sharp: 0.34.5
+ undici: 7.28.0
+ workerd: 1.20260721.1
+ ws: 8.21.0
+ youch: 4.1.0-beta.10
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
dependencies:
'@cspotcode/source-map-support': 0.8.1
@@ -17995,6 +18323,37 @@ snapshots:
- supports-color
- typescript
+ dependencies:
+ '@img/colour': 1.1.0
+ detect-libc: 2.1.2
+ semver: 7.8.5
+ optionalDependencies:
+ '@img/sharp-darwin-arm64': 0.34.5
+ '@img/sharp-darwin-x64': 0.34.5
+ '@img/sharp-libvips-darwin-arm64': 1.2.4
+ '@img/sharp-libvips-darwin-x64': 1.2.4
+ '@img/sharp-libvips-linux-arm': 1.2.4
+ '@img/sharp-libvips-linux-arm64': 1.2.4
+ '@img/sharp-libvips-linux-ppc64': 1.2.4
+ '@img/sharp-libvips-linux-riscv64': 1.2.4
+ '@img/sharp-libvips-linux-s390x': 1.2.4
+ '@img/sharp-libvips-linux-x64': 1.2.4
+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.4
+ '@img/sharp-libvips-linuxmusl-x64': 1.2.4
+ '@img/sharp-linux-arm': 0.34.5
+ '@img/sharp-linux-arm64': 0.34.5
+ '@img/sharp-linux-ppc64': 0.34.5
+ '@img/sharp-linux-riscv64': 0.34.5
+ '@img/sharp-linux-s390x': 0.34.5
+ '@img/sharp-linux-x64': 0.34.5
+ '@img/sharp-linuxmusl-arm64': 0.34.5
+ '@img/sharp-linuxmusl-x64': 0.34.5
+ '@img/sharp-wasm32': 0.34.5
+ '@img/sharp-win32-arm64': 0.34.5
+ '@img/sharp-win32-ia32': 0.34.5
+ '@img/sharp-win32-x64': 0.34.5
+
dependencies:
'@img/colour': 1.1.0
@@ -18730,6 +19089,8 @@ snapshots:
optional: true
+
@@ -19119,6 +19480,14 @@ snapshots:
+ optionalDependencies:
+ '@cloudflare/workerd-darwin-64': 1.20260721.1
+ '@cloudflare/workerd-darwin-arm64': 1.20260721.1
+ '@cloudflare/workerd-linux-64': 1.20260721.1
+ '@cloudflare/workerd-linux-arm64': 1.20260721.1
+ '@cloudflare/workerd-windows-64': 1.20260721.1
+
optionalDependencies:
'@cloudflare/workerd-darwin-64': 1.20260820.1
@@ -19127,6 +19496,23 @@ snapshots:
'@cloudflare/workerd-linux-arm64': 1.20260820.1
'@cloudflare/workerd-windows-64': 1.20260820.1
+ dependencies:
+ '@cloudflare/kv-asset-handler': 0.5.0
+ '@cloudflare/unenv-preset': 2.16.1([email protected])([email protected])
+ blake3-wasm: 2.1.5
+ esbuild: 0.28.1
+ miniflare: 4.20260721.0
+ path-to-regexp: 6.3.0
+ unenv: 2.0.0-rc.24
+ workerd: 1.20260721.1
+ optionalDependencies:
+ '@cloudflare/workers-types': 4.20260702.1
+ fsevents: 2.3.3
+ transitivePeerDependencies:
+ - bufferutil
+ - utf-8-validate
+
dependencies:
'@cloudflare/kv-asset-handler': 0.5.0
diff --git a/src/web/package.json b/src/web/package.json
index c3f285902..9b6186598 100644
--- a/src/web/package.json
+++ b/src/web/package.json
@@ -134,6 +134,7 @@
"typescript": "^6.0.3",
"unified": "^11.0.5",
"vitest": "^4.1.10",
- "wrangler": "^4.125.0"
+ "wrangler": "^4.125.0",
+ "wrangler-e2e": "npm:[email protected]"
}
}
diff --git a/src/web/src/test/e2e-service-definitions.test.ts b/src/web/src/test/e2e-service-definitions.test.ts
index 6f0e78e1c..e2d8e9cd6 100644
--- a/src/web/src/test/e2e-service-definitions.test.ts
+++ b/src/web/src/test/e2e-service-definitions.test.ts
@@ -1,9 +1,12 @@
import { EventEmitter } from "node:events"
import type { ChildProcess } from "node:child_process"
+import { createRequire } from "node:module"
import { describe, expect, it } from "vitest"
import {
+ E2E_WRANGLER_VERSION,
hasExactHealth,
readinessExitMessage,
+ resolveE2EWranglerRuntime,
serviceDefinitions,
waitForHealth,
waitForServicesReady,
@@ -12,16 +15,33 @@ import {
import { resolveMachineWsUrl, resolveWsUrl } from "./e2e-ui/_setup/paths"
describe("UI E2E service definitions", () => {
+ it("isolates the exact E2E Wrangler from the normal project CLI", () => {
+ const runtime = resolveE2EWranglerRuntime()
+ const requireFromTest = createRequire(import.meta.url)
+ const normalManifest = requireFromTest("wrangler/package.json") as { version: string }
+
+ expect(runtime.version).toBe(E2E_WRANGLER_VERSION)
+ expect(runtime.version).toBe("4.113.0")
+ expect(normalManifest.version).toBe("4.125.0")
+ expect(runtime.entry).toMatch(/wrangler@4\.113\.0.*bin[/\\]wrangler\.js$/)
+ })
+
it("uses one Wrangler runtime for web and ws-do in CI", () => {
const definitions = serviceDefinitions(true)
+ const runtime = resolveE2EWranglerRuntime()
expect(definitions).toHaveLength(1)
- expect(definitions[0]).toMatchObject({ name: "web-ws-do" })
+ expect(definitions[0]).toMatchObject({
+ name: "web-ws-do",
+ command: process.execPath,
+ })
expect(definitions[0]).toMatchObject({
expectedStatus: 200,
expectedBody: { status: "ok" },
})
- expect(definitions[0]?.args).toEqual(expect.arrayContaining([
+ expect(definitions[0]?.args[0]).toBe(runtime.entry)
+ expect(definitions[0]?.args.slice(1)).toEqual(expect.arrayContaining([
+ "dev",
"src/web/wrangler.toml",
"src/ws-do/wrangler.toml",
"--persist-to",
@@ -30,7 +50,10 @@ describe("UI E2E service definitions", () => {
})
it("keeps the fast two-process topology for local iteration", () => {
- expect(serviceDefinitions(false).map((definition) => definition.name)).toEqual(["web", "ws-do"])
+ expect(serviceDefinitions(false).map(({ name, command }) => ({ name, command }))).toEqual([
+ { name: "web", command: "pnpm" },
+ { name: "ws-do", command: "pnpm" },
+ ])
})
it("uses the web URL for ws-do in the CI single-runtime topology", () => {
diff --git a/src/web/src/test/e2e-ui/_setup/services.ts b/src/web/src/test/e2e-ui/_setup/services.ts
index 27ee99976..7c24aeb24 100644
--- a/src/web/src/test/e2e-ui/_setup/services.ts
+++ b/src/web/src/test/e2e-ui/_setup/services.ts
@@ -1,6 +1,7 @@
import { spawn, spawnSync, type ChildProcess } from "child_process"
+import { createRequire } from "module"
import { closeSync, cpSync, existsSync, mkdirSync, openSync, rmSync } from "fs"
-import { resolve } from "path"
+import { dirname, resolve } from "path"
import { REPO_ROOT, SERVICE_LOG_DIR, SERVICE_STATE_PATH, WEB_URL, WS_URL } from "./paths"
import {
addServiceProcess,
@@ -20,12 +21,39 @@ export interface ManagedService {
export interface ServiceDefinition {
name: string
+ command: string
args: string[]
healthUrl: string
expectedStatus: number
expectedBody: { status: "ok" }
}
+export const E2E_WRANGLER_VERSION = "4.113.0"
+
+export function resolveE2EWranglerRuntime(): {
+ command: string
+ entry: string
+ version: string
+} {
+ const requireFromWeb = createRequire(resolve(REPO_ROOT, "src/web/package.json"))
+ const packagePath = requireFromWeb.resolve("wrangler-e2e/package.json")
+ const manifest = requireFromWeb(packagePath) as {
+ version?: unknown
+ bin?: unknown
+ }
+ const entry = typeof manifest.bin === "object" && manifest.bin !== null
+ ? (manifest.bin as Record<string, unknown>).wrangler
+ : undefined
+ if (manifest.version !== E2E_WRANGLER_VERSION || typeof entry !== "string") {
+ throw new Error(`invalid E2E Wrangler runtime at ${packagePath}`)
+ }
+ return {
+ command: process.execPath,
+ entry: resolve(dirname(packagePath), entry),
+ version: manifest.version,
+ }
+}
+
export function wranglerLogEnvironment(internalLogDirectory: string): Record<
"WRANGLER_LOG" | "WRANGLER_LOG_PATH" | "WRANGLER_LOG_SANITIZE",
string
@@ -272,6 +300,7 @@ export function serviceDefinitions(singleRuntime: boolean): ServiceDefinition[]
return [
{
name: "web",
+ command: "pnpm",
args: ["--filter", "@alook/web", "dev"],
healthUrl: webHealth,
expectedStatus: 200,
@@ -279,6 +308,7 @@ export function serviceDefinitions(singleRuntime: boolean): ServiceDefinition[]
},
{
name: "ws-do",
+ command: "pnpm",
args: ["--filter", "@alook/ws-do", "dev"],
healthUrl: wsHealth,
expectedStatus: 200,
@@ -287,11 +317,12 @@ export function serviceDefinitions(singleRuntime: boolean): ServiceDefinition[]
]
}
+ const runtime = resolveE2EWranglerRuntime()
return [{
name: "web-ws-do",
+ command: runtime.command,
args: [
- "exec",
- "wrangler",
+ runtime.entry,
"dev",
"-c",
"src/web/wrangler.toml",
@@ -316,7 +347,7 @@ function startService(definition: ServiceDefinition): ManagedService {
mkdirSync(internalLogDirectory, { recursive: true })
const logFd = openSync(logPath, "a")
try {
- const proc = spawn("pnpm", definition.args, {
+ const proc = spawn(definition.command, definition.args, {
cwd: REPO_ROOT,
stdio: ["ignore", logFd, logFd],
detached: true,