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
chore(i18n): translate committed German to English in lib/ws + store/events (isolated drain, batch 07_3_jarvis)
Ruben Lütke0eb5f6fee61c
diff --git a/jarvis/ui/web/frontend/src/lib/deriveAssistantName.ts b/jarvis/ui/web/frontend/src/lib/deriveAssistantName.tsindex 9890969e91..ab30e6d3af 100644--- a/jarvis/ui/web/frontend/src/lib/deriveAssistantName.ts+++ b/jarvis/ui/web/frontend/src/lib/deriveAssistantName.ts@@ -14,7 +14,7 @@ export function deriveAssistantName(phrase: string): string {// normalize_phrase: lower-case, punctuation→space, split (keeps umlauts/ß).const tokens = (phrase || "").toLowerCase()- .replace(/[^0-9a-zäöüß]+/g, " ")+ .replace(/[^0-9a-zäöüß]+/g, " ") // i18n-allow: German-diacritics character class matched in logic.trim().split(/\s+/).filter(Boolean);diff --git a/jarvis/ui/web/frontend/src/lib/ws.ts b/jarvis/ui/web/frontend/src/lib/ws.tsindex 66107d5ba3..f40cd450a1 100644--- a/jarvis/ui/web/frontend/src/lib/ws.ts+++ b/jarvis/ui/web/frontend/src/lib/ws.ts@@ -82,7 +82,7 @@ export class WSClient {try {sub(parsed);} catch {- // subscriber-Errors duerfen den Client nicht killen+ // subscriber errors must not kill the client}}} catch {@@ -106,8 +106,8 @@ export class WSClient {this.stopPing();this.pingTimer = setInterval(() => {if (this.ws?.readyState === WebSocket.OPEN) {- // Backend uses receive_json + WSCommand discriminator — ein nackter- // "ping"-String würde JSONDecodeError auslösen und die Session kippen.+ // Backend uses receive_json + WSCommand discriminator — a bare+ // "ping" string would trigger a JSONDecodeError and tip over the session.this.ws.send(JSON.stringify({ type: "command", action: "ping", payload: {} }));}}, PING_INTERVAL);diff --git a/jarvis/ui/web/frontend/src/store/events.test.ts b/jarvis/ui/web/frontend/src/store/events.test.tsindex 4d2d9f9cea..62e8fdfa15 100644--- a/jarvis/ui/web/frontend/src/store/events.test.ts+++ b/jarvis/ui/web/frontend/src/store/events.test.ts@@ -27,13 +27,13 @@ describe("useEventStore.pushMessage idempotency", () => {});it("renders a re-delivered message (same id) only once", () => {- const m = msg("1700000000000-abcd1234", "Hallo, wie kann ich dir helfen?");+ const m = msg("1700000000000-abcd1234", "Hallo, wie kann ich dir helfen?"); // i18n-allow: simulated German assistant chat message is the content under testuseEventStore.getState().pushMessage(m);useEventStore.getState().pushMessage(m); // duplicate WS frame / reconnect replayexpect(useEventStore.getState().messages).toHaveLength(1);expect(useEventStore.getState().messages[0]?.content).toBe(- "Hallo, wie kann ich dir helfen?",+ "Hallo, wie kann ich dir helfen?", // i18n-allow: simulated German assistant chat message is the content under test);});diff --git a/jarvis/ui/web/frontend/src/store/events.ts b/jarvis/ui/web/frontend/src/store/events.tsindex a8ad21ee45..9c3b127896 100644--- a/jarvis/ui/web/frontend/src/store/events.ts+++ b/jarvis/ui/web/frontend/src/store/events.ts@@ -139,22 +139,22 @@ export interface ConversationSummary {export interface PendingTerminalCommand {command: string;shell: string;- label: string; // z.B. "Install GitHub CLI" — wird im Terminal als Banner gerendert+ label: string; // e.g. "Install GitHub CLI" — rendered as a banner in the terminal}/**- * Begleit-Overlay zur Terminal-Session bei CLI-Connect-Flows.+ * Companion overlay to the terminal session during CLI-connect flows.*- * Unabhaengig vom pendingTerminalCommand, weil der Coach waehrend der ganzen- * Login-Dauer aktiv bleibt (Command wird ja nur einmal injiziert, Coach aber- * pollt bis auth.status == "connected").+ * Independent of pendingTerminalCommand, because the coach stays active for+ * the entire login duration (the command is only injected once, but the coach+ * polls until auth.status == "connected").*/export interface CliConnectCoach {- cliName: string; // API-Name, fuer Polling: /api/clis/{cliName}/check- displayName: string; // z.B. "GitHub CLI"+ cliName: string; // API name, for polling: /api/clis/{cliName}/check+ displayName: string; // e.g. "GitHub CLI"authMode: "oauth_cli" | "api_key" | "config_file" | "none";- loginCommand: string; // shell-ready, z.B. "gh auth login"- statusCommand: string | null; // z.B. "gh auth status" — optional fuer manuellen Recheck+ loginCommand: string; // shell-ready, e.g. "gh auth login"+ statusCommand: string | null; // e.g. "gh auth status" — optional, for a manual recheck}interface EventStore {@@ -182,10 +182,10 @@ interface EventStore {conversations: ConversationSummary[];activeThreadId: string | null;activeKind: ConversationKind;- // Optimistischer Thinking-Indikator fuer den Text-Chat: ChatInput.send()- // setzt true, eintreffender Assistant-Reply (oder ErrorOccurred aus brain-Layer- // bzw. 60s-Timeout) setzt zurueck. Bewusst getrennt vom globalen voiceState,- // weil der auch durch Voice-Pipeline-Turns gesetzt wird (kein Text-Chat-Wait).+ // Optimistic thinking indicator for the text chat: ChatInput.send()+ // sets it true; an incoming assistant reply (or ErrorOccurred from the brain layer,+ // or a 60s timeout) resets it. Deliberately separate from the global voiceState,+ // because that is also set by voice-pipeline turns (not a text-chat wait).chatThinking: boolean;// Live reasoning trace rendered inside the ThinkingTrace card. Steps are// ingested from WS events ONLY while chatThinking is true (voice turns in@@ -221,10 +221,10 @@ interface EventStore {dictationCommitText: string;pendingTerminalCommand: PendingTerminalCommand | null;cliConnectCoach: CliConnectCoach | null;- // Wenn der User aus ClisView heraus eine CLI installieren laesst (Klick- // "Im Terminal installieren"), setzen wir hier den Namen — das TerminalView- // erkennt nach exit_code=0, dass es einen Install verifizieren soll- // (POST /check + Toast). One-shot: nach Verify wieder auf null.+ // When the user installs a CLI from within ClisView (clicking+ // "Install in terminal"), we set the name here — TerminalView+ // detects after exit_code=0 that it should verify an install+ // (POST /check + toast). One-shot: reset to null after verify.pendingInstallCliName: string | null;pushEvent: (e: EventItem) => void;setVoice: (v: VoiceState) => void;