Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix(cos): remove duplicate StateLabel on mobile, unconstrain avatar sizing

Adam Eivyec2bbfbac892
diff --git a/client/src/components/cos/CoSCharacter.jsx b/client/src/components/cos/CoSCharacter.jsx
index 3666bdd509..8b7bb70fe2 100644
--- a/client/src/components/cos/CoSCharacter.jsx
+++ b/client/src/components/cos/CoSCharacter.jsx
@@ -4,8 +4,8 @@ export default function CoSCharacter({ state, speaking }) {
const stateConfig = AGENT_STATES[state] || AGENT_STATES.sleeping;
return (
- <div className="relative w-12 h-16 sm:w-28 sm:h-36 md:w-44 md:h-56 lg:w-56 lg:h-72">
- <svg viewBox="0 0 200 240" className="cos-character w-full h-auto">
+ <div className="relative w-full max-w-[14rem] lg:max-w-[20rem] overflow-visible">
+ <svg viewBox="0 0 200 240" className="cos-character w-full h-auto overflow-visible">
<defs>
<linearGradient id="bodyGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stopColor="#1e293b" />
diff --git a/client/src/components/cos/CyberCoSAvatar.jsx b/client/src/components/cos/CyberCoSAvatar.jsx
index 724e3f47a1..6d61c0967e 100644
--- a/client/src/components/cos/CyberCoSAvatar.jsx
+++ b/client/src/components/cos/CyberCoSAvatar.jsx
@@ -430,7 +430,7 @@ function Scene({ state, speaking }) {
export default function CyberCoSAvatar({ state, speaking }) {
return (
- <div className="relative w-28 h-36 sm:w-36 sm:h-44 md:w-44 md:h-56 lg:w-56 lg:h-72">
+ <div className="relative w-full max-w-[14rem] lg:max-w-[20rem] aspect-[5/6]">
<Canvas
camera={{ position: [0, 0, 3.5], fov: 45 }}
style={{ background: 'transparent' }}
diff --git a/client/src/components/cos/EsotericCoSAvatar.jsx b/client/src/components/cos/EsotericCoSAvatar.jsx
index 481ff21911..92d96cc1c0 100644
--- a/client/src/components/cos/EsotericCoSAvatar.jsx
+++ b/client/src/components/cos/EsotericCoSAvatar.jsx
@@ -198,7 +198,7 @@ function Scene({ state, speaking }) {
export default function EsotericCoSAvatar({ state, speaking }) {
return (
- <div className="relative w-28 h-36 sm:w-36 sm:h-44 md:w-44 md:h-56 lg:w-56 lg:h-72">
+ <div className="relative w-full max-w-[14rem] lg:max-w-[20rem] aspect-[5/6]">
<Canvas
camera={{ position: [0, 0, 5], fov: 45 }}
style={{ background: 'transparent' }}
diff --git a/client/src/components/cos/SigilCoSAvatar.jsx b/client/src/components/cos/SigilCoSAvatar.jsx
index 839cee924a..9bcc7a6dca 100644
--- a/client/src/components/cos/SigilCoSAvatar.jsx
+++ b/client/src/components/cos/SigilCoSAvatar.jsx
@@ -279,7 +279,7 @@ function Scene({ state, speaking }) {
export default function SigilCoSAvatar({ state, speaking }) {
return (
- <div className="relative w-28 h-36 sm:w-36 sm:h-44 md:w-44 md:h-56 lg:w-56 lg:h-72">
+ <div className="relative w-full max-w-[14rem] lg:max-w-[20rem] aspect-[5/6]">
<Canvas
camera={{ position: [0, 0.1, 3.7], fov: 45 }}
style={{ background: 'transparent' }}
diff --git a/client/src/pages/ChiefOfStaff.jsx b/client/src/pages/ChiefOfStaff.jsx
index bd59d07b6b..3bfef5b920 100644
--- a/client/src/pages/ChiefOfStaff.jsx
+++ b/client/src/pages/ChiefOfStaff.jsx
@@ -418,7 +418,9 @@ export default function ChiefOfStaff() {
? <EsotericCoSAvatar state={agentState} speaking={speaking} />
: <CoSCharacter state={agentState} speaking={speaking} />
}
- <StateLabel state={agentState} />
+ <div className="hidden lg:block">
+ <StateLabel state={agentState} />
+ </div>
<div className="hidden sm:block">
<StatusBubble message={statusMessage} countdown={evalCountdown} />
</div>