The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(ptt): remove push-to-talk feature
Steven Enamakelf715ca99f199
diff --git a/app/src/App.tsx b/app/src/App.tsxindex 6decaa4f03..224ceaf278 100644--- a/app/src/App.tsx+++ b/app/src/App.tsx@@ -17,7 +17,6 @@ import AppUpdatePrompt from './components/AppUpdatePrompt';import BootCheckGate from './components/BootCheckGate/BootCheckGate';import CommandProvider from './components/commands/CommandProvider';import ServiceBlockingGate from './components/daemon/ServiceBlockingGate';-import DictationHotkeyManager from './components/DictationHotkeyManager';import ErrorFallbackScreen from './components/ErrorFallbackScreen';import KeyringConsentOverlay from './components/keyring/KeyringConsentOverlay';import AppSidebar from './components/layout/shell/AppSidebar';@@ -30,7 +29,6 @@ import WindowsWindowControls, {import NoticeCenter from './components/notices/NoticeCenter';import OpenhumanLinkModal from './components/OpenhumanLinkModal';import PersistRehydrationScreen from './components/PersistRehydrationScreen';-import PttHotkeyManager from './components/PttHotkeyManager';import SecurityBanner from './components/SecurityBanner';import { Toaster } from './components/ui/Toast';import AppWalkthrough from './components/walkthrough/AppWalkthrough';@@ -146,8 +144,6 @@ function App() {<AnalyticsPageTracker /><AppShell /><SecurityBanner />- {!onMobile && <DictationHotkeyManager />}- {!onMobile && <PttHotkeyManager />}{!onMobile && <AppUpdatePrompt />}<KeyringConsentOverlay /><AnnouncementGate />diff --git a/app/src/AppRoutes.tsx b/app/src/AppRoutes.tsxindex e8ef6cb2e4..1e29fa07a5 100644--- a/app/src/AppRoutes.tsx+++ b/app/src/AppRoutes.tsx@@ -19,7 +19,6 @@ import FlowsPage from './pages/FlowsPage';import Invites from './pages/Invites';import Notifications from './pages/Notifications';import Onboarding from './pages/onboarding/Onboarding';-import { PttOverlayPage } from './pages/PttOverlayPage';import Settings from './pages/Settings';import Skills from './pages/Skills';import WebCallbackPage from './pages/WebCallbackPage';@@ -238,7 +237,6 @@ const AppRoutes = ({ location }: AppRoutesProps = {}) => {}/>- <Route path="/ptt-overlay" element={<PttOverlayPage />} />{/* Dev-only harnesses. Registered behind `IS_DEV` so their componenttrees are dead code in a production build and drop out of the bundlediff --git a/app/src/__tests__/App.boot.test.tsx b/app/src/__tests__/App.boot.test.tsxindex 6fc92108cb..99da71a636 100644--- a/app/src/__tests__/App.boot.test.tsx+++ b/app/src/__tests__/App.boot.test.tsx@@ -64,7 +64,6 @@ vi.mock('../components/commands/CommandProvider', () => ({default: ({ children }: { children: React.ReactNode }) => <>{children}</>,}));vi.mock('../components/DictationHotkeyManager', () => ({ default: () => null }));-vi.mock('../components/PttHotkeyManager', () => ({ default: () => null }));vi.mock('../components/OpenhumanLinkModal', () => ({ default: () => null }));vi.mock('../components/walkthrough/AppWalkthrough', () => ({ default: () => null }));vi.mock('../services/analytics', () => ({ trackPageView: vi.fn() }));diff --git a/app/src/components/settings/panels/VoicePanel.tsx b/app/src/components/settings/panels/VoicePanel.tsxindex 03c13a5514..d18c8ab713 100644--- a/app/src/components/settings/panels/VoicePanel.tsx+++ b/app/src/components/settings/panels/VoicePanel.tsx@@ -4,7 +4,6 @@ import { useCallback, useEffect, useRef, useState } from 'react';import { cn } from '../../../lib/cn';import { useT } from '../../../lib/i18n/I18nContext';-import PttSettingsPanel from '../../../pages/settings/voice/PttSettingsPanel';import {clearVoiceProviderKey,loadVoiceSettings,@@ -509,14 +508,6 @@ const VoicePanel = ({ embedded = false, scrollable = true }: VoicePanelProps = {saveRouting={saveRouting}/>- {/* ─── Section 3: Push-to-talk ─────────────────────────────────- Global PTT hotkey + session preferences. The panel is- self-contained — it only mutates the `ptt` slice, and- `usePttHotkey` (T11) reacts to slice changes to (re)register- the binding with the Tauri shell. Mounted here so users hunt- for it under Voice settings alongside dictation. */}- <PttSettingsPanel />-{/* Mascot voice picker now lives in Mascot settings. Linkkept here so users hunting in Voice settings can find it. */}{ttsProvider !== 'piper' && (diff --git a/app/src/services/coreSocket.ts b/app/src/services/coreSocket.tsindex 97e517f794..5149b06d67 100644--- a/app/src/services/coreSocket.ts+++ b/app/src/services/coreSocket.ts@@ -7,7 +7,7 @@* caller has to read it via `getCoreRpcToken()` and pass it through* `io(url, { auth: { token } })`. Centralising the factory keeps the* handshake shape uniform across the three current call sites- * (`socketService`, `useDictationHotkey`, `OverlayApp`) and gives each+ * (`socketService`) and gives each* site a single line to call.*/import { io, type ManagerOptions, type Socket, type SocketOptions } from 'socket.io-client';diff --git a/app/src/store/index.ts b/app/src/store/index.tsindex 2326426df7..f544b80438 100644--- a/app/src/store/index.ts+++ b/app/src/store/index.ts@@ -32,7 +32,6 @@ import localeReducer from './localeSlice';import mascotReducer, { migrateLegacySpeakReplies } from './mascotSlice';import notificationReducer from './notificationSlice';import personaReducer from './personaSlice';-import { pttReducer } from './pttSlice';import queueReducer from './queueSlice';import runModeReducer from './runModeSlice';import socketReducer from './socketSlice';@@ -198,17 +197,6 @@ const persistedMascotReducer = persistReducer(mascotPersistConfig, mascotReducerconst personaPersistConfig = { key: 'persona', storage, whitelist: ['displayName', 'description'] };const persistedPersonaReducer = persistReducer(personaPersistConfig, personaReducer);-// PTT (Push-to-Talk): persist the hotkey binding and session preferences.-// `isHeld` is a runtime-only flag — deliberately excluded from the whitelist so-// a crash or force-quit can never leave the app stuck in the "held" state.-// The boot hook (T11) also explicitly resets it to false on mount.-const pttPersistConfig = {- key: 'ptt',- storage,- whitelist: ['shortcut', 'speakReplies', 'showOverlay'],-};-const persistedPttReducer = persistReducer(pttPersistConfig, pttReducer);-// chatRuntime is mostly ephemeral (streaming buffers, tool timelines,// inference status) — those MUST NOT survive a restart or the UI tries// to resume a turn whose live driver has gone. The single exception is@@ -270,7 +258,6 @@ export const store = configureStore({mascot: persistedMascotReducer,persona: persistedPersonaReducer,theme: persistedThemeReducer,- ptt: persistedPttReducer,announcement: persistedAnnouncementReducer,githubStar: persistedGithubStarReducer,walletPreferences: persistedWalletPreferencesReducer,diff --git a/app/src/test/test-utils.tsx b/app/src/test/test-utils.tsxindex 83861de649..c28b918375 100644--- a/app/src/test/test-utils.tsx+++ b/app/src/test/test-utils.tsx@@ -23,7 +23,6 @@ import localeReducer from '../store/localeSlice';import mascotReducer from '../store/mascotSlice';import notificationReducer from '../store/notificationSlice';import personaReducer from '../store/personaSlice';-import { pttReducer } from '../store/pttSlice';import socketReducer from '../store/socketSlice';import themeReducer from '../store/themeSlice';import threadReducer from '../store/threadSlice';@@ -50,7 +49,6 @@ const testRootReducer = combineReducers({mascot: mascotReducer,notifications: notificationReducer,persona: personaReducer,- ptt: pttReducer,socket: socketReducer,theme: themeReducer,thread: threadReducer,