Skip to content

an open-source alternative to the dots, bots and muses of the world, run an office of claude code/codex like agents on your laptop, sandboxes or anywhere, uses your existing subscriptions

fix(renderer): clear command center tab request on selecting agent to default god to terminal

Chaitanya Giri6d8d1f5252dd
diff --git a/src/renderer/src/store/store.ts b/src/renderer/src/store/store.ts
index c4dbf9e1..f2ecd047 100644
--- a/src/renderer/src/store/store.ts
+++ b/src/renderer/src/store/store.ts
@@ -375,7 +375,7 @@ export const useStore = create<State>((set) => ({
bumpToolCount: (id) =>
set((s) => ({ toolCounts: { ...s.toolCounts, [id]: (s.toolCounts[id] ?? 0) + 1 } })),
setGodStatus: (status) => set({ godStatus: status }),
- select: (id) => set((s) => { persistAgents(s.agents, id); return { selectedId: id }; }),
+ select: (id) => set((s) => { persistAgents(s.agents, id); return { selectedId: id, ccTabRequest: null }; }),
updateAgent: (id, patch) =>
set((s) => ({ agents: s.agents.map(a => a.id === id ? { ...a, ...patch } : a) })),
pushFeed: (id, line) =>