Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): give the failed mascot a disappointed face

leepokai7a68cd1021a2
diff --git a/apps/desktop/src/renderer/components/Avatar.tsx b/apps/desktop/src/renderer/components/Avatar.tsx
index 6fd128f3..da600d38 100644
--- a/apps/desktop/src/renderer/components/Avatar.tsx
+++ b/apps/desktop/src/renderer/components/Avatar.tsx
@@ -186,10 +186,16 @@ export function drawCharacter(
const ly = 0.55
const lz = Math.cos(yaw) * 0.5 + 0.6 // never fully behind
const ll = Math.hypot(lx, ly, lz)
+ const mouthCenter = Math.floor(cells / 2)
+ const closedEyeRow = eyeRowsAll[eyeRowsAll.length - 1]!
for (const d of dots) {
- if (eyeCols.includes(d.col) && eyeRows.includes(d.row)) continue
+ // Closed eyes droop away from the nose, like a disappointed face.
+ const isEye = mood === 'failed'
+ ? eyeColumns.some((col) => Math.abs(d.col - col) <= 1
+ && d.row === closedEyeRow - (Math.abs(d.col - mouthCenter) < Math.abs(col - mouthCenter) ? 1 : 0))
+ : eyeCols.includes(d.col) && eyeRows.includes(d.row)
+ if (isEye) continue
// A downturned mouth, cut out of the same dot grid as the eyes.
- const mouthCenter = Math.floor(cells / 2)
const mouthOffset = Math.abs(d.col - mouthCenter)
if (mood === 'failed' && mouthOffset <= 1 && d.row === Math.floor(cells * 0.65) + mouthOffset) continue
const u = (d.x - half) / half
diff --git a/apps/desktop/src/renderer/views/HostStateView.tsx b/apps/desktop/src/renderer/views/HostStateView.tsx
index b4b2d856..01c916d7 100644
--- a/apps/desktop/src/renderer/views/HostStateView.tsx
+++ b/apps/desktop/src/renderer/views/HostStateView.tsx
@@ -29,9 +29,6 @@ function HostBot({ compact, mood }: { compact: boolean; mood: Mood }) {
return (
<div className={`host-state-bot is-${mood}`} aria-hidden>
<CharacterAvatar shape="squircle" color="" tint={rgbHex(palette(useDark()).text)} size={compact ? 32 : 112} mood={mood} />
- {mood === 'failed' ? (
- <span className="host-state-badge">😞</span>
- ) : null}
</div>
)
}
diff --git a/apps/desktop/src/renderer/views/chat-window.css b/apps/desktop/src/renderer/views/chat-window.css
index 566d44b8..bf44820b 100644
--- a/apps/desktop/src/renderer/views/chat-window.css
+++ b/apps/desktop/src/renderer/views/chat-window.css
@@ -38,25 +38,6 @@
position: relative;
margin-bottom: 0;
}
-.host-state-badge {
- position: absolute;
- right: -2px;
- bottom: 2px;
- display: grid;
- place-items: center;
- width: 28px;
- height: 28px;
- font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
- font-size: 28px;
- line-height: 1;
-}
-.local-recovery .host-state-badge {
- width: 15px;
- height: 15px;
- font-size: 15px;
- right: -4px;
- bottom: -2px;
-}
@keyframes host-state-bot-in {
from {
opacity: 0;
diff --git a/docs/architecture/desktop-app.md b/docs/architecture/desktop-app.md
index 495f309c..90514e29 100644
--- a/docs/architecture/desktop-app.md
+++ b/docs/architecture/desktop-app.md
@@ -55,7 +55,7 @@ The TUI connects to one host at a time, so it keeps its single roster.
## Platform notes
- **Local host recovery** uses the Codync character: looking around and bobbing while starting,
- resting for setup, and a still frown with a disappointed-face emoji badge if the host is missing or
+ resting for setup, and a still disappointed expression with lowered eyelids and a downturned mouth if the host is missing or
failed. Error text and install/retry actions remain available in both full-window and compact
recovery layouts. Reduced motion removes the animation. This screen belongs to the desktop
service manager; iOS, Android and the TUI connect to hosts but do not install or start that service.