Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge #4289 at c54ce2b3f
milind-soni76be8ee8906e
diff --cc src/App.tsxindex d1fa879ea0,ff771a63ac..a416196369--- a/src/App.tsx+++ b/src/App.tsx@@@ -177,7 -176,8 +177,8 @@@ function Shell({ viewer }: { viewer: Weconst mod = e.metaKey || e.ctrlKey;if (!mod) return;- const bots = state.bots.filter((b) => !b.hidden);+ const bots = shortcutBots(state.bots.filter((b) => !b.hidden), shownBotIds(document.querySelector("[data-sidebar-root]")));+ const step = e.shiftKey ? botCycleStep(e) : null;if (e.key === "n" && !e.shiftKey) {e.preventDefault();dispatch({ type: "newBot" });@@@ -187,8 -187,9 +188,8 @@@e.preventDefault();openBot(dispatch, target, showThreads);}- } else if (e.shiftKey && (e.key === "[" || e.key === "]")) {- const next = nextShortcutBot(bots, state.selectedId, e.key === "]" ? 1 : -1);+ } else if (step !== null) {- const idx = bots.findIndex((b) => b.id === state.selectedId);- const next = bots[(idx + step + bots.length) % bots.length];++ const next = nextShortcutBot(bots, state.selectedId, step);if (next) {e.preventDefault();openBot(dispatch, next, showThreads);