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.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
feat(frontend): consolidate in-flight Jarvis-Agents/missions/API-keys UI
Ruben Lütke7a4179f46c64
diff --git a/jarvis/ui/web/frontend/src/__tests__/OpenClawPanel.test.tsx b/jarvis/ui/web/frontend/src/__tests__/OpenClawPanel.test.tsxindex 7f73dfe5c7..1c0e532d1f 100644--- a/jarvis/ui/web/frontend/src/__tests__/OpenClawPanel.test.tsx+++ b/jarvis/ui/web/frontend/src/__tests__/OpenClawPanel.test.tsx@@ -1,16 +1,16 @@/**- * Vitest+RTL-Tests fuer OpenClawPanel (Phase 9 Welle 4 UI).+ * Vitest+RTL tests for JarvisAgentPanel (Phase 9 Wave 4 UI).*- * Deckt:- * - Empty-State wenn keine Mission ausgewaehlt- * - Empty-State wenn ausgewaehlte Mission keine OpenClaw-Worker hat- * - Render aller Spalten (Modell, Cost, State-Dir, Logfile, Reattach-Status)- * - Reattach-Status-Badge zeigt korrekten data-attribute (live/killed/ended)+ * Covers:+ * - Empty-state when no mission is selected+ * - Empty-state when the selected mission has no worker snapshots+ * - Renders all columns (Model, Cost, State-Dir, Logfile, Reattach-Status)+ * - Reattach-status badge shows correct data-attribute (live/killed/ended)*/import { afterEach, describe, expect, it } from "vitest";import { cleanup, render, screen } from "@testing-library/react";-import { OpenClawPanel } from "@/components/missions/OpenClawPanel";+import { JarvisAgentPanel } from "@/components/missions/JarvisAgentPanel";import { useMissionsStore } from "@/components/missions/store";import type { OpenClawWorkerSnapshot } from "@/types/missions";@@ -38,9 +38,9 @@ function makeWorker(overrides: Partial<OpenClawWorkerSnapshot> = {}): OpenClawWo};}-describe("OpenClawPanel", () => {+describe("JarvisAgentPanel", () => {it("zeigt Empty-State wenn keine Mission ausgewaehlt ist", () => {- render(<OpenClawPanel />);+ render(<JarvisAgentPanel />);expect(screen.getByText("Mission auswaehlen, um OpenClaw-Worker zu sehen."),).toBeDefined();@@ -49,9 +49,9 @@ describe("OpenClawPanel", () => {it("zeigt Empty-State wenn Mission keine OpenClaw-Worker hat", () => {useMissionsStore.setState({selectedMissionId: "mid-1",- openclawWorkersByMission: { "mid-1": [] },+ workerSnapshotsByMission: { "mid-1": [] },});- render(<OpenClawPanel />);+ render(<JarvisAgentPanel />);expect(screen.getByText("Keine OpenClaw-Worker in dieser Mission."),).toBeDefined();@@ -60,9 +60,9 @@ describe("OpenClawPanel", () => {it("rendert alle Spalten fuer einen live OpenClaw-Worker", () => {useMissionsStore.setState({selectedMissionId: "mid-1",- openclawWorkersByMission: { "mid-1": [makeWorker()] },+ workerSnapshotsByMission: { "mid-1": [makeWorker()] },});- render(<OpenClawPanel />);+ render(<JarvisAgentPanel />);// Modellconst model = screen.getByTestId("openclaw-model");@@ -92,7 +92,7 @@ describe("OpenClawPanel", () => {it("zeigt killed-Badge mit ended-reason wenn Worker explicit gekillt wurde", () => {useMissionsStore.setState({selectedMissionId: "mid-1",- openclawWorkersByMission: {+ workerSnapshotsByMission: {"mid-1": [makeWorker({reattach_status: "killed",@@ -102,7 +102,7 @@ describe("OpenClawPanel", () => {],},});- render(<OpenClawPanel />);+ render(<JarvisAgentPanel />);const badge = screen.getByTestId("openclaw-reattach-badge");expect(badge.getAttribute("data-reattach-status")).toBe("killed");@@ -115,7 +115,7 @@ describe("OpenClawPanel", () => {it("zeigt mehrere Worker in der Reihenfolge der Aggregator-Liste", () => {useMissionsStore.setState({selectedMissionId: "mid-1",- openclawWorkersByMission: {+ workerSnapshotsByMission: {"mid-1": [makeWorker({ worker_id: "w-aaa", model: "gemini/g1" }),makeWorker({@@ -127,7 +127,7 @@ describe("OpenClawPanel", () => {],},});- render(<OpenClawPanel />);+ render(<JarvisAgentPanel />);const rows = screen.getAllByTestId("openclaw-worker-row");expect(rows).toHaveLength(2);diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsxindex 408bfe179b..0471c5dc62 100644--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.model.test.tsx@@ -11,7 +11,7 @@ vi.mock("@/store/events", () => ({selector({ pushToast: vi.fn() }),}));-import { SubagentSection } from "./SubagentSection";+import { JarvisAgentSection } from "./JarvisAgentSection";const STATUS = {configured: true,@@ -67,10 +67,10 @@ afterEach(() => {vi.restoreAllMocks();});-describe("SubagentSection — dedicated subagent LLM dropdown", () => {+describe("JarvisAgentSection — dedicated subagent LLM dropdown", () => {it("opens a model dropdown for the active subagent provider", async () => {vi.stubGlobal("fetch", mockFetch());- render(<SubagentSection />);+ render(<JarvisAgentSection />);const trigger = (await screen.findByLabelText("apikeys_model.model_label",)) as HTMLElement;@@ -81,7 +81,7 @@ describe("SubagentSection — dedicated subagent LLM dropdown", () => {it("saves a picked model via POST /api/subagent/model", async () => {const fetchMock = mockFetch();vi.stubGlobal("fetch", fetchMock);- render(<SubagentSection />);+ render(<JarvisAgentSection />);const trigger = (await screen.findByLabelText("apikeys_model.model_label",)) as HTMLElement;diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsxindex 0c32de3a30..836505be00 100644--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx@@ -39,8 +39,8 @@ import { ProviderBillingBadge } from "@/components/ProviderBillingBadge";interface SubagentMappingRow {jarvis: string;- /** Server contract: the engine-side provider slug (e.g. "google"). */- openclaw: string;+ /** Server contract: the worker-harness provider slug (e.g. "google"). */+ worker_slug: string;env_var: string;env_fallback: string | null;key_set: boolean;@@ -117,7 +117,7 @@ async function pollStatusUntilConnected(return false;}-export function SubagentSection({+export function JarvisAgentSection({hideHeader = false,}: {/** Suppress the section header — used inside the API-Keys "Subagents" tab,@@ -137,7 +137,7 @@ export function SubagentSection({const reload = useCallback(async () => {try {const [res, codexRes, antigravityRes, claudeRes] = await Promise.all([- fetch("/api/openclaw/status"),+ fetch("/api/jarvis-agent/status"),fetch("/api/codex/status").catch(() => null),fetch("/api/antigravity/status").catch(() => null),fetch("/api/claude/status").catch(() => null),@@ -170,11 +170,11 @@ export function SubagentSection({void reload();const onChange = () => void reload();window.addEventListener("jarvis:brain-switched", onChange);- window.addEventListener("jarvis:subagent-switched", onChange);+ window.addEventListener("jarvis:agent-switched", onChange);window.addEventListener("jarvis:secret-configured", onChange);return () => {window.removeEventListener("jarvis:brain-switched", onChange);- window.removeEventListener("jarvis:subagent-switched", onChange);+ window.removeEventListener("jarvis:agent-switched", onChange);window.removeEventListener("jarvis:secret-configured", onChange);};}, [reload]);@@ -313,7 +313,7 @@ function SubagentModelCard({currentModel={status.sub_model_override ?? ""}onSave={async (model) => {const r = await saveSubagentModel(model);- window.dispatchEvent(new Event("jarvis:subagent-switched"));+ window.dispatchEvent(new Event("jarvis:agent-switched"));onSaved();return {ok: true,@@ -898,7 +898,7 @@ function ClaudeApiCard({{row && (<p className="mt-0.5 text-[11px] text-muted-foreground"><code className="font-mono">- {row.jarvis} → {row.openclaw}+ {row.jarvis} → {row.worker_slug}</code>{" · "}<span className="font-mono">@@ -964,7 +964,7 @@ function useSubagentActivate(const result = await switchSubagentProvider(row.jarvis);const note = result.restart_required ? " (active from next restart)" : "";pushToast("success", `Subagent → ${label}${note}`);- window.dispatchEvent(new CustomEvent("jarvis:subagent-switched"));+ window.dispatchEvent(new CustomEvent("jarvis:agent-switched"));await onSwitched();} catch (e) {pushToast("error", (e as Error).message);@@ -1033,7 +1033,7 @@ function SubagentProviderCard({</div><p className="mt-0.5 text-[11px] text-muted-foreground"><code className="font-mono">- {row.jarvis} → {row.openclaw}+ {row.jarvis} → {row.worker_slug}</code>{" · "}<span className="font-mono">diff --git a/jarvis/ui/web/frontend/src/components/layout/MainView.tsx b/jarvis/ui/web/frontend/src/components/layout/MainView.tsxindex 26b040df2a..5815bc3b29 100644--- a/jarvis/ui/web/frontend/src/components/layout/MainView.tsx+++ b/jarvis/ui/web/frontend/src/components/layout/MainView.tsx@@ -2,7 +2,7 @@ import { useEventStore } from "@/store/events";import { ViewErrorBoundary } from "@/components/ViewErrorBoundary";import { BoardView } from "@/views/BoardView";import { ChatsView } from "@/views/ChatsView";-import { SubAgentsView } from "@/views/SubAgentsView";+import { JarvisAgentsView } from "@/views/JarvisAgentsView";import { ExtensionsView } from "@/views/ExtensionsView";import { DocsView } from "@/views/DocsView";import { TasksView } from "@/views/TasksView";@@ -47,7 +47,7 @@ function SwitchOnActiveSection({ active }: { active: string }) {case "chats":return <ChatsView />;case "agents":- return <SubAgentsView />;+ return <JarvisAgentsView />;// Skills + Plugins + MCPs are merged behind the "Skills & Tools" entry with// an in-view tab switcher; the active id doubles as the tab state.case "skills":diff --git a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsxindex 8fc66f5402..caa95b9305 100644--- a/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx+++ b/jarvis/ui/web/frontend/src/components/missions/JarvisAgentPanel.tsx@@ -1,13 +1,13 @@/**- * Phase 9 — OpenClaw-Tab in der MissionsView.+ * Phase 9 — Jarvis-Agent worker tab in the MissionsView.*- * Listet pro OpenClaw-Worker einer Mission die Spalten Modell / Cost /- * State-Dir / Logfile / Reattach-Status. Daten kommen aus- * ``missions_routes::extract_openclaw_workers`` (Backend) und werden im- * Mission-Store unter ``openclawWorkersByMission`` gehalten.+ * Lists per-worker columns (Model / Cost / State-Dir / Logfile /+ * Reattach-Status) for all workers of the selected mission. Data comes from+ * ``missions_routes::extract_worker_missions`` (backend) and is held in the+ * mission store under ``workerSnapshotsByMission``.*- * Empty-State: wenn die ausgewaehlte Mission keine OpenClaw-Worker hat- * (z.B. reine Claude-/Codex-Mission), zeige Hinweis statt leere Tabelle.+ * Empty-state: when the selected mission has no workers (e.g. a pure+ * Claude-/Codex-mission), show a hint instead of an empty table.*/import { CircleSlash, Cpu, Copy, ExternalLink } from "lucide-react";import { useShallow } from "zustand/react/shallow";@@ -54,12 +54,12 @@ async function copyToClipboard(value: string): Promise<void> {}}-export function OpenClawPanel() {+export function JarvisAgentPanel() {const t = useT();const workers = useMissionsStore(useShallow((s) => {if (!s.selectedMissionId) return [];- return s.openclawWorkersByMission[s.selectedMissionId] ?? [];+ return s.workerSnapshotsByMission[s.selectedMissionId] ?? [];}),);const selectedMissionId = useMissionsStore((s) => s.selectedMissionId);diff --git a/jarvis/ui/web/frontend/src/components/missions/api.ts b/jarvis/ui/web/frontend/src/components/missions/api.tsindex f25e2eea42..b321cff88f 100644--- a/jarvis/ui/web/frontend/src/components/missions/api.ts+++ b/jarvis/ui/web/frontend/src/components/missions/api.ts@@ -39,9 +39,9 @@ export async function fetchMissionDetail(id: string): Promise<MissionDetail> {events.filter((e) => e.payload.event_type === "CriticVerdictReady").map((e) => e.payload as CriticVerdictReady);- const openclaw_workers: OpenClawWorkerSnapshot[] =- Array.isArray(data.openclaw_workers) ? data.openclaw_workers : [];- return { mission: data.mission, events, verdicts, openclaw_workers };+ const worker_snapshots: OpenClawWorkerSnapshot[] =+ Array.isArray(data.worker_snapshots) ? data.worker_snapshots : [];+ return { mission: data.mission, events, verdicts, worker_snapshots };}export async function cancelMission(id: string): Promise<void> {diff --git a/jarvis/ui/web/frontend/src/components/missions/store.ts b/jarvis/ui/web/frontend/src/components/missions/store.tsindex 6abb37e5d4..a6fc2c6575 100644--- a/jarvis/ui/web/frontend/src/components/missions/store.ts+++ b/jarvis/ui/web/frontend/src/components/missions/store.ts@@ -23,7 +23,7 @@ interface MissionsStore {missions: Record<string, MissionSummary>;eventsByMission: Record<string, EventEnvelope[]>;verdictsByMission: Record<string, CriticVerdictReady[]>;- openclawWorkersByMission: Record<string, OpenClawWorkerSnapshot[]>;+ workerSnapshotsByMission: Record<string, OpenClawWorkerSnapshot[]>;selectedMissionId: string | null;selectedWorkerId: string | null;lastSeq: number;@@ -36,7 +36,7 @@ interface MissionsStore {missionId: string,events: EventEnvelope[],verdicts: CriticVerdictReady[],- openclawWorkers?: OpenClawWorkerSnapshot[],+ workerSnapshots?: OpenClawWorkerSnapshot[],) => void;selectMission: (id: string | null) => void;selectWorker: (id: string | null) => void;@@ -49,7 +49,7 @@ export const useMissionsStore = create<MissionsStore>()(missions: {},eventsByMission: {},verdictsByMission: {},- openclawWorkersByMission: {},+ workerSnapshotsByMission: {},selectedMissionId: null,selectedWorkerId: null,lastSeq: 0,@@ -156,16 +156,16 @@ export const useMissionsStore = create<MissionsStore>()(return { lastSeq, eventsByMission, verdictsByMission, missions };}),- setMissionDetail: (missionId, events, verdicts, openclawWorkers) =>+ setMissionDetail: (missionId, events, verdicts, workerSnapshots) =>set((state) => ({eventsByMission: { ...state.eventsByMission, [missionId]: events },verdictsByMission: { ...state.verdictsByMission, [missionId]: verdicts },- openclawWorkersByMission: openclawWorkers+ workerSnapshotsByMission: workerSnapshots? {- ...state.openclawWorkersByMission,- [missionId]: openclawWorkers,+ ...state.workerSnapshotsByMission,+ [missionId]: workerSnapshots,}- : state.openclawWorkersByMission,+ : state.workerSnapshotsByMission,})),selectMission: (id) => set({ selectedMissionId: id, selectedWorkerId: null }),@@ -176,7 +176,7 @@ export const useMissionsStore = create<MissionsStore>()(missions: {},eventsByMission: {},verdictsByMission: {},- openclawWorkersByMission: {},+ workerSnapshotsByMission: {},selectedMissionId: null,selectedWorkerId: null,lastSeq: 0,diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsxindex 3e8c75c3c5..4a9d51861b 100644--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx@@ -5,7 +5,7 @@ import { useT } from "@/i18n";import { ApiKeyForm } from "@/components/ApiKeyForm";import { AltCredentialNote } from "@/components/AltCredentialNote";import { ProviderBillingBadge } from "@/components/ProviderBillingBadge";-import { SubagentSection } from "@/components/SubagentSection";+import { JarvisAgentSection } from "@/components/JarvisAgentSection";import {useProviders,switchBrainProvider,@@ -104,7 +104,7 @@ export function ApiKeysStep({ goNext, skip }: StepProps) {{/* Subagent (Heavy-Task worker) — own data source (/api/openclaw/status),rendered as a sibling section so the onboarding key step matches thefull Settings → API Keys layout. */}- <SubagentSection />+ <JarvisAgentSection /></div><Button className="w-full" onClick={goNext}>diff --git a/jarvis/ui/web/frontend/src/hooks/useProviders.ts b/jarvis/ui/web/frontend/src/hooks/useProviders.tsindex 644f57e690..87d88d3c89 100644--- a/jarvis/ui/web/frontend/src/hooks/useProviders.ts+++ b/jarvis/ui/web/frontend/src/hooks/useProviders.ts@@ -445,7 +445,7 @@ export async function switchSttProvider(export async function switchSubagentProvider(providerId: string,): Promise<PipelineSwitchResult> {- const res = await fetch("/api/subagent/switch", {+ const res = await fetch("/api/jarvis-agent/switch", {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify({ provider: providerId, persist: true }),@@ -465,7 +465,7 @@ export async function switchSubagentProvider(export async function saveSubagentModel(model: string,): Promise<PipelineSwitchResult> {- const res = await fetch("/api/subagent/model", {+ const res = await fetch("/api/jarvis-agent/model", {method: "POST",headers: { "Content-Type": "application/json" },body: JSON.stringify({ model, persist: true }),diff --git a/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts b/jarvis/ui/web/frontend/src/hooks/useWebSocket.tsindex f729dcaa6f..3121a018d5 100644--- a/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts+++ b/jarvis/ui/web/frontend/src/hooks/useWebSocket.ts@@ -7,7 +7,7 @@ import {type ChatMessage,type VoiceState,} from "@/store/events";-import { useSubAgentStore, SUB_AGENT_EVENT_NAMES } from "@/store/subAgents";+import { useSubAgentStore, SUB_AGENT_EVENT_NAMES } from "@/store/jarvisAgents";import { WSEventEnvelope, WSWelcome } from "@/schema/ws";import { useI18nStore, hydrateUiLanguage, hydrateReplyLanguage, translate } from "@/i18n";diff --git a/jarvis/ui/web/frontend/src/store/jarvisAgents.ts b/jarvis/ui/web/frontend/src/store/jarvisAgents.tsindex 612f80ee07..09ba03fd86 100644--- a/jarvis/ui/web/frontend/src/store/jarvisAgents.ts+++ b/jarvis/ui/web/frontend/src/store/jarvisAgents.ts@@ -1,13 +1,13 @@/**- * Sub-Agent-Store — Live-Tree aller aktiven Jarvis-Sub-Agents.+ * Jarvis-Agent Store — live tree of all active Jarvis-Agents.*- * Wird vom WebSocket-Hook gespeist (9 Event-Typen: OpenClawTaskStarted/Review/+ * Fed by the WebSocket hook (9 event types: JarvisAgentTaskStarted/Review/* Completed, BrainTurnStarted/Completed, ToolCallStarted/Completed, Harness-- * Dispatched/Completed) und rendert in <SubAgentsView /> als Live-Tabelle.+ * Dispatched/Completed) and rendered in <JarvisAgentsView /> as a live table.*/import { create } from "zustand";-export type NodeKind = "router" | "openclaw" | "harness" | "tool_call";+export type NodeKind = "router" | "jarvis_agent" | "harness" | "tool_call";export type NodeStatus = "running" | "completed" | "failed";export interface ToolCallEntry {@@ -159,13 +159,13 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({};switch (eventName) {- case "OpenClawTaskStarted": {+ case "JarvisAgentTaskStarted": {if (!traceId) break;const provider = safeString(payloadObj.provider);const model = safeString(payloadObj.model);upsert(traceId, {- kind: "openclaw",- name: `OpenClaw (${model || provider || "unknown"})`,+ kind: "jarvis_agent",+ name: `Jarvis-Agent (${model || provider || "unknown"})`,status: "running",parent_trace_id: parentTraceId,provider: provider || null,@@ -178,7 +178,7 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({linkToParent(parentTraceId, traceId);break;}- case "OpenClawReviewTriggered": {+ case "JarvisAgentReviewTriggered": {if (!traceId || !nodes[traceId]) break;const iter = safeNumber(payloadObj.iteration);nodes[traceId] = {@@ -187,7 +187,7 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({};break;}- case "OpenClawTaskCompleted": {+ case "JarvisAgentTaskCompleted": {if (!traceId) break;const success = Boolean(payloadObj.success);const summary = safeString(payloadObj.summary);@@ -221,11 +221,11 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({}case "BrainTurnCompleted": {// If parent_trace_id is missing we fall back to a "newest running- // sub_jarvis" heuristic. With multi-spawn (>=2 concurrent nodes)+ // jarvis_agent" heuristic. With multi-spawn (>=2 concurrent nodes)// that pick is ambiguous, so we only attribute usage when exactly// one running node is unambiguous.const running = Object.values(nodes).filter(- (n) => n.kind === "openclaw" && n.status === "running",+ (n) => n.kind === "jarvis_agent" && n.status === "running",);if (running.length !== 1) break;const newest = running[0];@@ -278,7 +278,7 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({case "HarnessDispatched": {if (!traceId) break;const running = Object.values(nodes).filter(- (n) => n.kind === "openclaw" && n.status === "running",+ (n) => n.kind === "jarvis_agent" && n.status === "running",);const parent =running.length > 0@@ -366,9 +366,9 @@ export const useSubAgentStore = create<SubAgentStore>((set, get) => ({}));export const SUB_AGENT_EVENT_NAMES = new Set<string>([- "OpenClawTaskStarted",- "OpenClawReviewTriggered",- "OpenClawTaskCompleted",+ "JarvisAgentTaskStarted",+ "JarvisAgentReviewTriggered",+ "JarvisAgentTaskCompleted","BrainTurnStarted","BrainTurnCompleted","ToolCallStarted",diff --git a/jarvis/ui/web/frontend/src/types/missions.ts b/jarvis/ui/web/frontend/src/types/missions.tsindex e32c574013..d5c8e0d54e 100644--- a/jarvis/ui/web/frontend/src/types/missions.ts+++ b/jarvis/ui/web/frontend/src/types/missions.ts@@ -248,7 +248,7 @@ export interface MissionDetail {mission: MissionSummary;events: EventEnvelope[];verdicts: CriticVerdictReady[];- openclaw_workers: OpenClawWorkerSnapshot[];+ worker_snapshots: OpenClawWorkerSnapshot[];}export interface MissionStateBadgeMeta {diff --git a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsxindex a390f2f700..e800801a0d 100644--- a/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx+++ b/jarvis/ui/web/frontend/src/views/ApiKeysView.tsx@@ -6,7 +6,7 @@ import { ApiKeyForm } from "@/components/ApiKeyForm";import { BrainModelSelector } from "@/components/BrainModelSelector";import { CuModelSelector } from "@/components/CuModelSelector";import { ProviderBillingBadge } from "@/components/ProviderBillingBadge";-import { SubagentSection } from "@/components/SubagentSection";+import { JarvisAgentSection } from "@/components/JarvisAgentSection";import { TelephonyPanel } from "@/views/TelephonyView";import { WikiProviderCard } from "@/views/settings/WikiProviderCard";import { JarvisApiGroup } from "@/views/settings/JarvisApiGroup";@@ -359,7 +359,7 @@ function SubagentCategory() {title={t("apikeys_view.cat_subagents_title")}description={t("apikeys_view.cat_subagents_desc")}/>- <SubagentSection hideHeader />+ <JarvisAgentSection hideHeader /></div>);}diff --git a/jarvis/ui/web/frontend/src/views/JarvisAgentsView.tsx b/jarvis/ui/web/frontend/src/views/JarvisAgentsView.tsxindex bd5580b712..0b9dec764e 100644--- a/jarvis/ui/web/frontend/src/views/JarvisAgentsView.tsx+++ b/jarvis/ui/web/frontend/src/views/JarvisAgentsView.tsx@@ -10,14 +10,14 @@import { Trash2, Users } from "lucide-react";import { useCallback, useEffect, useMemo, useState } from "react";-import { useSubAgentStore, type SubAgentTreeSnapshot } from "@/store/subAgents";+import { useSubAgentStore, type SubAgentTreeSnapshot } from "@/store/jarvisAgents";import { DepartureBoard } from "./sub-agents/DepartureBoard";import { selectTaskRows } from "./sub-agents/rows";import { useMissionWebSocket } from "@/components/missions/useMissionWebSocket";import { useMissionsStore } from "@/components/missions/store";import { useT } from "@/i18n";-export function SubAgentsView() {+export function JarvisAgentsView() {const t = useT();const subAgents = useSubAgentStore((s) => s.subAgents);const sweepExpired = useSubAgentStore((s) => s.sweepExpired);diff --git a/jarvis/ui/web/frontend/src/views/MissionsView.tsx b/jarvis/ui/web/frontend/src/views/MissionsView.tsxindex 6d8ab4d4b7..ed5ceda2c2 100644--- a/jarvis/ui/web/frontend/src/views/MissionsView.tsx+++ b/jarvis/ui/web/frontend/src/views/MissionsView.tsx@@ -39,7 +39,7 @@ import { fetchMissions, fetchMissionDetail } from "@/components/missions/api";import { EventTimeline } from "@/components/missions/EventTimeline";import { GlobalKillButton } from "@/components/missions/GlobalKillButton";import { MissionTree } from "@/components/missions/MissionTree";-import { OpenClawPanel } from "@/components/missions/OpenClawPanel";+import { JarvisAgentPanel } from "@/components/missions/JarvisAgentPanel";import { VerdictPanel } from "@/components/missions/VerdictPanel";import {selectActiveCount,@@ -90,7 +90,7 @@ export function MissionsView() {selectedMissionId,detailQuery.data.events,detailQuery.data.verdicts,- detailQuery.data.openclaw_workers,+ detailQuery.data.worker_snapshots,);}}, [detailQuery.data, selectedMissionId, setMissionDetail]);@@ -186,7 +186,7 @@ export function MissionsView() {<PlanPanel /></TabsContent><TabsContent value="openclaw" className="m-0 flex-1 overflow-hidden">- <OpenClawPanel />+ <JarvisAgentPanel /></TabsContent></Tabs></div>diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsxindex ff98554347..35e04a65e7 100644--- a/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx+++ b/jarvis/ui/web/frontend/src/views/sub-agents/DepartureBoard.tsx@@ -12,7 +12,7 @@ import {Wrench,} from "lucide-react";-import type { SubAgentNode, ToolCallEntry } from "@/store/subAgents";+import type { SubAgentNode, ToolCallEntry } from "@/store/jarvisAgents";import { cn } from "@/lib/utils";import { useEventStore } from "@/store/events";diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsxindex 34a65c372e..abae6d1030 100644--- a/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx+++ b/jarvis/ui/web/frontend/src/views/sub-agents/ToolsCanvas.tsx@@ -26,7 +26,7 @@ import { useCallback, useEffect, useMemo, useState } from "react";import { ScrollArea } from "@/components/ui/scroll-area";import { useT } from "@/i18n";-import type { SubAgentNode, ToolCallEntry } from "@/store/subAgents";+import type { SubAgentNode, ToolCallEntry } from "@/store/jarvisAgents";import { getToolAppearance, type ToolAppearance } from "./tool-icons";diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/rows.test.ts b/jarvis/ui/web/frontend/src/views/sub-agents/rows.test.tsindex d6cd69e765..27483a90ae 100644--- a/jarvis/ui/web/frontend/src/views/sub-agents/rows.test.ts+++ b/jarvis/ui/web/frontend/src/views/sub-agents/rows.test.ts@@ -1,12 +1,12 @@import { describe, expect, it } from "vitest";import { selectTaskRows } from "./rows";-import type { SubAgentNode } from "@/store/subAgents";+import type { SubAgentNode } from "@/store/jarvisAgents";function node(partial: Partial<SubAgentNode> & { trace_id: string },): SubAgentNode {return {- kind: "openclaw",+ kind: "jarvis_agent",name: "Sub-Agent",status: "running",parent_trace_id: null,diff --git a/jarvis/ui/web/frontend/src/views/sub-agents/rows.ts b/jarvis/ui/web/frontend/src/views/sub-agents/rows.tsindex 42231497b0..d381df797a 100644--- a/jarvis/ui/web/frontend/src/views/sub-agents/rows.ts+++ b/jarvis/ui/web/frontend/src/views/sub-agents/rows.ts@@ -1,4 +1,4 @@-import type { SubAgentNode } from "@/store/subAgents";+import type { SubAgentNode } from "@/store/jarvisAgents";/*** Collapse the flat node map to ONE row per task.