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): a computer's update notice folds with its section

leepokai1cc9bbc5b9ab
diff --git a/apps/desktop/src/renderer/views/BotRoster.tsx b/apps/desktop/src/renderer/views/BotRoster.tsx
index c12b638b..8b4fd925 100644
--- a/apps/desktop/src/renderer/views/BotRoster.tsx
+++ b/apps/desktop/src/renderer/views/BotRoster.tsx
@@ -220,7 +220,9 @@ export function BotRoster({ roster, compact, onContext, openExtensions }: {
previous={roster.sections[index - 1]?.computer.id} next={roster.sections[index + 1]?.computer.id}
lifted={sectionDrag?.id === computer.id && lift !== null}
drag={pointerDrag({ start: (from) => liftHeading(store, from), over: headingOver, drop: dropHeading, cancel: endDrag })}
- move={roster.move} notice={notice}>
+ move={roster.move}>
+ {/* The notice folds with its computer's bots; the heading still reads "Needs update". */}
+ {notice}
{rows}
{!items.length && !store.mismatch && !compact ? <div className="computer-roster-empty">{store.shownConnection.kind === 'online' ? 'No bots yet' : store.connectionLabel}</div> : null}
</ComputerRosterSection>
diff --git a/apps/desktop/src/renderer/views/ComputerRosterSection.tsx b/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
index d11133ea..896e15ef 100644
--- a/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
+++ b/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
@@ -21,11 +21,10 @@ interface Props {
move: (id: string, target: string) => void
/** This computer's own Extensions; absent while it can't be reached. */
openExtensions?: () => void
- notice: ReactNode
children: ReactNode
}
-export function ComputerRosterSection({ store, compact, collapsed, previous, next, lifted, drag, toggle, move, openExtensions, notice, children }: Props) {
+export function ComputerRosterSection({ store, compact, collapsed, previous, next, lifted, drag, toggle, move, openExtensions, children }: Props) {
const section = useRef<HTMLElement>(null)
const id = store.computer.id
useSlide(section)
@@ -47,7 +46,6 @@ export function ComputerRosterSection({ store, compact, collapsed, previous, nex
</button>
{openExtensions && !compact ? <IconButton className="computer-roster-extensions" title="Extensions" icon="square.grid.2x2" size={24} onClick={openExtensions} /> : null}
</div>
- {notice}
<div className={`computer-roster-content ${collapsed ? 'collapsed' : ''}`} inert={collapsed} aria-hidden={collapsed}>
<div>{children}</div>
</div>
diff --git a/apps/desktop/src/renderer/views/chat-window.css b/apps/desktop/src/renderer/views/chat-window.css
index cc1d15c2..c7cfa097 100644
--- a/apps/desktop/src/renderer/views/chat-window.css
+++ b/apps/desktop/src/renderer/views/chat-window.css
@@ -65,6 +65,8 @@
padding: 14px;
background: var(--surface);
border-radius: var(--radius-l);
+ /* Long host names (a.b.local) wrap instead of running past the card. */
+ overflow-wrap: anywhere;
}
.update-needed-action {
margin-top: 4px;