@xcanwin/manyoyo 5.11.6 → 5.11.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1000,7 +1000,12 @@ class PlaywrightPlugin {
1000
1000
  const containerConfigPath = `/tmp/manyoyo-playwright/${sceneName}.cli-attach.json`;
1001
1001
  this.writeSceneCliAttachConfig(sceneName, {
1002
1002
  browser: {
1003
- remoteEndpoint
1003
+ // launch-server(非 shared)不预创建 context;remoteEndpoint 存在时
1004
+ // playwright-cli 默认 isolated=false 会走 contexts()[0] 并报
1005
+ // "unable to connect to a browser that does not have any contexts",
1006
+ // 因此容器内会话必须以 isolated 模式自建 context。
1007
+ remoteEndpoint,
1008
+ isolated: true
1004
1009
  }
1005
1010
  });
1006
1011
  const envEntries = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xcanwin/manyoyo",
3
- "version": "5.11.6",
3
+ "version": "5.11.7",
4
4
  "imageVersion": "1.9.1-common",
5
5
  "playwrightCliVersion": "0.1.14",
6
6
  "description": "AI Agent CLI Security Sandbox for Docker and Podman",