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.

feat(onboarding): show Jarvis Agent key choices directly

rubenluetke10-beep63aaff967533
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.local-mode.test.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.local-mode.test.tsx
index 41aaffc64d..2181fa5048 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.local-mode.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.local-mode.test.tsx
@@ -156,4 +156,15 @@ describe("JarvisAgentSection — Local Mode", () => {
expect(screen.getAllByText("openai card").length).toBeGreaterThan(0);
expect(screen.queryAllByText("gemini card")).toHaveLength(0);
});
+
+ it("shows subscription sign-ins in onboarding even when Local Mode is on", async () => {
+ setLocalMode(true);
+ vi.stubGlobal("fetch", mockFetch());
+ render(<JarvisAgentSection hideHeader subscriptionsOnly />);
+
+ await screen.findByTestId("onboarding-subscription-list");
+ expect(screen.getByTestId("agent-group-clis")).toBeTruthy();
+ expect(screen.queryByTestId("agent-group-api")).toBeNull();
+ expect(screen.queryByTestId("local-mode-notice")).toBeNull();
+ });
});
diff --git a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
index 578f7cfcca..55fd830d71 100644
--- a/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
+++ b/jarvis/ui/web/frontend/src/components/JarvisAgentSection.tsx
@@ -175,10 +175,13 @@ async function pollStatusUntilConnected(
export function JarvisAgentSection({
hideHeader = false,
+ subscriptionsOnly = false,
}: {
/** Suppress the section header — used inside the API-Keys "Subagents" tab,
* whose category hero already shows the title (avoids a double label). */
hideHeader?: boolean;
+ /** First-run setup shows subscription sign-ins without the full provider console. */
+ subscriptionsOnly?: boolean;
} = {}) {
const t = useT();
const [bridge, setBridge] = useState<SubagentStatus | null>(null);
@@ -276,8 +279,9 @@ export function JarvisAgentSection({
// Same rule as the provider tiers: own-hardware cards stay, plus whichever
// card is the ACTIVE worker, so the tab can always show what is running.
const isActiveRow = (r: SubagentMappingRow) => r.is_active_brain;
- const { visible: localVisibleRows, hiddenCount: hiddenByLocalMode } =
- filterForLocalMode(bridge.mapping, localMode, isActiveRow);
+ const { visible: localVisibleRows, hiddenCount: hiddenByLocalMode } = subscriptionsOnly
+ ? { visible: bridge.mapping, hiddenCount: 0 }
+ : filterForLocalMode(bridge.mapping, localMode, isActiveRow);
const shown = new Set(localVisibleRows.map((r) => r.jarvis));
const inLocalMode = (r: SubagentMappingRow | undefined) =>
r && shown.has(r.jarvis) ? r : undefined;
@@ -329,6 +333,39 @@ export function JarvisAgentSection({
onToggle: () => toggleRow(id),
});
+ if (subscriptionsOnly) {
+ return (
+ <section className="space-y-3" data-testid="onboarding-subscription-list">
+ {hasSubscriptionColumn ? (
+ <AgentGroup
+ icon={Terminal}
+ title={t("onboarding.api_keys.agents_subscriptions_label")}
+ hint={t("onboarding.api_keys.agents_subscriptions_hint")}
+ testId="agent-group-clis"
+ >
+ {codexRow && (
+ <CodexConnectionCard status={codexStatus} row={codexRow} onChanged={reload} {...disclosure("openai-codex")} />
+ )}
+ {antigravityRow && (
+ <AntigravityConnectionCard status={antigravityStatus} row={antigravityRow} onChanged={reload} {...disclosure("antigravity")} />
+ )}
+ {claudeRow && (
+ <ClaudeConnectionCard status={claudeStatus} row={claudeRow} onChanged={reload} {...disclosure("claude-api:sub")} />
+ )}
+ {grokBuildRow && (
+ <GrokBuildConnectionCard status={grokBuildStatus} row={grokBuildRow} onChanged={reload} {...disclosure("grok-build")} />
+ )}
+ {subProviderRows.map((row) => (
+ <SubagentProviderCard key={row.jarvis} row={row} onSwitched={reload} {...disclosure(row.jarvis)} />
+ ))}
+ </AgentGroup>
+ ) : (
+ <p className="text-sm text-muted-foreground">{t("onboarding.api_keys.agents_unavailable")}</p>
+ )}
+ </section>
+ );
+ }
+
return (
<section className="space-y-4">
{!hideHeader && <SectionHeader label={t("apikeys_view.tier_subagent")} />}
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/AgentAccessList.tsx b/jarvis/ui/web/frontend/src/components/onboarding/AgentAccessList.tsx
new file mode 100644
index 0000000000..0085baf78b
--- /dev/null
+++ b/jarvis/ui/web/frontend/src/components/onboarding/AgentAccessList.tsx
@@ -0,0 +1,136 @@
+import { useState } from "react";
+import { ChevronDown, KeyRound } from "lucide-react";
+import { ApiKeyForm } from "@/components/ApiKeyForm";
+import { Button, FOCUS_RING } from "@/components/agentic/controls";
+import { JarvisAgentSection } from "@/components/JarvisAgentSection";
+import { switchSubagentProvider } from "@/hooks/useProviders";
+import { useT } from "@/i18n";
+import { cn } from "@/lib/utils";
+import { StatusLine } from "./primitives";
+
+export interface AgentAccessRow {
+ jarvis: string;
+ label?: string | null;
+ billing?: string;
+ secret_key?: string | null;
+ dashboard_url?: string | null;
+ credential_help?: string | null;
+ dedicated_key_set?: boolean;
+ oauth_connected?: boolean;
+ is_active_brain?: boolean;
+ keyless?: boolean;
+}
+
+/** Keep the API key choices visible during onboarding; only the selected form expands. */
+export function AgentAccessList({
+ rows,
+ onChanged,
+}: {
+ rows: AgentAccessRow[] | null;
+ onChanged: () => void | Promise<void>;
+}) {
+ const t = useT();
+ const [selectedId, setSelectedId] = useState<string | null>(null);
+ const [subscriptionsOpen, setSubscriptionsOpen] = useState(false);
+ const [switching, setSwitching] = useState(false);
+ const [error, setError] = useState<string | null>(null);
+ const keyRows = (rows ?? []).filter((row) =>
+ row.secret_key && (row.billing === "api" || row.billing === "subscription_or_api"),
+ );
+ const selected = keyRows.find((row) => row.jarvis === selectedId) ??
+ keyRows.find((row) => row.is_active_brain) ?? keyRows[0];
+
+ async function activate(row: AgentAccessRow) {
+ if (switching) return;
+ setSwitching(true);
+ setError(null);
+ try {
+ await switchSubagentProvider(row.jarvis);
+ window.dispatchEvent(new CustomEvent("jarvis:agent-switched"));
+ await onChanged();
+ } catch (cause) {
+ setError(cause instanceof Error ? cause.message : String(cause));
+ } finally {
+ setSwitching(false);
+ }
+ }
+
+ return (
+ <div className="space-y-4" data-testid="onboarding-agent-access">
+ <div>
+ <p className="flex items-center gap-2 text-sm font-semibold text-foreground">
+ <KeyRound className="h-4 w-4 text-primary" />
+ {t("onboarding.api_keys.agents_api_title")}
+ </p>
+ <p className="mt-1 text-sm text-muted-foreground">{t("onboarding.api_keys.agents_api_hint")}</p>
+ </div>
+ {rows === null ? (
+ <p className="text-sm text-muted-foreground">{t("onboarding.api_keys.agents_loading")}</p>
+ ) : keyRows.length === 0 ? (
+ <StatusLine tone="warning">{t("onboarding.api_keys.agents_unavailable")}</StatusLine>
+ ) : (
+ <div className="overflow-hidden rounded-xl border border-border bg-card" data-testid="onboarding-agent-key-list">
+ {keyRows.map((row) => (
+ <button
+ key={row.jarvis}
+ type="button"
+ aria-pressed={selected?.jarvis === row.jarvis}
+ data-testid={`onboarding-agent-key-${row.jarvis}`}
+ onClick={() => setSelectedId(row.jarvis)}
+ className={cn(
+ "flex w-full items-center justify-between gap-3 border-b border-border/60 px-4 py-3 text-left last:border-b-0 hover:bg-secondary/50",
+ selected?.jarvis === row.jarvis && "bg-secondary/40",
+ FOCUS_RING,
+ )}
+ >
+ <span className="text-sm font-medium text-foreground">{row.label || row.jarvis}</span>
+ <span className="text-xs text-muted-foreground">
+ {row.dedicated_key_set
+ ? row.is_active_brain
+ ? t("onboarding.api_keys.agents_active")
+ : t("onboarding.api_keys.configured")
+ : t("onboarding.api_keys.not_configured")}
+ </span>
+ </button>
+ ))}
+ </div>
+ )}
+ {selected?.secret_key && (
+ <div className="rounded-xl border border-border bg-card p-4" data-testid="onboarding-agent-key-form">
+ <p className="mb-3 text-sm font-semibold text-foreground">{selected.label || selected.jarvis}</p>
+ <ApiKeyForm
+ key={selected.secret_key}
+ secretKey={selected.secret_key}
+ dashboardUrl={selected.dashboard_url ?? null}
+ configured={Boolean(selected.dedicated_key_set)}
+ credentialHelp={selected.credential_help}
+ onChanged={onChanged}
+ onSavedActivate={() => void activate(selected)}
+ />
+ {selected.dedicated_key_set && !selected.is_active_brain && (
+ <Button variant="quiet" disabled={switching} onClick={() => void activate(selected)}>
+ {t("onboarding.api_keys.agents_use_key")}
+ </Button>
+ )}
+ </div>
+ )}
+ {error && <StatusLine tone="error">{error}</StatusLine>}
+ <div className="border-t border-border pt-3">
+ <button
+ type="button"
+ aria-expanded={subscriptionsOpen}
+ onClick={() => setSubscriptionsOpen((open) => !open)}
+ className={cn("flex w-full items-center justify-between gap-3 text-left text-sm text-muted-foreground hover:text-foreground", FOCUS_RING)}
+ >
+ {t("onboarding.api_keys.agents_subscription_title")}
+ <ChevronDown className={cn("h-4 w-4 transition-transform", subscriptionsOpen && "rotate-180")} />
+ </button>
+ {subscriptionsOpen && (
+ <div className="mt-4" data-testid="onboarding-agent-subscriptions">
+ <JarvisAgentSection hideHeader subscriptionsOnly />
+ </div>
+ )}
+ </div>
+ </div>
+ );
+}
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.test.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.test.tsx
index 4f13ba543f..c41909132b 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.test.tsx
@@ -18,6 +18,13 @@ const providersState = vi.hoisted(() => ({
body: JSON.stringify({ provider }),
});
}),
+ switchSubagentProvider: vi.fn(async (provider: string) => {
+ await fetch("/api/jarvis-agent/switch", {
+ method: "POST",
+ headers: { "Content-Type": "application/json" },
+ body: JSON.stringify({ provider, persist: true }),
+ });
+ }),
}));
vi.mock("@/hooks/useProviders", () => ({
useProviders: () => ({
@@ -27,6 +34,7 @@ vi.mock("@/hooks/useProviders", () => ({
refetch: providersState.refetch,
}),
switchBrainProvider: providersState.switchBrainProvider,
+ switchSubagentProvider: providersState.switchSubagentProvider,
}));
// The real form is exercised by its own tests; here it is a probe that
// reports which slot it was mounted for and lets a test "save" a key.
@@ -82,6 +90,7 @@ afterEach(() => {
providersState.error = null;
providersState.refetch.mockClear();
providersState.switchBrainProvider.mockClear();
+ providersState.switchSubagentProvider.mockClear();
plansState.plans = [];
plansState.selected = null;
plansState.fail = true;
@@ -128,9 +137,12 @@ function stubFetch(probe: ProbeShape, agentReady = false) {
return { ok: true, json: async () => probe } as Response;
}
if (url === "/api/jarvis-agent/status") {
- return { ok: true, json: async () => ({ mapping: [{ is_active_brain: true, dedicated_key_set: agentReady }] }) } as Response;
+ return { ok: true, json: async () => ({ mapping: [
+ { jarvis: "gemini", label: "Google Gemini", billing: "api", secret_key: "agent_gemini_key", is_active_brain: true, dedicated_key_set: agentReady },
+ { jarvis: "openai", label: "OpenAI", billing: "api", secret_key: "agent_openai_key", is_active_brain: false, dedicated_key_set: false },
+ ] }) } as Response;
}
- if (url === "/api/brain/switch" || url === "/api/settings/voice-mode") {
+ if (url === "/api/brain/switch" || url === "/api/settings/voice-mode" || url === "/api/jarvis-agent/switch") {
return { ok: true, json: async () => ({ ok: true }) } as Response;
}
throw new Error(`unexpected fetch: ${url}`);
@@ -307,7 +319,7 @@ it("with Ollama running but empty, explains the missing model and shows no activ
expect(screen.queryByRole("button", { name: "onboarding.api_keys.local_use_button" })).toBeNull();
});
-it("requires agent access in addition to the live key and exposes its connection options", async () => {
+it("shows Jarvis Agent API-key choices immediately and keeps subscription access available", async () => {
plansState.fail = false;
plansState.plans = [GEMINI_PLAN];
providersState.providers = [
@@ -318,7 +330,14 @@ it("requires agent access in addition to the live key and exposes its connection
await screen.findByTestId("onboarding-plan-gemini-live");
await waitFor(() => expect(p.setGap).toHaveBeenLastCalledWith("onboarding.api_keys.gap_agents"));
expect((screen.getByTestId("onboarding-primary") as HTMLButtonElement).disabled).toBe(true);
- fireEvent.click(screen.getByRole("button", { name: "onboarding.api_keys.agents_connect" }));
+ expect(screen.getByTestId("onboarding-agent-key-gemini")).toBeDefined();
+ expect(screen.getByTestId("onboarding-agent-key-openai")).toBeDefined();
+ expect(screen.getByTestId("form-agent_gemini_key")).toBeDefined();
+ fireEvent.click(screen.getByTestId("onboarding-agent-key-openai"));
+ expect(screen.getByTestId("form-agent_openai_key")).toBeDefined();
+ fireEvent.click(screen.getByTestId("form-agent_openai_key").querySelector("button")!);
+ await waitFor(() => expect(providersState.switchSubagentProvider).toHaveBeenCalledWith("openai"));
+ fireEvent.click(screen.getByRole("button", { name: "onboarding.api_keys.agents_subscription_title" }));
expect(screen.getByTestId("agent-connection-options")).toBeDefined();
cleanup();
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx
index 2a96706f9e..9f99fe6741 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx
@@ -1,7 +1,6 @@
-import { useEffect, useMemo, useState } from "react";
-import { ChevronDown, ExternalLink, KeyRound, Radio, Bot } from "lucide-react";
+import { useCallback, useEffect, useMemo, useState } from "react";
+import { ChevronDown, ExternalLink, Radio, Bot } from "lucide-react";
import { ApiKeyForm } from "@/components/ApiKeyForm";
-import { JarvisAgentSection } from "@/components/JarvisAgentSection";
import { Button, FOCUS_RING } from "@/components/agentic/controls";
import {
switchBrainProvider,
@@ -22,6 +21,7 @@ import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { StepProps } from "../OnboardingFlow";
import { ChoiceRow, StatusLine, StepFooter, StepSection } from "../primitives";
+import { AgentAccessList, type AgentAccessRow } from "../AgentAccessList";
/** The "I'll pick everything myself" choice; mirrors the backend's custom id. */
const CUSTOM_PLAN = "custom";
@@ -225,8 +225,7 @@ export function ApiKeysStep({ goNext, goBack, skip, setSummary, setGap }: StepPr
const [open, setOpen] = useState<string | null>(null);
const [expanded, setExpanded] = useState(false);
const [localActive, setLocalActive] = useState(false);
- const [agentsOpen, setAgentsOpen] = useState(false);
- const [agentReady, setAgentReady] = useState(false);
+ const [agentRows, setAgentRows] = useState<AgentAccessRow[] | null>(null);
// Starter plans: "one key and you are done". The recommended plan is
// preselected; "custom" shows the whole catalog exactly as before.
@@ -272,36 +271,31 @@ export function ApiKeysStep({ goNext, goBack, skip, setSummary, setGap }: StepPr
const planComplete = plan ? planKeysComplete(plan, allStartable) : false;
const planApplied = Boolean(plan && applied?.id === plan.id && applied.outcome.modeSet && applied.outcome.failed.length === 0);
+ const refreshAgentRows = useCallback(async () => {
+ try {
+ const response = await fetch("/api/jarvis-agent/status", { cache: "no-store" });
+ if (!response.ok) throw new Error(`HTTP ${response.status}`);
+ const status = await response.json() as { mapping?: AgentAccessRow[] };
+ setAgentRows(Array.isArray(status.mapping) ? status.mapping : []);
+ } catch {
+ setAgentRows([]);
+ }
+ }, []);
+ const agentReady = Boolean(agentRows?.some((row) =>
+ row.is_active_brain && (row.dedicated_key_set || row.oauth_connected || row.keyless),
+ ));
+
useEffect(() => {
- let cancelled = false;
- const refresh = async () => {
- try {
- const response = await fetch("/api/jarvis-agent/status", { cache: "no-store" });
- if (!response.ok) return;
- const status = await response.json() as { mapping?: {
- is_active_brain?: boolean;
- dedicated_key_set?: boolean;
- oauth_connected?: boolean;
- keyless?: boolean;
- }[] };
- if (!cancelled) setAgentReady(Boolean(status.mapping?.some((row) =>
- row.is_active_brain && (row.dedicated_key_set || row.oauth_connected || row.keyless),
- )));
- } catch {
- // Agent access remains visibly unconfigured while the status endpoint is unavailable.
- }
- };
- void refresh();
- const timer = agentsOpen ? window.setInterval(() => void refresh(), 3000) : null;
- window.addEventListener("jarvis:agent-switched", refresh);
- window.addEventListener("jarvis:secret-configured", refresh);
+ void refreshAgentRows();
+ const timer = window.setInterval(() => void refreshAgentRows(), 3000);
+ window.addEventListener("jarvis:agent-switched", refreshAgentRows);
+ window.addEventListener("jarvis:secret-configured", refreshAgentRows);
return () => {
- cancelled = true;
- if (timer !== null) window.clearInterval(timer);
- window.removeEventListener("jarvis:agent-switched", refresh);
- window.removeEventListener("jarvis:secret-configured", refresh);
+ window.clearInterval(timer);
+ window.removeEventListener("jarvis:agent-switched", refreshAgentRows);
+ window.removeEventListener("jarvis:secret-configured", refreshAgentRows);
};
- }, [agentsOpen]);
+ }, [refreshAgentRows]);
// Once the live key is saved, point voice and its thinking model at it. Agent
// access remains a separate choice below. Runs
@@ -591,24 +585,18 @@ export function ApiKeysStep({ goNext, goBack, skip, setSummary, setGap }: StepPr
{plan && (
<StepSection label={t("onboarding.api_keys.agents_label")}>
- <div className="rounded-xl border border-border bg-card p-4">
- <div className="flex flex-wrap items-start justify-between gap-3">
- <div className="flex min-w-0 items-start gap-3">
- <Bot className="mt-0.5 h-5 w-5 shrink-0 text-primary" />
- <div>
- <p className="text-sm font-semibold text-foreground">{t("onboarding.api_keys.agents_title")}</p>
- <p className="mt-1 text-sm leading-relaxed text-muted-foreground">{t("onboarding.api_keys.agents_hint")}</p>
- <p className="mt-2 text-xs text-muted-foreground" data-testid="onboarding-agent-status">
- {agentReady ? t("onboarding.api_keys.agents_ready") : t("onboarding.api_keys.agents_missing")}
- </p>
- </div>
+ <div className="space-y-4">
+ <div className="flex items-start gap-3">
+ <Bot className="mt-0.5 h-5 w-5 shrink-0 text-primary" />
+ <div>
+ <p className="text-sm font-semibold text-foreground">{t("onboarding.api_keys.agents_title")}</p>
+ <p className="mt-1 text-sm leading-relaxed text-muted-foreground">{t("onboarding.api_keys.agents_hint")}</p>
+ <p className="mt-2 text-xs text-muted-foreground" data-testid="onboarding-agent-status">
+ {agentReady ? t("onboarding.api_keys.agents_ready") : t("onboarding.api_keys.agents_missing")}
+ </p>
</div>
- <Button variant="quiet" onClick={() => setAgentsOpen((value) => !value)}>
- <KeyRound className="mr-1.5 h-4 w-4" />
- {t(agentsOpen ? "onboarding.api_keys.agents_hide" : "onboarding.api_keys.agents_connect")}
- </Button>
</div>
- {agentsOpen && <div className="mt-5 border-t border-border pt-4" data-testid="onboarding-agent-options"><JarvisAgentSection hideHeader /></div>}
+ <AgentAccessList rows={agentRows} onChanged={refreshAgentRows} />
</div>
</StepSection>
)}
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 00d834d916..105ed954d4 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -2910,8 +2910,8 @@
},
"api-keys": {
"label": "Verbindungen",
- "title": "Live-Sprache und Agenten einrichten",
- "hint": "Wähle den Anbieter für Live-Sprache und verbinde danach einen API-Key oder ein Abo für Hintergrund-Agenten."
+ "title": "Live-Sprache und Jarvis-Agenten einrichten",
+ "hint": "Wähle den Anbieter für Live-Sprache und verbinde danach einen API-Key oder ein Abo für Jarvis-Agenten."
},
"permissions": {
"label": "Berechtigungen",
@@ -2966,14 +2966,21 @@
"voice_label": "01 · Real-Time-Sprache",
"voice_key_label": "Live-API-Key",
"voice_key_hint": "Ein Key für Live-Gespräche. OpenAI ist empfohlen; Gemini Live funktioniert ebenfalls.",
- "agents_label": "02 · Sub-Agents",
- "agents_title": "Agenten-Zugang verbinden",
- "agents_hint": "Nutze einen separaten API-Key oder melde dich mit einem unterstützten Abo für Hintergrundaufgaben und Coding-Agenten an.",
- "agents_ready": "Agenten-Zugang verbunden",
- "agents_missing": "Für Agenten fehlt noch ein API-Key oder Abo",
- "agents_connect": "Agenten verbinden",
- "agents_hide": "Optionen ausblenden",
- "gap_agents": "Live-Sprache ist eingerichtet, aber Sub-Agents brauchen noch einen API-Key oder ein Abo.",
+ "agents_label": "02 · Jarvis-Agenten",
+ "agents_title": "Jarvis-Agenten verbinden",
+ "agents_hint": "Wähle unten einen API-Key-Anbieter oder verbinde ein unterstütztes Abo für Hintergrundaufgaben.",
+ "agents_ready": "Jarvis-Agenten verbunden",
+ "agents_missing": "Für Jarvis-Agenten fehlt noch ein API-Key oder Abo",
+ "agents_api_title": "API-Keys",
+ "agents_api_hint": "Wähle einen Anbieter. Das passende Key-Feld öffnet sich direkt unter der Liste.",
+ "agents_loading": "Agenten-Anbieter werden geladen…",
+ "agents_unavailable": "Agenten-Anbieter sind gerade nicht verfügbar.",
+ "agents_active": "Aktiv",
+ "agents_use_key": "Für Jarvis-Agenten nutzen",
+ "agents_subscription_title": "Stattdessen ein Abo verbinden",
+ "agents_subscriptions_label": "Abos",
+ "agents_subscriptions_hint": "Mit einem bestehenden Abo anmelden",
+ "gap_agents": "Live-Sprache ist eingerichtet, aber Jarvis-Agenten brauchen noch einen API-Key oder ein Abo.",
"providers_label": "Anbieter",
"loading": "Anbieter werden geladen…",
"load_failed": "Die Anbieterliste konnte nicht geladen werden. Du kannst später unter API-Schlüssel einen Schlüssel hinzufügen.",
@@ -2994,14 +3001,14 @@
"local_missing_link": "Ollama holen",
"security_note": "Schlüssel liegen im Schlüsselbund deines Systems und gehen nur an den Anbieter, den du gewählt hast — nie in Chat oder Sprache.",
"later": "Später — Schlüssel in den Einstellungen hinzufügen",
- "later_hint": "Live-Sprache braucht einen Key; Sub-Agents brauchen einen separaten Key oder ein Abo.",
+ "later_hint": "Live-Sprache braucht einen Key; Jarvis-Agenten brauchen einen separaten Key oder ein Abo.",
"summary_none": "Noch kein Schlüssel",
"summary_local": "Lokal · Ollama",
"plan_label": "Wie willst du starten?",
"plan_custom_title": "Erweitert: Anbieter selbst wählen oder ein lokales Modell nutzen",
"plan_custom_body": "Die komplette Provider-Liste — jeden Teil einzeln wählen.",
"plan_applying": "Richte alles für {0} ein…",
- "plan_applied": "{0} ist für Live-Sprache eingerichtet. Verbinde unten die Sub-Agents.",
+ "plan_applied": "{0} ist für Live-Sprache eingerichtet. Verbinde unten die Jarvis-Agenten.",
"plan_partial": "Das meiste ist eingerichtet; das hier hat nicht geklappt: {0}. Du kannst es später unter API-Keys nachholen.",
"plan_explainer": "Real-Time wird automatisch eingerichtet. Wähle den Anbieter für deine Live-Gespräche.",
"keys_one": "1 Schlüssel",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index ff98708503..006a304041 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -2943,8 +2943,8 @@
},
"api-keys": {
"label": "Connections",
- "title": "Set up live voice and agents",
- "hint": "Choose your live voice provider, then connect an API key or subscription for background agents."
+ "title": "Set up live voice and Jarvis Agents",
+ "hint": "Choose your live voice provider, then connect an API key or subscription for Jarvis Agents."
},
"permissions": {
"label": "Permissions",
@@ -2999,14 +2999,21 @@
"voice_label": "01 · Real-Time voice",
"voice_key_label": "Live API key",
"voice_key_hint": "One key for live conversation. OpenAI is recommended; Gemini Live works too.",
- "agents_label": "02 · Sub-Agents",
- "agents_title": "Connect agent access",
- "agents_hint": "Use a separate API key or sign in with a supported subscription for background work and coding agents.",
- "agents_ready": "Agent access connected",
- "agents_missing": "Agent access still needs a key or subscription",
- "agents_connect": "Connect agents",
- "agents_hide": "Hide options",
- "gap_agents": "Live voice is set up, but Sub-Agents still need an API key or subscription.",
+ "agents_label": "02 · Jarvis Agents",
+ "agents_title": "Connect Jarvis Agents",
+ "agents_hint": "Choose an API key below or connect a supported subscription for background work.",
+ "agents_ready": "Jarvis Agents connected",
+ "agents_missing": "Jarvis Agents still need an API key or subscription",
+ "agents_api_title": "API keys",
+ "agents_api_hint": "Choose a provider. Its key field opens directly below the list.",
+ "agents_loading": "Loading agent providers…",
+ "agents_unavailable": "Agent providers are unavailable right now.",
+ "agents_active": "Active",
+ "agents_use_key": "Use for Jarvis Agents",
+ "agents_subscription_title": "Use a subscription instead",
+ "agents_subscriptions_label": "Subscriptions",
+ "agents_subscriptions_hint": "Sign in with an existing plan",
+ "gap_agents": "Live voice is set up, but Jarvis Agents still need an API key or subscription.",
"providers_label": "Providers",
"loading": "Loading providers…",
"load_failed": "The provider list could not be loaded. You can add a key later under API Keys.",
@@ -3027,14 +3034,14 @@
"local_missing_link": "Get Ollama",
"security_note": "Keys are stored in your system keychain and only ever sent to the provider you chose — never into chat or voice.",
"later": "Later — add a key in Settings",
- "later_hint": "Live voice needs a key; Sub-Agents need a separate key or subscription.",
+ "later_hint": "Live voice needs a key; Jarvis Agents need a separate key or subscription.",
"summary_none": "No key yet",
"summary_local": "Local · Ollama",
"plan_label": "How do you want to start?",
"plan_custom_title": "Advanced: configure providers myself or use a local model",
"plan_custom_body": "The full provider list — choose each part on its own.",
"plan_applying": "Setting everything up for {0}…",
- "plan_applied": "{0} is set up for live voice. Connect Sub-Agents below.",
+ "plan_applied": "{0} is set up for live voice. Connect Jarvis Agents below.",
"plan_partial": "Most of it is set; this did not apply: {0}. You can fix it later under API Keys.",
"plan_explainer": "Real-Time is set automatically. Choose the provider for your live conversation.",
"keys_one": "1 key",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index de7728d387..956a246e01 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -2951,8 +2951,8 @@
},
"api-keys": {
"label": "Conexiones",
- "title": "Configura la voz en directo y los agentes",
- "hint": "Elige el proveedor de voz y conecta una clave API o suscripción para los agentes en segundo plano."
+ "title": "Configura la voz en directo y los agentes de Jarvis",
+ "hint": "Elige el proveedor de voz y conecta una clave API o suscripción para los agentes de Jarvis."
},
"permissions": {
"label": "Permisos",
@@ -3007,14 +3007,21 @@
"voice_label": "01 · Voz en tiempo real",
"voice_key_label": "Clave API de voz",
"voice_key_hint": "Una clave para hablar en directo. Se recomienda OpenAI; Gemini Live también funciona.",
- "agents_label": "02 · Subagentes",
- "agents_title": "Conecta el acceso para agentes",
- "agents_hint": "Usa una clave API independiente o inicia sesión con una suscripción compatible para tareas en segundo plano y agentes de programación.",
- "agents_ready": "Acceso para agentes conectado",
- "agents_missing": "Los agentes aún necesitan una clave API o suscripción",
- "agents_connect": "Conectar agentes",
- "agents_hide": "Ocultar opciones",
- "gap_agents": "La voz en directo está configurada, pero los subagentes aún necesitan una clave API o suscripción.",
+ "agents_label": "02 · Agentes de Jarvis",
+ "agents_title": "Conecta los agentes de Jarvis",
+ "agents_hint": "Elige un proveedor de claves API o conecta una suscripción compatible para tareas en segundo plano.",
+ "agents_ready": "Agentes de Jarvis conectados",
+ "agents_missing": "Los agentes de Jarvis aún necesitan una clave API o suscripción",
+ "agents_api_title": "Claves API",
+ "agents_api_hint": "Elige un proveedor. Su campo de clave se abre debajo de la lista.",
+ "agents_loading": "Cargando proveedores de agentes…",
+ "agents_unavailable": "Los proveedores de agentes no están disponibles ahora.",
+ "agents_active": "Activo",
+ "agents_use_key": "Usar para agentes de Jarvis",
+ "agents_subscription_title": "Usar una suscripción en su lugar",
+ "agents_subscriptions_label": "Suscripciones",
+ "agents_subscriptions_hint": "Inicia sesión con un plan existente",
+ "gap_agents": "La voz en directo está configurada, pero los agentes de Jarvis aún necesitan una clave API o suscripción.",
"providers_label": "Proveedores",
"loading": "Cargando proveedores…",
"load_failed": "No se pudo cargar la lista de proveedores. Puedes añadir una clave después en Claves API.",
@@ -3035,14 +3042,14 @@
"local_missing_link": "Obtener Ollama",
"security_note": "Las claves se guardan en el llavero de tu sistema y solo se envían al proveedor que elegiste — nunca al chat ni a la voz.",
"later": "Más tarde — añadir una clave en Ajustes",
- "later_hint": "La voz en directo necesita una clave; los subagentes necesitan otra clave o una suscripción.",
+ "later_hint": "La voz en directo necesita una clave; los agentes de Jarvis necesitan otra clave o una suscripción.",
"summary_none": "Aún sin clave",
"summary_local": "Local · Ollama",
"plan_label": "¿Cómo quieres empezar?",
"plan_custom_title": "Avanzado: elegir proveedores o usar un modelo local",
"plan_custom_body": "La lista completa de proveedores — elige cada parte por separado.",
"plan_applying": "Configurando todo para {0}…",
- "plan_applied": "{0} está configurado para voz en directo. Conecta los subagentes abajo.",
+ "plan_applied": "{0} está configurado para voz en directo. Conecta los agentes de Jarvis abajo.",
"plan_partial": "Casi todo está listo; esto no se aplicó: {0}. Puedes arreglarlo después en Claves API.",
"plan_explainer": "El modo en tiempo real se configura automáticamente. Elige el proveedor para tus conversaciones en directo.",
"keys_one": "1 clave",