Skip to content

Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.

fix(chat): drop two unlanded hunks swept into the front-page commit

rubenluetke10-beep1fb5d120db5c
diff --git a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
index 81dec61edf..6fca981441 100644
--- a/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
+++ b/jarvis/ui/web/frontend/src/components/agentchat/AgentComposer.tsx
@@ -217,7 +217,7 @@ export function AgentComposer({ autoFocus = false }: { autoFocus?: boolean }) {
onAttachProblem,
);
// A shortcut appshot parked for "the next message" joins this one.
- useAppshotClaim(files.attachFiles, surface === "jarvis", activeSessionId ?? "new");
+ useAppshotClaim(files.attachFiles, surface === "jarvis");
const fileInputRef = useRef<HTMLInputElement | null>(null);
const pasteRescue = usePasteRescue();
diff --git a/jarvis/ui/web/frontend/src/components/home/ChatStage.tsx b/jarvis/ui/web/frontend/src/components/home/ChatStage.tsx
index 864e7682d7..fc66adc2b4 100644
--- a/jarvis/ui/web/frontend/src/components/home/ChatStage.tsx
+++ b/jarvis/ui/web/frontend/src/components/home/ChatStage.tsx
@@ -14,7 +14,6 @@ import { VoiceThreadStage } from "@/components/home/VoiceThreadStage";
import type { ApprovalDecision } from "@/lib/agentChatApi";
import { fill, useT } from "@/i18n";
import { folderLeaf } from "@/lib/folderPath";
-import { useHistoryPolling } from "@/hooks/useHistoryPolling";
import { FolderCode } from "lucide-react";
/**
@@ -78,8 +77,8 @@ function ChatStageContent() {
useEffect(() => {
if (!catalog) void loadCatalog();
- }, [catalog, loadCatalog]);
- useHistoryPolling(loadSessions);
+ void loadSessions();
+ }, [catalog, loadCatalog, loadSessions]);
const providerLabel = useCallback(
(id: string) => catalog?.providers.find((p) => p.id === id)?.label ?? id,