The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
Merge branch 'master' into feat/mac-local-mode
purple383b57b9d0fa
diff --cc e2e/support/tauri-mock.tsindex 8ddfae20,3b534a95..211809cc--- a/e2e/support/tauri-mock.ts+++ b/e2e/support/tauri-mock.ts@@@ -36,16 -36,12 +36,22 @@@ export interface TauriMockOptions* behaviour must pin it; the default matches the historical CI target.*/platform?: 'mac' | 'windows'+ /**+ * Deliver `assistantReply` as N separate SSE frames, `replyChunkDelayMs`+ * apart, instead of one. A real engine emits a frame per token, which is what+ * drives the once-per-animation-frame store flush in useChat — the path that+ * caused the 2.6.2 renderer Out of Memory. Omit for the historical+ * single-frame behaviour.+ */+ replyChunks?: number+ /** Gap between streamed frames. Default 0 (same macrotask burst). */+ replyChunkDelayMs?: number+ /**+ * Canned HuggingFace file tree served to `fetch_external` for exactly one+ * repo (the URL resolveHfGgufFiles queries). Lets the sharded-download flow+ * run against a byte-accurate snapshot of the real API with no network.+ */+ hfTree?: { repo: string; entries: Array<{ type: string; path: string; size: number }> }}export const DEFAULT_ASSISTANT_REPLY = 'PONG_BUILTIN_OK the built-in engine answered.'diff --cc src/components/chat/MessageBubble.tsxindex bd377e86,78692052..1e7f02f8--- a/src/components/chat/MessageBubble.tsx+++ b/src/components/chat/MessageBubble.tsx@@@ -1,10 -1,11 +1,11 @@@import { motion } from 'framer-motion'import { User, Copy, Check, Pencil, RefreshCw, X, Wrench, Trash2 } from 'lucide-react'-import { useState, useRef, useEffect, useMemo } from 'react'+import { useState, useRef, useEffect, useMemo, memo } from 'react'import { MarkdownRenderer } from './MarkdownRenderer'import { ThinkingBlock } from './ThinkingBlock'- import { ToolCallBlock } from './ToolCallBlock'+ import { ToolCallBand } from './ToolCallBand'import { ReflectionBlock } from './ReflectionBlock'+ import { groupAgentBlocks } from '../../lib/tool-call-groups'import { VramSwitchCard } from './VramSwitchCard'import { SpeakerButton } from './SpeakerButton'import { ChatArtifactCard } from './ChatArtifactCard'diff --cc src/hooks/useCodex.tsindex dff21ebc,8a95a38f..09338aa0--- a/src/hooks/useCodex.ts+++ b/src/hooks/useCodex.ts@@@ -1787,14 -1829,14 +1829,20 @@@ export function useCodex()runningRef.current = falseabortRef.current = nullclearActiveChatId()++ // The turn is done, including the hidden tool history inserted above, so+ // put it on disk now. Persistence is coalesced while the run streams+ // (2.6.3 — see coalescedStorage), and losing the tool chain would cost+ // the next turn its context, not just the transcript.+ void flushChatPersist()codexStore.setThreadStatus(convId, 'idle')+ // The per-batch bump above only fires when a batch RETURNS. A user who+ // aborts mid-run (David 2026-07-31: files on disk, panel still showing+ // the old listing) never reaches it — so reload the tree once at run+ // end, whatever way the run ended.+ useCodexStore.getState().bumpFileTreeVersion()+// ── /loop driver ───────────────────────────────────────────────────// The pass is over. A loop is not "one long turn": it is the model being// brought BACK with its own work in front of it and asked to prove the