Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix(cc-ui): un-clip fullscreen tab bar + compact the queue composer

Chaitanya Giri23ec774e5d71
diff --git a/src/renderer/src/components/CommandCenterPanel.tsx b/src/renderer/src/components/CommandCenterPanel.tsx
index c7d10fa4..c3d8a212 100644
--- a/src/renderer/src/components/CommandCenterPanel.tsx
+++ b/src/renderer/src/components/CommandCenterPanel.tsx
@@ -111,12 +111,12 @@ export function CommandCenterPanel({ agent }: { agent: Agent }) {
</div>
</div>
- {/* Tab bar — horizontally scrollable so all tabs stay reachable when the
- sidebar is narrow (otherwise the last tabs clip off the edge). */}
+ {/* Tab bar — wraps onto extra rows when the panel is narrow (e.g. window
+ fullscreen) so every tab stays fully visible. The old single-row scroll
+ hid its scrollbar, which made the last tab ("memory") look clipped. */}
<div className="cth-tabbar" style={{
- display: 'flex', gap: 4, padding: '6px 8px 0',
- background: 'var(--cth-cream-100)', borderBottom: '1px solid var(--cth-ink-700)', flexShrink: 0,
- overflowX: 'auto', flexWrap: 'nowrap'
+ display: 'flex', flexWrap: 'wrap', gap: 4, rowGap: 4, padding: '6px 8px',
+ background: 'var(--cth-cream-100)', borderBottom: '1px solid var(--cth-ink-700)', flexShrink: 0
}}>
{TABS.map((t) => (
<button
@@ -125,7 +125,7 @@ export function CommandCenterPanel({ agent }: { agent: Agent }) {
style={{
flexShrink: 0, whiteSpace: 'nowrap',
display: 'inline-flex', alignItems: 'center', gap: 4,
- padding: '4px 9px 3px', border: 'none', cursor: 'pointer',
+ padding: '4px 8px 3px', border: 'none', cursor: 'pointer',
background: tab === t.key ? `var(--cth-${agent.accent})` : 'var(--cth-cream-200)',
color: 'var(--cth-ink-900)',
boxShadow: tab === t.key
diff --git a/src/renderer/src/components/FullscreenTerminal.tsx b/src/renderer/src/components/FullscreenTerminal.tsx
index 368fea94..3f54a4a5 100644
--- a/src/renderer/src/components/FullscreenTerminal.tsx
+++ b/src/renderer/src/components/FullscreenTerminal.tsx
@@ -75,39 +75,44 @@ export function FullscreenTerminal() {
}}>MUNDER DIFFLIN · FULLSCREEN</span>
</div>
- {/* Tabs */}
+ {/* Tabs row — the agent tabs scroll in their own track (scrollbar hidden
+ via .cth-tabbar) so the kill / exit controls stay pinned and aligned at
+ the right edge instead of being crowded off when many agents are open. */}
<div style={{
- display: 'flex', alignItems: 'flex-end',
- gap: 4, padding: '8px 12px 0',
+ display: 'flex', alignItems: 'flex-end', gap: 8,
+ padding: '8px 12px 0',
background: 'var(--cth-cream-200)',
- borderBottom: '2px solid var(--cth-ink-900)',
- overflowX: 'auto'
+ borderBottom: '2px solid var(--cth-ink-900)'
}}>
- {agents.map(a => (
- <Tab
- key={a.id}
- agent={a}
- active={a.id === agent.id}
- onClick={() => { select(a.id); setFullscreen(a.id); }}
- />
- ))}
- <button
- onClick={() => setAddAgentOpen(true)}
- title="Add agent"
- style={{
- height: 32, padding: '0 10px', marginBottom: 4,
- background: 'var(--cth-cream-100)',
- border: 'none',
- boxShadow: 'inset 0 0 0 1px var(--cth-ink-700)',
- fontFamily: 'var(--cth-font-ui)', fontSize: 14,
- color: 'var(--cth-ink-900)',
- display: 'inline-flex', alignItems: 'center', gap: 4,
- cursor: 'pointer'
- }}
- >
- <Icon name="plus" /> agent
- </button>
- <div style={{ marginLeft: 'auto', display: 'flex', alignItems: 'center', gap: 6, paddingBottom: 6 }}>
+ <div className="cth-tabbar" style={{
+ flex: 1, minWidth: 0, display: 'flex', alignItems: 'flex-end', gap: 4, overflowX: 'auto'
+ }}>
+ {agents.map(a => (
+ <Tab
+ key={a.id}
+ agent={a}
+ active={a.id === agent.id}
+ onClick={() => { select(a.id); setFullscreen(a.id); }}
+ />
+ ))}
+ <button
+ onClick={() => setAddAgentOpen(true)}
+ title="Add agent"
+ style={{
+ height: 32, padding: '0 10px', marginBottom: 4, flexShrink: 0,
+ background: 'var(--cth-cream-100)',
+ border: 'none',
+ boxShadow: 'inset 0 0 0 1px var(--cth-ink-700)',
+ fontFamily: 'var(--cth-font-ui)', fontSize: 14,
+ color: 'var(--cth-ink-900)',
+ display: 'inline-flex', alignItems: 'center', gap: 4,
+ cursor: 'pointer'
+ }}
+ >
+ <Icon name="plus" /> agent
+ </button>
+ </div>
+ <div style={{ flexShrink: 0, display: 'flex', alignItems: 'center', gap: 6, paddingBottom: 6 }}>
<PixelButton variant="destructive" size="sm" onClick={onKill}>
<span style={{ display: 'inline-flex', gap: 4, alignItems: 'center' }}>
<Icon name="x" /> kill
diff --git a/src/renderer/src/components/MessageQueueComposer.tsx b/src/renderer/src/components/MessageQueueComposer.tsx
index b93f1945..3b69c12c 100644
--- a/src/renderer/src/components/MessageQueueComposer.tsx
+++ b/src/renderer/src/components/MessageQueueComposer.tsx
@@ -172,8 +172,11 @@ export function MessageQueueComposer({ agent }: MessageQueueComposerProps) {
}}>{ffHint}</span>
)}
- {/* Composer */}
- <div style={{ display: 'flex', gap: 6, alignItems: 'flex-end' }}>
+ {/* Composer — a full-width input above a single tidy control bar. The
+ input fills the whole width (no side column stealing space) and the
+ Delegate toggle / voice / send sit in one aligned row beneath it, so
+ there's no dead space from a stacked column taller than the textarea. */}
+ <div style={{ display: 'flex', flexDirection: 'column', gap: 6 }}>
<textarea
value={text}
onChange={(e) => setText(e.target.value)}
@@ -181,25 +184,27 @@ export function MessageQueueComposer({ agent }: MessageQueueComposerProps) {
rows={2}
placeholder={idle ? `Message ${agent.name}` : `${agent.name} is busy — queue a message`}
style={{
- flex: 1,
+ width: '100%',
resize: 'none',
padding: '6px 8px',
background: 'var(--cth-paper-100)',
border: 'none',
boxShadow: 'inset 0 0 0 1px var(--cth-ink-700)',
fontFamily: 'var(--cth-font-mono)',
- fontSize: 14, lineHeight: '18px',
+ fontSize: 13, lineHeight: '18px',
color: 'var(--cth-ink-900)',
- outline: 'none'
+ outline: 'none',
+ boxSizing: 'border-box'
}}
/>
- {/* Right column: Delegate toggle (god only) + Free Flow mic stacked ABOVE Send. */}
- <div style={{ display: 'flex', flexDirection: 'column', gap: 6, alignItems: 'stretch' }}>
+ {/* Control bar: Delegate toggle (god only) on the left, voice + Send aligned right. */}
+ <div style={{ display: 'flex', alignItems: 'center', gap: 6 }}>
{agent.isGod && (
<DelegateSwitch on={delegate} onToggle={() => setDelegate((d) => !d)} />
)}
+ <span style={{ flex: 1 }} />
{freeflowEnabled && <FreeFlowButton agentId={agent.id} />}
- <PixelButton variant="primary" size="md" onClick={queueIt} disabled={!text.trim()}>
+ <PixelButton variant="primary" size="sm" onClick={queueIt} disabled={!text.trim()}>
<span style={{ display: 'inline-flex', gap: 6, alignItems: 'center' }}>
send <Icon name="arrow-right" />
</span>
@@ -266,7 +271,7 @@ function FreeFlowButton({ agentId }: { agentId: string }) {
return (
<PixelButton
variant={recording ? 'destructive' : 'secondary'}
- size="md"
+ size="sm"
onClick={() => freeflowRecorder.toggle(agentId)}
disabled={transcribing || busyElsewhere}
>