Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

413 B
Raw Blame
import { isSettingsDestinationHidden } from "../../../lib/settings-search";
import { useAppStore } from "../../../stores/app-store";

export function openLiveVoiceSettings() {
  const store = useAppStore.getState();
  const voiceHidden = isSettingsDestinationHidden(
    "voice",
    store.settings?.developerMode === true,
    import.meta.env.DEV,
  );
  store.setSettingsTab(voiceHidden ? "agent" : "voice");
}