Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
import { create } from "zustand";
/** Only unrelated application services are replaced; mode IPC/store wiring stays real. */
export const goalLayoutServices = { toasts: [] as string[], sessionRefreshes: 0 };
export const useAppStore = create(() => ({
showToast: (message: string) => { goalLayoutServices.toasts.push(message); },
refreshSessions: async () => { goalLayoutServices.sessionRefreshes += 1; },
}));