The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
chore: files changed app/src/components/assistant-ui/thread.tsx,app/src/index.css\n\nAuto-committed-on: macbook\n
Steven Enamakelf2d2aac81105
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsxindex f89d9118e4..a2d6449919 100644--- a/app/src/components/assistant-ui/thread.tsx+++ b/app/src/components/assistant-ui/thread.tsx@@ -395,9 +395,11 @@ const Composer: FC<{// deliberate and is what gives depth; the usual instinct is the// reverse, which flattens it back out.//- // `animate-composer-shadow` then drifts those offsets sideways on a- // slow loop (`composerShadowDrift`, `index.css`), as though the- // light above the composer moves. The static `shadow-[…]` above is+ // `animate-composer-shadow` then orbits those offsets clockwise on+ // a slow loop (`composerShadowOrbit`, `index.css`), as though the+ // light above the composer circles the room. The static values here+ // are the orbit's 25% stop, so the animation starts from roughly+ // where the unanimated composer sits rather than jumping on load. The static `shadow-[…]` above is// not redundant: it is what `motion-reduce:animate-none` falls back// to, so the composer keeps its elevation when the OS asks for less// motion and merely stops moving. Keyframes override the utilitydiff --git a/app/src/index.css b/app/src/index.cssindex 57913f6339..59b42ecad5 100644--- a/app/src/index.css+++ b/app/src/index.css@@ -292,9 +292,10 @@--animate-float: float 3s ease-in-out infinite;--animate-ticker: ticker 30s linear infinite;--animate-wiggle: wiggle 0.5s ease-in-out;- /* The composer's ambient shadow drift — see the `composerShadowDrift`- keyframes below for why it is slow and why the offsets stay small. */- --animate-composer-shadow: composerShadowDrift 18s ease-in-out infinite;+ /* The composer's ambient shadow orbit — see the `composerShadowOrbit`+ keyframes below. `linear`, not an ease: the offset traces a circle, and an+ ease would make the light appear to speed up and stall twice per lap. */+ --animate-composer-shadow: composerShadowOrbit 18s linear infinite;--backdrop-blur-xs: 2px;--backdrop-blur-sm: 4px;@@ -409,36 +410,75 @@opacity: 0.5;}}- /* Drifts the composer's cast shadow horizontally, as though the light above- it moves. Deliberately slow (18s) and small (±8px on a 44px blur): the- point is that you never catch it moving, only notice the composer feels- lit rather than stamped on. Anything faster reads as a bug.+ /* Orbits the composer's shadow clockwise, as though the light above it+ circles the room. Deliberately slow (18s a lap) and small: the point is+ that you never catch it moving, only notice the composer feels lit rather+ than stamped on.- Only the x offsets change — y, blur and spread are identical in every- frame. Animating the blur would make the shadow pulse in and out of focus,- which no light source does; animating y would make the composer look like- it is bobbing.+ The offset traces a CIRCLE, so both x and y move — that is the difference+ between this and a sideways drift. Each layer orbits a centre that stays+ below the box (y=8 near, y=30 far) with a radius smaller than that centre+ (4 and 8), so the shadow swings but never rises above the composer, which+ would read as light from underneath.- The two layers drift by different amounts (4px near, 8px far) and in the- same direction. That is parallax: the further a shadow is cast, the more a- given change in light angle moves it. Equal drift would read as the whole- shadow sliding sideways as one flat sheet.+ Eight stops, not four. Four corners interpolate as a diamond — the shadow+ visibly tracks straight lines and turns hard at the compass points. The+ 45-degree stops (x and y both at 0.707 of the radius) round it into an+ actual circle. Clockwise on screen: top, right, bottom, left, with y+ growing downward.++ The two layers orbit with different radii (4px near, 8px far) in phase.+ That is parallax — a shadow cast further moves more for the same change in+ light angle. Equal radii would read as one flat sheet swinging.++ Blur and spread are identical in every frame. Animating blur would pulse+ the shadow in and out of focus, which no light source does.Paired with `motion-reduce:animate-none` at the call site, which falls backto the static `shadow-[…]` utility beside it — so the composer keeps itselevation when motion is off, it just stops moving. */- @keyframes composerShadowDrift {+ @keyframes composerShadowOrbit {0%,100% {box-shadow:- -4px 8px 12px -4px rgb(0 0 0 / 0.34),- -8px 30px 44px -16px rgb(0 0 0 / 0.48);+ 0 4px 12px -4px rgb(0 0 0 / 0.34),+ 0 22px 44px -16px rgb(0 0 0 / 0.48);}- 50% {+ 12.5% {+ box-shadow:+ 3px 5px 12px -4px rgb(0 0 0 / 0.34),+ 6px 24px 44px -16px rgb(0 0 0 / 0.48);+ }+ 25% {box-shadow:4px 8px 12px -4px rgb(0 0 0 / 0.34),8px 30px 44px -16px rgb(0 0 0 / 0.48);}+ 37.5% {+ box-shadow:+ 3px 11px 12px -4px rgb(0 0 0 / 0.34),+ 6px 36px 44px -16px rgb(0 0 0 / 0.48);+ }+ 50% {+ box-shadow:+ 0 12px 12px -4px rgb(0 0 0 / 0.34),+ 0 38px 44px -16px rgb(0 0 0 / 0.48);+ }+ 62.5% {+ box-shadow:+ -3px 11px 12px -4px rgb(0 0 0 / 0.34),+ -6px 36px 44px -16px rgb(0 0 0 / 0.48);+ }+ 75% {+ box-shadow:+ -4px 8px 12px -4px rgb(0 0 0 / 0.34),+ -8px 30px 44px -16px rgb(0 0 0 / 0.48);+ }+ 87.5% {+ box-shadow:+ -3px 5px 12px -4px rgb(0 0 0 / 0.34),+ -6px 24px 44px -16px rgb(0 0 0 / 0.48);+ }}@keyframes float {0%,