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): full-window scale, plans say how many keys they need, and the last step lists what is still off

rubenluetke10-beep6a4a6105b871
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
index a5d27e3b29..521de543df 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/OnboardingFlow.tsx
@@ -25,6 +25,14 @@ export interface StepProps {
setSummary: (text: string | null) => void;
/** Every step's current summary, keyed by step id (the finish step reads it). */
summaries: Record<string, string | null>;
+ /**
+ * What this step leaves UNDONE, in one plain sentence — "no key yet, chat
+ * stays off", "wake word off until the local model is installed". The
+ * finish step lists every gap and asks for one acknowledgement before the
+ * assistant starts; a step with nothing missing reports null.
+ */
+ setGap: (text: string | null) => void;
+ gaps: Record<string, string | null>;
}
// Restart batching (2026-07-18): permissions + wake-word sit LAST before
@@ -103,6 +111,7 @@ export function OnboardingFlow({
const [maxVisited, setMaxVisited] = useState(0);
const [skipped, setSkipped] = useState<string[]>(onb.state?.skipped_steps ?? []);
const [summaries, setSummaries] = useState<Record<string, string | null>>({});
+ const [gaps, setGaps] = useState<Record<string, string | null>>({});
const safeIdx = Math.min(idx, steps.length - 1);
const stepKey = steps[safeIdx];
@@ -126,6 +135,13 @@ export function OnboardingFlow({
[stepKey],
);
+ const setGap = useCallback(
+ (text: string | null) => {
+ setGaps((g) => (g[stepKey] === text ? g : { ...g, [stepKey]: text }));
+ },
+ [stepKey],
+ );
+
const props: StepProps = {
onb,
goNext: () => advance(safeIdx + 1),
@@ -135,6 +151,8 @@ export function OnboardingFlow({
isLast: safeIdx === steps.length - 1,
setSummary,
summaries,
+ setGap,
+ gaps,
};
const title = t(`onboarding.steps.${stepKey}.title`);
@@ -143,12 +161,12 @@ export function OnboardingFlow({
return (
<div
data-testid="onboarding-flow"
- className="flex h-full min-h-0 flex-col font-display"
+ className="flex h-full min-h-0 flex-col font-display text-[15px]"
>
- <header className="shrink-0 border-b border-border/70 px-5 py-5 sm:px-8">
- <div className="mx-auto flex w-full max-w-5xl items-start justify-between gap-6">
+ <header className="shrink-0 border-b border-border/70 px-6 py-6 sm:px-12 xl:py-8">
+ <div className="mx-auto flex w-full max-w-[1400px] items-start justify-between gap-6">
<div className="min-w-0">
- <p className="text-[11px] font-semibold uppercase tracking-[0.16em] text-primary/80">
+ <p className="text-xs font-semibold uppercase tracking-[0.16em] text-primary/80">
{t("onboarding.eyebrow")}
<span className="px-2 text-muted-foreground/50">/</span>
<span
@@ -164,21 +182,21 @@ export function OnboardingFlow({
.replace("{1}", String(steps.length).padStart(2, "0"))}
</span>
</p>
- <h1 className="mt-2 text-xl font-semibold tracking-tight text-foreground [text-wrap:balance] sm:text-2xl">
+ <h1 className="mt-2 text-2xl font-semibold tracking-tight text-foreground [text-wrap:balance] sm:text-3xl xl:text-4xl">
{title}
</h1>
- <p className="mt-1 max-w-2xl text-sm leading-relaxed text-muted-foreground">
+ <p className="mt-2 max-w-3xl text-[15px] leading-relaxed text-muted-foreground xl:text-base">
{hint}
</p>
</div>
<div className="shrink-0 pt-0.5">
- <MascotGigi size={44} reactToVoice={false} enableComments={false} />
+ <MascotGigi size={56} reactToVoice={false} enableComments={false} />
</div>
</div>
</header>
<div className="min-h-0 flex-1 overflow-y-auto scrollbar-jarvis">
- <div className="mx-auto grid w-full max-w-5xl gap-x-10 gap-y-4 px-5 pb-8 pt-5 sm:px-8 lg:grid-cols-[200px_minmax(0,1fr)]">
+ <div className="mx-auto grid w-full max-w-[1400px] gap-x-14 gap-y-4 px-6 pb-12 pt-6 sm:px-12 lg:grid-cols-[260px_minmax(0,1fr)] xl:pt-8">
<nav aria-label={t("onboarding.progress_label")} className="min-w-0">
<ol
className="grid border-b border-border/70 lg:flex lg:flex-col lg:border-b-0 lg:border-r lg:pr-6"
@@ -197,7 +215,7 @@ export function OnboardingFlow({
disabled={!enabled}
onClick={() => setIdx(index)}
className={cn(
- "group relative w-full min-w-0 px-2 py-3 text-left transition-colors lg:px-0 lg:py-3.5",
+ "group relative w-full min-w-0 px-2 py-3 text-left transition-colors lg:px-0 lg:py-4",
"disabled:cursor-not-allowed disabled:opacity-35",
selected ? "text-foreground" : "text-muted-foreground",
)}
@@ -209,13 +227,13 @@ export function OnboardingFlow({
selected ? "bg-primary" : "bg-transparent",
)}
/>
- <span className="block font-mono text-[10px] tabular-nums text-muted-foreground/70">
+ <span className="block font-mono text-[11px] tabular-nums text-muted-foreground/70">
{(index + 1).toString().padStart(2, "0")}
</span>
- <span className="mt-1 block truncate text-sm font-medium">
+ <span className="mt-1 block truncate text-[15px] font-medium">
{t(`onboarding.steps.${key}.label`)}
</span>
- <span className="mt-0.5 hidden truncate text-[11px] text-muted-foreground lg:block">
+ <span className="mt-0.5 hidden truncate text-xs text-muted-foreground lg:block">
{summary ?? " "}
</span>
</button>
@@ -227,7 +245,7 @@ export function OnboardingFlow({
<section
key={stepKey}
- className="profile-rise min-w-0 pt-2"
+ className="profile-rise min-w-0 max-w-[920px] pt-2"
aria-labelledby="onboarding-step-title"
>
<h2 id="onboarding-step-title" className="sr-only">
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx b/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
index b0875b34be..8a578fa587 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/primitives.tsx
@@ -46,9 +46,9 @@ export function Register({
{items.map((item, index) => (
<li
key={item.key}
- className="grid grid-cols-[2rem_minmax(0,1fr)] items-baseline gap-2 border-b border-border/50 py-2.5 text-sm last:border-b-0"
+ className="grid grid-cols-[2.25rem_minmax(0,1fr)] items-baseline gap-2 border-b border-border/50 py-3 text-[15px] last:border-b-0"
>
- <span className="font-mono text-[10px] tabular-nums text-muted-foreground/70">
+ <span className="font-mono text-[11px] tabular-nums text-muted-foreground/70">
{(index + 1).toString().padStart(2, "0")}
</span>
<span className="flex min-w-0 items-start gap-2.5">
@@ -76,12 +76,18 @@ export function ChoiceRow({
body,
onSelect,
testId,
+ badge,
+ meta,
}: {
selected: boolean;
title: string;
body: string;
onSelect: () => void;
testId?: string;
+ /** A short gold tag after the title ("Recommended"). */
+ badge?: string | null;
+ /** Small mono facts on the right ("1 key · Pipeline"). */
+ meta?: ReactNode;
}) {
const t = useT();
return (
@@ -92,7 +98,7 @@ export function ChoiceRow({
data-testid={testId}
onClick={onSelect}
className={cn(
- "flex w-full items-start justify-between gap-4 rounded-control border px-4 py-3 text-left transition-colors",
+ "flex w-full items-start justify-between gap-4 rounded-control border px-5 py-4 text-left transition-colors",
FOCUS_RING,
selected
? "border-primary/70 bg-primary/[0.04]"
@@ -100,16 +106,28 @@ export function ChoiceRow({
)}
>
<span className="min-w-0">
- <span className="block text-sm font-medium text-foreground">{title}</span>
- <span className="mt-0.5 block text-[13px] leading-relaxed text-muted-foreground">
- {body}
+ <span className="flex flex-wrap items-baseline gap-x-2.5 gap-y-0.5">
+ <span className="text-base font-medium text-foreground">{title}</span>
+ {badge ? (
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-primary">
+ {badge}
+ </span>
+ ) : null}
</span>
+ <span className="mt-1 block text-sm leading-relaxed text-muted-foreground">{body}</span>
+ </span>
+ <span className="flex shrink-0 flex-col items-end gap-1.5 pt-0.5">
+ {selected ? (
+ <span className="text-[10px] font-semibold uppercase tracking-[0.14em] text-primary">
+ {t("onboarding.wake_word.selected")}
+ </span>
+ ) : null}
+ {meta ? (
+ <span className="font-mono text-[11px] uppercase tracking-[0.12em] text-muted-foreground">
+ {meta}
+ </span>
+ ) : null}
</span>
- {selected ? (
- <span className="shrink-0 pt-0.5 text-[10px] font-semibold uppercase tracking-[0.14em] text-primary">
- {t("onboarding.wake_word.selected")}
- </span>
- ) : null}
</button>
);
}
@@ -127,7 +145,7 @@ export function ConsentLine({
testId?: string;
}) {
return (
- <label className="flex cursor-pointer items-start gap-3 py-1 text-sm leading-relaxed">
+ <label className="flex cursor-pointer items-start gap-3 py-1 text-[15px] leading-relaxed">
<input
type="checkbox"
data-testid={testId}
@@ -158,7 +176,7 @@ export function StatusLine({
<p
data-testid={testId}
className={cn(
- "border-l-2 py-1 pl-3 text-[13px] leading-relaxed",
+ "border-l-2 py-1 pl-3 text-sm leading-relaxed",
tone === "ok" && "border-emerald-500/70 text-emerald-700 dark:text-emerald-400",
tone === "warning" && "border-amber-500/70 text-amber-700 dark:text-amber-300",
tone === "error" && "border-destructive/70 text-destructive",
@@ -198,7 +216,7 @@ export function StepFooter({
}) {
const t = useT();
return (
- <footer className="mt-8 flex min-h-10 flex-wrap items-center justify-between gap-3 border-t border-border/70 pt-5">
+ <footer className="mt-10 flex min-h-10 flex-wrap items-center justify-between gap-3 border-t border-border/70 pt-6">
{onBack ? (
<Button variant="subtle" onClick={onBack} data-testid="onboarding-back">
<ArrowLeft className="h-3.5 w-3.5" />
@@ -221,7 +239,7 @@ export function StepFooter({
) : null}
<Button
variant="primary"
- className="min-w-36 px-4"
+ className="h-10 min-w-40 px-5 text-[15px]"
onClick={primary.onClick}
disabled={primary.disabled || primary.busy}
data-testid={primary.testId ?? "onboarding-primary"}
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 a93bc663c4..0cb12f2bdc 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
@@ -142,6 +142,8 @@ function renderStep(overrides: Record<string, unknown> = {}) {
isFirst: false,
isLast: false,
setSummary: vi.fn(),
+ setGap: vi.fn(),
+ gaps: {},
summaries: {},
...overrides,
};
@@ -298,3 +300,47 @@ it("with Ollama running but empty, explains the missing model and shows no activ
await screen.findByText("onboarding.api_keys.local_detected_empty");
expect(screen.queryByRole("button", { name: "onboarding.api_keys.local_use_button" })).toBeNull();
});
+
+it("reports a gap while a two-key plan still misses a key, and clears it once complete", async () => {
+ plansState.fail = false;
+ plansState.plans = [
+ {
+ ...GEMINI_PLAN,
+ id: "gemini-openai-realtime",
+ label: "Gemini + OpenAI",
+ mode: "realtime",
+ recommended: false,
+ key_slots: [
+ { family: "gemini", slot: "gemini_api_key", label: "Google Gemini", present: true },
+ { family: "openai", slot: "openai_api_key", label: "OpenAI", present: false },
+ ],
+ },
+ ];
+ providersState.providers = [
+ provider({ id: "gemini", label: "Google Gemini", secret_keys: ["gemini_api_key"], secrets_set: { gemini_api_key: true }, configured: true }),
+ provider({ id: "openai", label: "OpenAI", secret_keys: ["openai_api_key"], secrets_set: { openai_api_key: false } }),
+ ];
+ stubFetch(null);
+ const p = renderStep();
+ // Not recommended, so not preselected: pick it as a user would.
+ fireEvent.click(await screen.findByTestId("onboarding-plan-gemini-openai-realtime"));
+ // The picker says how many keys and which engine each plan needs.
+ expect(screen.getByTestId("onboarding-plan-gemini-openai-realtime").textContent).toContain(
+ "onboarding.api_keys.keys_n",
+ );
+ expect(screen.getByTestId("onboarding-plan-gemini-openai-realtime").textContent).toContain(
+ "onboarding.api_keys.mode_realtime",
+ );
+ await waitFor(() =>
+ expect(p.setGap).toHaveBeenLastCalledWith("onboarding.api_keys.gap_plan_partial"),
+ );
+
+ providersState.providers = [
+ provider({ id: "gemini", label: "Google Gemini", secret_keys: ["gemini_api_key"], secrets_set: { gemini_api_key: true }, configured: true }),
+ provider({ id: "openai", label: "OpenAI", secret_keys: ["openai_api_key"], secrets_set: { openai_api_key: true }, configured: true }),
+ ];
+ cleanup();
+ const again = renderStep();
+ fireEvent.click(await screen.findByTestId("onboarding-plan-gemini-openai-realtime"));
+ await waitFor(() => expect(again.setGap).toHaveBeenLastCalledWith(null));
+});
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 ba7c63fc16..7a11504b72 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/ApiKeysStep.tsx
@@ -218,7 +218,7 @@ function LocalPath({ onActivated }: { onActivated: () => void }) {
* The list is driven by the backend catalog, so a catalog with one provider
* renders one row and nothing here changes.
*/
-export function ApiKeysStep({ goNext, goBack, skip, setSummary }: StepProps) {
+export function ApiKeysStep({ goNext, goBack, skip, setSummary, setGap }: StepProps) {
const t = useT();
const { providers, loading, error, refetch } = useProviders();
const [open, setOpen] = useState<string | null>(null);
@@ -305,6 +305,34 @@ export function ApiKeysStep({ goNext, goBack, skip, setSummary }: StepProps) {
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [hasKey, localActive, planApplied, configured.map((p) => p.id).join(","), setSummary, t]);
+ // What this step leaves undone, for the finish step's disclaimer. A plan
+ // that still misses a key is the important one: with "Gemini + OpenAI" and
+ // only the Gemini key saved, chat works but live voice does not — the user
+ // must see that before pressing Start, not discover it by talking.
+ useEffect(() => {
+ if (plan && !planComplete) {
+ const missing = plan.key_slots
+ .filter((s) => !allStartable.some((p) => primarySlot(p) === s.slot && slotEffective(p)))
+ .map((s) => s.label);
+ if (missing.length === plan.key_slots.length) {
+ setGap(t("onboarding.api_keys.gap_none"));
+ } else {
+ setGap(
+ t("onboarding.api_keys.gap_plan_partial")
+ .replace("{0}", planLabel(plan))
+ .replace("{1}", missing.join(", ")),
+ );
+ }
+ } else if (!hasKey && !localActive) {
+ setGap(t("onboarding.api_keys.gap_none"));
+ } else if (!plan && hasKey) {
+ setGap(t("onboarding.api_keys.gap_custom"));
+ } else {
+ setGap(null);
+ }
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [plan?.id, planComplete, hasKey, localActive, configured.map((p) => p.id).join(","), setGap, t]);
+
// Open the first row by default so a fresh install shows an input, not a
// list of closed doors. Once anything is configured, everything stays shut.
useEffect(() => {
@@ -346,29 +374,66 @@ export function ApiKeysStep({ goNext, goBack, skip, setSummary }: StepProps) {
<div className="space-y-8">
{plans.length > 0 && (
<StepSection label={t("onboarding.api_keys.plan_label")}>
+ <p className="text-sm leading-relaxed text-muted-foreground">
+ {t("onboarding.api_keys.plan_explainer")}
+ </p>
<div className="space-y-2" role="radiogroup" data-testid="onboarding-plan-picker">
- {plans.map((p) => (
- <ChoiceRow
- key={p.id}
- selected={planId === p.id}
- title={p.recommended ? `${planLabel(p)} — ${t("onboarding.api_keys.recommended")}` : planLabel(p)}
- body={planSummary(p)}
- onSelect={() => void choosePlan(p.id)}
- testId={`onboarding-plan-${p.id}`}
- />
- ))}
+ {plans.map((p) => {
+ const n = p.key_slots.length;
+ const keysLabel =
+ n === 1
+ ? t("onboarding.api_keys.keys_one")
+ : t("onboarding.api_keys.keys_n").replace("{0}", String(n));
+ const modeLabel =
+ p.mode === "realtime"
+ ? t("onboarding.api_keys.mode_realtime")
+ : t("onboarding.api_keys.mode_pipeline");
+ return (
+ <ChoiceRow
+ key={p.id}
+ selected={planId === p.id}
+ title={planLabel(p)}
+ badge={p.recommended ? t("onboarding.api_keys.recommended") : null}
+ body={`${planSummary(p)} ${t("onboarding.api_keys.plan_keys_from").replace(
+ "{0}",
+ p.key_slots.map((s) => s.label).join(" + "),
+ )}`}
+ meta={
+ <>
+ <span className={n === 1 ? "text-primary" : undefined}>{keysLabel}</span>
+ <span className="px-1.5 text-muted-foreground/50">·</span>
+ {modeLabel}
+ </>
+ }
+ onSelect={() => void choosePlan(p.id)}
+ testId={`onboarding-plan-${p.id}`}
+ />
+ );
+ })}
<ChoiceRow
selected={planId === CUSTOM_PLAN}
title={t("onboarding.api_keys.plan_custom_title")}
body={t("onboarding.api_keys.plan_custom_body")}
+ meta={t("onboarding.api_keys.keys_several")}
onSelect={() => void choosePlan(CUSTOM_PLAN)}
testId="onboarding-plan-custom"
/>
</div>
+ <p className="text-sm leading-relaxed text-muted-foreground">
+ {t("onboarding.api_keys.mode_explainer")}
+ </p>
</StepSection>
)}
- <StepSection label={t("onboarding.api_keys.providers_label")}>
+ <StepSection
+ label={
+ plan
+ ? t("onboarding.api_keys.plan_progress")
+ .replace("{0}", String(configured.length))
+ .replace("{1}", String(plan.key_slots.length))
+ : t("onboarding.api_keys.providers_label")
+ }
+ >
{loading && startable.length === 0 ? (
<p className="text-[13px] text-muted-foreground">{t("onboarding.api_keys.loading")}</p>
) : error && startable.length === 0 ? (
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.test.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.test.tsx
index c05d123a4c..821fab8938 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.test.tsx
@@ -33,6 +33,8 @@ function props(overrides: Record<string, unknown> = {}) {
isFirst: false,
isLast: true,
setSummary: vi.fn(),
+ setGap: vi.fn(),
+ gaps: {},
summaries: { language: "Deutsch · Auto", "api-keys": "OpenRouter", "wake-word": "Hey Nova" },
...overrides,
};
@@ -123,3 +125,32 @@ it("the tour is an external link, not an embedded player", () => {
expect(link.target).toBe("_blank");
expect(document.querySelector("iframe")).toBeNull();
});
+
+it("with nothing missing there is no disclaimer and Start is live", () => {
+ render(<FinishStep {...props()} />);
+ expect(screen.queryByTestId("onboarding-gaps")).toBeNull();
+ expect(screen.queryByTestId("onboarding-gaps-ack")).toBeNull();
+ expect((screen.getByTestId("onboarding-start") as HTMLButtonElement).disabled).toBe(false);
+});
+
+it("lists every reported gap and every skipped step, and Start waits for the acknowledgement", () => {
+ const p = props({
+ onb: {
+ state: { skipped_steps: ["wake-word"], steps: STEPS },
+ complete: vi.fn(),
+ } as never,
+ summaries: { language: "Deutsch · Auto", "api-keys": "Gemini + OpenAI · Google Gemini" },
+ gaps: { "api-keys": "OpenAI key missing — live voice stays off." },
+ });
+ render(<FinishStep {...p} />);
+ const gaps = screen.getByTestId("onboarding-gaps");
+ expect(gaps.textContent).toContain("OpenAI key missing");
+ expect(gaps.textContent).toContain("onboarding.finish.gap_skipped_wake_word");
+ // A step that reported nothing and was not skipped is not listed.
+ expect(gaps.textContent).not.toContain("gap_skipped_language");
+
+ const start = screen.getByTestId("onboarding-start") as HTMLButtonElement;
+ expect(start.disabled).toBe(true);
+ fireEvent.click(screen.getByTestId("onboarding-gaps-ack"));
+ expect(start.disabled).toBe(false);
+});
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
index 3f35b27af1..f043748dbc 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/FinishStep.tsx
@@ -3,7 +3,7 @@ import { ExternalLink, Play } from "lucide-react";
import { Switch } from "@/components/ui/switch";
import { useT } from "@/i18n";
import type { StepProps } from "../OnboardingFlow";
-import { StatusLine, StepFooter, StepSection } from "../primitives";
+import { ConsentLine, StatusLine, StepFooter, StepSection } from "../primitives";
interface AutostartState {
enabled: boolean;
@@ -26,12 +26,26 @@ const REVIEW_STEPS = ["language", "api-keys", "permissions", "wake-word"] as con
* the marker is written — and a failure shows in place instead of leaving
* the button dead.
*/
-export function FinishStep({ onb, goBack, summaries }: StepProps) {
+export function FinishStep({ onb, goBack, summaries, gaps }: StepProps) {
const t = useT();
const skipped = new Set(onb.state?.skipped_steps ?? []);
const steps = onb.state?.steps ?? [];
const [busy, setBusy] = useState(false);
const [error, setError] = useState<string | null>(null);
+ // The disclaimer: every gap a step reported, plus a generic line for any
+ // step that was skipped without reporting one. Nothing missing → no list,
+ // no checkbox, Start is live. Something missing → the user ticks that they
+ // have read what stays off before the assistant starts.
+ const [gapsAcknowledged, setGapsAcknowledged] = useState(false);
+ const gapList = REVIEW_STEPS.filter((key) => steps.includes(key)).flatMap((key) => {
+ const text = gaps[key];
+ if (text) return [{ key, text }];
+ if (skipped.has(key) && !summaries[key]) {
+ return [{ key, text: t(`onboarding.finish.gap_skipped_${key.replace("-", "_")}`) }];
+ }
+ return [];
+ });
+ const hasGaps = gapList.length > 0;
// "Start at login" toggle (formerly a terminal-wizard question).
// Capability-gated: hidden on hosts where autostart is unsupported
@@ -148,7 +162,40 @@ export function FinishStep({ onb, goBack, summaries }: StepProps) {
</a>
</StepSection>
- <p className="text-[13px] leading-relaxed text-muted-foreground">
+ {hasGaps && (
+ <StepSection label={t("onboarding.finish.gaps_label")}>
+ <div
+ data-testid="onboarding-gaps"
+ className="space-y-3 border-l-2 border-amber-500/70 py-1 pl-4"
+ >
+ <p className="text-[15px] font-medium text-foreground">
+ {t("onboarding.finish.gaps_intro")}
+ </p>
+ <ul className="space-y-2">
+ {gapList.map((g) => (
+ <li key={g.key} className="grid grid-cols-[auto_minmax(0,1fr)] gap-x-3 text-sm">
+ <span className="pt-0.5 font-mono text-[11px] uppercase tracking-[0.12em] text-muted-foreground">
+ {t(`onboarding.steps.${g.key}.label`)}
+ </span>
+ <span className="leading-relaxed text-foreground">{g.text}</span>
+ </li>
+ ))}
+ </ul>
+ <p className="text-sm leading-relaxed text-muted-foreground">
+ {t("onboarding.finish.gaps_outro")}
+ </p>
+ </div>
+ <ConsentLine
+ checked={gapsAcknowledged}
+ onChange={setGapsAcknowledged}
+ testId="onboarding-gaps-ack"
+ >
+ {t("onboarding.finish.gaps_ack")}
+ </ConsentLine>
+ </StepSection>
+ )}
+
+ <p className="text-sm leading-relaxed text-muted-foreground">
{t("onboarding.finish.boot_notice")}
</p>
@@ -160,6 +207,7 @@ export function FinishStep({ onb, goBack, summaries }: StepProps) {
label: busy ? t("onboarding.finish.starting") : t("onboarding.finish.start_cta"),
onClick: () => void start(),
busy,
+ disabled: hasGaps && !gapsAcknowledged,
testId: "onboarding-start",
}}
hidePrimaryArrow
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/LanguageStep.test.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/LanguageStep.test.tsx
index f6382fa004..778230a375 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/LanguageStep.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/LanguageStep.test.tsx
@@ -26,6 +26,8 @@ it("changes UI language, reports the summary, and advances", async () => {
isFirst={false}
isLast={false}
setSummary={setSummary}
+ setGap={vi.fn()}
+ gaps={{}}
summaries={{}}
/>,
);
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/PermissionsStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/PermissionsStep.tsx
index 188dc44edf..99cb10100a 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/PermissionsStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/PermissionsStep.tsx
@@ -46,7 +46,7 @@ export function permissionSnapshotReady(snapshot: PermissionSnapshot | null): bo
* `visibleSteps`). The rows are the Settings panel's own, so what the user
* grants here is exactly what they will see there.
*/
-export function PermissionsStep({ goNext, goBack, skip, setSummary }: StepProps) {
+export function PermissionsStep({ goNext, goBack, skip, setSummary, setGap }: StepProps) {
const t = useT();
const [allReady, setAllReady] = useState(false);
const onSnapshot = useCallback((snapshot: PermissionSnapshot | null) => {
@@ -55,7 +55,8 @@ export function PermissionsStep({ goNext, goBack, skip, setSummary }: StepProps)
useEffect(() => {
setSummary(allReady ? t("onboarding.permissions.summary_ready") : null);
- }, [allReady, setSummary, t]);
+ setGap(allReady ? null : t("onboarding.permissions.gap"));
+ }, [allReady, setSummary, setGap, t]);
return (
<div className="space-y-6">
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.test.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.test.tsx
index 307dec51cf..91bc1eb484 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.test.tsx
@@ -48,6 +48,8 @@ function renderStep(goNext = vi.fn(), setSummary = vi.fn()) {
isFirst={false}
isLast={false}
setSummary={setSummary}
+ setGap={vi.fn()}
+ gaps={{}}
summaries={{}}
/>,
);
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.tsx
index 41605269d6..5384efe06e 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/WakeWordStep.tsx
@@ -40,7 +40,7 @@ type MicCheckState = "idle" | "checking" | "done";
* unfolds its input in place. One microphone check (the old step had two
* buttons wired to the same probe).
*/
-export function WakeWordStep({ onb, goNext, goBack, setSummary }: StepProps) {
+export function WakeWordStep({ onb, goNext, goBack, setSummary, setGap }: StepProps) {
const t = useT();
const { saveWakeWord, setWakeActivation } = useWakeWord();
const [mode, setMode] = useState<Mode>("wake");
@@ -116,6 +116,7 @@ export function WakeWordStep({ onb, goNext, goBack, setSummary }: StepProps) {
return;
}
await setWakeActivation(true);
+ setGap(null);
goNext();
} catch (e) {
setErr((e as Error).message);
@@ -129,6 +130,9 @@ export function WakeWordStep({ onb, goNext, goBack, setSummary }: StepProps) {
setErr(null);
try {
await setWakeActivation(true);
+ // The phrase is saved but nothing can hear it yet — the finish step
+ // must say so before the user expects "Hey X" to work.
+ setGap(t("onboarding.wake_word.gap_degraded").replace("{0}", `Hey ${trimmed}`));
goNext();
} catch (e) {
setErr((e as Error).message);
@@ -142,6 +146,7 @@ export function WakeWordStep({ onb, goNext, goBack, setSummary }: StepProps) {
setErr(null);
try {
await setWakeActivation(false);
+ setGap(null);
goNext();
} catch (e) {
setErr((e as Error).message);
diff --git a/jarvis/ui/web/frontend/src/components/onboarding/steps/WelcomeStep.test.tsx b/jarvis/ui/web/frontend/src/components/onboarding/steps/WelcomeStep.test.tsx
index 0e07aaf2c6..f7fe7f183c 100644
--- a/jarvis/ui/web/frontend/src/components/onboarding/steps/WelcomeStep.test.tsx
+++ b/jarvis/ui/web/frontend/src/components/onboarding/steps/WelcomeStep.test.tsx
@@ -23,6 +23,8 @@ it("renders the intro and the capability register; continue stays disabled until
onb={{ acceptTerms: vi.fn() } as never}
goNext={vi.fn()}
setSummary={vi.fn()}
+ setGap={vi.fn()}
+ gaps={{}}
/>,
);
expect(screen.getByTestId("intro")).toBeDefined();
@@ -48,6 +50,8 @@ it("AWAITS the terms record before advancing and reports the summary", async ()
onb={{ acceptTerms } as never}
goNext={goNext}
setSummary={setSummary}
+ setGap={vi.fn()}
+ gaps={{}}
/>,
);
fireEvent.click(screen.getByTestId("onboarding-accept"));
@@ -68,6 +72,8 @@ it("a failed acceptance stays on the step and says so", async () => {
onb={{ acceptTerms: vi.fn().mockRejectedValue(new Error("HTTP 503")) } as never}
goNext={goNext}
setSummary={vi.fn()}
+ setGap={vi.fn()}
+ gaps={{}}
/>,
);
fireEvent.click(screen.getByTestId("onboarding-accept"));
@@ -93,6 +99,8 @@ it("decline posts decline-terms and renders the goodbye state", async () => {
onb={{ acceptTerms: vi.fn() } as never}
goNext={vi.fn()}
setSummary={vi.fn()}
+ setGap={vi.fn()}
+ gaps={{}}
/>,
);
fireEvent.click(screen.getByTestId("onboarding-decline"));
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.json
index 644732d63c..e662f8ba4f 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json
@@ -712,7 +712,7 @@
"stat_done_label": "Fertig",
"stat_done_hint": "abgeschlossen und zurückgemeldet",
"stat_failed_label": "Fehlgeschlagen",
- "stat_failed_hint": "siehe Spalte Ergebnis",
+ "stat_failed_hint": "Zeile anklicken für die ganze Geschichte",
"stat_failed_hint_none": "nichts ist schiefgegangen",
"stat_tools_label": "Tool-Aufrufe",
"stat_tools_hint": "über alle Agents",
@@ -762,7 +762,130 @@
"provider_quota": "Anbieter-Kontingent erschöpft — Missionen weichen auf einen anderen Anbieter aus.",
"provider_unreachable": "Anbieter vorübergehend nicht erreichbar.",
"worker_timeout": "Der Worker hat das Zeitlimit überschritten."
- }
+ },
+ "insight_byline": "{agent} · gestartet {started} · Laufzeit {runtime}",
+ "insight_loading": "Der Verlauf des Laufs wird gelesen…",
+ "insight_load_error": "Der Verlauf des Laufs konnte nicht geladen werden: {detail}",
+ "action_open_output": "Ergebnis öffnen",
+ "action_map": "Missionskarte",
+ "no_output_dir": "Ausgabeordner liegt nicht mehr auf der Platte",
+ "tabs_label": "Laufprotokoll",
+ "tab_story": "Verlauf",
+ "tab_transcript": "Transkript",
+ "tab_review": "Prüfung",
+ "tab_output": "Ergebnis",
+ "stat_workers_label": "Worker",
+ "stat_workers_hint_none": "keiner gestartet",
+ "stat_tools_hint_run": "Aktionen in diesem Lauf",
+ "stat_reviews_label": "Prüfungen",
+ "stat_reviews_hint_none": "keine Überarbeitungsrunde",
+ "stat_reviews_hint_revisions": "{n} Überarbeitungsrunde(n)",
+ "stat_cost_label": "Kosten",
+ "stat_cost_hint_tokens": "{n} Tokens",
+ "stat_cost_hint_none": "kein Verbrauch gemeldet",
+ "outcome": {
+ "running": "Arbeitet noch",
+ "approved": "Geliefert",
+ "failed": "Nicht geliefert",
+ "cancelled": "Absichtlich gestoppt",
+ "timed_out": "Zeit abgelaufen"
+ },
+ "outcome_hint": {
+ "running": "Das Protokoll unten wächst, sobald der Agent sich meldet.",
+ "failed": "Hier steht, was kaputtging — mit den Worten des Anbieters und des Prüfers, wo sie welche hinterlassen haben.",
+ "cancelled": "Jemand hat diesen Lauf gestoppt, bevor er fertig war.",
+ "timed_out": "Der Lauf hat seine Frist überschritten, bevor er liefern konnte."
+ },
+ "outcome_approved_hint": "Geprüft und abgenommen · {n} gelieferte Datei(en)",
+ "line_reason": "Warum",
+ "line_error_class": "Ursache",
+ "line_provider_said": "Anbieter meldete",
+ "line_provider": "Anbieter",
+ "line_worker_stopped": "Worker gestoppt",
+ "line_worker_stopped_iter": "Worker (Runde {n}) gestoppt",
+ "line_reviewer": "Prüfer: {verdict}",
+ "line_correction": "Korrektur verlangt",
+ "line_last_state": "Abbruch während",
+ "line_partial": "Behalten",
+ "line_partial_text": "{n} Teil-Datei(en) sind erhalten und unter Ergebnis gelistet",
+ "line_deadline": "Frist",
+ "line_cascade": "Kaskade",
+ "line_cascade_text": "der laufende Worker wurde mit beendet",
+ "line_summary": "Zusammenfassung",
+ "line_revisions": "Überarbeitungen",
+ "line_revisions_text": "abgenommen nach {n} Überarbeitungsrunde(n)",
+ "line_progress": "Fortschritt",
+ "line_progress_text": "bisher {n} Meldungen",
+ "verdict": {
+ "approve": "abgenommen",
+ "revise": "überarbeiten",
+ "reject": "abgelehnt"
+ },
+ "reason": {
+ "task_error": "Die Aufgabe des Workers ist fehlgeschlagen",
+ "attempts_timed_out": "Jeder Versuch hat die Zeit überschritten",
+ "budget_exceeded": "Das Kostenbudget wurde überschritten",
+ "worktree_setup_failed": "Der Arbeitsbereich konnte nicht eingerichtet werden",
+ "critic_unavailable": "Kein Prüfer verfügbar, um das Ergebnis zu prüfen",
+ "critic_rejected": "Der Prüfer hat das Ergebnis abgelehnt",
+ "review_time_budget_exhausted": "Die Prüfung hat ihre Zeit überschritten",
+ "critic_loop_exhausted": "Der Prüfer hat bis zum Limit Überarbeitungen verlangt",
+ "decompose_failed": "Die Aufgabe ließ sich nicht in Schritte zerlegen",
+ "interrupted": "Die App wurde beendet, während der Lauf lief",
+ "mission_timed_out": "Der Lauf hat seine Frist überschritten",
+ "ui_cancel": "Von dir gestoppt",
+ "parent_cancelled": "Mit dem übergeordneten Lauf gestoppt"
+ },
+ "kill": {
+ "timeout": "Zeitlimit",
+ "user": "von dir gestoppt",
+ "budget": "Budget oder Anbieter-Kontingent",
+ "parent_cancelled": "übergeordneter Lauf gestoppt",
+ "injection_detected": "Prompt-Injection in seiner Ausgabe erkannt",
+ "path_guard": "er wollte einen geschützten Pfad anfassen",
+ "worker_error": "der Worker-Prozess ist abgestürzt"
+ },
+ "story": {
+ "dispatched": "Auftrag an den {agent} übergeben",
+ "plan": "Plan steht · {n} Worker",
+ "spawn": "Worker gestartet · {cli} · Runde {iter}",
+ "narration": "{agent} sagt",
+ "draft": "Entwurf an den Prüfer übergeben · {n} Diff-Zeilen",
+ "verdict": "Prüfer: {verdict} · {confidence}",
+ "correction": "Überarbeitung verlangt",
+ "correction_model": "Überarbeitung verlangt · nächstes Modell {model}",
+ "killed": "Worker gestoppt: {reason}",
+ "budget": "Budget-Warnung · {pct} von {limit}",
+ "approved": "Abgenommen und geliefert",
+ "failed": "Fehlgeschlagen: {reason}",
+ "cancelled": "Abgebrochen: {reason}",
+ "timed_out": "Zeit abgelaufen"
+ },
+ "story_empty": "Für diesen Lauf sind keine Ereignisse aufgezeichnet.",
+ "iteration_short": "Runde {n}",
+ "transcript_no_dir": "Das Worker-Transkript ist mit dem Ausgabeordner verschwunden — der Reiter Verlauf hat weiterhin jedes Ereignis des Laufs.",
+ "transcript_empty": "Das Transkript enthält für diesen Lauf keine Schritte.",
+ "transcript_truncated": "Das Transkript war länger als hier gezeigt.",
+ "transcript_dropped": "{n} weitere Schritte werden nicht gezeigt.",
+ "transcript_lane": "Worker {n}",
+ "final_answer": "Abschließende Antwort",
+ "step_writes": "schrieb {path}",
+ "step_status": {
+ "pending": "Ausstehend",
+ "running": "Läuft",
+ "done": "Fertig",
+ "failed": "Fehlgeschlagen",
+ "skipped": "Kein Ergebnis"
+ },
+ "review_empty": "Für diesen Lauf ist keine Prüfung aufgezeichnet.",
+ "output_empty": "Es wurde nichts geliefert.",
+ "deliverables": "{n} gelieferte Datei(en)",
+ "deliverables_truncated": "(Liste gekürzt)",
+ "see_more": "Mehr anzeigen",
+ "see_less": "Weniger anzeigen",
+ "fact_mission_id": "Mission",
+ "fact_request": "Auftrag",
+ "fact_result_uri": "Abgelegt unter"
},
"tasks_view": {
"title": "Automatisierungen",
@@ -2770,14 +2893,27 @@
"plan_custom_body": "Die komplette Provider-Liste — jeden Teil einzeln wählen.",
"plan_applying": "Richte alles für {0} ein…",
"plan_applied": "{0} ist eingerichtet: Denken, Tool-Modell, Agenten und Stimme zeigen alle auf deinen Schlüssel.",
- "plan_partial": "Das meiste ist eingerichtet; das hier hat nicht geklappt: {0}. Du kannst es später unter API-Keys nachholen."
+ "plan_partial": "Das meiste ist eingerichtet; das hier hat nicht geklappt: {0}. Du kannst es später unter API-Keys nachholen.",
+ "plan_explainer": "Wähle, wie {name} laufen soll. Jede Option sagt, wie viele Schlüssel sie braucht und welche Sprach-Engine sie nutzt — die meisten brauchen genau einen Schlüssel.",
+ "keys_one": "1 Schlüssel",
+ "keys_n": "{0} Schlüssel",
+ "keys_several": "Mehrere Schlüssel",
+ "mode_pipeline": "Pipeline",
+ "mode_realtime": "Realtime · Live-Stimme",
+ "plan_keys_from": "Schlüssel: {0}.",
+ "mode_explainer": "Pipeline = zuhören, denken, sprechen in drei Schritten; läuft mit jedem Anbieter. Realtime = ein Live-Sprachmodell, das antwortet, während du sprichst; das bieten nur Google Gemini und OpenAI — ein Claude- oder OpenRouter-Schlüssel allein kann kein Realtime.",
+ "plan_progress": "Schlüssel für diesen Plan · {0} von {1} gespeichert",
+ "gap_none": "Kein API-Schlüssel gespeichert — Chat und Sprache bleiben aus, bis du unter API-Schlüssel einen einträgst.",
+ "gap_plan_partial": "Bei {0} fehlt der Schlüssel für {1} — die Teile, die ihn brauchen (zum Beispiel die Live-Stimme), bleiben aus, bis du ihn unter API-Schlüssel einträgst.",
+ "gap_custom": "Du hast die Anbieter selbst gewählt — Spracheingabe, Sprachausgabe und die Agenten brauchen eventuell eigene Schlüssel. Prüfe das unter API-Schlüssel."
},
"permissions": {
"privacy_note": "Diese Abfragen kommen von macOS. Der Installer kann sie nicht still genehmigen, und {name} umgeht die Systemeinstellungen nie. Die Schlüsselbund-Abfrage beim App-Start bedeutet nur, dass deine API-Schlüssel verschlüsselt im macOS-Schlüsselbund gespeichert werden — sie verlassen deinen Mac nie.",
"continue": "Weiter",
"text_only": "Nur mit Text weitermachen",
"summary_ready": "Erteilt",
- "summary_skipped": "Nur Text"
+ "summary_skipped": "Nur Text",
+ "gap": "Nicht alle macOS-Berechtigungen sind erteilt — Sprach-, Bildschirm- und Tastaturfunktionen bleiben aus, bis du sie unter Einstellungen → Berechtigungen erlaubst."
},
"wake_word": {
"mode_label": "Aktivierung",
@@ -2812,7 +2948,8 @@
"no_device": "Kein Mikrofon erkannt — du kannst die Einrichtung trotzdem abschließen und das später in den Einstellungen beheben.",
"permission_required": "Erteile unter Berechtigungen zuerst den Mikrofonzugriff, bevor du diesen Test startest.",
"error": "Das Mikrofon konnte gerade nicht geprüft werden."
- }
+ },
+ "gap_degraded": "„{0}“ ist gespeichert, aber noch kann es niemand hören — das Aktivierungswort bleibt aus, bis das lokale Sprachmodell unter Einstellungen → Aktivierungswort installiert ist. Das Anruf-Kürzel funktioniert solange."
},
"finish": {
"summary_label": "Deine Einrichtung",
@@ -2825,7 +2962,15 @@
"boot_notice": "Der erste Start dauert etwa 10 Sekunden, während {name} aufwärmt — das ist normal.",
"start_cta": "{name} starten",
"starting": "Startet…",
- "start_failed": "Die Einrichtung konnte nicht abgeschlossen werden. Prüfe, ob die App läuft, und versuche es erneut."
+ "start_failed": "Die Einrichtung konnte nicht abgeschlossen werden. Prüfe, ob die App läuft, und versuche es erneut.",
+ "gaps_label": "Bevor du startest",
+ "gaps_intro": "Einige Dinge sind noch nicht eingerichtet. {name} startet, aber diese Teile bleiben aus:",
+ "gaps_outro": "Jeden Punkt kannst du später in den Einstellungen nachholen — nichts geht verloren.",
+ "gaps_ack": "Ich habe gelesen, was noch fehlt, und möchte trotzdem starten.",
+ "gap_skipped_language": "Sprache wurde übersprungen — {name} nutzt Englisch, bis du es in den Einstellungen änderst.",
+ "gap_skipped_api_keys": "Kein API-Schlüssel gespeichert — Chat und Sprache bleiben aus, bis du unter API-Schlüssel einen einträgst.",
+ "gap_skipped_permissions": "macOS-Berechtigungen wurden übersprungen — Sprach-, Bildschirm- und Tastaturfunktionen bleiben aus, bis du sie unter Einstellungen → Berechtigungen erlaubst.",
+ "gap_skipped_wake_word": "Die Aktivierung wurde übersprungen — nutze das Anruf-Kürzel oder lege in den Einstellungen ein Aktivierungswort fest."
},
"plans": {
"gemini_pipeline_label": "Pipeline mit Gemini",
@@ -5205,7 +5350,7 @@
"load_error": "Die Kosten konnten nicht gelesen werden. Dieser Bereich liest die eigenen Datenbanken der App — wenn das bleibt, ist der Datenordner nicht erreichbar.",
"stat_total": "Gesamtkosten",
"stat_total_hint": "{perDay} pro Tag im Schnitt",
- "stat_total_hint_seat": "{perDay}/Tag · {seat} über ein Abo",
+ "stat_total_hint_seat": "{billed} über API-Keys abgerechnet · {seat} durch Abos gedeckt",
"stat_tokens": "Tokens",
"stat_tokens_hint": "{in} rein · {out} raus",
"stat_tokens_hint_cached": "{in} rein · {cached} Cache · {out} raus",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.json
index b311d92d51..f3e37e3879 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json
@@ -712,7 +712,7 @@
"stat_done_label": "Done",
"stat_done_hint": "finished and reported back",
"stat_failed_label": "Failed",
- "stat_failed_hint": "see the result column",
+ "stat_failed_hint": "click a row for the full story",
"stat_failed_hint_none": "nothing broke",
"stat_tools_label": "Tool calls",
"stat_tools_hint": "across every agent",
@@ -762,7 +762,130 @@
"provider_quota": "Provider quota exhausted — missions retry on another provider.",
"provider_unreachable": "Provider temporarily unreachable.",
"worker_timeout": "The worker hit its time limit."
- }
+ },
+ "insight_byline": "{agent} · started {started} · ran {runtime}",
+ "insight_loading": "Reading the run's record…",
+ "insight_load_error": "The run's record could not be loaded: {detail}",
+ "action_open_output": "Open output",
+ "action_map": "Mission map",
+ "no_output_dir": "output directory no longer on disk",
+ "tabs_label": "Run record",
+ "tab_story": "Story",
+ "tab_transcript": "Transcript",
+ "tab_review": "Review",
+ "tab_output": "Output",
+ "stat_workers_label": "Workers",
+ "stat_workers_hint_none": "none spawned",
+ "stat_tools_hint_run": "actions in this run",
+ "stat_reviews_label": "Reviews",
+ "stat_reviews_hint_none": "no revision round",
+ "stat_reviews_hint_revisions": "{n} revision round(s)",
+ "stat_cost_label": "Cost",
+ "stat_cost_hint_tokens": "{n} tokens",
+ "stat_cost_hint_none": "no usage reported",
+ "outcome": {
+ "running": "Still working",
+ "approved": "Delivered",
+ "failed": "Did not deliver",
+ "cancelled": "Stopped on purpose",
+ "timed_out": "Ran out of time"
+ },
+ "outcome_hint": {
+ "running": "The record below grows as the agent reports back.",
+ "failed": "Here is what broke — in the provider's and the reviewer's own words where they left any.",
+ "cancelled": "Someone stopped this run before it landed.",
+ "timed_out": "The run hit its deadline before it could deliver."
+ },
+ "outcome_approved_hint": "Reviewed and signed off · {n} deliverable file(s)",
+ "line_reason": "Why",
+ "line_error_class": "Cause",
+ "line_provider_said": "Provider said",
+ "line_provider": "Provider",
+ "line_worker_stopped": "Worker stopped",
+ "line_worker_stopped_iter": "Worker (round {n}) stopped",
+ "line_reviewer": "Reviewer: {verdict}",
+ "line_correction": "Correction asked",
+ "line_last_state": "Broke during",
+ "line_partial": "Kept",
+ "line_partial_text": "{n} partial file(s) survived and are listed under Output",
+ "line_deadline": "Deadline",
+ "line_cascade": "Cascade",
+ "line_cascade_text": "the running worker was killed with it",
+ "line_summary": "Summary",
+ "line_revisions": "Revisions",
+ "line_revisions_text": "approved after {n} revision round(s)",
+ "line_progress": "Progress",
+ "line_progress_text": "{n} notes reported so far",
+ "verdict": {
+ "approve": "approve",
+ "revise": "revise",
+ "reject": "reject"
+ },
+ "reason": {
+ "task_error": "The worker's task failed",
+ "attempts_timed_out": "Every attempt ran out of time",
+ "budget_exceeded": "The cost budget was exceeded",
+ "worktree_setup_failed": "The workspace could not be set up",
+ "critic_unavailable": "No reviewer was available to check the result",
+ "critic_rejected": "The reviewer rejected the result",
+ "review_time_budget_exhausted": "The review ran out of time",
+ "critic_loop_exhausted": "The reviewer kept asking for revisions until the limit",
+ "decompose_failed": "The task could not be broken into steps",
+ "interrupted": "The app stopped while the run was in flight",
+ "mission_timed_out": "The run hit its deadline",
+ "ui_cancel": "Stopped by you",
+ "parent_cancelled": "Stopped with its parent run"
+ },
+ "kill": {
+ "timeout": "time limit",
+ "user": "stopped by you",
+ "budget": "budget or provider quota",
+ "parent_cancelled": "parent run stopped",
+ "injection_detected": "prompt injection detected in its output",
+ "path_guard": "it tried to touch a protected path",
+ "worker_error": "the worker process failed"
+ },
+ "story": {
+ "dispatched": "Request handed to the {agent}",
+ "plan": "Plan ready · {n} worker(s)",
+ "spawn": "Worker started · {cli} · round {iter}",
+ "narration": "{agent} says",
+ "draft": "Draft handed to the reviewer · {n} diff lines",
+ "verdict": "Reviewer: {verdict} · {confidence}",
+ "correction": "Revision requested",
+ "correction_model": "Revision requested · next model {model}",
+ "killed": "Worker stopped: {reason}",
+ "budget": "Budget warning · {pct} of {limit}",
+ "approved": "Approved and delivered",
+ "failed": "Failed: {reason}",
+ "cancelled": "Cancelled: {reason}",
+ "timed_out": "Timed out"
+ },
+ "story_empty": "No events recorded for this run.",
+ "iteration_short": "round {n}",
+ "transcript_no_dir": "The worker transcript went with the output directory — the Story tab still has every event of the run.",
+ "transcript_empty": "The transcript holds no steps for this run.",
+ "transcript_truncated": "The transcript was longer than what is shown.",
+ "transcript_dropped": "{n} more steps are not shown.",
+ "transcript_lane": "Worker {n}",
+ "final_answer": "Final answer",
+ "step_writes": "wrote {path}",
+ "step_status": {
+ "pending": "Pending",
+ "running": "Running",
+ "done": "Done",
+ "failed": "Failed",
+ "skipped": "No result"
+ },
+ "review_empty": "No review recorded for this run.",
+ "output_empty": "Nothing was delivered.",
+ "deliverables": "{n} deliverable file(s)",
+ "deliverables_truncated": "(list shortened)",
+ "see_more": "See more",
+ "see_less": "See less",
+ "fact_mission_id": "Mission",
+ "fact_request": "Request",
+ "fact_result_uri": "Stored at"
},
"tasks_view": {
"title": "Automations",
@@ -2770,14 +2893,27 @@
"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: thinking, tool model, agents and voice all point at your key.",
- "plan_partial": "Most of it is set; this did not apply: {0}. You can fix it later under API Keys."
+ "plan_partial": "Most of it is set; this did not apply: {0}. You can fix it later under API Keys.",
+ "plan_explainer": "Pick how {name} should run. Each option says how many keys it needs and which voice engine it uses — most people need exactly one key.",
+ "keys_one": "1 key",
+ "keys_n": "{0} keys",
+ "keys_several": "Several keys",
+ "mode_pipeline": "Pipeline",
+ "mode_realtime": "Realtime · live voice",
+ "plan_keys_from": "Keys: {0}.",
+ "mode_explainer": "Pipeline = listen, think, speak in three steps; works with any provider. Realtime = one live voice model that answers while you speak; only Google Gemini and OpenAI offer one — a Claude or OpenRouter key alone cannot run Realtime.",
+ "plan_progress": "Keys for this plan · {0} of {1} saved",
+ "gap_none": "No API key saved — chat and voice stay off until you add one under API Keys.",
+ "gap_plan_partial": "{0} is missing the {1} key — the parts that need it (live voice, for one) stay off until you add it under API Keys.",
+ "gap_custom": "You picked providers yourself — voice in, voice out and the agents may still need their own keys. Check under API Keys."
},
"permissions": {
"privacy_note": "These prompts come from macOS. The installer cannot silently approve them, and {name} never bypasses System Settings. The Keychain prompt at app start only means your API keys are being saved encrypted in the macOS Keychain — they never leave your Mac.",
"continue": "Continue",
"text_only": "Continue with text only",
"summary_ready": "Granted",
- "summary_skipped": "Text only"
+ "summary_skipped": "Text only",
+ "gap": "Not every macOS permission is granted — voice, screen and keyboard features stay off until you allow them under Settings → Permissions."
},
"wake_word": {
"mode_label": "Activation",
@@ -2812,7 +2948,8 @@
"no_device": "No microphone detected — you can still finish setup and fix this later in Settings.",
"permission_required": "Grant Microphone access in Permissions before running this check.",
"error": "Could not check the microphone right now."
- }
+ },
+ "gap_degraded": "\"{0}\" is saved but nothing can hear it yet — the wake word stays off until the local speech model is installed under Settings → Wake word. The Call shortcut works meanwhile."
},
"finish": {
"summary_label": "Your setup",
@@ -2825,7 +2962,15 @@
"boot_notice": "The first launch takes about 10 seconds while {name} warms up — that's normal.",
"start_cta": "Start {name}",
"starting": "Starting…",
- "start_failed": "Could not finish setup. Check that the app is running, then try again."
+ "start_failed": "Could not finish setup. Check that the app is running, then try again.",
+ "gaps_label": "Before you start",
+ "gaps_intro": "Some things are not set up yet. {name} will start, but these parts stay off:",
+ "gaps_outro": "You can finish each of them later in Settings — nothing here is lost.",
+ "gaps_ack": "I have read what is still missing and want to start anyway.",
+ "gap_skipped_language": "Language was skipped — {name} uses English until you change it under Settings.",
+ "gap_skipped_api_keys": "No API key saved — chat and voice stay off until you add one under API Keys.",
+ "gap_skipped_permissions": "macOS permissions were skipped — voice, screen and keyboard features stay off until you allow them under Settings → Permissions.",
+ "gap_skipped_wake_word": "Activation was skipped — use the Call shortcut, or set a wake word under Settings."
},
"plans": {
"gemini_pipeline_label": "Pipeline with Gemini",
@@ -5205,7 +5350,7 @@
"load_error": "Spend could not be read. This section reads the app's own databases — if it keeps failing, the data folder is unreachable.",
"stat_total": "Total spend",
"stat_total_hint": "{perDay} per day on average",
- "stat_total_hint_seat": "{perDay}/day · {seat} on a subscription",
+ "stat_total_hint_seat": "{billed} billed to API keys · {seat} covered by subscriptions",
"stat_tokens": "Tokens",
"stat_tokens_hint": "{in} in · {out} out",
"stat_tokens_hint_cached": "{in} in · {cached} cached · {out} out",
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.json
index 1fc57cc252..e7ff24fcc9 100644
--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json
+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json
@@ -710,7 +710,7 @@
"stat_done_label": "Terminados",
"stat_done_hint": "terminados y reportados",
"stat_failed_label": "Fallidos",
- "stat_failed_hint": "mira la columna Resultado",
+ "stat_failed_hint": "pulsa una fila para ver toda la historia",
"stat_failed_hint_none": "no falló nada",
"stat_tools_label": "Llamadas a herramientas",
"stat_tools_hint": "en todos los agentes",
@@ -760,7 +760,130 @@
"provider_quota": "Cuota del proveedor agotada; las misiones usan otro proveedor.",
"provider_unreachable": "Proveedor temporalmente inaccesible.",
"worker_timeout": "El worker alcanzó su límite de tiempo."
- }
+ },
+ "insight_byline": "{agent} · iniciado {started} · duración {runtime}",
+ "insight_loading": "Leyendo el registro de la ejecución…",
+ "insight_load_error": "No se pudo cargar el registro de la ejecución: {detail}",
+ "action_open_output": "Abrir resultado",
+ "action_map": "Mapa de la misión",
+ "no_output_dir": "la carpeta de salida ya no está en el disco",
+ "tabs_label": "Registro de la ejecución",
+ "tab_story": "Historia",
+ "tab_transcript": "Transcripción",
+ "tab_review": "Revisión",
+ "tab_output": "Resultado",
+ "stat_workers_label": "Workers",
+ "stat_workers_hint_none": "ninguno iniciado",
+ "stat_tools_hint_run": "acciones en esta ejecución",
+ "stat_reviews_label": "Revisiones",
+ "stat_reviews_hint_none": "sin ronda de corrección",
+ "stat_reviews_hint_revisions": "{n} ronda(s) de corrección",
+ "stat_cost_label": "Coste",
+ "stat_cost_hint_tokens": "{n} tokens",
+ "stat_cost_hint_none": "sin consumo reportado",
+ "outcome": {
+ "running": "Sigue trabajando",
+ "approved": "Entregado",
+ "failed": "No entregó",
+ "cancelled": "Detenido a propósito",
+ "timed_out": "Se agotó el tiempo"
+ },
+ "outcome_hint": {
+ "running": "El registro de abajo crece a medida que el agente informa.",
+ "failed": "Esto es lo que falló — con las palabras del proveedor y del revisor donde las dejaron.",
+ "cancelled": "Alguien detuvo esta ejecución antes de que terminara.",
+ "timed_out": "La ejecución alcanzó su plazo antes de poder entregar."
+ },
+ "outcome_approved_hint": "Revisado y aprobado · {n} archivo(s) entregado(s)",
+ "line_reason": "Por qué",
+ "line_error_class": "Causa",
+ "line_provider_said": "El proveedor dijo",
+ "line_provider": "Proveedor",
+ "line_worker_stopped": "Worker detenido",
+ "line_worker_stopped_iter": "Worker (ronda {n}) detenido",
+ "line_reviewer": "Revisor: {verdict}",
+ "line_correction": "Corrección pedida",
+ "line_last_state": "Falló durante",
+ "line_partial": "Conservado",
+ "line_partial_text": "{n} archivo(s) parcial(es) sobrevivieron y aparecen en Resultado",
+ "line_deadline": "Plazo",
+ "line_cascade": "Cascada",
+ "line_cascade_text": "el worker en marcha se detuvo con ella",
+ "line_summary": "Resumen",
+ "line_revisions": "Correcciones",
+ "line_revisions_text": "aprobado tras {n} ronda(s) de corrección",
+ "line_progress": "Progreso",
+ "line_progress_text": "{n} notas reportadas hasta ahora",
+ "verdict": {
+ "approve": "aprobado",
+ "revise": "corregir",
+ "reject": "rechazado"
+ },
+ "reason": {
+ "task_error": "La tarea del worker falló",
+ "attempts_timed_out": "Todos los intentos agotaron el tiempo",
+ "budget_exceeded": "Se superó el presupuesto de coste",
+ "worktree_setup_failed": "No se pudo preparar el espacio de trabajo",
+ "critic_unavailable": "No había revisor disponible para comprobar el resultado",
+ "critic_rejected": "El revisor rechazó el resultado",
+ "review_time_budget_exhausted": "La revisión agotó su tiempo",
+ "critic_loop_exhausted": "El revisor pidió correcciones hasta el límite",
+ "decompose_failed": "La tarea no se pudo dividir en pasos",
+ "interrupted": "La app se cerró mientras la ejecución estaba en marcha",
+ "mission_timed_out": "La ejecución alcanzó su plazo",
+ "ui_cancel": "Detenido por ti",
+ "parent_cancelled": "Detenido junto con la ejecución superior"
+ },
+ "kill": {
+ "timeout": "límite de tiempo",
+ "user": "detenido por ti",
+ "budget": "presupuesto o cuota del proveedor",
+ "parent_cancelled": "ejecución superior detenida",
+ "injection_detected": "inyección de prompt detectada en su salida",
+ "path_guard": "intentó tocar una ruta protegida",
+ "worker_error": "el proceso del worker falló"
+ },
+ "story": {
+ "dispatched": "Petición entregada al {agent}",
+ "plan": "Plan listo · {n} worker(s)",
+ "spawn": "Worker iniciado · {cli} · ronda {iter}",
+ "narration": "{agent} dice",
+ "draft": "Borrador entregado al revisor · {n} líneas de diff",
+ "verdict": "Revisor: {verdict} · {confidence}",
+ "correction": "Corrección pedida",
+ "correction_model": "Corrección pedida · siguiente modelo {model}",
+ "killed": "Worker detenido: {reason}",
+ "budget": "Aviso de presupuesto · {pct} de {limit}",
+ "approved": "Aprobado y entregado",
+ "failed": "Fallido: {reason}",
+ "cancelled": "Cancelado: {reason}",
+ "timed_out": "Tiempo agotado"
+ },
+ "story_empty": "No hay eventos registrados para esta ejecución.",
+ "iteration_short": "ronda {n}",
+ "transcript_no_dir": "La transcripción del worker se fue con la carpeta de salida — la pestaña Historia conserva cada evento de la ejecución.",
+ "transcript_empty": "La transcripción no contiene pasos para esta ejecución.",
+ "transcript_truncated": "La transcripción era más larga de lo que se muestra.",
+ "transcript_dropped": "{n} pasos más no se muestran.",
+ "transcript_lane": "Worker {n}",
+ "final_answer": "Respuesta final",
+ "step_writes": "escribió {path}",
+ "step_status": {
+ "pending": "Pendiente",
+ "running": "En marcha",
+ "done": "Hecho",
+ "failed": "Fallido",
+ "skipped": "Sin resultado"
+ },
+ "review_empty": "No hay revisión registrada para esta ejecución.",
+ "output_empty": "No se entregó nada.",
+ "deliverables": "{n} archivo(s) entregado(s)",
+ "deliverables_truncated": "(lista acortada)",
+ "see_more": "Ver más",
+ "see_less": "Ver menos",
+ "fact_mission_id": "Misión",
+ "fact_request": "Petición",
+ "fact_result_uri": "Guardado en"
},
"tasks_view": {
"title": "Automatizaciones",
@@ -2768,14 +2891,27 @@
"plan_custom_body": "La lista completa de proveedores — elige cada parte por separado.",
"plan_applying": "Configurando todo para {0}…",
"plan_applied": "{0} está configurado: pensar, modelo de herramientas, agentes y voz apuntan a tu clave.",
- "plan_partial": "Casi todo está listo; esto no se aplicó: {0}. Puedes arreglarlo después en Claves API."
+ "plan_partial": "Casi todo está listo; esto no se aplicó: {0}. Puedes arreglarlo después en Claves API.",
+ "plan_explainer": "Elige cómo debe funcionar {name}. Cada opción indica cuántas claves necesita y qué motor de voz usa — la mayoría necesita exactamente una clave.",
+ "keys_one": "1 clave",
+ "keys_n": "{0} claves",
+ "keys_several": "Varias claves",
+ "mode_pipeline": "Pipeline",
+ "mode_realtime": "Realtime · voz en directo",
+ "plan_keys_from": "Claves: {0}.",
+ "mode_explainer": "Pipeline = escuchar, pensar, hablar en tres pasos; funciona con cualquier proveedor. Realtime = un modelo de voz en directo que responde mientras hablas; solo Google Gemini y OpenAI lo ofrecen — una clave de Claude u OpenRouter por sí sola no puede ejecutar Realtime.",
+ "plan_progress": "Claves para este plan · {0} de {1} guardadas",
+ "gap_none": "No hay ninguna clave API guardada — el chat y la voz permanecen desactivados hasta que añadas una en Claves API.",
+ "gap_plan_partial": "A {0} le falta la clave de {1} — las partes que la necesitan (por ejemplo la voz en directo) permanecen desactivadas hasta que la añadas en Claves API.",
+ "gap_custom": "Elegiste los proveedores tú mismo — la entrada de voz, la salida de voz y los agentes pueden necesitar sus propias claves. Compruébalo en Claves API."
},
"permissions": {
"privacy_note": "Estas solicitudes vienen de macOS. El instalador no puede aprobarlas en silencio y {name} nunca se salta los Ajustes del Sistema. La solicitud del Llavero al iniciar solo significa que tus claves API se guardan cifradas en el Llavero de macOS — nunca salen de tu Mac.",
"continue": "Continuar",
"text_only": "Continuar solo con texto",
"summary_ready": "Concedidos",
- "summary_skipped": "Solo texto"
+ "summary_skipped": "Solo texto",
+ "gap": "No todos los permisos de macOS están concedidos — las funciones de voz, pantalla y teclado permanecen desactivadas hasta que los permitas en Ajustes → Permisos."
},
"wake_word": {
"mode_label": "Activación",
@@ -2810,7 +2946,8 @@
"no_device": "No se detectó ningún micrófono — puedes terminar la configuración y arreglarlo después en Ajustes.",
"permission_required": "Concede acceso al Micrófono en Permisos antes de ejecutar esta prueba.",
"error": "No se pudo comprobar el micrófono en este momento."
- }
+ },
+ "gap_degraded": "«{0}» está guardada, pero todavía nadie puede oírla — la palabra de activación permanece desactivada hasta que se instale el modelo de voz local en Ajustes → Palabra de activación. Mientras tanto funciona el atajo de Llamada."
},
"finish": {
"summary_label": "Tu configuración",
@@ -2823,7 +2960,15 @@
"boot_notice": "El primer inicio tarda unos 10 segundos mientras {name} se prepara — es normal.",
"start_cta": "Iniciar {name}",
"starting": "Iniciando…",
- "start_failed": "No se pudo terminar la configuración. Comprueba que la aplicación esté en marcha e inténtalo de nuevo."
+ "start_failed": "No se pudo terminar la configuración. Comprueba que la aplicación esté en marcha e inténtalo de nuevo.",
+ "gaps_label": "Antes de empezar",
+ "gaps_intro": "Algunas cosas aún no están configuradas. {name} se iniciará, pero estas partes permanecen desactivadas:",
+ "gaps_outro": "Puedes terminar cada una más tarde en Ajustes — nada se pierde.",
+ "gaps_ack": "He leído lo que todavía falta y quiero empezar de todos modos.",
+ "gap_skipped_language": "Se omitió el idioma — {name} usa inglés hasta que lo cambies en Ajustes.",
+ "gap_skipped_api_keys": "No hay ninguna clave API guardada — el chat y la voz permanecen desactivados hasta que añadas una en Claves API.",
+ "gap_skipped_permissions": "Se omitieron los permisos de macOS — las funciones de voz, pantalla y teclado permanecen desactivadas hasta que los permitas en Ajustes → Permisos.",
+ "gap_skipped_wake_word": "Se omitió la activación — usa el atajo de Llamada o define una palabra de activación en Ajustes."
},
"plans": {
"gemini_pipeline_label": "Pipeline con Gemini",
@@ -5203,7 +5348,7 @@
"load_error": "No se pudieron leer los gastos. Esta sección lee las bases de datos de la propia app; si sigue fallando, la carpeta de datos no es accesible.",
"stat_total": "Gasto total",
"stat_total_hint": "{perDay} al día de media",
- "stat_total_hint_seat": "{perDay}/día · {seat} con una suscripción",
+ "stat_total_hint_seat": "{billed} facturado a claves API · {seat} cubierto por suscripciones",
"stat_tokens": "Tokens",
"stat_tokens_hint": "{in} entrada · {out} salida",
"stat_tokens_hint_cached": "{in} entrada · {cached} caché · {out} salida",