[eric] windows 1.1.61: restore AgenticCursor render on Windows now that the framer-motion shim makes motion.div safe

This commit is contained in:
Eric
2026-05-26 01:42:05 -07:00
parent fc8c35e5e0
commit 31a90502c7
2 changed files with 2 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "openswarm",
"version": "1.1.60",
"version": "1.1.61",
"description": "OpenSwarm — AI Agent Orchestrator",
"author": "openswarm-ai",
"main": "main.js",
@@ -54,8 +54,6 @@ interface MultiChoiceState {
const SPRING = { type: 'spring' as const, stiffness: 260, damping: 26 };
const AgenticCursor = forwardRef<AgenticCursorHandle>((_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 });
@@ -259,8 +257,7 @@ const AgenticCursor = forwardRef<AgenticCursorHandle>((_props, ref) => {
transformOrigin: 'top left',
}}
>
{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.
{visible && (
<motion.div
animate={{
scale: [1, 1.04, 1],