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

feat(realtime): mount CompletionToast + dedup CostHud render (Phase-2 voice UI)

Chaitanya Girib207a6e7a8cc
diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx
index d57caec5..cb202aa2 100644
--- a/src/renderer/src/App.tsx
+++ b/src/renderer/src/App.tsx
@@ -12,6 +12,7 @@ import { MichaelBooting } from '@/components/MichaelBooting';
import { OnboardingWizard } from '@/components/OnboardingWizard';
import { HivePicker } from '@/components/HivePicker';
import { QuitWarningModal, type ClosingTimeState } from '@/components/QuitWarningModal';
+import { CompletionToast } from '@/realtime/CompletionToast';
import { SettingsModal } from '@/components/SettingsModal';
import { PixelPanel } from '@/components/PixelPanel';
import { PixelButton } from '@/components/PixelButton';
@@ -205,6 +206,9 @@ export function App() {
width: '100vw', height: '100vh',
overflow: 'hidden'
}}>
+ {/* rt-12: global fixed-overlay toast for voice-Michael completions ("Oscar
+ finished X"). Self-positions bottom-right; renders null until one arrives. */}
+ <CompletionToast />
{/* Title bar */}
<div
className="cth-titlebar-drag"
diff --git a/src/renderer/src/components/FullscreenTerminal.tsx b/src/renderer/src/components/FullscreenTerminal.tsx
index 9fcf1d81..9c8445ab 100644
--- a/src/renderer/src/components/FullscreenTerminal.tsx
+++ b/src/renderer/src/components/FullscreenTerminal.tsx
@@ -118,9 +118,6 @@ export function FullscreenTerminal() {
{/* Voice toggle relocates here when Michael (the god) is fullscreen, so the
mic stays reachable while the card behind the overlay is hidden. */}
{agent.isGod && <RealtimeMichaelToggle />}
- {/* rt-9 cost HUD (spend cap + live $ meter) sits by the voice toggle in the
- roomy fullscreen header — the primary voice UX surface. */}
- {agent.isGod && <CostHud />}
{agent.isGod && <CostHud compact />}
<PixelButton variant="destructive" size="sm" onClick={onKill}>
<span style={{ display: 'inline-flex', gap: 4, alignItems: 'center' }}>