Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(brain): route every tier to a reachable provider family
Ruben Lütke1888ec8124f9
diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.test.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.test.tsxindex 1556e49c7e..8095fcc32f 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.test.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.test.tsx@@ -1919,34 +1919,36 @@ describe("rearranging panes", () => {});}- it("swaps two panes when one is dropped in the middle of the other", async () => {- const swapped = sessionWith([+ it("MOVES a pane past another one rather than exchanging the two", async () => {+ // The whole point of dragging: one pane goes where it was dropped. A swap+ // would send Nova back the other way, which nobody asked for (BUG-111).+ const moved = sessionWith([["Nova", 0],["Mika", 1],]);- vi.mocked(api.moveTerminal).mockResolvedValue(swapped);+ vi.mocked(api.moveTerminal).mockResolvedValue(moved);const { onSessionChanged } = twoPlacedPanes();press("Mika", 100, 50);- move(300, 50); // the middle of Nova+ move(380, 50); // carried well into Nova's right half// Mid-drag the grid says what the drop would do, before it happens.- expect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("swap");+ expect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("right");expect(screen.getByTestId("agentic-arrange-ghost").textContent).toContain("Mika");expect(screen.getByTestId("pane-Mika").dataset.arranging).toBe("yes");await release();- expect(api.moveTerminal).toHaveBeenCalledWith("Mika", "Nova", "swap");- await waitFor(() => expect(onSessionChanged).toHaveBeenCalledWith(swapped));+ expect(api.moveTerminal).toHaveBeenCalledWith("Mika", "Nova", "right");+ await waitFor(() => expect(onSessionChanged).toHaveBeenCalledWith(moved));});- it("places a pane beside another when it is dropped near an edge", async () => {+ it("lands on the half of the target the pointer is in", async () => {vi.mocked(api.moveTerminal).mockResolvedValue(BASE);twoPlacedPanes();press("Mika", 100, 50);- move(205, 50); // hard against Nova's left edge+ move(240, 50); // Nova's left halfexpect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("left");@@ -1955,6 +1957,53 @@ describe("rearranging panes", () => {expect(api.moveTerminal).toHaveBeenCalledWith("Mika", "Nova", "left");});+ it("swaps two panes when the drop is made with Shift held", async () => {+ // Exchanging two panes is still worth having — it is the only move that+ // leaves the grid's shape untouched — so it lives on the modifier, where it+ // cannot happen to someone who did not ask for it.+ const swapped = sessionWith([+ ["Nova", 0],+ ["Mika", 1],+ ]);+ vi.mocked(api.moveTerminal).mockResolvedValue(swapped);+ twoPlacedPanes();++ press("Mika", 100, 50);+ move(380, 50);+ expect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("right");+ expect(screen.getByTestId("agentic-arrange-swap-hint")).toBeTruthy();++ // The preview answers the modifier without the pointer moving at all.+ act(() => {+ window.dispatchEvent(new KeyboardEvent("keydown", { key: "Shift" }));+ });+ expect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("swap");+ expect(screen.queryByTestId("agentic-arrange-swap-hint")).toBeNull();++ await release();++ expect(api.moveTerminal).toHaveBeenCalledWith("Mika", "Nova", "swap");+ });++ it("goes back to moving when Shift is let go mid-drag", async () => {+ vi.mocked(api.moveTerminal).mockResolvedValue(BASE);+ twoPlacedPanes();++ press("Mika", 100, 50);+ move(380, 50);+ act(() => {+ window.dispatchEvent(new KeyboardEvent("keydown", { key: "Shift" }));+ });+ act(() => {+ window.dispatchEvent(new KeyboardEvent("keyup", { key: "Shift" }));+ });+ expect(screen.getByTestId("pane-dropzone-Nova").dataset.zone).toBe("right");++ await release();++ expect(api.moveTerminal).toHaveBeenCalledWith("Mika", "Nova", "right");+ });+it("reads the bottom of a pane as 'put it underneath'", async () => {vi.mocked(api.moveTerminal).mockResolvedValue(BASE);twoPlacedPanes();diff --git a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsxindex 8f9795a3bf..d796400b19 100644--- a/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx+++ b/jarvis/ui/web/frontend/src/components/agentic/AgenticGrid.tsx@@ -2543,6 +2543,17 @@ export function AgenticGrid({arrange.hover.target,)}</span>+ {/* Exchanging two panes is a real move, just not the one dragging+ means — so it is offered here, where someone mid-drag can see it,+ rather than left to be discovered by accident. */}+ {arrange.hover !== null && !arrange.swapping && (+ <span+ data-testid="agentic-arrange-swap-hint"+ className="font-normal text-muted-foreground/70"+ >+ {t("agentic_grid.arrange.swap_hint")}+ </span>+ )}</div>)}</div>diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneArrange.test.ts b/jarvis/ui/web/frontend/src/components/agentic/paneArrange.test.tsindex e434d20b62..eae6c166c8 100644--- a/jarvis/ui/web/frontend/src/components/agentic/paneArrange.test.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/paneArrange.test.ts@@ -1,91 +1,82 @@/*** What a drop MEANS — the half of pane dragging that can be wrong silently.*- * Every failure here looks like the grid ignoring the user: a corner that- * resolves to the wrong edge puts a pane one column off, and a centre zone that- * is too small turns "swap these two" into "move it to the left of that one",- * which rearranges the whole row instead of exchanging two panes.+ * Every failure here looks like the grid ignoring the user, or worse, doing+ * something they did not ask for: dragging is how a person says "put this pane+ * over there", and the one answer that must never come back unbidden is a swap,+ * which sends the target the other way and moves TWO panes (BUG-111).*/import { describe, expect, it } from "vitest";import { EDGE_MAX_PX, pickTarget, zoneFor, type PaneRect } from "./paneArrange";-/** A 200×100 pane at the origin — round numbers so the fractions are readable. */+/** A 200×100 pane at the origin — round numbers so the arithmetic is readable. */const RECT: PaneRect = { left: 0, top: 0, width: 200, height: 100 };/*** One column of a five-pane workspace, at the shape those actually have: tall- * and narrow. This is the geometry every regression below is about.+ * and narrow. This is the geometry the regressions below are about.*/const COLUMN: PaneRect = { left: 500, top: 40, width: 360, height: 900 };describe("zoneFor", () => {- it("reads the middle of a pane as a swap", () => {- expect(zoneFor(RECT, 100, 50)).toBe("swap");+ it("reads the halves of a pane as the side to land on", () => {+ expect(zoneFor(RECT, 40, 50)).toBe("left");+ expect(zoneFor(RECT, 160, 50)).toBe("right");});- it("keeps the swap zone big enough to hit without aiming", () => {- // Anywhere in the middle 40 % × 40 %, which is a large target on purpose:- // swapping two panes is the move people reach for.- expect(zoneFor(RECT, 65, 35)).toBe("swap");- expect(zoneFor(RECT, 135, 65)).toBe("swap");- });-- it("reads each edge as a placement on that side", () => {- expect(zoneFor(RECT, 5, 50)).toBe("left");- expect(zoneFor(RECT, 195, 50)).toBe("right");- expect(zoneFor(RECT, 100, 3)).toBe("above");- expect(zoneFor(RECT, 100, 97)).toBe("below");- });-- it("resolves a corner to the edge it is actually nearer", () => {- // 4 % across, 20 % down: closer to the left edge than to the top one.- expect(zoneFor(RECT, 8, 20)).toBe("left");- // 20 % across, 4 % down: the other way round.- expect(zoneFor(RECT, 40, 4)).toBe("above");- });-- it("respects a pane that is not at the origin", () => {- const offset: PaneRect = { left: 500, top: 300, width: 200, height: 100 };- expect(zoneFor(offset, 600, 350)).toBe("swap");- expect(zoneFor(offset, 505, 350)).toBe("left");+ it("never answers a plain drag with a swap (BUG-111)", () => {+ // Dragging MOVES one pane. Answering "put it over there" with an exchange+ // sends the target back the other way, so the user asked for one pane to+ // move and two of them did.+ for (const x of [10, 60, 100, 140, 190]) {+ for (const y of [50, 60, 40]) {+ expect(zoneFor(RECT, x, y)).not.toBe("swap");+ }+ }});- it("reads the middle of a TALL pane as a swap, at any height (BUG-111)", () => {- // The bug: carrying a pane sideways onto its neighbour and letting go- // anywhere below the pane's middle produced `below`, which stacked the two- // in one column instead of exchanging them. Nobody aims vertically while- // dragging horizontally, so the whole middle band has to be a swap.+ it("gives every point in a TALL pane a side, at any height", () => {+ // Nobody aims vertically while dragging sideways, so the whole middle of a+ // grid column has to be a landing place rather than a dead zone.for (const y of [200, 400, 490, 600, 700, 800]) {- expect(zoneFor(COLUMN, 680, y)).toBe("swap");+ expect(zoneFor(COLUMN, 560, y)).toBe("left");+ expect(zoneFor(COLUMN, 800, y)).toBe("right");}});- it("keeps an edge band the same size however tall the pane grows", () => {+ it("keeps the top and bottom edges for joining the target's column", () => {+ expect(zoneFor(RECT, 100, 3)).toBe("above");+ expect(zoneFor(RECT, 100, 97)).toBe("below");+ expect(zoneFor(COLUMN, 680, 45)).toBe("above");+ expect(zoneFor(COLUMN, 680, 935)).toBe("below");+ });++ it("keeps a stack-it band the same size however tall the pane grows", () => {// An edge is a place the user aims at; aiming does not get harder because- // the pane got taller, and a band that grows with it eats the middle.+ // the pane got taller, and a band that grows with it eats the whole drag.const shortPane: PaneRect = { left: 0, top: 0, width: 360, height: 400 };const insideBand = EDGE_MAX_PX - 10;expect(zoneFor(COLUMN, 680, COLUMN.top + insideBand)).toBe("above");expect(zoneFor(shortPane, 180, insideBand)).toBe("above");- // Just past the ceiling it is the middle again — in BOTH panes, which is- // the property a share alone could not give.+ // Just past the ceiling it is a sideways landing again — in BOTH panes,+ // which is the property a share alone could not give.const pastBand = EDGE_MAX_PX + 10;- expect(zoneFor(COLUMN, 680, COLUMN.top + pastBand)).toBe("swap");- expect(zoneFor(shortPane, 180, pastBand)).toBe("swap");+ expect(zoneFor(COLUMN, 560, COLUMN.top + pastBand)).toBe("left");+ expect(zoneFor(shortPane, 100, pastBand)).toBe("left");});- it("still reads every edge of a tall pane as a placement", () => {- expect(zoneFor(COLUMN, 505, 500)).toBe("left");- expect(zoneFor(COLUMN, 855, 500)).toBe("right");- expect(zoneFor(COLUMN, 680, 45)).toBe("above");- expect(zoneFor(COLUMN, 680, 935)).toBe("below");+ it("swaps only when the modifier asks for it", () => {+ expect(zoneFor(RECT, 40, 50, { swap: true })).toBe("swap");+ // Even on an edge: the modifier is the user saying what they want, and it+ // outranks where they happen to be pointing.+ expect(zoneFor(RECT, 100, 3, { swap: true })).toBe("swap");});- it("belongs to an edge only when it is inside THAT edge's band", () => {- // Deep in the left band but well clear of the top one: the nearest edge in- // raw distance is the top, yet the point is not in the top's band at all.- expect(zoneFor(COLUMN, 505, COLUMN.top + 200)).toBe("left");+ it("respects a pane that is not at the origin", () => {+ const offset: PaneRect = { left: 500, top: 300, width: 200, height: 100 };+ expect(zoneFor(offset, 505, 350)).toBe("left");+ expect(zoneFor(offset, 695, 350)).toBe("right");});it("falls back to swap for a pane with no measurable box", () => {@@ -102,7 +93,14 @@ describe("pickTarget", () => {];it("names the pane under the pointer and what a drop would do", () => {- expect(pickTarget(targets, "Mika", 300, 50)).toEqual({+ expect(pickTarget(targets, "Mika", 380, 50)).toEqual({+ target: "Nova",+ zone: "right",+ });+ });++ it("carries the swap modifier through to the answer", () => {+ expect(pickTarget(targets, "Mika", 380, 50, { swap: true })).toEqual({target: "Nova",zone: "swap",});diff --git a/jarvis/ui/web/frontend/src/components/agentic/paneArrange.ts b/jarvis/ui/web/frontend/src/components/agentic/paneArrange.tsindex 77f6b05b15..db6d0d4dde 100644--- a/jarvis/ui/web/frontend/src/components/agentic/paneArrange.ts+++ b/jarvis/ui/web/frontend/src/components/agentic/paneArrange.ts@@ -31,27 +31,22 @@ import { useCallback, useEffect, useRef, useState, type PointerEvent as ReactPoiexport type DropZone = "swap" | "left" | "right" | "above" | "below";/**- * The most of a pane's width/height one edge zone may claim.+ * The most of a pane's HEIGHT the stack-it bands at the top and bottom may take.*- * A share on its own was the whole of it once, and it made the common gesture- * unreliable: a workspace of five panes draws each one tall and narrow, so 0.3- * of the HEIGHT is a band far deeper than 0.3 of the width is wide, and the two- * horizontal bands together swallowed most of the pane. Carrying a pane sideways- * onto its neighbour — the ordinary "these two are the wrong way round" — then- * landed in `below` and stacked the pane under the target instead of exchanging- * the two, collapsing a column of the grid on the way (BUG-111).+ * Only the horizontal edges need a band at all — see `zoneFor`, where left and+ * right split what is left between them. A share on its own was once the whole+ * story and it made stacking far too easy to hit by accident: five panes draw+ * each column tall and narrow, so 0.3 of the height is a very deep band, and the+ * two of them together swallowed most of the pane (BUG-111).*/export const EDGE_FRACTION = 0.3;/**- * The ceiling that keeps an edge zone from growing with the pane.+ * The ceiling that keeps a stack-it band from growing with the pane.** An edge is a place a user AIMS at, and aiming does not get harder because the- * pane got taller — so past a point the band stops growing and the middle takes- * the rest. That restores what the share was always meant to buy: swap is the- * biggest target by a wide margin, because it is the move people actually reach- * for and the only one that leaves the rest of the grid exactly as it was, while- * the four edges stay wide enough to hit without pixel accuracy.+ * pane got taller — so past a point the band stops growing and the sideways+ * halves keep the rest.*/export const EDGE_MAX_PX = 88;@@ -66,43 +61,54 @@ export interface PaneRect {height: number;}+/** Anything that changes what a drop means without moving the pointer. */+export interface ZoneOptions {+ /** The swap modifier is held — every drop becomes an exchange. */+ swap?: boolean;+ /** Share of the height the stack-it bands may claim. Test seam. */+ edge?: number;+}+/*** Which drop a point inside ``rect`` means.*- * Every distance here is in PIXELS, and each edge is judged against its own- * band. Comparing shares instead — how far across the pane, rather than how far- * from the edge — reads a tall narrow pane as mostly top-and-bottom, so a point- * halfway down the middle of a grid column came out as `below` (BUG-111). A- * point belongs to an edge only when it is inside THAT edge's band; when it is- * inside none of them it is in the middle, which is a swap.+ * **Dragging MOVES a pane; it does not exchange two.** That is the whole shape+ * of this function, and it was learned the hard way: carrying a pane sideways+ * onto another one is how a person says "put it over there", and answering that+ * with a swap sends the target back the other way — the user asked for one pane+ * to move and two of them did (BUG-111). So the horizontal half the pointer is+ * in decides which SIDE of the target the pane lands on, and every point in the+ * pane is a landing place. There is no aiming, and no dead middle that means+ * something else.+ *+ * Two bands are carved out first, along the top and bottom edges, for joining+ * the target's own column — the one drop that is genuinely vertical, so it is+ * the one that reads the vertical position. They are measured in PIXELS and+ * capped (`EDGE_MAX_PX`), because a band that keeps a fixed SHARE of a tall+ * narrow column is deep enough to swallow the sideways drag it sits in.+ *+ * Exchanging two panes is still worth having — it is the only move that leaves+ * the grid's shape untouched — so it stays on the swap modifier, where it can no+ * longer happen to someone who did not ask for it.*/export function zoneFor(rect: PaneRect,x: number,y: number,- edge: number = EDGE_FRACTION,+ options: ZoneOptions = {},): DropZone {// A pane with no measurable box (hidden behind a maximized sibling, or not// laid out yet) can still be pointed at in theory. Swap is the answer that// cannot produce a nonsensical layout, so it is the fallback.if (rect.width <= 0 || rect.height <= 0) return "swap";- const bandX = Math.min(rect.width * edge, EDGE_MAX_PX);- const bandY = Math.min(rect.height * edge, EDGE_MAX_PX);- const sides: Array<[DropZone, number, number]> = [- ["left", x - rect.left, bandX],- ["right", rect.left + rect.width - x, bandX],- ["above", y - rect.top, bandY],- ["below", rect.top + rect.height - y, bandY],- ];- // Among the bands the point is actually in, the nearest edge wins — which is- // what resolves the corners: a point in the top-left corner belongs to- // whichever of the two edges it is nearer to.- let best: [DropZone, number, number] | null = null;- for (const side of sides) {- if (side[1] > side[2]) continue;- if (best === null || side[1] < best[1]) best = side;+ if (options.swap) return "swap";+ const band = Math.min(rect.height * (options.edge ?? EDGE_FRACTION), EDGE_MAX_PX);+ const fromTop = y - rect.top;+ const fromBottom = rect.top + rect.height - y;+ if (fromTop <= band || fromBottom <= band) {+ return fromTop <= fromBottom ? "above" : "below";}- return best === null ? "swap" : best[0];+ return x - rect.left < rect.width / 2 ? "left" : "right";}/** A pane the drag can be dropped on, as measured right now. */@@ -129,6 +135,7 @@ export function pickTarget(held: string | null,x: number,y: number,+ options: ZoneOptions = {},): ArrangeHover | null {for (const candidate of targets) {if (candidate.name === held) continue;@@ -140,12 +147,20 @@ export function pickTarget(y >= rect.top &&y <= rect.top + rect.height) {- return { target: candidate.name, zone: zoneFor(rect, x, y) };+ return { target: candidate.name, zone: zoneFor(rect, x, y, options) };}}return null;}+/**+ * The key that turns a move into an exchange, held during the drag.+ *+ * Shift rather than Alt: on Windows a bare Alt press is the window menu's own+ * shortcut, so letting go of it mid-drag pulls focus out of the page.+ */+export const SWAP_MODIFIER = "Shift";+export interface PaneArrange {/** Call-sign of the pane currently in hand, or null when nothing is held. */held: string | null;@@ -153,6 +168,8 @@ export interface PaneArrange {hover: ArrangeHover | null;/** Viewport coordinates of the cursor, for the label that follows it. */point: { x: number; y: number } | null;+ /** Whether the swap modifier is down, so the label can say what it changes. */+ swapping: boolean;/** Start a drag — wired to the pane header's `pointerdown`. */start: (name: string, event: ReactPointerEvent) => void;/** Ref callback that lets a pane cell be measured as a drop target. */@@ -182,12 +199,17 @@ export function usePaneArrange(// without being re-created (and re-registered) on every move.const heldRef = useRef<string | null>(null);const hoverRef = useRef<ArrangeHover | null>(null);+ // The last place the pointer was, so pressing or releasing the swap modifier+ // can re-answer "what would a drop here do" without the pointer moving.+ const pointRef = useRef<{ x: number; y: number } | null>(null);+ const swapRef = useRef(false);const onDropRef = useRef(onDrop);onDropRef.current = onDrop;const [held, setHeld] = useState<string | null>(null);const [hover, setHover] = useState<ArrangeHover | null>(null);const [point, setPoint] = useState<{ x: number; y: number } | null>(null);+ const [swapping, setSwapping] = useState(false);const finish = useCallback((commit: boolean) => {const moved = heldRef.current;@@ -197,9 +219,12 @@ export function usePaneArrange(pending.current = null;heldRef.current = null;hoverRef.current = null;+ pointRef.current = null;+ swapRef.current = false;setHeld(null);setHover(null);setPoint(null);+ setSwapping(false);// `moved` is null for a press that never crossed the threshold — an// ordinary click on the header, which must stay an ordinary click.if (commit && moved && drop && drop.target !== moved) {@@ -229,6 +254,18 @@ export function usePaneArrange(x: event.clientX,y: event.clientY,};+ swapRef.current = event.shiftKey;++ /** Re-read what a drop would mean, from wherever the pointer already is. */+ const reread = () => {+ const at = pointRef.current;+ if (at === null || heldRef.current === null) return;+ const next = pickTarget(measure(), heldRef.current, at.x, at.y, {+ swap: swapRef.current,+ });+ hoverRef.current = next;+ setHover(next);+ };const onMove = (moveEvent: globalThis.PointerEvent) => {const origin = pending.current;@@ -245,15 +282,16 @@ export function usePaneArrange(// Stops the browser from turning the drag into a text selection that// sweeps across every pane it crosses.moveEvent.preventDefault();- setPoint({ x: moveEvent.clientX, y: moveEvent.clientY });- const next = pickTarget(- measure(),- heldRef.current,- moveEvent.clientX,- moveEvent.clientY,- );- hoverRef.current = next;- setHover(next);+ pointRef.current = { x: moveEvent.clientX, y: moveEvent.clientY };+ setPoint(pointRef.current);+ // Read from the event rather than trusting the key listeners alone: a+ // modifier pressed or released while the window was in the background+ // never fired one, and the pointer event always carries the truth.+ if (moveEvent.shiftKey !== swapRef.current) {+ swapRef.current = moveEvent.shiftKey;+ setSwapping(moveEvent.shiftKey);+ }+ reread();};const onUp = (upEvent: globalThis.PointerEvent) => {@@ -262,7 +300,22 @@ export function usePaneArrange(};const onCancel = () => finish(false);const onKey = (keyEvent: globalThis.KeyboardEvent) => {- if (keyEvent.key === "Escape") finish(false);+ if (keyEvent.key === "Escape") {+ finish(false);+ return;+ }+ if (keyEvent.key === SWAP_MODIFIER && !swapRef.current) {+ swapRef.current = true;+ setSwapping(true);+ reread();+ }+ };+ const onKeyUp = (keyEvent: globalThis.KeyboardEvent) => {+ if (keyEvent.key === SWAP_MODIFIER && swapRef.current) {+ swapRef.current = false;+ setSwapping(false);+ reread();+ }};// Also a backstop: a pointerup delivered outside the window never// arrives, and a pane would otherwise stay stuck to the cursor.@@ -272,12 +325,14 @@ export function usePaneArrange(window.addEventListener("pointerup", onUp);window.addEventListener("pointercancel", onCancel);window.addEventListener("keydown", onKey);+ window.addEventListener("keyup", onKeyUp);window.addEventListener("blur", onBlur);cleanup.current = () => {window.removeEventListener("pointermove", onMove);window.removeEventListener("pointerup", onUp);window.removeEventListener("pointercancel", onCancel);window.removeEventListener("keydown", onKey);+ window.removeEventListener("keyup", onKeyUp);window.removeEventListener("blur", onBlur);};},@@ -298,5 +353,5 @@ export function usePaneArrange(return callback;}, []);- return { held, hover, point, start, registerCell };+ return { held, hover, point, swapping, start, registerCell };}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex dc0d1c1789..116e61078f 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -3663,7 +3663,8 @@"left": "Links von {0}","right": "Rechts von {0}","above": "Über {0}",- "below": "Unter {0}"+ "below": "Unter {0}",+ "swap_hint": "· Umschalt zum Tauschen"},"history": {"open": "Prompt-Verlauf für {0} öffnen",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex d8c85b79c1..eae7bbdbef 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -3664,7 +3664,8 @@"left": "Left of {0}","right": "Right of {0}","above": "Above {0}",- "below": "Below {0}"+ "below": "Below {0}",+ "swap_hint": "· Shift to swap"},"history": {"open": "View prompt history for {0}",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 7cae4b331b..452f0563cd 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -3663,7 +3663,8 @@"left": "A la izquierda de {0}","right": "A la derecha de {0}","above": "Encima de {0}",- "below": "Debajo de {0}"+ "below": "Debajo de {0}",+ "swap_hint": "· Mayús para intercambiar"},"history": {"open": "Ver el historial de prompts de {0}",diff --git a/scripts/config-soll.json b/scripts/config-soll.jsonindex 36cdc7415d..66ae36ad28 100644--- a/scripts/config-soll.json+++ b/scripts/config-soll.json@@ -6,10 +6,10 @@"single_turn_mode": false},"tts": {- "provider": "openrouter-tts",+ "provider": "grok-voice","fallback": "grok-voice",- "voice_de": "Kore",- "voice_en": "Kore",+ "voice_de": "leo",+ "voice_en": "leo","language_code": "auto","chunk_by_sentence": false,"seed": 7,@@ -33,17 +33,17 @@"allow_sapi5_fallback": false},"brain": {- "primary": "gemini",- "fallback": "gemini",- "deep_brain": "gemini",- "routing_provider": "gemini",- "routing_model": "gemini-3.5-flash"+ "primary": "grok",+ "fallback": "openrouter",+ "deep_brain": "claude-cli",+ "routing_provider": "grok",+ "routing_model": "grok-4.20-0309-non-reasoning"},"brain.router": {- "provider": "gemini",- "model": "gemini-3.5-flash",- "fallback_provider": "gemini",- "fallback_model": "gemini-3.5-flash"+ "provider": "grok",+ "model": "grok-4.20-0309-non-reasoning",+ "fallback_provider": "openrouter",+ "fallback_model": "google/gemini-3.5-flash"},"brain.providers.gemini": {"model": "gemini-3.5-flash",@@ -64,15 +64,18 @@"fallback_model_2": "gemini-3-pro-preview"},"stt": {- "provider": "nemotron-local",- "model": "whisper-large-v3",+ "provider": "groq-api",+ "model": "large-v3","bias_prompt": "Jarvis, OpenClaw, Codex, Gemini, Grok, Claude, Anthropic, OpenAI, OpenRouter, Whisper, Subagent, Sub-Agent, Mission-Manager, Critic-Loop, Critic, Worker, Router-Brain, Router, Kontrollierer, Voice-Pipeline, Wake-Word, Silero, VAD, TTS, STT, Telemetry, Transkript, Token, Provider, Plugin, Sprechblase, Orb, Mascot, Quip, Browser, Terminal, Repository, Branch, Commit, Push, Pull-Request, Issue, Merge, Refactor, Deployment, Screenshot, Debuggen, Workflow, Microservice, Container, Docker, Kubernetes, FastAPI, React, TypeScript, Python, JSON, Markdown, Logfile, Konfiguration, Endpoint, Webhook, API-Key, Service-Account, Cloud, Google Cloud, Vertex AI, BigQuery, GitHub, Twilio, ElevenLabs, OAuth, Credential Manager, Frontend, Backend, Skript, Daemon, Hangup, Auflegen, Denkpause, submitted, distanziert, erkennt",- "language": "auto"+ "language": "auto",+ "models": {+ "openrouter-stt": "openai/gpt-4o-transcribe"+ }},"ack_brain": {"enabled": true,- "provider": "gemini",- "fallback_provider": "gemini",+ "provider": "grok",+ "fallback_provider": "openrouter","timeout_ms": 4000,"preamble_enabled": false},@@ -107,10 +110,10 @@"voice": "cedar"},"brain.tool_model": {- "provider": "gemini"+ "provider": "grok"},"brain.computer_use": {- "provider": "openrouter"+ "provider": "ollama"},"brain.providers.grok-realtime": {"voice": "lux"