The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(conversations): prevent cloud nav gate from blocking assistant chat
Steven Enamakel067c1e47d015
diff --git a/app/src/components/layout/shell/useCloudNavGate.ts b/app/src/components/layout/shell/useCloudNavGate.tsindex dd0703ab65..8899443a14 100644--- a/app/src/components/layout/shell/useCloudNavGate.ts+++ b/app/src/components/layout/shell/useCloudNavGate.ts@@ -25,7 +25,8 @@ const log = debugFactory('sidebar');*/export function useCloudNavGate(): boolean {const { snapshot, isReady } = useCoreState();- const allowed = isReady && Boolean(snapshot.sessionToken) && !isLocalSessionToken(snapshot.sessionToken);+ const allowed =+ isReady && Boolean(snapshot.sessionToken) && !isLocalSessionToken(snapshot.sessionToken);// Log the gate outcome whenever it resolves/flips. Booleans only — never the// session token or a raw path.diff --git a/app/src/features/conversations/components/AssistantUiChat.tsx b/app/src/features/conversations/components/AssistantUiChat.tsxindex ad67b70d21..05d02007af 100644--- a/app/src/features/conversations/components/AssistantUiChat.tsx+++ b/app/src/features/conversations/components/AssistantUiChat.tsx@@ -5,7 +5,6 @@ import { type ReactNode, useCallback, useEffect, useMemo, useRef } from 'react';import AttachmentPreview from '../../../components/chat/AttachmentPreview';import { Button } from '../../../components/ui';-import { MascotChipAvatar } from '../../human/Mascot/MascotChipAvatar';import type { Attachment } from '../../../lib/attachments';import { useRegisterAction } from '../../../lib/commands/useRegisterAction';import { useSlashCommands } from '../../../lib/commands/useSlashCommands';@@ -14,6 +13,7 @@ import { AssistantUiRuntimeProvider } from '../../../providers/AssistantUiRuntimimport { emptySessionTokenUsage } from '../../../store/chatRuntimeSlice';import { useAppSelector } from '../../../store/hooks';import { selectCustomPrimaryColor, selectMascotColor } from '../../../store/mascotSlice';+import { MascotChipAvatar } from '../../human/Mascot/MascotChipAvatar';import { ChatToolFallback, ChatToolGroup } from './ChatToolParts';import { contextUsageFromTokenUsage, ContextWindowPill } from './composer/ContextWindowPill';import {