Soul-driven AI agent with permission-hardened tools, token budgets, and multi-channel access. Runs 24/7 from CLI, Telegram or More.
fix(desktop): rounded corners on bot and Optimus faces
Salman Qureshiaf152dff9d0c
diff --git a/apps/desktop/src/components/BotAvatar.tsx b/apps/desktop/src/components/BotAvatar.tsxindex 18a8be24..bc0b0ce8 100644--- a/apps/desktop/src/components/BotAvatar.tsx+++ b/apps/desktop/src/components/BotAvatar.tsx@@ -79,7 +79,9 @@ function GeneratedFace({ id, name, size, dimmed, className }: { id: string; name<stop offset="1" stopColor={`hsl(${hue2} 72% 44%)`} /></linearGradient></defs>- <path d={shape} fill={`url(#${gid})`} />+ {/* The same path stroked wide with round joins softens every corner;+ drawn at 88% so the rounded edge stays inside the frame. */}+ <path d={shape} fill={`url(#${gid})`} stroke={`url(#${gid})`} strokeWidth={10} strokeLinejoin="round" transform="translate(6 6) scale(0.88)" /><circle cx={50 - eyeGap} cy={eyeY} r="5.2" fill="#fff" /><circle cx={50 + eyeGap} cy={eyeY} r="5.2" fill="#fff" />{mouth === 0 && <path d={`M${40} ${mouthY} q10 9 20 0`} stroke="#fff" strokeWidth="4.5" strokeLinecap="round" fill="none" />}diff --git a/apps/desktop/src/components/OptimusFace.tsx b/apps/desktop/src/components/OptimusFace.tsxindex 1349c920..a848e3ee 100644--- a/apps/desktop/src/components/OptimusFace.tsx+++ b/apps/desktop/src/components/OptimusFace.tsx@@ -18,7 +18,8 @@ export function OptimusFace({ size = 28, phase = "off", className }: { size?: nu<stop offset="1" stopColor="#7C3AED" /></linearGradient></defs>- <path d="M50 4 89 26.5v47L50 96 11 73.5v-47z" fill="url(#optimus-shell)" stroke="#fff" strokeOpacity="0.25" strokeWidth="2" strokeLinejoin="round" />+ {/* Rounded hexagon: a wide round-join stroke in the same gradient softens the corners. */}+ <path d="M50 10 84 29.5v41L50 90 16 70.5v-41z" fill="url(#optimus-shell)" stroke="url(#optimus-shell)" strokeWidth="12" strokeLinejoin="round" /><rect x="22" y="36" width="56" height="24" rx="12" fill="#0B1020" opacity="0.9" /><g className={cx(phase === "listening" && "optimus-eyes-pulse", (phase === "thinking" || phase === "working") && "optimus-eyes-scan")}><circle cx="38" cy="48" r="5.5" fill={eyes} />