From 3903766e966008f2336d2bb4ec12ce33f7091d5d Mon Sep 17 00:00:00 2001 From: Eric Date: Mon, 25 May 2026 23:16:14 -0700 Subject: [PATCH] =?UTF-8?q?[eric]=20windows=201.1.57:=20(a)=20relax=20CSP?= =?UTF-8?q?=20frame-src=20to=20allow=20http:=20and=20https:=20so=20Browser?= =?UTF-8?q?Card=20iframe=20can=20render=20external=20sites=20(our=20own=20?= =?UTF-8?q?app-level=20CSP=20was=20the=20second-layer=20blocker=20after=20?= =?UTF-8?q?the=20upstream=20XFO/CSP=20frame-ancestors=20we=20already=20str?= =?UTF-8?q?ip=20in=20main.js=20=E2=80=94=20together=20they=20let=20the=20i?= =?UTF-8?q?frame=20load=20Google=20et=20al);=20(b)=20gate=20AgenticCursor'?= =?UTF-8?q?s=20portaled=20Framer=20Motion=20infinite-loop=20scale=20+=20dr?= =?UTF-8?q?op-shadow=20node=20on=20Windows=20so=20the=20onboarding=20panel?= =?UTF-8?q?=20commit=20phase=20no=20longer=20segfaults=20from=20that=20sub?= =?UTF-8?q?tree=20(visual=20cursor=20disabled=20on=20Windows,=20imperative?= =?UTF-8?q?=20handle=20still=20works=20for=20AC=20runtime);=20Mac=20path?= =?UTF-8?q?=20untouched?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron/package.json | 2 +- frontend/public/index.html | 2 +- frontend/src/app/components/Onboarding/ac/AgenticCursor.tsx | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/electron/package.json b/electron/package.json index b546b81b..00871f0a 100644 --- a/electron/package.json +++ b/electron/package.json @@ -1,6 +1,6 @@ { "name": "openswarm", - "version": "1.1.56", + "version": "1.1.57", "description": "OpenSwarm — AI Agent Orchestrator", "author": "openswarm-ai", "main": "main.js", diff --git a/frontend/public/index.html b/frontend/public/index.html index dc996177..00e577f6 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -24,7 +24,7 @@ img-src 'self' data: blob: file: http: https:; media-src 'self' data: blob: http: https:; connect-src 'self' file: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* https://api.openswarm.com https://*.openswarm.com https://openswarm.com https://api.github.com; - frame-src 'self' file: http://localhost:* http://127.0.0.1:*; + frame-src 'self' file: http: https: http://localhost:* http://127.0.0.1:*; worker-src 'self' blob:; object-src 'none'; base-uri 'self'; diff --git a/frontend/src/app/components/Onboarding/ac/AgenticCursor.tsx b/frontend/src/app/components/Onboarding/ac/AgenticCursor.tsx index a027869e..831c18db 100644 --- a/frontend/src/app/components/Onboarding/ac/AgenticCursor.tsx +++ b/frontend/src/app/components/Onboarding/ac/AgenticCursor.tsx @@ -54,6 +54,8 @@ interface MultiChoiceState { const SPRING = { type: 'spring' as const, stiffness: 260, damping: 26 }; const AgenticCursor = forwardRef((_props, ref) => { + // Windows ablation: the AgenticCursor uses a portaled Framer Motion infinite-loop scale animation with drop-shadow filters that is the prime suspect for the onboarding panel commit-phase 0xC0000005 crash; disable the visual cursor on Windows but keep the imperative handle (so the AC runtime can no-op its move/click ops without breaking the step machine). + const isWindows = typeof navigator !== 'undefined' && navigator.userAgent.includes('Windows'); const c = useClaudeTokens(); const controls = useAnimationControls(); const posRef = useRef({ x: 0, y: 0 }); @@ -257,7 +259,8 @@ const AgenticCursor = forwardRef((_props, ref) => { transformOrigin: 'top left', }} > - {visible && ( + {visible && !isWindows && ( + // Windows ablation: this portaled Framer Motion infinite-loop scale + drop-shadow node is the prime suspect for the onboarding panel commit-phase 0xC0000005 segfault on Chromium 144; suppressing the visual ring on Windows leaves the imperative cursor handle intact so the AC step runtime keeps functioning headlessly. ((_props, ref) => { }} style={{ transform: 'translate(-2px, -2px)', - // Tight inner ring + soft outer halo reads on light AND dark canvases. filter: `drop-shadow(0 0 6px ${c.accent.primary}cc) drop-shadow(0 0 14px ${c.accent.primary}55)`, }} >