Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Sidebar: keep routineRuns in the sidebar state slice after main's selector change
AdityaUmale2dc59db80480
diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsxindex 6ec66b9abd..5fd281f52d 100644--- a/src/components/Sidebar.tsx+++ b/src/components/Sidebar.tsx@@ -666,7 +666,7 @@ export interface BotRowProps {botDragging?: boolean;}-export function botRowProps<State extends Pick<AppState, "activeView" | "selectedId" | "revealThread" | "deletingBots" | "mascotMotion" | "pendingQueued" | "instances" | "liveCall" | "config">>(+export function botRowProps<State extends Pick<AppState, "activeView" | "selectedId" | "revealThread" | "deletingBots" | "mascotMotion" | "pendingQueued" | "routineRuns" | "instances" | "liveCall" | "config">>(state: State,dispatch: Dispatch<Action>,bot: Bot,diff --git a/src/components/sidebar-state.ts b/src/components/sidebar-state.tsindex 613a7b858d..bbed71e37d 100644--- a/src/components/sidebar-state.ts+++ b/src/components/sidebar-state.ts@@ -4,5 +4,5 @@ import type { AppState } from "@/state/store";export const sidebarState = (s: AppState) => ({bots: s.bots, groups: s.groups, sections: s.sections, pendingQueued: s.pendingQueued, instances: s.instances, config: s.config, selectedId: s.selectedId,activeView: s.activeView, computerOpen: s.computerOpen, inspectorOpen: s.inspectorOpen, deletingBots: s.deletingBots, revealThread: s.revealThread,- liveCall: s.liveCall, cloudHowTo: s.cloudHowTo, mascotMotion: s.activeView === "chat" && s.mascotMotion?.botId === s.selectedId ? s.mascotMotion : null,+ liveCall: s.liveCall, cloudHowTo: s.cloudHowTo, routineRuns: s.routineRuns, mascotMotion: s.activeView === "chat" && s.mascotMotion?.botId === s.selectedId ? s.mascotMotion : null,});