Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.
Python agentagent-osaiai-agentsai-partnerchatopsclaudeclaude-codecodexdevtoolsdiscord-botlark-botllmlocal-firstlong-term-memoryopencodeslack-botvibe-codingvibeywechat
fix(desktop): keep the mini stop control while a capture is active
Max9885ef365d91
diff --git a/ui/src/pet/PetPage.test.tsx b/ui/src/pet/PetPage.test.tsxindex 59b01fa50..911da8178 100644--- a/ui/src/pet/PetPage.test.tsx+++ b/ui/src/pet/PetPage.test.tsx@@ -1699,6 +1699,27 @@ describe('desktop mini v2 interaction contract', () => {});});+ it('keeps the stop control while listening even if transcription is turned off meanwhile', async () => {+ let asr = true;+ const finish = vi.fn();+ class Dictation { done = new Promise<string>(() => {}); start = async () => {}; finish = finish; abort = () => {}; }+ await withVoiceEnv(() => asr, Dictation, async () => {+ devBind('S'); render(<PetPage />); summon('listen');+ await screen.findByRole('textbox');+ await userEvent.click(await screen.findByLabelText('pet.voice.open'));+ expect(pose()).toBe('listening');+ asr = false;+ const focus = vi.spyOn(document, 'hasFocus').mockReturnValue(false);+ act(() => { window.dispatchEvent(new Event('blur')); });+ focus.mockReturnValue(true);+ act(() => { window.dispatchEvent(new Event('focus')); });+ await waitFor(() => expect(fetch).toHaveBeenCalledTimes(2));+ await userEvent.click(await screen.findByLabelText('pet.voice.stop'));+ expect(finish).toHaveBeenCalled();+ focus.mockRestore();+ });+ });+it('discards voice preview and final text from the previous authorization epoch', async () => {const done = deferred<string>();let preview!: (text: string) => void;diff --git a/ui/src/pet/PetPage.tsx b/ui/src/pet/PetPage.tsxindex 9f68f3ef1..66bd515b9 100644--- a/ui/src/pet/PetPage.tsx+++ b/ui/src/pet/PetPage.tsx@@ -525,7 +525,8 @@ const PetSurface: React.FC = () => {enabled={canChat && Boolean(binding)}listening={voice.listening}typing={composing}- showMic={voice.available}+ // Availability gates starting a capture; an active one always keeps its stop control.+ showMic={voice.available || voice.listening}onMic={() => (voice.listening ? voice.stop(true) : voice.start())}onKeyboard={() => {if (uncertain) { void setPanel(true); setDetailOpen(true); return; }