Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Merge pull request #5070 from Hazenix/feat/conversation-fork
milind-soni523bf25d8ceb
diff --cc shared/wire.tsindex 66d5131a11,fef23c5e91..731cb12560--- a/shared/wire.ts+++ b/shared/wire.ts@@@ -37,7 -38,8 +38,8 @@@ import type { ForkOrigin, TaskClosedBy/** What a team bot's main chat is called, beside each person's own chats. */export const SHARED_CHAT_TITLE = "Shared chat";-export type { LiveCallRecord, LiveCallState, LiveCallStatus, LiveClient, LiveEndReason, LiveKeySource, LiveProvider, LiveSettings } from "./live-call-wire.ts";+export type { LiveCallRecord, LiveCallState, LiveCallStatus, LiveClient, LiveEndReason, LiveFishRelayCommand, LiveFishRelayEvent, LiveFishSessionToken, LiveFishTransport, LiveKeySource, LiveProvider, LiveSettings } from "./live-call-wire.ts";+ export type { ForkOrigin, TaskClosedBy, TaskOpenedBy } from "./task-provenance.ts";/** Reasoning-effort levels, ascending: a union of what any engine accepts;* each driver declares the subset its CLI will take. */diff --cc src/components/ChatView.tsxindex 674361573a,3d4d24e80d..77627809a1--- a/src/components/ChatView.tsx+++ b/src/components/ChatView.tsx@@@ -566,7 -559,7 +563,8 @@@ const Bubble = memo(function Bubble(</span></div><ReactionChips threadId={threadId} message={message} bots={bots} align={user ? "end" : "start"} canReact={canReact} />+ {peer && expanded && peerLong && <PeerOpenedActions peer={peer} bots={bots} botId={botId} botName={botName} onFold={() => { setExpanded(false); setFolded(true); }} />}+ <ForkLinks kind="bot" ownerId={botId} threadId={threadId} messageId={message.id} phone={phone} />{forks.length > 1 && (<div className="mt-1 flex items-center gap-0.5 pr-1 text-[12px] text-ink-secondary"><buttondiff --cc src/components/GroupView.tsxindex 95d00c643d,e40532b8cb..bd2710b557--- a/src/components/GroupView.tsx+++ b/src/components/GroupView.tsx@@@ -325,9 -332,10 +332,10 @@@ export const Transcript = memo(functioonReply: (message: Message) => void;}) {const { state, dispatch } = useStore();+ const phone = useMediaQuery(PHONE_LAYOUT);const showThreads = useShowThreads();const showToolCalls = showToolCallsEnabled(state.config);- const canReact = useCanReact(group.threadId);+ const canReact = useCanReact(group.threadId); const teammatePeers = useTeammates().peers;const memberOf = (id?: string) => members.find((b) => b.id === id); const messages = useLiveTranscript(group.threadId, saved, transcript, members, roomThreadSpeakerId(group, group.threadId));const folds = useMemo(() => roomTurnFolds(messages), [messages, locale]);const items = useMemo(() => groupActivityRuns(messages.filter(message =>