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
i18n(browser-voice): localized de/es labels for the Browser Voice view + nav
Ruben Lütke71f668311647
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000000..983054cdb3--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,141 @@+# Contributing to Personal Jarvis++Thank you for contributing to Personal Jarvis! This guide covers everything you need:+setting up your dev environment, understanding the architecture, deciding what to build,+and getting your PR merged.++> All artifacts in this repo are **English** — code, comments, docstrings, docs, commit+> messages, and PR text. (You can talk to us in any language; the assistant speaks de/en/es+> at runtime — but everything written into the repo is English. CI enforces this.)++## Contribution priorities++We value contributions in this order:++1. **Bug fixes** — crashes, incorrect behavior, data loss, voice-path regressions. Always top priority.+2. **Cross-platform compatibility** — Linux, macOS, Windows, and headless servers. A feature+ that only works on one OS is *incomplete*, not "done with a known limitation". See+ [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md).+3. **Security hardening** — prompt injection, the instruction-source boundary, the risk-tier+ policy, path traversal, privilege escalation, secret handling. See [`SECURITY.md`](SECURITY.md).+4. **Performance & robustness** — voice latency budgets, retry logic, graceful degradation,+ and the "conversation never blocks" contract.+5. **New providers / plugins** — wake, STT, TTS, brain, harness, tool, or channel plugins.+ Must be provider-agnostic and pass the contract suite.+6. **New skills** — but only broadly useful ones. Generated skills land as drafts and are+ never auto-activated.+7. **Documentation** — fixes, clarifications, new examples.++## Before you start++- Search existing issues, and say hi on [Discord](https://discord.gg/UPu6pFWrJ).+- For anything non-trivial, open an issue first so we can agree on the approach.+- Keep PRs focused — one logical change per PR is much easier to review and merge.++## Development environment++```bash+git clone https://github.com/PersonalJarvis/PersonalJarvis ~/personal-jarvis+cd ~/personal-jarvis++python -m venv .venv+source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1++pip install -e . --no-deps # activates the plugin entry-points+pip install -r requirements.txt # runtime dependencies+pip install -e ".[dev]" # pytest, ruff, mypy++python -m jarvis --wizard # interactive first-run setup+python -m jarvis.ui.web.launcher # run it (add --headless for a server)+```++- **After editing entry-points** (`pyproject.toml`), re-run `pip install -e . --no-deps` —+ this is what activates new plugins.+- **Frontend** lives in `jarvis/ui/web/frontend/`: `npm install`, then `npm run dev`+ (`http://localhost:5173`), `npm run build`, `npm run test`.++## Architecture in 60 seconds++Personal Jarvis is an 8-layer system. The rules that matter for contributors:++- **Higher layers reach lower layers only through protocols** (`jarvis/core/protocols.py`).+ Lateral communication is only via typed, immutable events on the **EventBus**.+- **Streaming-first** — `Brain`/`STT`/`TTS`/`Harness` methods return `AsyncIterator`;+ non-streaming providers yield exactly one element.+- **Provider-agnostic** — never hardcode a single brain vendor; `cfg.brain.primary` selects.+- **Router-Brain dispatches** to interchangeable harnesses; heavy work runs as **missions**+ in isolated `git worktree` branches under a Worker-Critic loop.++For the deep dive, read [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md) (a dense, self-contained+engineering snapshot), [`CLAUDE.md`](CLAUDE.md) (binding conventions), and+[`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) (the cross-platform, cloud-first doctrine).++## Should it be a Plugin, a Tool, or a Skill?++This is the most common design question. Pick the smallest thing that fits:++- **Plugin** — a swappable *provider* in one of the seven groups (`wakeword`, `stt`, `tts`,+ `brain`, `harness`, `tool`, `channel`). Plugins live under `jarvis/plugins/<group>/<name>.py`,+ register via `pyproject.toml` entry-points, and **must not import from `jarvis.*`** inside+ the plugin module — only structural Protocol compatibility. New STT/Brain/Tool/Channel+ providers must pass `tests/contract/`.+- **Tool** — a discrete capability the brain can call *within a turn*. Tools go through the+ `ToolExecutor` and the risk-tier policy. **Never call `Tool.execute()` directly.**+- **Skill** — a higher-level, authored capability or multi-step workflow. Generated skills+ are created as `draft` and are never auto-activated.++Rule of thumb: a swappable backend → **plugin**; a single brain-callable action → **tool**;+an authored multi-step workflow → **skill**.++## Conventions that keep the project coherent++- **English artifacts**, always (CI `language-policy` gate).+- **Risk-tier discipline** — `ToolExecutor.execute()` is the only authorized execution path.+- **Router discipline** — `ROUTER_TOOLS` is a frozenset; no spawn-tool ever enters a worker+ tool set (it creates a recursion vector).+- **Enum-drift prevention** — any string crossing module boundaries (a status, a reason)+ uses the five-layer pattern (Python → SQL → Pydantic → TypeScript → UI) plus a parity test.+- **Atomic config writes** — mutate `jarvis.toml` only through `config_writer` (lock ++ tempfile + BOM-safe).+- **Subprocess hygiene** — pass `NO_WINDOW_CREATIONFLAGS` from `jarvis/core/process_utils.py`.+- **Secrets** — only via `get_secret()`; never in code, config, or commits. Voice/chat must+ never accept secrets.+- **No new hard dependency on Windows- or GPU-specific packages in the base install** — those+ go into the `[desktop]` extras with a graceful no-op fallback elsewhere.++The full anti-pattern register lives in [`docs/LLM-CONTEXT.md`](docs/LLM-CONTEXT.md).++## Testing++```bash+pytest tests/ # full suite (asyncio_mode=auto)+pytest -m "not slow" # fast subset+pytest tests/contract/ -v # mandatory for new STT/Brain/Tool/Channel providers++ruff check jarvis/ && ruff format --check jarvis/+mypy jarvis/++cd jarvis/ui/web/frontend && npm run test && npm run build+```++Tests use fakes (in `tests/fakes/`), not mocks. New providers must pass the contract suite.++## Getting your PR merged++Before you open a PR, run through this checklist:++- [ ] Tests pass (`pytest`), including `tests/contract/` for new providers.+- [ ] `ruff` and `mypy` are clean; the frontend builds and `vitest` is green.+- [ ] All new/changed artifacts are English (the CI language-policy gate is a required check).+- [ ] New wire-format enums use the five-layer pattern + a parity test.+- [ ] No new base-install dependency on Windows-/GPU-specific packages (extras only).+- [ ] User-facing changes update the docs / `CHANGELOG.md`.++Open a PR with a clear description of *what* changed and *why*, and link the issue it closes.+By contributing, you agree your contribution is licensed under the [MIT License](LICENSE).++## Community++- **Discord** — [discord.gg/UPu6pFWrJ](https://discord.gg/UPu6pFWrJ)+- **X** — [@PersonalJarvis](https://x.com/PersonalJarvis)+- **Issues** — [GitHub issues](https://github.com/PersonalJarvis/PersonalJarvis/issues)diff --git a/SECURITY.md b/SECURITY.mdnew file mode 100644index 0000000000..b20989ef0b--- /dev/null+++ b/SECURITY.md@@ -0,0 +1,66 @@+# Security Policy++Personal Jarvis runs workloads that sit close to untrusted content — voice, web pages,+documents, and computer-use loops — so security is built into the architecture, not bolted+on. This document explains how to report a vulnerability and how the system defends itself.++## Reporting a vulnerability++**Please report security issues privately — do not open a public issue.**++- **Preferred:** use GitHub's private vulnerability reporting — the **"Report a vulnerability"**+ button on this repository's **Security** tab. It opens a private advisory only the+ maintainers can see.+- **Alternative:** reach out on [Discord](https://discord.gg/UPu6pFWrJ) and ask a maintainer+ for a private channel before sharing any details.++Please include a clear description, the affected component, and reproduction steps. We'll+acknowledge your report as soon as we reasonably can and keep you updated on the fix. Please+give us a chance to ship a fix before any public disclosure.++## Supported versions++Personal Jarvis ships from `main`; security fixes land there. There are no long-term-support+branches — please test against the latest `main`.++## Security model++Security is enforced by the architecture, so the same guarantees hold regardless of which+providers you configure:++- **Instruction-source boundary.** Only the user — via the chat or voice interface — issues+ instructions. Everything observed *through tools* (web pages, emails, documents, screenshots,+ file contents) is treated as **data, not commands**. Instructions embedded in observed+ content are surfaced to the user, never executed.+- **Risk-tier policy.** Every tool call is classified `safe` / `monitor` / `ask` / `block`+ with the precedence *blacklist > whitelist > tool default*. `ToolExecutor.execute()` is the+ **only** authorized execution path — direct `Tool.execute()` calls are forbidden.+- **Prompt-injection defenses.** The lean Router-Brain dispatches to isolated workers, and a+ regex-only output filter scrubs the spoken path. Observed content cannot escalate privileges+ or redirect data to endpoints it suggests.+- **Secret handling.** Secrets are accessed only through `get_secret()` (OS credential manager+ → environment → `.env` dev fallback). They never live in code, config, or commits, and the+ voice/chat path never accepts secrets (an STT-log-leak vector).+- **Self-modification safety.** Configuration changes go through a 10-step+ *validate → backup → atomic-swap → synchronous reload → rollback → audit* pipeline, and any+ generated skills are created as `draft` and never auto-activated.+- **Worker isolation.** Background workers run in fresh, isolated `git worktree` branches with+ kill-on-crash containment, and never write to the user's working tree.+- **Least-privilege elevation.** Administrative actions are requested per-action and audited+ over a signed (HMAC) IPC channel — never globally elevated.++## Scope++**In scope:** the `jarvis` package, the desktop app, the plugin system, the tool-use and+risk-tier path, the self-modification pipeline, and the mission/worker isolation.++**Out of scope:** vulnerabilities in third-party provider APIs (report to the provider);+issues caused by user misconfiguration; and vulnerabilities in upstream dependencies (report+upstream — we track advisories via Dependabot and update as fixes land).++## A note on the threat model++Personal Jarvis is a powerful local agent: with the optional desktop extras it can see your+screen, type, run shell commands, and place calls. Treat the API keys you configure and the+permissions you grant it the way you would treat your own credentials. The defaults are+conservative; review what you enable before pointing it at production systems or sensitive data.diff --git a/assets/brand/banner.html b/assets/brand/banner.htmlnew file mode 100644index 0000000000..29e5732823--- /dev/null+++ b/assets/brand/banner.html@@ -0,0 +1,248 @@+<!doctype html>+<!--+ Personal Jarvis — ALTERNATE CSS/SVG wordmark treatment.+ NOTE: the live README hero (assets/brand/banner.png) is an AI-generated banner.+ This file is a lightweight, fully-reproducible fallback. Rendering it writes+ banner-css.png (NOT banner.png), so it never clobbers the AI hero.+ Brand: matte-black #0A0A0A + signal-yellow #FFD60A (gold gradient).+ Typeface: Space Grotesk (display), JetBrains Mono (tagline).+ Rasterize:+ chrome --headless=new --hide-scrollbars --force-device-scale-factor=2 \+ --virtual-time-budget=4000 --window-size=1280,480 \+ --screenshot=banner-css.png "file:///.../banner.html"+-->+<html lang="en">+ <head>+ <meta charset="UTF-8" />+ <link rel="preconnect" href="https://fonts.googleapis.com" />+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />+ <link+ href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=JetBrains+Mono:wght@500&display=block"+ rel="stylesheet"+ />+ <style>+ :root {+ --black: #0a0a0a;+ --ink: #f4f4f5;+ --yellow: #ffd60a;+ --yellow-hi: #ffe552;+ --gold-lo: #b8960a;+ --muted: #8f8f8f;+ --cyan: #29e0e0;+ --magenta: #ff2d6f;+ }+ * { margin: 0; padding: 0; box-sizing: border-box; }+ html, body {+ width: 1280px;+ height: 480px;+ background: var(--black);+ overflow: hidden;+ }+ .stage {+ position: relative;+ width: 1280px;+ height: 480px;+ display: flex;+ flex-direction: column;+ align-items: center;+ justify-content: center;+ background: var(--black);+ isolation: isolate;+ }++ /* ---- Atmosphere: gold orb glow + vignette ---- */+ .glow {+ position: absolute;+ inset: 0;+ background:+ radial-gradient(circle at 50% 42%, rgba(255, 214, 10, 0.20) 0%, rgba(255, 214, 10, 0.06) 26%, transparent 58%),+ radial-gradient(circle at 50% 42%, rgba(255, 229, 82, 0.10) 0%, transparent 40%);+ z-index: 0;+ }+ .vignette {+ position: absolute;+ inset: 0;+ background: radial-gradient(ellipse 80% 75% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);+ z-index: 5;+ pointer-events: none;+ }+ /* faint orbital ring, echoing the product Orb */+ .ring {+ position: absolute;+ top: 50%;+ left: 50%;+ width: 760px;+ height: 760px;+ transform: translate(-50%, -54%);+ border-radius: 50%;+ border: 1px solid rgba(255, 214, 10, 0.10);+ box-shadow: 0 0 60px rgba(255, 214, 10, 0.05) inset;+ z-index: 1;+ }+ .ring.two {+ width: 980px;+ height: 980px;+ border-color: rgba(255, 214, 10, 0.05);+ }++ /* ---- Wordmark ---- */+ .wordmark {+ position: relative;+ z-index: 3;+ text-align: center;+ padding: 0 44px;+ filter: url(#rough);+ }+ .line {+ position: relative;+ font-family: "Space Grotesk", system-ui, sans-serif;+ font-weight: 700;+ font-size: 150px;+ line-height: 0.88;+ letter-spacing: -5px;+ text-transform: uppercase;+ color: transparent;+ background: linear-gradient(177deg, var(--yellow-hi) 0%, var(--yellow) 52%, var(--gold-lo) 100%);+ -webkit-background-clip: text;+ background-clip: text;+ text-shadow: 0 0 1px rgba(255, 214, 10, 0.0);+ }+ .line .halo {+ position: absolute;+ inset: 0;+ color: var(--yellow);+ -webkit-text-fill-color: transparent;+ filter: blur(26px);+ opacity: 0.45;+ z-index: -1;+ }+ /* RGB-split ghost layers (baked static glitch frame) */+ .line::before,+ .line::after {+ content: attr(data-text);+ position: absolute;+ left: 0;+ top: 0;+ width: 100%;+ -webkit-background-clip: border-box;+ background: none;+ mix-blend-mode: screen;+ pointer-events: none;+ }+ .line::before {+ color: var(--magenta);+ transform: translate(-3px, 2px);+ clip-path: polygon(0 16%, 100% 16%, 100% 25%, 0 25%, 0 66%, 100% 66%, 100% 72%, 0 72%);+ opacity: 0.32;+ }+ .line::after {+ color: var(--cyan);+ transform: translate(3px, -1px);+ clip-path: polygon(0 44%, 100% 44%, 100% 50%, 0 50%, 0 86%, 100% 86%, 100% 92%, 0 92%);+ opacity: 0.3;+ }+ /* a couple of torn / displaced slices for the "gatschig" feel */+ .slice {+ position: absolute;+ left: 0;+ width: 100%;+ font-family: "Space Grotesk", sans-serif;+ font-weight: 700;+ font-size: 158px;+ line-height: 0.86;+ letter-spacing: -4px;+ text-transform: uppercase;+ color: var(--yellow);+ z-index: 4;+ }++ /* ---- Tagline + rule ---- */+ .tagline {+ position: relative;+ z-index: 3;+ margin-top: 34px;+ font-family: "JetBrains Mono", ui-monospace, monospace;+ font-weight: 500;+ font-size: 19px;+ letter-spacing: 7px;+ text-transform: uppercase;+ color: var(--muted);+ }+ .tagline b { color: var(--yellow); font-weight: 500; }+ .rule {+ z-index: 3;+ margin-top: 22px;+ width: 132px;+ height: 2px;+ background: linear-gradient(90deg, transparent, var(--yellow), transparent);+ opacity: 0.7;+ }++ /* ---- Texture overlays ---- */+ .scanlines {+ position: absolute;+ inset: 0;+ z-index: 6;+ background: repeating-linear-gradient(+ to bottom,+ rgba(0, 0, 0, 0) 0px,+ rgba(0, 0, 0, 0) 2px,+ rgba(0, 0, 0, 0.18) 3px,+ rgba(0, 0, 0, 0) 4px+ );+ opacity: 0.5;+ pointer-events: none;+ mix-blend-mode: multiply;+ }+ .grain {+ position: absolute;+ inset: 0;+ z-index: 6;+ opacity: 0.07;+ pointer-events: none;+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");+ mix-blend-mode: overlay;+ }+ /* erosion: coarse noise on MULTIPLY eats into the bright gold,+ leaving the near-black background almost untouched -> "gatschig" */+ .erode {+ position: absolute;+ inset: 0;+ z-index: 4;+ opacity: 0.26;+ pointer-events: none;+ background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='e'><feTurbulence type='fractalNoise' baseFrequency='0.5 0.42' numOctaves='2' seed='11' stitchTiles='stitch'/><feColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -0.55 0.7'/></filter><rect width='100%25' height='100%25' filter='url(%23e)'/></svg>");+ background-size: 200px 200px;+ mix-blend-mode: multiply;+ }+ </style>+ </head>+ <body>+ <!-- SVG filters: subtle erosion/displacement of the letterforms -->+ <svg width="0" height="0" style="position: absolute">+ <filter id="rough" x="-20%" y="-40%" width="140%" height="180%">+ <feTurbulence type="fractalNoise" baseFrequency="0.012 0.16" numOctaves="2" seed="7" result="n" />+ <feDisplacementMap in="SourceGraphic" in2="n" scale="6" xChannelSelector="R" yChannelSelector="G" />+ </filter>+ </svg>++ <div class="stage">+ <div class="glow"></div>+ <div class="ring"></div>+ <div class="ring two"></div>++ <div class="wordmark">+ <div class="line" data-text="PERSONAL"><span class="halo">PERSONAL</span>PERSONAL</div>+ <div class="line" data-text="JARVIS"><span class="halo">JARVIS</span>JARVIS</div>+ </div>++ <div class="rule"></div>+ <div class="tagline">VOICE-DRIVEN <b>META-ORCHESTRATOR</b></div>++ <div class="erode"></div>+ <div class="scanlines"></div>+ <div class="grain"></div>+ <div class="vignette"></div>+ </div>+ </body>+</html>diff --git a/assets/brand/banner.png b/assets/brand/banner.pngnew file mode 100644index 0000000000..6325e035d1Binary files /dev/null and b/assets/brand/banner.png differdiff --git a/assets/brand/render.ps1 b/assets/brand/render.ps1new file mode 100644index 0000000000..e9c4fb0052--- /dev/null+++ b/assets/brand/render.ps1@@ -0,0 +1,40 @@+<#+ Rasterize a brand HTML file to PNG via headless Chrome.+ Usage: pwsh assets/brand/render.ps1 [-In banner.html] [-Out banner-css.png] [-W 1280] [-H 480]+ NOTE: defaults to banner-css.png so it never overwrites the AI-generated banner.png.+ Writes to a space-free temp path first (Chrome --screenshot mishandles spaces),+ then copies into assets/brand/.+#>+param(+ [string]$In = "banner.html",+ [string]$Out = "banner-css.png",+ [int]$W = 1280,+ [int]$H = 480,+ [int]$Scale = 2+)++$ErrorActionPreference = "Stop"+$chrome = "C:\Program Files\Google\Chrome\Application\chrome.exe"+if (-not (Test-Path $chrome)) { throw "Chrome not found at $chrome" }++$dir = Split-Path -Parent $MyInvocation.MyCommand.Path+$inPath = Join-Path $dir $In+if (-not (Test-Path $inPath)) { throw "Input not found: $inPath" }++$tmpProfile = Join-Path $env:TEMP ("cprof-" + [guid]::NewGuid().ToString("N"))+$tmpOut = Join-Path $env:TEMP ("pjshot-" + [guid]::NewGuid().ToString("N") + ".png")+$fileUrl = "file:///" + (($inPath -replace '\\','/') -replace ' ','%20')++& $chrome "--headless=new" "--hide-scrollbars" "--disable-gpu" "--no-sandbox" `+ "--force-device-scale-factor=$Scale" "--virtual-time-budget=4500" `+ "--user-data-dir=$tmpProfile" "--window-size=$W,$H" `+ "--screenshot=$tmpOut" "$fileUrl" | Out-Null++if (Test-Path $tmpOut) {+ Copy-Item $tmpOut (Join-Path $dir $Out) -Force+ Write-Output ("OK {0}x{1}@{2}x -> {3} ({4} bytes)" -f $W, $H, $Scale, $Out, (Get-Item $tmpOut).Length)+ Remove-Item $tmpOut -Force -ErrorAction SilentlyContinue+} else {+ Write-Output "RENDER FAILED (exit $LASTEXITCODE)"+}+Remove-Item $tmpProfile -Recurse -Force -ErrorAction SilentlyContinuediff --git a/docs/BRAND.md b/docs/BRAND.mdnew file mode 100644index 0000000000..cc9a4f474a--- /dev/null+++ b/docs/BRAND.md@@ -0,0 +1,95 @@+# Brand Guidelines++The visual language of Personal Jarvis: matte black, a single signal-yellow, and a+distressed wordmark. The goal is *confident and engineered*, never noisy or playful.++<p align="center">+ <img src="../assets/brand/banner.png" alt="Personal Jarvis wordmark" width="720" />+</p>++## Color++One accent, one surface family. The yellow does the talking; everything else is near-black.++| Role | Hex | Chip |+|---|---|---|+| Signal Yellow (primary) | `#FFD60A` |  |+| Gold highlight | `#FFE552` |  |+| Deep gold (gradient end) | `#B8960A` |  |+| Matte Black (background) | `#0A0A0A` |  |+| Card | `#0F0F0F` |  |+| Border | `#242424` |  |+| Foreground (text) | `#F4F4F5` |  |+| Muted text | `#8F8F8F` |  |++**Signal-yellow gradient** (used on the wordmark and primary accents):+`linear-gradient(177deg, #FFE552 0%, #FFD60A 52%, #B8960A 100%)`.++These are the exact tokens from the desktop app+(`jarvis/ui/web/frontend/src/index.css`) — the README, the product, and any brand asset+must stay on the same values so nothing drifts.++### Rules++- **Yellow is for emphasis, not fill.** Use it for the wordmark, key accents, links, and a+ single call-to-action — not for large flat panels.+- **Default to dark.** Black is the canvas. Avoid light backgrounds; if one is unavoidable,+ use `#0A0A0A` text on it and skip the glow.+- **One accent only.** No second brand color. The cyan/magenta in the wordmark are a+ *glitch artifact*, not part of the palette — never use them as UI colors.++## Typography++| Use | Typeface | Notes |+|---|---|---|+| Display / wordmark | **Space Grotesk** (700) | Uppercase, tight tracking (`-4 to -5px` at hero size) |+| Body / UI | **Inter** | The product UI font |+| Code / mono / tagline | **JetBrains Mono** (500) | Letter-spaced caps for taglines and labels |++## The wordmark++The hero is the word **PERSONAL JARVIS** as an embossed, beveled **metallic-gold** wordmark+on matte black — chunky geometric capitals with 3D bevels, specular highlights, a warm+golden bloom, and faint embers. It should read like forged gold, not flat text.++- **Live banner:** [`../assets/brand/banner.png`](../assets/brand/banner.png) — a+ high-resolution generated raster (2172×724, 3:1). This is the file the README embeds.+- **CSS fallback:** [`../assets/brand/banner.html`](../assets/brand/banner.html) is a+ fully reproducible pure-CSS/SVG treatment of the same wordmark;+ `pwsh assets/brand/render.ps1` rasterizes it to `banner-css.png`. Use it only where a+ generated raster isn't available.++### Do++- Keep clear space around the wordmark of at least the cap-height on every side.+- Keep it on a dark, low-detail background so the glow reads.+- Keep the distress subtle — legibility first.++### Don't++- Don't recolor it (no blue, no white-only, no rainbow).+- Don't crank the glitch until letters are hard to read — it's seasoning, not the dish.+- Don't place it on a busy photo without a dark scrim behind it.+- Don't stretch, condense, or rotate it.++## Voice & tone++Write like a senior engineer who respects the reader's time.++- **Honest over hype.** State what's live, what's pending, and what's unverified — the way+ the product's own verification badges do. No "blazingly fast", no exclamation storms.+- **Concrete over abstract.** Show the mechanism, not the marketing.+- **Sparing with emoji.** A single functional marker is fine; a wall of them is not.+- **English for artifacts** (code, docs, commits); the assistant *speaks* de/en/es at+ runtime, but everything written into the repo is English.++## Asset index++| Asset | Path |+|---|---|+| Hero banner (live) | `assets/brand/banner.png` |+| Hero banner (CSS fallback source) | `assets/brand/banner.html` → `banner-css.png` |+| Banner render script | `assets/brand/render.ps1` |+| Product Orb | `jarvis/ui/web/frontend/public/hero-orb.png` |+| Mascot (Gigi) | `assets/icons/jarvis-gigi-256.png` |+| App screenshots | `assets/screenshots/` |diff --git a/docs/LLM-CONTEXT.md b/docs/LLM-CONTEXT.mdnew file mode 100644index 0000000000..ec767ae764--- /dev/null+++ b/docs/LLM-CONTEXT.md@@ -0,0 +1,719 @@+# Personal Jarvis — LLM Context Drop++> **What this file is.** A dense, self-contained engineering snapshot of the whole+> project. Paste it into a fresh chat (Gemini, Claude, ChatGPT, Cursor) and the model+> gets enough context to reason about Personal Jarvis without paging through 30+ files.+> It is intentionally exhaustive — anti-pattern tables, bug classes, phase status with+> `file:line` references, enum-drift defenses, testing buckets, the full script inventory.+>+> **Looking for the human-facing overview?** See [`../README.md`](../README.md).+> **Binding source-of-truth:** [`../CLAUDE.md`](../CLAUDE.md) + the docs linked at the bottom.++**Personal Jarvis** is a voice-driven **Supervisor-Agent meta-orchestrator** — not a classical voice assistant. The core pattern is a fast **Router-Brain** that dispatches work to interchangeable harnesses (OpenClaw subprocess, Codex CLI, Open Interpreter, MCP servers, raw computer-use loops). The voice layer is just the I/O surface; the soul is the dispatcher discipline that keeps the Router-Brain lean and delegates heavy reasoning to specialized subagents under critic-loop + worktree-isolation guard rails. The project is **provider-agnostic by mandate** — the user has no Anthropic API account (Claude Max OAuth is used only inside workers) — and **self-modifying** via an atomic config-writer with a 10-step validate-backup-tempfile-replace-rollback-audit pipeline.++> ### Cloud-First — Read This Before The Install Section+> **Target runtime is any €5 / month VPS or low-spec laptop** with a modern browser. **The maintainer's RTX 5070 Ti / Windows 11 Pro workstation is not a requirement** — it represents fewer than 0.1 % of the install base this project is being designed for. All Brain / STT / TTS / Vision / Wake providers default to cloud APIs; no GPU, no local models, no Windows APIs, no microphone are required in the base install. Windows-desktop features (tray app, Orb overlay, global hotkey wake, local Whisper, Silero-VAD-in-process, Computer-Use harness, PowerShell drift-guard daemon) are **opt-in `[desktop]` extras**, not requirements. **Binding doctrine: [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md)**. On conflict between this README and `PHILOSOPHY.md`, the doctrine wins.++- **Base runtime:** Linux / macOS / Windows with Python 3.11+ and a network connection. Headless VPS + browser UI is a first-class deployment target.+- **Maintainer's reference machine** (the project is developed on, but **does not require**, this hardware): RTX 5070 Ti, 32 GB RAM, CUDA 12.8, Windows 11 Pro — unlocks the optional `[desktop]` extras.+- **Repo root** (maintainer's workstation; not relevant to consumers): `C:\Users\Administrator\Desktop\Personal Jarvis`+- **Binding plan:** `~/.claude/plans/also-er-muss-auch-lexical-pond.md` (plan wins on plan-vs-code conflict).+- **Binding doctrine:** [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) (cloud-first; wins over the binding plan when the two disagree on hardware assumptions).++---++## Hardware — what you actually need++Personal Jarvis ships in two very different shapes with **very different hardware needs**. The cloud-first base install is tiny; only the full desktop power-user profile with local voice models needs real hardware. Find your row below.++**Measured footprint** — maintainer's Windows 11 workstation, full voice + UI mode, cloud Brain/STT/TTS, local openWakeWord, measured 2026-05-29:++| Component | Resident (Working Set) | Committed |+|---|---|---|+| Backend (`pythonw -m jarvis.ui.web.launcher` — FastAPI + voice pipeline) | 0.95 GB | 2.2 GB |+| Desktop UI (pywebview / WebView2 Chromium child processes) | 0.41 GB | — |+| **Full desktop process tree** | **≈ 1.4 GB** | **≈ 2.6 GB** |++> Budget **~2–2.5 GB of free RAM for the app** in desktop voice mode, not the 1.4 GB resident figure. Python *commits* the ML libraries at boot (chromadb / sentence-transformers embeddings, Silero-VAD, openWakeWord ONNX) even when they aren't all paged in — and under memory pressure, voice latency is the first thing to suffer.++### RAM / CPU by deployment profile++| Profile | What it does | Min system RAM | Min CPU | GPU | Disk |+|---|---|---|---|---|---|+| **A · Headless VPS / cloud** | base install, browser UI, all-cloud providers, no local audio | **2 GB** (1 GB boots with swap) | 1 vCPU | none | ~3 GB |+| **B · Desktop, cloud voice** | pywebview window + mic/speaker + cloud STT/TTS + local wake word | **8 GB** | 2-core | none | ~4 GB |+| **C · Desktop, full local** | local faster-whisper STT + local screen-vision (`--with-voice-local`) | **16 GB** | 4-core | NVIDIA ≥ 6 GB VRAM *or* Apple Silicon | ~8 GB + models |++Profiles **A and B need no GPU at all** — that is the entire point of the cloud-first doctrine. A GPU only matters for Profile C, where Whisper / Vision run locally instead of calling Groq / Deepgram / Google.++### Recommendation — Apple / macOS++Apple Silicon (arm64) recommended. Intel Macs run, but get no Neural-Engine benefit — budget 16 GB there.++| Use case | Minimum that runs well | Comfortable / recommended |+|---|---|---|+| **Cloud voice on a laptop** (Profile B) | MacBook Air **M1 / M2, 8 GB** | MacBook Air **M3 / M4, 16 GB** |+| **Always-on assistant host, 24/7** (Profile B/C) | Mac mini **M4, 16 GB** (≈ $599–799) | Mac mini **M4, 24–32 GB** |+| **Local Whisper + Vision** (Profile C) | M-series, **16 GB** unified (covers `whisper-medium`) | M-series, **32 GB** (covers `large-v3` + Vision) |++The **Mac mini M4 (16 GB unified, ≈ $799)** is the sweet spot for a dedicated always-on assistant: silent, ~7 W idle, and unified memory means CPU-side Whisper runs fine without a discrete GPU. On macOS, pywebview uses the native WKWebView, so the UI is *lighter* than the Chromium/WebView2 figures measured above.++### Recommendation — self-built (Linux / Windows)++| Use case | Minimum that runs well | Comfortable / recommended |+|---|---|---|+| **VPS / headless** (Profile A) | any **2 vCPU / 2 GB** Linux box | Hetzner **CX22 — 2 vCPU / 4 GB / 40 GB NVMe, ≈ €3.79–4.15 / mo** |+| **Desktop, cloud voice** (Profile B) | any x86-64, **4-core / 8 GB**, SSD, no GPU | **16 GB**, modern 6-core |+| **Desktop, full local** (Profile C) | **16 GB** + NVIDIA **RTX 3060 12 GB / 4060** (CUDA 12.x) | **32 GB** + RTX 4070+ / 5070 |++A **Hetzner CX22 at ≈ €4 / month** is the canonical €5-VPS this whole project is designed around — 2 vCPU, 4 GB, 40 GB NVMe, 20 TB traffic — and runs the headless base install + browser UI comfortably. The maintainer's reference desktop (RTX 5070 Ti / 32 GB / CUDA 12.8) is Profile C maxed out, and is explicitly **not** a requirement.++### What runs where (platform capability matrix)++The base + cloud-voice experience is fully cross-platform. The six desktop power-user features that were historically Windows-only are now **cross-platform behind a `jarvis/platform/` seam** (`detect_platform()` + `Capabilities` factories) — each carries an honest per-feature verification badge (see [Verification status](#verification-status) below).++**Badge legend:** ✅ CI-configured = the `ci.yml` matrix is configured to prove this on the ubuntu/macos runners (first green run pending the initial push). 🟡 unverified-on-real-desktop = a live GUI/permission behavior that needs a real macOS/Linux device — not yet signed off (this repo's maintainer has Windows only). ⚙ degrade-by-design = the documented graceful fallback on that OS.++| Capability | Linux | macOS | Windows |+|---|---|---|---|+| Headless base + browser UI | ✅ | ✅ | ✅ |+| Voice (wake → VAD → STT → TTS) | ✅ | ✅ | ✅ |+| Desktop window (pywebview) + tray | ✅ GTK/Qt | ✅ WKWebView | ✅ WebView2 |+| Local Whisper STT + screen vision | ✅ | ✅ | ✅ |+| Computer-Use — screenshot → click → type (vision, pixel coordinates) | ✅ X11 | ✅ | ✅ Win32 |+| Built-in terminal view (PTY) | ✅ CI-configured (`ptyprocess`) | ✅ CI-configured (`ptyprocess`) | ✅ ConPTY |+| Launch apps by name | ✅ CI-configured (`xdg-open`/exec) | ✅ CI-configured (`open -a`) | ✅ App Paths |+| Computer-Use — click by UI-element name | 🟡 unverified-on-real-desktop (AT-SPI; ⚙ pixel fallback) | 🟡 unverified-on-real-desktop (AX; ⚙ pixel fallback) | ✅ UIA |+| Global-hotkey wake | 🟡 unverified-on-real-desktop (X11 `pynput`; ⚙ Wayland no-op + wake-word) | 🟡 unverified-on-real-desktop (`pynput`) | ✅ |+| Orb overlay | 🟡 unverified-on-real-desktop (best-effort; ⚙ tray fallback) | 🟡 unverified-on-real-desktop (Tk `-transparentcolor`) | ✅ |+| Admin-helper / elevation | 🟡 unverified-on-real-desktop (pkexec/sudo; ⚙ NullElevator) | 🟡 unverified-on-real-desktop (Authorization Services) | ✅ UAC |++> macOS / Linux get the full Router-Brain → Worker-Critic → Mission-Manager experience — including voice, local Whisper, and the **screenshot → click → type** Computer-Use loop: the vision model picks pixel targets, and `mss` (screen capture) + `pyautogui` (click / type / scroll) are cross-platform **base** dependencies, not Windows-only. The six former Windows-only desktop features — the built-in terminal, launch-app-by-name, click-by-UI-element-name (UIA / AX / AT-SPI accessibility trees), global-hotkey wake, the Orb overlay, and the admin-helper / elevation — are now **cross-platform behind the `jarvis/platform/` seam** (one per-OS implementation per feature, selected by a `detect_platform()` factory, each degrading to a logged English no-op when its capability is absent). They remain **opt-in `[desktop]` / `[desktop-macos]` extras** (the headless €5-VPS base install ships none of them). Terminal and launch-by-name are fully CI-provable on the ubuntu/macos runners; UI-element-click, global-hotkey capture, the Orb transparency, and the elevation prompt are live GUI/permission behaviors that need a one-time sign-off on a real device (AD-3) — see the per-feature verdicts in [Verification status](#verification-status). See the `[desktop]` extras in [`pyproject.toml`](pyproject.toml), the cloud-first doctrine in [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md), and ADR-0020 (cross-platform elevation, supersedes ADR-0001).++#### Verification status++These cross-platform claims are labelled honestly per feature. The full, dated,+device-attributed verdict log lives in+[`docs/plans/cross-platform-mac-linux/SIGNOFF-LOG.md`](docs/plans/cross-platform-mac-linux/SIGNOFF-LOG.md),+with the operator checklist in+[`LIVE-SIGNOFF-CHECKLIST.md`](docs/plans/cross-platform-mac-linux/LIVE-SIGNOFF-CHECKLIST.md)+and the 20-scenario benchmark results in+[`JARVIS-20-RESULTS.md`](docs/plans/cross-platform-mac-linux/JARVIS-20-RESULTS.md).+As of this writing the maintainer has only a Windows machine and nothing has been+pushed, so every macOS/Linux **live** GUI/permission row is honestly labelled+`unverified-on-real-desktop` and the CI matrix is `CI-configured` (its first green+run is pending the initial push) — *not* "CI-verified" and *not* "live-verified".+Run [`scripts/crossplatform/signoff_probe.py`](scripts/crossplatform/signoff_probe.py)+on a real macOS box and a real Linux desktop to convert each row to a dated+`live-verified` verdict.++**One-line buying advice.** *Just want to try it?* Any laptop you already own (8 GB+) or a €4 Hetzner CX22. *Want a dedicated always-on assistant?* Mac mini M4 (16 GB). *Want everything local, no cloud STT?* 16–32 GB plus an NVIDIA RTX 3060 / 4060 (or better), or an Apple Silicon Mac with 16–32 GB.++---++## Table of contents++> ★ **[Hardware — what you actually need](#hardware--what-you-actually-need)** — measured RAM footprint + concrete Mac / Linux / Windows specs. Read this first if you're picking a machine.++1. [Quick install & first-run](#1-quick-install--first-run)+2. [Runtime modes](#2-runtime-modes)+3. [8-Layer architecture](#3-8-layer-architecture)+4. [Plugin system](#4-plugin-system)+5. [EventBus + streaming contract](#5-eventbus--streaming-contract)+6. [Brain providers + Ack-Brain](#6-brain-providers--ack-brain)+7. [Risk-Tier + Router discipline](#7-risk-tier--router-discipline)+8. [Output filter (voice path)](#8-output-filter-voice-path)+9. [Configuration & secrets](#9-configuration--secrets)+10. [Atomic config writes & Self-Mod pipeline](#10-atomic-config-writes--self-mod-pipeline)+11. [Phase-6 isolation invariants](#11-phase-6-isolation-invariants)+12. [Phase status table](#12-phase-status-table)+13. [5-layer anti-drift enum pattern](#13-5-layer-anti-drift-enum-pattern)+14. [Anti-patterns (AP-1..AP-18)](#14-anti-patterns-ap-1ap-18)+15. [Recurring bug classes](#15-recurring-bug-classes)+16. [Desktop App (UI)](#16-desktop-app-ui)+17. [Testing — buckets, markers, conventions](#17-testing--buckets-markers-conventions)+18. [Linting & type checking](#18-linting--type-checking)+19. [Scripts inventory](#19-scripts-inventory)+20. [External integrations & accounts](#20-external-integrations--accounts)+21. [ADR + Phase doc index](#21-adr--phase-doc-index)+22. [Operational rhythms](#22-operational-rhythms)+23. [Repo hygiene & contribution](#23-repo-hygiene--contribution)+24. [Key module index](#24-key-module-index)+25. [Doc-vs-code drift (verified)](#25-doc-vs-code-drift-verified)+26. [Pointers](#26-pointers)+27. [Legal](#27-legal)++---++## 1. Quick install & first-run++> **Signed one-liner installer — coming in a follow-up release.** A+> `curl … | bash` / `irm … | iex` one-liner with Sigstore/SLSA signature+> verification is being finished; until its signing pipeline is wired to this+> repository it is intentionally not advertised here. Install manually with the+> steps below — it works on Linux, macOS, and Windows.++**Manual install (works everywhere):**++```bash+git clone https://github.com/PersonalJarvis/PersonalJarvis ~/.personal-jarvis+cd ~/.personal-jarvis+python -m venv .venv+source .venv/bin/activate # Windows: .\.venv\Scripts\Activate.ps1+pip install -e . --no-deps # activates entry_points (BUG-006/014 recovery)+pip install -r requirements.txt # full runtime deps+pip install -e ".[dev]" # optional: pytest, ruff, mypy, pyinstaller++python -m jarvis --wizard # 7-step Setup-Wizard+```++Wizard (`jarvis/setup/wizard.py`) is idempotent: hardware analysis → API keys (written to Windows Credential Manager) → mic check → hotkey → external CLI deps (auto-installs `claude` CLI via npm; `node`/`npm` manual) → mascot install → profile.++**Console scripts** (from `[project.scripts]`):++| Script | Purpose |+|---|---|+| `jarvis` | Tray app or first-run wizard |+| `jarvis-ask` | One-shot prompt CLI |+| `jarvis-review-gc` | Phase 8.5 review-pipeline GC |+| `jarvis-review-eval` | Phase 8.6 eval harness (`--quick`/`--real`/`--bucket`) |++**Top-level `python -m jarvis` flags** (argparse in `jarvis/__main__.py`): `--version`, `--wizard`, `--check`, `--plugins`, `--debug`, `--phase5-doctor`, `--install-admin-helper`.++### Headless / VPS first-run (no interactive TTY)++This is the **primary path** for €5 VPS users, Docker containers, and CI environments. The interactive wizard (`setup/wizard.py`) detects when no TTY is attached and skips all prompts automatically. You only need to supply your API keys before launching.++**Step 1 — Provide your API key(s).** Choose one:++```bash+# Option A: environment variables (recommended for containers and systemd units)+export GEMINI_API_KEY=your-key-here # or whichever brain provider you use+export GROQ_API_KEY=your-groq-key # for fast STT (optional)++# Option B: .env file at the repo root (dev / docker-compose convenience)+cp .env.example .env+# edit .env and fill in your keys — full list of names in .env.example+```++The full set of recognised ENV variable names is in `.env.example`. Each name+mirrors the `env_fallback` field in the `SECRETS` list in `jarvis/setup/wizard.py`+(e.g. `GEMINI_API_KEY`, `ANTHROPIC_API_KEY`, `OPENAI_API_KEY`, `GROQ_API_KEY`,+`GROK_API_KEY`, `DEEPGRAM_API_KEY`, `CARTESIA_API_KEY`, `ELEVENLABS_API_KEY`, …).++**Step 2 — Launch in headless mode:**++```bash+# Preferred: API + WebSocket only, no GUI deps, no audio required.+python -m jarvis.ui.web.launcher --headless+```++On first run the wizard fires, detects the missing TTY, skips prompts, writes the+`data/.setup-complete` marker, and hands off to the app — all automatically.+You can also force non-interactive mode explicitly:++```bash+JARVIS_NONINTERACTIVE=1 python -m jarvis.ui.web.launcher --headless+```++**Step 3 — Open the browser UI.** Navigate to `http://<your-vps-ip>:47821`.+The full Router-Brain → Worker-Critic → Mission-Manager experience is available+in the browser, including voice via the browser's microphone (WebRTC).++> **What is NOT needed on a VPS:** no GPU, no audio hardware, no Windows APIs,+> no microphone, no desktop display. The `[desktop]` extras (tray app, Orb+> overlay, global-hotkey wake, local Whisper, Computer-Use harness) are+> optional — a clean `python:3.11-slim` Linux container boots without them.++**Code gap (deliberate, left for orchestrator decision):** the wizard's+`step_mic_check()`, `step_hotkey_check()`, `step_wake_word_setup()`,+`step_dependency_check()`, and `step_finalize()` (autostart prompt) are all+skipped in non-interactive mode together with `step_api_keys()`. A future+hardening pass could run the TTY-free steps (hardware check, dep check) even+in non-interactive mode and only gate on the `input()` calls. This is safe+as-is: all skipped steps are idempotent and can be re-run via+`python -m jarvis --wizard` from an interactive shell.++---++## 2. Runtime modes++`run.bat` is the preferred launcher — it auto-invokes `scripts/check-working-tree.ps1` as pre-boot drift restore.++| Command | Effect |+|---|---|+| `run.bat` | `pythonw` + FastAPI + pywebview window + voice + Orb (default; hidden console) |+| `run.bat --debug` | Console visible, `JARVIS_DEBUG=1`, verbose logging |+| `run.bat --dev` | Frontend from Vite dev server `:5173`, hot reload (`JARVIS_DEV=1`) |+| `run.bat --headless` | API + WebSocket only, no window, Mock-Brain wiring for E2E |++Direct launcher: `python -m jarvis.ui.web.launcher [--headless|--dev|--port N|--no-lock]`. `--no-lock` disables the `filelock` single-instance guard for parallel dev sessions. Voice opt-out: `set JARVIS_VOICE=0`.++---++## 3. 8-Layer architecture++```+L7 UI/UX Tray, Toasts, Admin-API, Desktop-App (FastAPI+React+pywebview), Orb-Overlay+L6 Orchestrator State-Machine, Router, BrainManager, Supervisor, Mission-Manager, Kontrollierer+L5 Harness-Adapter OpenClaw, Codex, Open Interpreter, Python-Script, MCP-Remote+L4 Brain 5 providers (Claude-API, OpenRouter, OpenAI, Gemini, Grok) + Ack-Brain sub-second tier+L3 Intent/Risk Classifier, Risk-Tier-Policy, Approval, Rate-Limit-Tracker+L2 Speech Wake → VAD (Silero) → STT (faster-whisper / Google / Deepgram) → TTS (Gemini Flash / Grok-Voice / SAPI5)+L1 Audio I/O WASAPI via sounddevice, Device-Routing, Chime-Feedback+L0 OS/Hardware Win32, CUDA, Mic/Speakers, global-hotkeys+```++**Dependency rule (strict):** higher layers reach lower layers **only via Protocols** (`jarvis/core/protocols.py:161-541` — all `runtime_checkable`, structural typing). Lateral communication is **only** via typed events on `EventBus` (`jarvis/core/bus.py`) with `frozen=True` dataclasses carrying `trace_id: UUID` + `timestamp_ns: int`. Subscriber exceptions are swallowed in `_safe_dispatch` (`bus.py:65-76`) and logged — never propagated (AP-18).++---++## 4. Plugin system++Seven groups frozen as `PLUGIN_GROUPS` in `jarvis/core/protocols.py:363-371`: `jarvis.wakeword`, `jarvis.stt`, `jarvis.tts`, `jarvis.brain`, `jarvis.harness`, `jarvis.tool`, `jarvis.channel` (plus `jarvis.turn` for end-of-turn detection, declared in `pyproject.toml:104`).++Plugins live under `jarvis/plugins/<group>/<name>.py`, register via `pyproject.toml` `[project.entry-points."jarvis.<group>"]`, and **must not import from `jarvis.*`** — only structural Protocol compatibility (registry at `jarvis/core/registry.py`). After editing entry-points: **`pip install -e . --no-deps`** is mandatory to activate them (this is the fourth layer of BUG-006/014).++---++## 5. EventBus + streaming contract++- Events are `frozen=True` slotted dataclasses inheriting from `Event` (`jarvis/core/events.py:29`), with auto-generated `trace_id` + `timestamp_ns`. 100+ subclasses.+- Immutability enables flight-recorder replay; `bus.subscribe_all(handler)` makes the recorder a wildcard subscriber.+- **All Brain/STT/TTS/Harness provider methods return `AsyncIterator[...]`** — non-streaming providers yield exactly one element. Consumers always write `async for chunk in provider.xxx()`.+- `EventBus.publish` (`bus.py:44-62`) parallel-dispatches via `asyncio.gather(..., return_exceptions=True)` and routes each handler through `_safe_dispatch`. **A broken subscriber must never kill the pipeline (AP-18).**++---++## 6. Brain providers + Ack-Brain++Six brain plugins (`pyproject.toml:130-137`): `claude-api`, `openrouter`, `openai`, `gemini`, `grok`, `codex`. Multi-provider is mandatory — **never hardcode** Anthropic/Claude. `cfg.brain.primary` is the master selector; `BrainManager` (`jarvis/brain/manager.py`) owns a smart fallback chain (rate-limit aware, frontier aware) and a `(provider_name, model) → Brain` cache. Voice aliases in `manager.py:100-113` accept `claude/opus/haiku/sonnet/gpt/chatgpt/flash/pro/grok`.++**Ack-Brain** (`jarvis/brain/ack_brain/generator.py`) emits a sub-second butler-style preamble before the deep brain replies. Provider plugins: Gemini, Grok, OpenAI, Ollama. Suppress-if-fast gate at `[ack_brain].suppress_if_brain_faster_than_ms = 2000` (ADR-0014 Flash-Brain). `AckGenerator.run()` is failure-safe across F1–F10 modes and never raises.++User context: **No Anthropic API account** (AP-6). Workers use Claude Sonnet via **Claude Max OAuth** through the `claude-cli` backend (`@anthropic-ai/claude-code`, npm-installed by the wizard). Personal Jarvis Brain stays on Gemini by default.++---++## 7. Risk-Tier + Router discipline++Four levels: `RiskTier = Literal["safe", "monitor", "ask", "block"]` (`protocols.py:108`). `RiskTierEvaluator.evaluate()` (`jarvis/safety/risk_tier.py:64-100`) applies **blacklist > whitelist > tool default** — blacklist match raises `ActionBlocked`; whitelist match downgrades to `safe` with `approved_by="whitelist"` (the anti-confirmation-fatigue contract). Glob matching via `fnmatch` on `"<tool_name> <serialized_args>"`. **`ToolExecutor.execute()` is the only authorized call path; AP-3 forbids direct `Tool.execute()`.**++**Router discipline (ADR-0011 amended):** the Router-Brain is a **pure dispatcher**. Tool surface is the `ROUTER_TOOLS` frozenset at `jarvis/brain/factory.py:40-77` — 13 tools: `run-shell`, `screen-snapshot`, `dispatch-to-harness`, `multi-spawn`, `spawn-openclaw`, `dispatch-with-review`, `awareness-snapshot`, `awareness-recall`, `run-skill`, `wiki-recall`, `wiki-page-read`, `wiki-ingest`, plus the Self-Mod trio (`list_mutable_settings`, `get_config_value`, `set_config_value`).++Force-spawn heuristic in `BrainManager._should_force_openclaw`:+- Smalltalk allowlist wins → never spawn.+- Action verb (`lies/baue/installiere/öffne/mach/zeig` + repair words) → spawn.+- External-system marker (PR/Repo/GitHub/Issue) → spawn.++**The sub-jarvis tier was deleted in Welle 4** — only `"router"` remains (`factory.py:119-123` raises on unknown tiers). Resurrecting `SUB_TOOLS` or adding `spawn-openclaw`/`dispatch-with-review`/`run-skill` to any worker set breaks the D9 recursion guard (AP-14).++---++## 8. Output filter (voice path)++`scrub_for_voice` in `jarvis/brain/output_filter.py` is **regex-only, no LLM calls** (latency mandate, AP-11). Order: stacktrace → fallback phrase early-return → markdown strip → tool-JSON removal (3 forms) → self-reference → echo paraphrase (only `OPENER_BUDGET = 60` chars) → filler-opener → engineering jargon (with hyphen-compound whitelist — `Browser-Provider` stays) → whitespace normalize.++**Sacred whitelist** (`output_filter.py:39-42`): `Datei, Email, Browser, Terminal, Notiz, Termin, Kalender`. Jargon list: `Harness, MCP, Subprocess, Provider`; compound jargon: `Sub-Agent, Supervisor-Agent, Subagent`.++Wired into TTS at two sites:+- `pipeline.py:1330` — `_handle_utterance` → `_speak()` → `tts.synthesize`+- `pipeline.py:647` — `_on_announcement` (skill/sub-agent announcements, OpenClaw `summary_de` readback)++40-case test suite at `tests/unit/brain/test_output_filter.py`. ADR-0010 (Output-Filter Pattern-Based).++---++## 9. Configuration & secrets++**Secret access** — `jarvis.core.config.get_secret(key, env_fallback)` is the only authorized path. Hierarchy:++1. Windows Credential Manager (service `personal-jarvis`) ← wizard writes here+2. ENV variable+3. `.env` (dev fallback)+4. **NEVER** `jarvis.toml`, code, commits, or `.claude/` files (AP-12)++Voice/chat must never accept secrets (AP-2: STT log leak vector).++**Config drift triple-defense (BUG-010 — parallel Claude sessions silently rolling back provider switches):**++- **ENV overrides** at user scope (e.g. `JARVIS__TTS__PROVIDER=grok-voice`)+- `jarvis.toml` set OS read-only after edits+- `scripts/drift-guard-daemon.ps1` — Userland daemon, 5-min cron via `shell:startup` shortcut (UAC-free; Task Scheduler + ScheduledJob both elevated-only). Checks `jarvis.toml` + ENV against `scripts/config-soll.json`, fixes drift, re-locks TOML. Lock file: `logs/drift-guard-daemon.lock`. BOM-safe writes via `UTF8Encoding($false)` (BUG-018 fix).++---++## 10. Atomic config writes & Self-Mod pipeline++`jarvis/core/config_writer.py` uses `tomlkit` (preserves comments), `_WRITE_LOCK = threading.Lock()`, BOM-aware read/write, tempfile + `os.replace`.++**Phase-7 Self-Mod 10-step pipeline** in `jarvis/core/self_mod/writer.py` is non-negotiable:++1. Allowlist via `SelfModRegistry.require_spec`+2. `tomlkit` load+3. Read old value via dotted path+4. In-memory mutate+5. **Pre-validate** via `JarvisConfig.model_validate(doc.unwrap())`+6. Backup to `<config>.parent/.backups/jarvis.toml.<iso>.bak` (**outside watchdog scope, AP-13**)+7. Tempfile + `os.replace` atomic swap+8. **Synchronous reload-test** via `ConfigLoader.load()` (AP-14 forbids watchdog-driven verify)+9. `ConfigReloaded` bus event+10. Backup GC (FIFO cap + age floor) → audit via `SelfModAudit`++Locking is `ClassVar threading.Lock`. Three router-tier Self-Mod tools: `list_mutable_settings`, `get_config_value`, `set_config_value` (`jarvis/brain/tools/self_mod_tools.py`).++---++## 11. Phase-6 isolation invariants++- Every worker runs in a fresh `git worktree add -b agent/<task-slug>` under `<repo_parent>/sub-agents-outputs/` via `WorktreeManager` (`jarvis/missions/isolation/worktree.py`). ≤200-char path cap. No writes to user's working tree.+- Every worker subprocess is contained for kill-on-crash: Windows via a **Job Object** with `JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE` (a kernel guarantee — no zombies even on a hard orchestrator kill); macOS/Linux via a POSIX process-group reaper (`start_new_session` + `os.killpg`-on-close, `jarvis/missions/isolation/job_object.py`) that reaps the whole worker tree on a clean shutdown / cancel / timeout / exception. Being userspace, the POSIX path cannot match the kernel guarantee on a hard `kill -9` of the orchestrator itself (the group reparents to init/launchd and survives) — `PR_SET_PDEATHSIG` is the Linux follow-up; macOS has no equivalent.+- `MAX_CRITIC_LOOPS: Final[int] = 3` is **hardcoded** at `jarvis/missions/critic/runner.py:50-51` ("Hardcoded per ADR-0009. Not configurable without a new decision record."). Used by `Orchestrator.run_mission` at `jarvis/missions/kontrollierer/orchestrator.py:388`.+- **Action/Observation invariant (ADR-0009):** the LLM never authors its own Observation. Voice readback reads only the Kontrollierer-signed `MissionApproved.summary_de`, never `correction_instruction` from the Critic-LLM.+- **Persist-vor-Publish discipline** (`manager.py:8-11`): `upsert_mission(PENDING)` happens before `append_and_publish(MissionDispatched)` — the event log is authoritative.++---++## 12. Phase status table++Verified against the actual file tree (not just CLAUDE.md claims):++| Phase | Status | Evidence |+|---|---|---|+| 0–4 Foundations | live | Protocols, plugin system, FastAPI/React, speech pipeline, skill system, tool-use loop, harness dispatch, core memory |+| 5 Vision/Action/Admin/Async/Control + Tiered Routing | live | `jarvis/{vision,admin,tasks,control,telemetry}/`, `ROUTER_TOOLS` frozenset, ADR-0001..0011 |+| 6 Self-Healing Worker-Critic | live | `jarvis/missions/{manager,kontrollierer,critic,workers,isolation,openclaw,voice,safety}/`. 458 mission tests. Wired via `bootstrap_missions` |+| 7 Self-Mod (foundation + writer + tools) | live | `jarvis/core/self_mod/` (audit, errors, pending, registry, schema, writer). `spawn-skill-author` **IS** registered at `pyproject.toml:208` (CLAUDE.md says otherwise — see §25) |+| Awareness A0–A5 | live | `jarvis/awareness/` (state, story, salience, verdichter, working_set, episode, watchers, probes). A1 + A3 router tools registered |+| Wiki B0/B1/B2/B3/B5/B7/B8/B9 | live | `jarvis/memory/wiki/` (curator, atomic_writer, page, integration, scheduler, session_rollup, voice_bridge, telemetry, vault_index, watcher, search). 3 router tools |+| Wiki B4 (legacy Curator) | soft-disabled | `factory.py:736-757` gates on `cfg.memory.legacy_curator.enabled` (default `false` since 2026-05-17). `data/workspace/` snapshot stays on disk for 35 reader sites |+| Wiki B6 | not started | — |+| OpenClaw bridge Welle 1+4 | done | `jarvis/plugins/harness/openclaw.py` (Mock-Mode), `jarvis/missions/openclaw/` (provider_map, workspace, mcp, setup) |+| OpenClaw bridge Welle 2 (live default) | open | Mock-Mode in plugin file; live subprocess factory pending |+| OpenClaw bridge Welle 3 (full live mode) | open | — |+| Ack-Brain (pre-thinking) | live | `jarvis/brain/ack_brain/` + factory hook (`factory.py:1034`) |+| CLI catalog + terminal view | live | `jarvis/clis/` (catalog, installer, loader, prober, registry, risk_integration, usage_log) + `jarvis/terminal/` (ConPTY via `pywinpty`). Tools `cli-tools` + `spawn-cli-worker` |++Status drift moves fast. Verify with `git log -- <module>` rather than trusting this table.++---++## 13. 5-layer anti-drift enum pattern++Documented in [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md). Any string crossing module boundaries lives in **five places**: producer Python module → SQLite schema → Pydantic `Literal` → TypeScript union → UI label switch.++**Canonical example `HangupReason`:**++| Layer | File | Role |+|---|---|---|+| L0 source of truth | `jarvis/sessions/constants.py` | `HANGUP_REASONS` tuple + symbolic constants (`HANGUP_TURN_COMPLETE`, …) |+| L1 producers | `jarvis/speech/pipeline.py`, `jarvis/sessions/init.py` | Import symbols — never raw strings |+| L2 schema | `jarvis/sessions/schema.sql` | Doc-comment listing allowed values |+| L3 Pydantic | `jarvis/sessions/models.py` | `HangupReason = Literal[...]` + **import-time `RuntimeError`** asserting `get_args(HangupReason) == HANGUP_REASONS` |+| L4 TS | `jarvis/ui/web/frontend/src/components/sessions/types.ts` | Union type |+| L5 UI | `jarvis/ui/web/frontend/src/components/sessions/SessionList.tsx` | `hangupLabel(reason)` switch |++**Five defenses (D1–D5):** symbolic constants → import-time assertion → parity test (`tests/unit/sessions/test_hangup_reason_parity.py` regex-extracts all 5 layers and asserts equality) → DB compatibility test (`tests/integration/test_sessions_db_compatibility.py`) → self-defending list endpoint (`SessionStore.list_sessions` wraps per-row Pydantic in `try/except ValidationError`, returns partial list with `hangup_reason_drift_skipped` warning).++**BUG-008 recurred four times** because this scaffolding was missing. Adopt preemptively for any new wire-format enum (`MessageRole` already done 2026-05-16; future candidates: `VoiceTier`, mission status, `SkillLifecycleState`).++---++## 14. Anti-patterns (AP-1..AP-18)++The single most important table for an LLM joining cold:++| # | If you do this... | ...you get this bug |+|---|---|---|+| AP-1 | Spawn `subprocess.Popen` without `NO_WINDOW_CREATIONFLAGS` | BUG-012 flicker storm under `pythonw.exe` |+| AP-2 | Accept API keys via voice/chat | STT log leak — credential exfiltration vector |+| AP-3 | Call `Tool.execute()` directly (bypassing `ToolExecutor`) | Risk-tier/whitelist/plausibility skipped |+| AP-4 | Add a new `hangup_reason`/mission-status string in one site only | BUG-008 recurrence: HTTP 500, empty UI |+| AP-5 | Put `spawn-openclaw`/`dispatch-with-review`/`run-skill` in a worker tool set | D9 recursion: worker spawns supervisor, infinite loop |+| AP-6 | Hardcode `Claude`/`Anthropic` API client | User has no Anthropic API account; breaks `cfg.brain.primary` |+| AP-7 | Write `jarvis.toml` without `_WRITE_LOCK` + tempfile + BOM handling | BUG-018: BOM-corrupted TOML, backend won't boot |+| AP-8 | Skip `scripts/preflight.ps1` in a new worktree | BUG-006/014: edits go to a worktree the live Python doesn't import from |+| AP-9 | Run new awareness/wiki code in the voice critical path | Latency regression — awareness is read-only, off the hot path |+| AP-10 | Write a worker without `git worktree` + Job Object | Race conditions + zombie processes on crash |+| AP-11 | Add an LLM call inside `scrub_for_voice` | TTS latency tank |+| AP-12 | Encode API keys in `jarvis.toml` or commit `.env` | Credential leak; bypasses `keyring` audit trail |+| AP-13 | Block on watchdog reload for atomic-write verification | Race: file half-applied, no sync rollback |+| AP-14 | Re-add a Sub-Jarvis tier or `SUB_TOOLS` set | Welle 4 deleted it; resurrection breaks the OpenClaw-bridge contract |+| AP-15 | Auto-activate generated skills (`state` ≠ `draft`) | Lateral-movement vector; skills run without review |+| AP-16 | Add `[phase6.*]`/`[memory.wiki.*]` keys without `ConfigDict(extra="allow")` | Pre-validate rejects → boot fails after self-mod |+| AP-17 | Run Jarvis as a Windows Service | SYSTEM has no mic/headset access |+| AP-18 | Propagate a subscriber exception from `EventBus._safe_dispatch` | One handler kills the pipeline |++---++## 15. Recurring bug classes++Detail in [`docs/BUGS.md`](docs/BUGS.md) (26-entry register). Five classes recur — recognize the signal, apply the defense.++**1. Four-layer restore trap** (BUG-006 → -014 → -015). Signal: fix "works in tests" but Jarvis behavior unchanged after restart. Four layers: stale worktree + outdated frontend `dist/` build + RAM-resident pywebview + **editable-install pin to a deleted clone**. Defense: `pwsh scripts/preflight.ps1` + `python -c "import jarvis; print(jarvis.__file__)"` + frontend rebuild + `taskkill /F /IM pythonw.exe`.++**2. Multi-layer enum drift** (BUG-008, four episodes). Signal: empty UI list while DB has rows, HTTP 500, `literal_error` in Pydantic. Defense: the five-layer pattern from §13 — symbolic constants, import-time assertion, parity test, DB-compat test, self-defending endpoint.++**3. Config drift** (BUG-010 triple-defense). Signal: provider switches silently rolled back, parallel Claude sessions rewriting `jarvis.toml`. Defense: `scripts/drift-guard-daemon.ps1` (5-min) + ENV overrides + OS-read-only TOML + BOM-safe writer.++**4. Subprocess console flicker** (BUG-012). Signal: black/flickering windows under `pythonw.exe`, mascot restart storm. Cause: missing `NO_WINDOW_CREATIONFLAGS` (16 call sites fixed). Defense: every new subprocess call imports from `jarvis.core.process_utils`.++**5. Audio host-API blocking-write trap** (BUG-014). Signal: TTS silent, PortAudio `PaErrorCode -9999`. Cause: auto-resolver picks WDM-KS which PortAudio's blocking write doesn't support. Defense: `_FORBIDDEN_OUTPUT_HOSTAPIS` filter + shortest-unique-token device matching (`"PRO X"`, not full Razer marketing name).++---++## 16. Desktop App (UI)++- **Backend:** FastAPI on `localhost:47821` (admin_api_port). Single-instance lock via `filelock`. 25 route modules under `jarvis/ui/web/*_routes.py`: `board`, `cli`, `docs`, `federation_proxy`, `friends`, `frontier`, `marketplace`, `mcp`, `missions`, `missions_pty`, `missions_ws`, `outputs`, `preview`, `profile`, `provider`, `review`, `self_mod`, `sessions`, `setup`, `skills`, `sub_agents`, `tasks`, `tools`, `wiki`, `workflows`. WebSocket events serialized via `EventBus` (`subscribe_all` wildcard for flight recorder).+- **Frontend:** React 18 + Vite 5 + TypeScript 5 + Tailwind + Radix UI + `@xterm/xterm` (ConPTY terminal view) + `react-force-graph-2d` (wiki graph) + `@xyflow/react` (workflow canvas) + Zustand + TanStack Query. Build output → `jarvis/ui/web/dist/`.+- **Shell:** `pywebview` loads `dist/index.html` (production) or `http://localhost:5173` (`--dev`).+- **Orb overlay:** separate `pythonw` subprocess (`jarvis/overlay/`), bus-bridged so mascot-originated events (e.g. mute on double-click) republish to the EventBus.++---++## 17. Testing — buckets, markers, conventions++**335 test files.** Bucket counts:++| Bucket | Files | Purpose |+|---|---|---|+| `unit/` | 175 | Per-module |+| `integration/` | 49 | Phase-level E2E |+| `missions/` | 36 | Phase 6 worker-critic-kontrollierer |+| `overlay/` | 29 | Orb mascot |+| `review/` | 17 | Phase 8.4 quality-gate pipeline |+| `contract/` | 17 | Protocol parametrised tests (mandatory for new providers) |+| `board/` | 7 | Personal-board sync |+| `e2e/` | 2 | Self-mod + voice-review |+| `eval/` | 1 | Golden-query suite |+| `setup/` | 1 | Wizard / dependencies |++**Markers** (`[tool.pytest.ini_options]`): `phase5`, `e2e`, `voice_latency`, `eval`, `slow`, `skip_ci`, `openclaw_live`. `asyncio_mode = "auto"`. **Fakes (not `unittest.mock`)** live in `tests/fakes/`; audio fixtures `tests/fixtures/audio/`; trace replays `tests/fixtures/traces/`. New STT/Brain/Tool/Channel providers MUST pass `tests/contract/`.++Common runs:++```bash+pytest tests/ # full suite+pytest -m "not slow" # fast CI subset+pytest -m phase5 / -m e2e / -m voice_latency / -m eval / -m openclaw_live+pytest tests/unit/brain/test_routing.py # 32 router-discipline cases+pytest tests/unit/brain/test_output_filter.py # 41 voice-scrubber cases+pytest tests/unit/sessions/test_hangup_reason_parity.py # BUG-008 drift guard+```++---++## 18. Linting & type checking++```bash+ruff check jarvis/ # rules E,F,I,UP,B,ASYNC,S,A; ignores S101/S603/S607+ruff format jarvis/+mypy jarvis/++# Frontend (jarvis/ui/web/frontend/)+npm install+npm run dev # http://localhost:5173+npm run build # tsc -b && vite build --outDir ../dist --emptyOutDir+npm run test # vitest+```++Line length 100. Target `py311`. One per-file `E501` exception (`jarvis/awareness/prompts.py` — long few-shot strings).++---++## 19. Scripts inventory (`scripts/`)++**Cron daemons (production):**+- `auto-push-eod.ps1` — nightly tag+push safety net. Skips worktrees with active OpenClaw session (`<30 min` modify time).+- `install-auto-push-task.ps1 -Time "22:00"` — register Task Scheduler job.+- `drift-guard-daemon.ps1` — 5-min config drift defense. Singleton-locked, hidden, started via `shell:startup` shortcut.+- `install-config-drift-guard-task.ps1` — install variant.+- `jarvis-config-drift-guard.ps1` — actual drift-check pass (called by daemon).+- `check-working-tree.ps1` — pre-boot restore of any tracked file missing from working tree. Always exits 0; rotating log `data/working-tree-check.log` (10 runs).+- `cleanup-stale-agent-branches.ps1` — prunes leftover `agent/*` branches after `git worktree remove`.++**One-shot guards / install:**+- `preflight.ps1` — 5-check worktree health (git worktree assertion, editable-install re-pin, `import jarvis` path, `__editable__*.pth` stale scan, summary). **Mandatory before any new worktree code.**+- `install_shortcuts.py`, `stop_watchdog.ps1`, `uninstall-auto-push-task.ps1`.++**Smoke / probe (manual):**+- `smoke_brain_e2e.py`, `smoke_frontier.py`, `smoke_phase6_p{1,2,2_jobkill,3,3_real}.py`, `smoke-test-ack.ps1`.+- `voice_e2e_probe.py`, `voice_compare.py`, `tts_brain_endtoend.py`, `tts_output_sanity.py`, `warm_keep_bench.py`.+- `awareness_smoke_a{1,2}.py`, `vision_smoke.py`.+- `diag_audio_devices.py`, `diag_mic_{live,mute,wasapi}.py`, `verify_orb_{appears,mute_toggle,drag}.py`, `snap_orb.py` — audio/orb debugging.++**Migration / one-time:**+- `wiki_migrate_v0_to_v1.py`, `migrate_adrs.py`, `shorten_adr_titles.py`, `bulk_translate{,_2,_3}.py`, `rewrite_locales.py`, `find_german_strings.py`, `add_useT_inner.py`, `export_ws_schema.py`, `build_frontend.py`.++---++## 20. External integrations & accounts++**Brain providers** (6 plugins):++- **Gemini = primary** (user's main brain; `gemini-3-flash-preview` / `gemini-3.1-pro-preview`).+- **Grok = fallback** (xAI — primary TTS voice "leo" + Brain fallback). API key reused for both.+- **Claude-API** plugin exists but **user has NO Anthropic API account** (AP-6). Workers use Claude Sonnet via Claude Max OAuth through the `claude-cli` backend (`@anthropic-ai/claude-code`), auto-installed by wizard via npm.+- **OpenRouter** universal gateway, **OpenAI** GPT, **Codex** API-key mode.+- **GitHub Claude Bot:** deployed on 29 private repos via `.github/workflows/claude.yml`. **Public-repo safety gate** baked in (workflow only runs if `repository.private == true`). OAuth tokens auto-synced from `.credentials.json` every 3h.++**STT** (6 plugins): `faster-whisper` (local, GPU), `openai-api`, `groq-api`, `deepgram`, `deepgram-flux` (Phase L.3 streaming), `deepgram-nova3`. **Google Cloud STT** wired 2026-05-15 — `chirp_2` @ `europe-west4`, ~680ms warm latency. SA-key under `~/.config/jarvis/`.++**TTS** (8 plugins): `elevenlabs`, `elevenlabs-flash`, `gemini-flash-tts`, `google-neural2`, `openai-tts`, `piper-local`, `grok-voice` (default; 5 voices, `leo`=Jarvis-Butler), `cartesia-sonic3`.++**Wake** (2): `porcupine` (Picovoice access key), `openwakeword` (local, threshold tuned to 0.10 — BUG-009 lesson).++**Turn detection** (3): `flux-integrated` (default — Phase L.2 AD-L-4), `smart-turn-v3`, `silero-only`.++**Wiki vault:** `wiki/obsidian-vault/`. Subdirs: `00-index`, `10-notes`, `90-attachments`, `99-templates`, `concepts`, `entities`, `projects`, `sessions`, `_archive`, `.obsidian`. Obsidian registration is opt-in via Wiki tab dialog (ADR-0015); supports both `%LOCALAPPDATA%\Obsidian\` and `%PROGRAMFILES%\Obsidian\`.++**Channels** (2): `web` (WS to desktop frontend), `telegram` (`python-telegram-bot 22.x`, long-polling, F1).++**MCP servers:** loaded from `data/mcp.json`, registered via `MCPRegistry`. Tools auto-bridged into the global tool registry through `register_mcp_tools_in_registry`.++---++## 21. ADR + Phase doc index++**ADRs in `docs/adr/`** (18 files; duplicate-number cleanup pending):++- ADR-0001 — IPC Named-Pipe HMAC (Admin-Helper)+- ADR-0002 — UIA Tree Pruning (Vision)+- ADR-0003 — Task Queue Storage (Phase-5 Async)+- ADR-0004 — Kill Propagation+- ADR-0005 — Lightweight Scheduler (croniter, no APScheduler)+- ADR-0006 — Cost-Budget Hook+- ADR-0007 — Flight-Recorder JSONL+- ADR-0008 — Computer-Use Harness In-Process (POAV)+- ADR-0009 — Awareness Architecture / Self-Healing Worker-Critic *(duplicate number)*+- ADR-0010 — Output-Filter Pattern-Based / Window-Focus Watcher MsgWait *(duplicate number)*+- ADR-0011 — Router Pure Dispatcher (amended for Welle 4: SUB_TOOLS deleted)+- ADR-0012 — Awareness Recall Router-Tier+- ADR-0013 — Knowledge Wiki Architecture (Karpathy-style structured vault)+- ADR-0014 — Flash-Brain Suppress-If-Fast / Memory-Trigger Contract *(duplicate number)*+- ADR-0015 — Obsidian Setup Wizard (B9)++**Phase docs in `docs/`:**++- `phase1a-verify.md` — Desktop App scaffold (FastAPI + pywebview + React)+- `phase1c-test-results.md` / `phase1c-review-report.md` — Skill system + MCP integration+- `phase2-integration-test-results.md` — Tool-use loop + risk-tier executor+- `phase4-integration-test-results.md` — Harness dispatch + core memory+- `phase5-research.md` / `phase5-integration-test-results.md`+- `phase6-test-report.md` — 458 mission tests, 5 sub-phases verified+- `phase6-worker-layer.md` — worktree + Job Object isolation+- `phase6-prompt-chain.md` — Action/Observation invariant (ADR-0009)+- `phase6-handoff-2026-04-26.md`++Self-mod writeup: [`docs/self_mod.md`](docs/self_mod.md) — 8 mutable settings (`tts.provider`, `tts.voice_{de,en}`, `tts.speed`, `stt.provider`, `brain.primary`, `ui.theme`, `profile.language`), append-only audit at `data/self_mod.log`.++---++## 22. Operational rhythms++- **`run.bat` pre-boot:** `scripts/check-working-tree.ps1` auto-invoked. Always exits 0; surfaces any restored file via banner + rotating log.+- **Drift-guard daemon:** every 5 min via `shell:startup` shortcut, Userland (no UAC). Singleton-locked.+- **Auto-push-EOD:** Task Scheduler 22:00 default. Tags `safety/eod-*` per branch, skips active OpenClaw worktrees (modified within last 30 min).+- **Wiki triggers** (ADR-0014 contract — all classified silent vs loud):+ - `WikiContextInjector` (silent) — runs before every brain turn+ - `VoiceFactBridge` ack path (loud) — `ResponseGenerated` with ack keyword, async via `asyncio.create_task`+ - `VoiceFactBridge` aggressive path (loud, rate-limited 60s default, opt-out `aggressive_mode=false`)+ - `SessionRollupWorker` (loud) — `IdleEntered` past `session_idle_threshold_minutes`, writes one Markdown page per session+- **Preflight:** mandatory in every new worktree before any code edit.++---++## 23. Repo hygiene & contribution++- **Output Language Policy (highest priority):** every artifact in the repo is **English** — code, comments, docstrings, Markdown, commit messages, PR titles/bodies, tests, CLI help, REST descriptions, error responses, audit logs, telemetry, UI i18n source. German stays only for the assistant's user-facing chat reply, TTS at runtime, and already-committed German content.+- **Plan vs. code:** on conflict, plan wins. Master plan binds: `~/.claude/plans/also-er-muss-auch-lexical-pond.md`. Architecture contracts: [`docs/openclaw-bridge.md`](docs/openclaw-bridge.md), [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md).+- **Worktree activation checklist:** **`pwsh scripts/preflight.ps1`** before code in any new worktree. If exit non-zero, fix before proceeding (BUG-006/014, AD-UF23).+- **Before larger edits:** read [`docs/BUGS.md`](docs/BUGS.md) — every recurring bug class catalogued there.+- **Plugin contract:** plugin modules MUST NOT import from `jarvis.*` — structural compatibility with Protocol only. After edit: `pip install -e . --no-deps`.+- **Streaming first:** all Brain/STT/TTS/Harness methods return `AsyncIterator[...]`.+- **Events:** `frozen=True` dataclasses with `trace_id: UUID` + `timestamp_ns`. Subscriber exceptions never propagate (AP-18).+- **Worker isolation invariants:** every worker = fresh `git worktree` + Windows Job Object kill-on-close. `MAX_CRITIC_LOOPS=3` hardcoded; changes require new ADR via `/skill phase6-adr-update`.++---++## 24. Key module index++| File | Purpose |+|---|---|+| `jarvis/core/protocols.py:161` | All plugin Protocols (`WakeWordProvider`, `STTProvider`, `TTSProvider`, `Brain`, `Harness`, `Tool`, `MemoryStore`, `ChannelAdapter`, `TurnDetector`, `VisionSource`, `CancelToken`, `CostMeter`, `IntentClassifier`). Frozen dataclasses for all wire types. |+| `jarvis/core/bus.py:23` | `EventBus` — async pub/sub with `_safe_dispatch` exception isolation, wildcard `subscribe_all` for flight recorder. |+| `jarvis/core/events.py:29` | `Event` base + 100+ subclasses, all `frozen=True` with `trace_id` + `timestamp_ns`. |+| `jarvis/core/config.py` | `JarvisConfig` Pydantic model + loader + `get_secret(key, env_fallback)`. |+| `jarvis/core/config_writer.py` | `tomlkit`-based atomic patch with `_WRITE_LOCK`, BOM-aware. |+| `jarvis/core/self_mod/writer.py` | `AtomicConfigWriter` — 10-step validate/backup/rollback pipeline. |+| `jarvis/core/process_utils.py:33` | `NO_WINDOW_CREATIONFLAGS` — mandatory for every subprocess call (AP-1). |+| `jarvis/brain/factory.py:40` | `ROUTER_TOOLS` frozenset + `_phase2_full_brain` builder. |+| `jarvis/brain/manager.py` | `BrainManager` — provider cache, fallback chain, force-spawn heuristic. |+| `jarvis/brain/output_filter.py` | `scrub_for_voice` — regex-only TTS scrubber, 40-case test suite. |+| `jarvis/brain/ack_brain/generator.py` | `AckGenerator` — 11-step pipeline, F1–F10 coverage, never raises. |+| `jarvis/safety/risk_tier.py:64` | `RiskTierEvaluator` — blacklist>whitelist>tool, fnmatch glob, `ActionBlocked`. |+| `jarvis/safety/tool_executor.py` | `ToolExecutor` — only authorized call path for `Tool.execute()`. |+| `jarvis/missions/manager.py:48` | `MissionManager` — SQLite event store, state machine, persist-vor-publish discipline. |+| `jarvis/missions/kontrollierer/orchestrator.py` | Phase-6 heart — TaskGroup + Semaphore wiring of MissionDecomposer→Worker→Critic→ReflectionMemory→BudgetTracker. |+| `jarvis/missions/critic/runner.py:50` | `MAX_CRITIC_LOOPS = 3` hardcoded. |+| `jarvis/missions/workers/{base,claude_direct_worker,codex_worker,gemini_worker,subjarvis_worker,supervisor}.py` | Worker variants — `WorkerProtocol` structural contract. |+| `jarvis/missions/isolation/{worktree,job_object,env}.py` | Git-worktree manager + Windows Job Object kill-on-close. |+| `jarvis/plugins/harness/openclaw.py` | OpenClaw bridge plugin (Welle-2 Mock-Mode). |+| `jarvis/harness/screenshot_only_loop.py` | Screenshot-only POAV loop — the sole `computer_use` engine (vision picks pixel targets; cross-platform `mss` + `pyautogui`). |+| `jarvis/awareness/manager.py` | `AwarenessManager` — state holder; **never on voice critical path** (AP-9). |+| `jarvis/memory/wiki/integration.py` | `bootstrap_wiki_integration` — wires SessionRollupWorker (B7) + WikiCurator (B1). |+| `jarvis/sessions/constants.py` | `HANGUP_REASONS` single source of truth — canonical 5-layer enum example. |+| `jarvis/speech/pipeline.py` | Voice pipeline — wake→VAD→STT→Brain→TTS, scrub_for_voice at lines 647 and 1330. |+| `jarvis/ui/web/server.py` | FastAPI app, mission stack bootstrap (`_init_mission_stack`). |+| `jarvis/clis/loader.py` | Virtual-loader expanding `cli-tools` entry-point into N `cli_<name>` Tool instances. |++---++## 25. Doc-vs-code drift (verified)++Two drifts surfaced during the agent audit; flag them before quoting CLAUDE.md to a fresh chat:++1. **`spawn-skill-author` IS registered in `pyproject.toml:208`** as `spawn-skill-author = "jarvis.brain.tools.skill_authoring:SpawnSkillAuthorTool"` (landed 2026-05-17 per inline comment). CLAUDE.md still says "7.5 `spawn_skill_author` not yet registered in `pyproject.toml`" — outdated. The Phase-7.5 self-modifying skill-authoring tool is wired.++2. **`jarvis/sub_jarvis/` directory still exists** as an **empty placeholder** (no `__init__.py`, no files) despite CLAUDE.md and `docs/openclaw-bridge.md §11` declaring it deleted in Welle 4. Cleanup is structurally complete (no code references), but the empty dir itself is leftover.++Neither blocks anything — but a fresh chat parroting CLAUDE.md verbatim will be wrong on point 1, and confused by `ls jarvis/` on point 2.++---++## 26. Pointers++- [`CLAUDE.md`](CLAUDE.md) — project guidance (highest priority for any agent working in this repo)+- [`docs/BUGS.md`](docs/BUGS.md) — 26-entry bug register with regression-test pointers+- [`docs/openclaw-bridge.md`](docs/openclaw-bridge.md) — AD-1..AD-21 OpenClaw harness contract+- [`docs/anti-drift-three-layer.md`](docs/anti-drift-three-layer.md) — five-layer enum pattern (mandatory for any new wire-format string)+- [`docs/self_mod.md`](docs/self_mod.md) — Phase 7 self-mod user guide+- [`docs/obsidian-setup.md`](docs/obsidian-setup.md) — Wiki vault registration walkthrough+- `~/.claude/plans/also-er-muss-auch-lexical-pond.md` — binding master plan+- `~/.claude/projects/C--Users-Administrator-Desktop-Personal-Jarvis/memory/MEMORY.md` — auto-memory with stable user preferences (multi-provider brain, no-Anthropic-API, bilingual, anti-confirmation-fatigue, frontier-quality-before-cost)++---++## 27. Legal++**License — MIT.** Personal Jarvis is released under the MIT License. The full license text lives in [`LICENSE`](LICENSE) at the repository root and is also declared in `pyproject.toml` (`license = { text = "MIT" }`). In short: you are free to use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the software, including for commercial purposes — provided you comply with the **Attribution & provenance** clause below. The software is provided "as is", without warranty of any kind.++**Copyright.** © 2026 Personal Jarvis Maintainers. All contributors retain copyright on their respective contributions; opening a pull request against this repository is taken as agreement that the contribution is licensed under the MIT License above.++**Canonical source.** This repository — **[`github.com/PersonalJarvis/PersonalJarvis`](https://github.com/PersonalJarvis/PersonalJarvis)** — is the authoritative upstream of Personal Jarvis. Forks, mirrors, vendored copies, and derivative works are welcome under MIT, but the **original authors are the Personal Jarvis Maintainers**, not whoever is hosting the copy you happened to find. If you encounter Personal Jarvis code outside this URL, you can verify provenance by comparing the git history against the canonical repository.++**Attribution & provenance (mandatory).** Section 2 of the MIT License is **not decorative** — it requires that *"the above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software."* In plain English: anyone who uses substantial portions of this code in their own project, fork, distribution, product, or training corpus **must retain the `Copyright (c) 2026 Personal Jarvis Maintainers` line and the full MIT permission text in a place where downstream users can find them** (typical conventions: a `LICENSE` / `LICENSES/` / `NOTICE` / `THIRD_PARTY_NOTICES` file at the root of the derivative work, or an "Open Source Licenses" screen reachable from a product's UI). Stripping the notice and republishing the code is **not** a licensing question — it is **copyright infringement**, actionable under copyright law in the 179 Berne-Convention signatory states. We additionally request — though we cannot legally compel beyond MIT — that derivative works include a visible link back to the canonical repository above so users can find the upstream project.++**No misrepresentation of authorship.** The MIT License grants broad freedom to modify and redistribute, but it does **not** grant the right to claim original authorship of unmodified portions of this work. Re-uploading substantial parts of this codebase to another repository, package registry, model card, or product page while presenting yourself as the original author — by removing the copyright notice, by removing references to the canonical source, or by adding statements that imply you wrote what you in fact copied — misrepresents the provenance of the work. This is treated as **both a license violation (because the MIT attribution clause was not honored) and as deceptive attribution under most jurisdictions' consumer-protection and unfair-competition law**, independent of the license. If you fork and significantly modify the code, please describe your modifications clearly so users can tell your work apart from the upstream — that is good citizenship, not a legal requirement, but it is how the open-source ecosystem stays trustworthy.++**Reporting violations.** If you encounter a project that has copied substantial portions of this codebase without preserving the copyright notice, or that misrepresents authorship of the original Personal Jarvis work, please file a copyright-violation report with the hosting platform — for GitHub, the [DMCA Takedown Policy](https://docs.github.com/en/site-policy/content-removal-policies/dmca-takedown-policy) is the standard route — or open an issue on the canonical repository. The Personal Jarvis Maintainers reserve all rights granted by copyright law.++**Third-party software.** This project bundles, imports, or vendors a number of open-source dependencies, each governed by its own license — notably MIT (React, Vite, Zustand, TanStack Query, `pywebview`, `tomlkit`, `keyring`, `croniter`), Apache 2.0 (`faster-whisper`, `silero-vad`, `onnxruntime`, the OpenAI / Gemini / Grok / Anthropic SDKs), BSD-3-Clause (`numpy`, `sounddevice`, `mss`), and Picovoice's commercial-with-free-tier terms for `pvporcupine`. **No third-party dependency is relicensed by inclusion in this repository**, and the attribution requirement above applies to Personal Jarvis's own code, not to the upstream licenses of bundled dependencies (which carry their own attribution clauses you must also honor).++**Trademarks.** "Claude", "Anthropic", "OpenAI", "Gemini", "Grok", "Picovoice", "Porcupine", "Obsidian", "GitHub", "Windows", and any other product or company names referenced in this repository are trademarks of their respective owners and are used here for identification purposes only. Their use does not imply endorsement of this project by, or affiliation with, the trademark holder.++**Audio, voice, and screen-capture privacy disclosure.** When the `[desktop]` extras are installed, Personal Jarvis can capture microphone audio (STT), play synthesized speech (TTS), take screenshots and read UI element trees (Vision / Computer-Use), and read text from the active window. All of these capabilities are opt-in at install time and run only in the user's session. STT, TTS, and Brain calls are routed through the providers the user configures (Gemini, Grok, OpenAI, Deepgram, ElevenLabs, Google Cloud, etc.) — please review each provider's privacy policy before sending production data through them. The headless VPS base install captures no local audio and no screen content.++**No warranty for self-modifying behaviour.** The Phase-7 self-mod tools (`set_config_value`, `spawn-skill-author`) and the Phase-6 Worker-Critic loop can write to `jarvis.toml`, generate skills (created with `state="draft"`, never auto-activated — AP-15), and create isolated `git worktree` branches under `<repo_parent>/sub-agents-outputs/`. The 10-step atomic-write pipeline (allowlist → pre-validate → backup → tempfile → synchronous reload → rollback → audit) is designed to be safe and reversible, but the MIT "as is" disclaimer applies in full: the maintainers are not liable for any state the system writes on your behalf, on your filesystem or against the third-party APIs you have configured.++**Contributing.** Pull requests are welcome. By contributing you agree that your contribution is licensed under the MIT License above. See [`CLAUDE.md`](CLAUDE.md) and [`docs/PHILOSOPHY.md`](docs/PHILOSOPHY.md) for the binding output-language policy (English-only artifacts) and the cloud-first design doctrine. The repository's bug register lives at [`docs/BUGS.md`](docs/BUGS.md); architecture decisions are recorded under [`docs/adr/`](docs/adr/).diff --git a/jarvis/brain/model_catalog.py b/jarvis/brain/model_catalog.pynew file mode 100644index 0000000000..bb2a6316c0--- /dev/null+++ b/jarvis/brain/model_catalog.py@@ -0,0 +1,345 @@+"""Per-provider model catalog — the live model list behind the API-Keys model+picker.++Where :mod:`jarvis.brain.frontier_resolver` queries a provider's ``/v1/models``+endpoint and distils it down to the single frontier pick per tier, this module+returns the *whole* catalog so the desktop UI can offer a searchable dropdown.+The two share the same upstream endpoints but answer different questions+(``frontier_resolver`` = "what is the newest model?"; ``model_catalog`` = "what+are all of them, so the user can pick one?").++Design goals (maintainer mandate 2026-06-20):+- **Always current.** The list comes from the provider's own catalog, so a model+ the provider published an hour ago appears without any code change here. There+ is no hand-maintained frontier list on the hot path — only a small ``static``+ fallback for the offline/no-key case, honestly labelled as such.+- **OpenRouter included.** Its catalog has hundreds of models, which is exactly+ why the UI needs search; this module just hands over the full list.+- **Honest source.** Every result carries ``source`` ∈ {``live``, ``cache``,+ ``static``} so the UI never pretends a stale fallback is the live catalog.++Cache: ``data/model_catalog_cache.json``, default TTL 6 h (shorter than the+frontier resolver's 24 h — fresher is better for a list the user browses), with+``force_refresh`` to bypass it on an explicit "refresh" click.+"""+from __future__ import annotations++import asyncio+import json+import logging+import time+from dataclasses import dataclass+from pathlib import Path++import httpx++from jarvis.core import config as cfg++log = logging.getLogger(__name__)++DEFAULT_TTL_HOURS = 6++# The API-key brain providers whose catalogs we can enumerate. Codex is excluded+# on purpose: it authenticates via the ChatGPT login / a generic OpenAI key and+# its model id is largely ignored by the ``codex exec`` CLI path — it has no own+# model picker in the UI (it renders the Codex login widget instead).+CATALOG_PROVIDERS: tuple[str, ...] = (+ "claude-api",+ "openai",+ "gemini",+ "grok",+ "openrouter",+)++# Endpoint + auth shape per provider. ``auth`` selects how the key is attached:+# "x-api-key" → Anthropic header pair+# "bearer" → Authorization: Bearer (OpenAI-compatible: OpenAI, Grok)+# "query" → ?key= (Gemini)+# "bearer_opt" → Authorization: Bearer if a key exists, else anonymous+# (OpenRouter's catalog is public)+_ENDPOINTS: dict[str, tuple[str, str]] = {+ "claude-api": ("https://api.anthropic.com/v1/models", "x-api-key"),+ "openai": ("https://api.openai.com/v1/models", "bearer"),+ "grok": ("https://api.x.ai/v1/models", "bearer"),+ "gemini": (+ "https://generativelanguage.googleapis.com/v1beta/models",+ "query",+ ),+ "openrouter": ("https://openrouter.ai/api/v1/models", "bearer_opt"),+}+++@dataclass(frozen=True, slots=True)+class ModelInfo:+ """One selectable model: the wire ``id`` plus a human ``label``."""++ id: str+ label: str+++@dataclass(frozen=True, slots=True)+class CatalogResult:+ """The model list for one provider, with an honest provenance flag."""++ provider: str+ models: tuple[ModelInfo, ...]+ source: str # "live" | "cache" | "static"+ fetched_at: float+++# ----------------------------------------------------------------------+# Pure parsing + sorting (module-level for easy testing)+# ----------------------------------------------------------------------++def parse_models_response(provider: str, payload: dict) -> list[ModelInfo]:+ """Map a provider's ``/v1/models`` JSON to a flat ``list[ModelInfo]``.++ Anthropic / OpenAI / Grok share the OpenAI-compatible ``data[].id`` shape.+ Gemini lists ``models[].name`` (``models/<id>``) with an optional+ ``displayName``. OpenRouter adds a human ``name`` we surface as the label.+ Entries without a usable id are dropped.+ """+ out: list[ModelInfo] = []+ if provider == "gemini":+ for m in payload.get("models", []) or []:+ raw = (m.get("name") or "").removeprefix("models/").strip()+ if not raw:+ continue+ label = (m.get("displayName") or "").strip() or raw+ out.append(ModelInfo(id=raw, label=label))+ return out++ # OpenAI-compatible shape (OpenAI / Anthropic / Grok / OpenRouter).+ for m in payload.get("data", []) or []:+ raw = (m.get("id") or "").strip()+ if not raw:+ continue+ label = (m.get("name") or "").strip() or raw # OpenRouter has a name+ out.append(ModelInfo(id=raw, label=label))+ return out+++# Substrings (case-insensitive on the id) that mark a model as NOT a usable+# chat/reasoning brain: generative-media (video/image/music), audio I/O, speech,+# embeddings, moderation/safety classifiers. These can never back the brain (the+# probe would 404/400), and showing them in a brain picker is pure noise — the+# Gemini catalog in particular front-loads Veo/Imagen/Lyria/Nano-Banana. A truly+# exotic model is still reachable via the free-text custom entry.+_NON_BRAIN_MARKERS: tuple[str, ...] = (+ "veo", "imagen", "lyria", "nano-banana", "dall-e", "dalle", "sora",+ "whisper", "transcrib", "speech", "tts", "-audio", "audio-",+ "embed", "image", "moderation", "rerank", "-live", "guard",+)+++def filter_brain_models(models: list[ModelInfo]) -> list[ModelInfo]:+ """Keep only models that can plausibly serve as a chat/reasoning brain.++ Drops generative-media, audio, speech, embedding and safety-classifier models+ by an id-substring blocklist (:data:`_NON_BRAIN_MARKERS`). Conservative on+ purpose — anything not clearly non-text stays, and the UI's free-text entry+ covers the rest.+ """+ out: list[ModelInfo] = []+ for m in models:+ low = m.id.lower()+ if any(mark in low for mark in _NON_BRAIN_MARKERS):+ continue+ out.append(m)+ return out+++def _is_stale(provider: str, model_id: str) -> bool:+ """True if ``model_id`` is an end-of-life model we demote in the list.++ Reuses ``frontier_resolver.STALE_MODELS`` (the maintained EOL set). For+ OpenRouter the id is namespaced (``openai/gpt-4o``); we test the part after+ the slash against the same set.+ """+ from jarvis.brain.frontier_resolver import STALE_MODELS++ if model_id in STALE_MODELS:+ return True+ if "/" in model_id and model_id.rsplit("/", 1)[-1] in STALE_MODELS:+ return True+ return False+++def sort_models(provider: str, models: list[ModelInfo]) -> list[ModelInfo]:+ """Order newest/frontier first, EOL models last.++ Sort key: non-stale before stale, then id descending — version strings sort+ so the newer one wins (``gpt-5.5`` > ``gpt-4o``, ``gemini-3`` > ``gemini-2``).+ Search is the real discovery tool (esp. for OpenRouter), so this is only a+ sensible default ordering, not a curation.+ """+ return sorted(+ models,+ key=lambda m: (not _is_stale(provider, m.id), m.id),+ reverse=True,+ )+++# ----------------------------------------------------------------------+# Catalog with cache + live fetch + static fallback+# ----------------------------------------------------------------------++class ModelCatalog:+ """Live model lists per provider with a TTL cache and honest fallbacks."""++ def __init__(+ self,+ cache_path: Path | None = None,+ ttl_hours: int = DEFAULT_TTL_HOURS,+ http_client_factory: object | None = None,+ ) -> None:+ self._cache_path = cache_path or Path("data/model_catalog_cache.json")+ self._ttl_seconds = ttl_hours * 3600+ # provider -> (fetched_at, models)+ self._cache: dict[str, tuple[float, list[ModelInfo]]] = {}+ self._lock = asyncio.Lock()+ self._client_factory = http_client_factory+ self._load_cache()++ # -- cache I/O -----------------------------------------------------++ def _load_cache(self) -> None:+ if not self._cache_path.exists():+ return+ try:+ data = json.loads(self._cache_path.read_text(encoding="utf-8"))+ for prov, entry in data.items():+ models = [+ ModelInfo(id=m["id"], label=m.get("label") or m["id"])+ for m in entry.get("models", [])+ ]+ self._cache[prov] = (float(entry.get("fetched_at", 0.0)), models)+ except (json.JSONDecodeError, KeyError, TypeError, ValueError) as exc:+ log.warning("model_catalog_cache.json corrupt — discarded: %s", exc)+ self._cache.clear()++ def _save_cache(self) -> None:+ self._cache_path.parent.mkdir(parents=True, exist_ok=True)+ data = {+ prov: {+ "fetched_at": ts,+ "models": [{"id": m.id, "label": m.label} for m in models],+ }+ for prov, (ts, models) in self._cache.items()+ }+ self._cache_path.write_text(+ json.dumps(data, indent=2), encoding="utf-8",+ )++ def _is_fresh(self, fetched_at: float) -> bool:+ return (time.time() - fetched_at) < self._ttl_seconds++ @staticmethod+ def _present(provider: str, models: list[ModelInfo]) -> tuple[ModelInfo, ...]:+ """Filter to brain-usable models, then order newest/frontier first."""+ return tuple(sort_models(provider, filter_brain_models(models)))++ # -- public API ----------------------------------------------------++ async def list_models(+ self, provider: str, *, force_refresh: bool = False+ ) -> CatalogResult:+ """Return the catalog for ``provider`` with an honest ``source`` flag.++ Fresh cache → ``cache`` (no network). Otherwise fetch → ``live`` (cache+ updated). Fetch failure → the last cache entry (``cache``, even if stale)+ or, if there is none, a maintained ``static`` fallback so the dropdown is+ never empty.+ """+ async with self._lock:+ cached = self._cache.get(provider)+ if cached and not force_refresh and self._is_fresh(cached[0]):+ return CatalogResult(+ provider=provider,+ models=self._present(provider, cached[1]),+ source="cache",+ fetched_at=cached[0],+ )++ try:+ models = await self._fetch_raw(provider)+ except Exception as exc: # noqa: BLE001 — a UI list must never crash the page.+ log.info("Model catalog fetch for %s failed: %s", provider, exc)+ if cached:+ return CatalogResult(+ provider=provider,+ models=self._present(provider, cached[1]),+ source="cache",+ fetched_at=cached[0],+ )+ static = self._static_fallback(provider)+ return CatalogResult(+ provider=provider,+ models=self._present(provider, static),+ source="static",+ fetched_at=0.0,+ )++ now = time.time()+ self._cache[provider] = (now, models)+ self._save_cache()+ return CatalogResult(+ provider=provider,+ models=self._present(provider, models),+ source="live",+ fetched_at=now,+ )++ # -- network -------------------------------------------------------++ async def _client(self) -> httpx.AsyncClient:+ if self._client_factory is not None:+ return self._client_factory() # type: ignore[operator]+ return httpx.AsyncClient(timeout=12.0)++ async def _fetch_raw(self, provider: str) -> list[ModelInfo]:+ """Call ``provider``'s catalog endpoint and parse it. Raises on no key+ (except OpenRouter, whose catalog is public) or a transport/HTTP error."""+ if provider not in _ENDPOINTS:+ raise ValueError(f"Unsupported provider: {provider}")+ url, auth = _ENDPOINTS[provider]+ key = cfg.get_provider_secret(provider)+ if not key and auth != "bearer_opt":+ raise RuntimeError(f"No API key configured for {provider}.")++ headers: dict[str, str] = {}+ params: dict[str, str] = {}+ if auth == "x-api-key":+ headers = {"x-api-key": key or "", "anthropic-version": "2023-06-01"}+ elif auth == "bearer":+ headers = {"Authorization": f"Bearer {key}"}+ elif auth == "bearer_opt":+ if key:+ headers = {"Authorization": f"Bearer {key}"}+ elif auth == "query":+ params = {"key": key or ""}++ client = await self._client()+ async with client:+ resp = await client.get(url, headers=headers, params=params)+ resp.raise_for_status()+ return parse_models_response(provider, resp.json())++ # -- static fallback ----------------------------------------------++ def _static_fallback(self, provider: str) -> list[ModelInfo]:+ """The maintained frontier defaults for ``provider`` (router + deep).++ Only used when the live catalog is unreachable AND there is no cache —+ so the picker still shows the known-good models rather than nothing.+ """+ try:+ from jarvis.brain.manager import TIER_DEFAULTS_BY_PROVIDER+ except Exception: # noqa: BLE001+ return []+ seen: dict[str, ModelInfo] = {}+ for tier in ("router", "deep"):+ mid = TIER_DEFAULTS_BY_PROVIDER.get(tier, {}).get(provider)+ if mid:+ seen.setdefault(mid, ModelInfo(id=mid, label=mid))+ return list(seen.values())diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex d316d717f7..5c0a674095 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -40,7 +40,33 @@"outputs": "Outputs","socials": "Socials","taskbar": "Taskbar",- "contacts": "Kontakte"+ "contacts": "Kontakte",+ "agent_instructions": "{name}.md",+ "browser_voice": "Browser-Sprache"+ },+ "browser_voice": {+ "title": "Browser-Sprache",+ "subtitle": "Sprich mit Jarvis über das Mikrofon und die Lautsprecher deines Browsers — ohne Desktop-Installation. Erfordert einen sicheren Kontext (localhost oder https).",+ "start": "Sprache starten",+ "stop": "Stopp",+ "listening": "Höre zu …",+ "speaking": "Spreche …"+ },+ "agent_instructions": {+ "subtitle": "Deine persönlichen Präferenzen, wie der Assistent mit dir arbeitet — Ton, Sprache, Voreinstellungen, dauerhafte Fakten. Getrennt vom System-Prompt und hebelt niemals Sicherheit oder Bestätigungen aus.",+ "active_badge": "Aktiv",+ "empty_badge": "Leer",+ "editor_label": "Deine Anweisungen (Markdown)",+ "placeholder": "Schreibe deine persönlichen Präferenzen…",+ "chars": "{0} Zeichen",+ "empty_hint": "Leer — lade die Vorlage, um zu starten.",+ "save": "Anweisungen speichern",+ "saving": "Speichern…",+ "saved": "Anweisungen gespeichert",+ "reset": "Leeren",+ "reset_done": "Anweisungen geleert",+ "load_template": "Mit Vorlage starten",+ "applies_next_turn": "Gilt ab der nächsten Antwort deines Assistenten — kein Neustart nötig."},"extensions": {"tab_skills": "Skills",@@ -746,6 +772,20 @@"integration_bad_note": "Provider konnte nicht erreicht werden.","failed": "Test fehlgeschlagen"},+ "apikeys_model": {+ "heading": "Modell",+ "model_label": "Modell",+ "search_placeholder": "Modell suchen oder ID eintippen…",+ "apply": "Übernehmen",+ "refresh": "Aktualisieren",+ "saved": "Modell gespeichert",+ "live_note": "(ab sofort aktiv)",+ "restart_note": "(aktiv ab nächstem Start)",+ "load_failed": "Modelle konnten nicht geladen werden",+ "source_static": "Offline-Liste",+ "source_static_note": "Live-Katalog nicht erreichbar — gepflegte Fallback-Liste.",+ "more_hint": "{0} weitere — Suche verfeinern"+ },"settings_view": {"silence_window": {"title": "Denkpause",@@ -794,7 +834,7 @@},"wake_word": {"title": "Wake-Word",- "description": "Aktivierungsphrase für den Sprachmodus. Tippe deine eigene ein.",+ "description": "Die Phrase, die du laut aussprichst, um den Sprachmodus zu aktivieren — dein gesprochenes Trigger-Wort. Tippe deine eigene ein.","phrase_label": "Aktivierungsphrase","phrase_placeholder": "z. B. Jonas","engine_label": "Erkennungs-Engine",@@ -850,7 +890,7 @@},"assistant_name": {"title": "Name des Assistenten",- "description": "Wie der Assistent sich in Antworten selbst nennt. Leer lassen, um dem Wake-Wort zu folgen.",+ "description": "Wie sich der Assistent in Antworten selbst nennt. Das ist NICHT das Wake-Word, das du zum Aktivieren sagst — das gesprochene Trigger-Wort stellst du im Panel „Wake-Word“ darunter ein. Leer lassen, um dem Wake-Wort zu folgen.","label": "Name","current": "Der Assistent nennt sich „{0}“.","auto_hint": "Leer — folgt dem Wake-Wort (aktuell „{0}“).",@@ -1050,7 +1090,8 @@"open_in_explorer": "Im Explorer öffnen","open_in_editor": "Markdown-Datei im OS-Standard-Editor öffnen","running": "läuft",- "saving": "Speichere…"+ "saving": "Speichere…",+ "error": "Fehler"},"docs": {"search_placeholder": "Titel/Tag filtern…",@@ -1070,7 +1111,9 @@"running": "läuft"},"provider_switcher": {- "loading_hint": "Provider-Liste wird geladen — falls dauerhaft leer, prüfe das Backend."+ "loading_hint": "Provider-Liste wird geladen — falls dauerhaft leer, prüfe das Backend.",+ "no_credential": "kein Credential",+ "active": "Aktiv"},"wiki_provider": {"tier_label": "Wiki (Langzeitgedächtnis)",@@ -1106,7 +1149,19 @@"heatmap_tooltip": "{0} - {1} Aktivitäten, {2} Tasks, {3} h Gespräche"},"story_composer": {- "close": "schließen"+ "close": "schließen",+ "title": "Story schreiben",+ "placeholder": "Was hast du heute gemacht?",+ "expiry_hint": "Verschwindet nach 24 Stunden.",+ "characters": "Zeichen",+ "post": "Posten",+ "error_prefix": "Fehler:",+ "visibility_private": "Privat",+ "visibility_private_hint": "Nur du",+ "visibility_friends": "Freunde",+ "visibility_friends_hint": "Gepairte Friends",+ "visibility_public": "Öffentlich",+ "visibility_public_hint": "Jeder, der dein Backend kennt"},"reactions": {"others_reacted": "Andere haben reagiert"@@ -1141,7 +1196,11 @@"install_failed": "{0}: Install fehlgeschlagen (exit {1}). Versuch eine andere Methode."},"onboarding": {- "nav": { "next": "Weiter", "back": "Zurück", "skip": "Überspringen" },+ "nav": {+ "next": "Weiter",+ "back": "Zurück",+ "skip": "Überspringen"+ },"welcome": {"title": "Willkommen bei Personal Jarvis","subtitle": "Dein lokaler, privater Sprachassistent. Lass uns alles einrichten.",@@ -1193,13 +1252,35 @@"persona": {"title": "Mach es zu deinem (optional)","name_label": "Wie soll sich der Assistent nennen?",+ "name_placeholder": "Namen eingeben…","skip": "Personalisierung überspringen"},+ "system_style": {+ "title": "Wähle deinen Stil",+ "body": "Wie soll {name} auf dem Bildschirm erscheinen? Du kannst das jederzeit in den Einstellungen ändern.",+ "recommended": "Empfohlen",+ "options": {+ "whisper_bar": "Jarvis-Leiste",+ "mascot": "Orb",+ "none": "Kein Overlay"+ },+ "captions": {+ "whisper_bar": "Eine schmale schwebende Sprachleiste, immer griffbereit.",+ "mascot": "Ein schwebender Begleiter-Orb, der auf deine Stimme reagiert.",+ "none": "Nur das App-Fenster — kein schwebendes Element auf dem Bildschirm."+ },+ "needs_restart": "Fast geschafft — dieser Stil wird nach einem kurzen Neustart aktiv.",+ "restart_now": "Jetzt neu starten",+ "restarting": "Wird neu gestartet…",+ "save_error": "Konnte das nicht speichern — die empfohlene Voreinstellung bleibt. Du kannst es später in den Einstellungen ändern.",+ "skip": "Überspringen — Jarvis-Leiste behalten"+ },"finish": {"title": "Alles bereit!","body": "{name} ist startklar. Sag dein Aktivierungswort oder tippe einen Befehl, um zu beginnen.","skipped_title": "Du hast übersprungen — jederzeit in den Einstellungen nachholbar:",- "start_cta": "{name} verwenden"+ "start_cta": "{name} verwenden",+ "boot_notice": "Hinweis: Der erste Start dauert etwa 10 Sekunden, während {name} hochfährt — das ist völlig normal."}},"languages_view": {@@ -1233,5 +1314,449 @@"de": "{name} antwortet auf Deutsch.","es": "{name} antwortet auf Spanisch."}+ },+ "cli_connect_poller": {+ "connected": "verbunden",+ "login_incomplete": "Login nicht abgeschlossen"+ },+ "cli_connect_coach": {+ "connect": "verbinden",+ "connected": "verbunden",+ "waiting_for_login": "warte auf login…",+ "login_command": "Login-Command",+ "instructions": "Folge den Anweisungen im Terminal links. Ich pruefe alle 3 Sekunden, ob der Login durch ist.",+ "done": "Fertig",+ "close": "Schliessen"+ },+ "view_error_boundary": {+ "title": "Ansicht konnte nicht geladen werden",+ "crashed_prefix": "ist abgestuerzt.",+ "crashed_suffix": "bleibt bedienbar.",+ "back_to_chats": "Zurueck zu Chats"+ },+ "plan_step_list": {+ "no_plan": "Kein strukturierter Plan — Single-Shot-Run.",+ "show_output": "Output anzeigen"+ },+ "frontier_switch_modal": {+ "title_one": "Frontier-Modell aktualisiert",+ "title_many": "Frontier-Modelle aktualisiert",+ "description": "hat beim Start ein neueres Modell beim Anbieter erkannt und automatisch gewechselt. Bitte bestaetige.",+ "acking": "Bestaetige…"+ },+ "achievement_grid": {+ "unlocked_of": "von",+ "unlocked_count": "freigeschaltet. Kein Leaderboard."+ },+ "activity_feed": {+ "title": "Aktivitäts-Feed",+ "refresh_tooltip": "Manueller Refresh",+ "loading": "Lade Feed…",+ "empty": "Noch keine Items. Pair' deinen ersten Friend, oder schreib eine Story."+ },+ "friends_list": {+ "empty": "Noch keine Freunde. Klick „Pair“ oben rechts um einen Link zu generieren.",+ "since": "seit",+ "last_pull": "letzter Pull",+ "pull_every": "Pull alle",+ "time_just_now": "gerade",+ "time_ago_prefix": "vor"+ },+ "pair_dialog": {+ "title": "Friend pairen",+ "mode_invite": "Ich lade ein",+ "mode_follow": "Ich folge einem Link",+ "generate_hint": "Erzeuge einen 10-Minuten-Pair-Link und schicke ihn deinem Freund über Signal/Threema/SMS — irgendeinen privaten Kanal.",+ "generate_button": "Link generieren",+ "copied": "kopiert",+ "copy": "kopieren",+ "valid_until": "Gültig bis:",+ "error_prefix": "Fehler:",+ "accept_hint": "Füge hier den Pair-Link ein, den dir dein Freund geschickt hat.",+ "accept_button": "Pair ausführen",+ "paired_with": "Gepairt mit"+ },+ "session_list": {+ "loading": "Lade Transkripte…",+ "empty_title": "Noch keine Voice-Sessions",+ "empty_hint": "Sage dein Wake-Word — beim Auflegen erscheint die Session hier.",+ "no_user_text": "(kein User-Text aufgezeichnet)",+ "turns": "Turns",+ "just_now": "gerade eben",+ "ago_prefix": "vor",+ "hangup_voice_pattern": "Auflegen",+ "hangup_error": "Fehler",+ "hangup_turn_complete": "Antwort fertig"+ },+ "session_detail": {+ "copied_as": "Session kopiert als",+ "copy_failed_clipboard": "Kopieren fehlgeschlagen — Clipboard-Zugriff blockiert?",+ "copy_failed": "Kopieren fehlgeschlagen",+ "downloaded_as": "Heruntergeladen als",+ "download_failed": "Download fehlgeschlagen",+ "loading": "Lade Session…",+ "load_error": "Fehler beim Laden",+ "title": "Voice-Session",+ "turns": "Turns",+ "no_turns_suffix": "ohne Folge-Utterance.",+ "copy_action": "Kopieren",+ "download_file_action": "Als Datei herunterladen:"+ },+ "turn_card": {+ "turn": "Turn",+ "copied": "kopiert",+ "copy_failed": "Kopieren fehlgeschlagen",+ "downloaded_as": "Heruntergeladen als",+ "copy_turn": "Diesen Turn kopieren",+ "copy": "Kopieren",+ "download_turn": "Diesen Turn als Datei herunterladen",+ "thought": "Nachgedacht:",+ "spoke": "Gesprochen:"+ },+ "wiki_search": {+ "dialog_label": "Wiki-Suche",+ "dialog_description": "Volltext-Suche im Vault. Tippe einen Begriff oder navigiere mit den Pfeiltasten.",+ "input_placeholder": "Volltext-Suche im Vault…",+ "recent_heading": "Zuletzt geändert",+ "no_pages": "Noch keine Seiten im Vault.",+ "searching": "Suche läuft…",+ "unavailable": "Suche gerade nicht verfügbar.",+ "no_hits_prefix": "Keine Treffer für ",+ "no_hits_suffix": ". Versuche andere Stichworte oder schau in den Graph.",+ "hits_heading": "Treffer"+ },+ "wiki_graph": {+ "empty_prefix": "Dein Memory-Graph ist noch leer. Sobald ",+ "empty_suffix": " Notizen anlegt, verbinden sich die Knoten hier automatisch.",+ "loading": "Lade Graph…",+ "load_error": "Graph konnte nicht geladen werden.",+ "reset_view_title": "Zoom auf alle Knoten zurücksetzen",+ "center": "Zentrieren"+ },+ "tree_sidebar": {+ "load_error": "Konnte das Wiki nicht laden.",+ "last_change": "Letzte Änderung"+ },+ "page_renderer": {+ "load_error": "Seite konnte nicht geladen werden.",+ "not_found": "Seite nicht gefunden."+ },+ "page_header": {+ "placeholder_title": "Wird durch Agent D bereitgestellt",+ "open_in_obsidian": "In Obsidian öffnen"+ },+ "obsidian_button": {+ "trigger_failed": "Obsidian-Link konnte nicht ausgelöst werden",+ "handed_over": "An Obsidian übergeben",+ "not_installed_hint": "— falls Obsidian nicht startet, ist es nicht installiert.",+ "vault_handed_over": "Vault an Obsidian übergeben",+ "open_in_obsidian": "In Obsidian öffnen",+ "open_vault_in_obsidian": "Vault in Obsidian öffnen"+ },+ "backlinks_panel": {+ "load_error": "Konnte Backlinks nicht laden.",+ "empty": "Keine Backlinks."+ },+ "obsidian_status": {+ "loading": "Obsidian: …",+ "connected": "Obsidian: verbunden",+ "not_registered": "Obsidian: nicht registriert",+ "not_installed": "Obsidian: nicht installiert",+ "unclear": "Obsidian: Status unklar",+ "loading_tooltip": "Status wird geladen…",+ "click_for_setup": "Klick für Setup",+ "load_failed_note": "Status konnte nicht geladen werden."+ },+ "obsidian_setup_dialog": {+ "step_install": "Installieren",+ "step_connect": "Verbinden",+ "step_live_test": "Live-Test",+ "not_detected_hint": "Noch nicht erkannt. Vielleicht läuft der Installer noch — probier es nochmal.",+ "status_check_failed": "Status konnte nicht geprüft werden. Versuch es bitte erneut.",+ "register_failed": "Konnte nicht registrieren",+ "unknown_status": "unbekannter Status",+ "restart_obsidian_hint": "Bitte Obsidian einmal kurz starten und wieder schließen — danach klick erneut.",+ "close_dialog": "Dialog schließen",+ "title": "Obsidian einrichten",+ "subtitle": "Drei kleine Schritte und dein Wiki ist live in Obsidian.",+ "install_heading": "Obsidian installieren",+ "install_body_1": "{name} schreibt das Wiki als Markdown-Dateien auf die Platte.",+ "install_body_2": "Damit du sie wie eine echte Wissensdatenbank durchstöbern und bearbeiten kannst, brauchst du den kostenlosen Editor",+ "download_link": "obsidian.md/download öffnen",+ "checking": "Prüfe…",+ "installed_continue": "Ich habs installiert — weiter",+ "connect_heading": "Vault anbinden",+ "connect_body_1": "Jetzt trägt {name} sein Wiki in deine Obsidian-Konfiguration ein.",+ "connect_body_2": "Damit erscheint es im Vault-Switcher und das",+ "connect_body_3": "-Protokoll funktioniert.",+ "vault_path_label": "Vault-Pfad",+ "open_help": "Hilfe öffnen",+ "registering": "Registriere…",+ "register_now": "Jetzt registrieren",+ "live_test_body": "Klick den Knopf — dein Browser öffnet das Vault direkt in Obsidian.",+ "open_in_obsidian": "In Obsidian öffnen",+ "did_not_work": "Hat nicht geklappt",+ "it_worked": "Hat geklappt — Fertig"+ },+ "docs_sidebar": {+ "title": "Dokumentation",+ "error": "Fehler"+ },+ "docs_content": {+ "prev": "Vorher",+ "next": "Nächstes"+ },+ "docs_search_modal": {+ "navigate": "navigieren",+ "open": "öffnen"+ },+ "global_kill_button": {+ "cancel_all_running": "Alle laufenden Missions abbrechen",+ "cancel_all_title": "Alle Missions abbrechen?",+ "cancel_all_body": "laufende Mission(s) werden hart gestoppt. Worker-Subprocesses werden via Job-Object terminiert; bereits geschriebene Diffs bleiben in den Worktrees liegen.",+ "error_prefix": "Fehler",+ "stopping": "Stoppe…",+ "confirm_stop_all": "Ja, alle stoppen"+ },+ "mission_tree": {+ "no_prompt": "(ohne Prompt)",+ "empty": "Noch keine Missions. Hauptjarvis dispatched gleich…"+ },+ "pty_terminal": {+ "stream_unreachable": "PTY-Stream nicht erreichbar.",+ "stream_disconnected": "Stream getrennt",+ "connect_failed": "PTY-Connect fehlgeschlagen",+ "connecting": "verbinde…"+ },+ "event_timeline": {+ "empty": "Noch keine Events für diese Mission."+ },+ "verdict_panel": {+ "empty": "Noch keine Critic-Verdicts für diese Mission."+ },+ "openclaw_panel": {+ "select_mission": "Mission auswählen, um OpenClaw-Worker zu sehen.",+ "no_workers": "Keine OpenClaw-Worker in dieser Mission.",+ "not_available": "(nicht verfügbar)",+ "copy_path": "Pfad kopieren",+ "file_link_copies_path": "file://-Link (Pfad wird kopiert)",+ "ended_label": "Ende"+ },+ "clis_view": {+ "status_connected": "verbunden",+ "status_disconnected": "getrennt",+ "status_not_installed": "nicht installiert",+ "status_error": "fehler",+ "status_checking": "prüfe…",+ "subtitle_connected": "verbunden",+ "subtitle_installed": "installiert",+ "subtitle_in_catalog": "im Katalog",+ "add_custom_cli_title": "Custom CLI hinzufügen",+ "reload": "Neu laden",+ "filter_all": "Alle",+ "filter_connected": "Verbunden",+ "filter_installed": "Installiert",+ "category_label": "Kategorie:",+ "category_all": "alle",+ "intro_can_call": "kann diese CLIs als Tools aufrufen. Nur",+ "intro_connected_word": "verbundene",+ "intro_appear": "CLIs erscheinen im Brain-Tool-Katalog.",+ "open_usage_history": "Usage-History öffnen",+ "status_check_failed": "Status-Check fehlgeschlagen",+ "recheck_status": "Status neu prüfen",+ "close_detail_panel": "Detail-Panel schließen",+ "loading_details": "Lade Details…",+ "install": "Installieren",+ "set_api_key": "API-Key setzen",+ "disconnected_suffix": "getrennt",+ "disconnect_failed": "Trennen fehlgeschlagen",+ "disconnect": "Trennen",+ "remove_custom_cli_prefix": "Custom-CLI",+ "remove_custom_cli_suffix": "entfernen",+ "remove_custom_cli": "Custom-CLI entfernen",+ "confirm_remove_custom_prefix": "Custom-CLI",+ "confirm_remove_custom_suffix": "wirklich entfernen?",+ "removed_suffix": "entfernt",+ "kv_path": "Pfad",+ "not_found": "nicht gefunden",+ "section_secrets": "Secrets (API-Key-Auth)",+ "secret_set": "gesetzt",+ "secret_unset": "(nicht gesetzt)",+ "section_tool_examples": "Tool-Beispiele (für Brain)",+ "documentation": "Dokumentation",+ "terminal_opened": "Terminal geoeffnet",+ "follow_browser_login": "folge dem Browser-Login. Status wird automatisch geprueft.",+ "terminal_spawn_failed": "Terminal-Spawn fehlgeschlagen",+ "browser_login": "Browser-Login",+ "api_key_help": "Keys werden im Windows Credential Manager gespeichert und beim Aufruf als ENV-Variable injiziert.",+ "api_key_already_set": "(bereits gesetzt — überschreiben)",+ "api_key_enter": "API-Key eingeben",+ "validation_failed": "Validation fehlgeschlagen",+ "connected_suffix": "verbunden",+ "validating": "Validiere…",+ "save_and_validate": "Speichern & Validieren",+ "install_lowercase": "installieren",+ "install_help": "Oeffnet ein externes Windows Terminal mit dem Install-Command. Der Status wird automatisch geprueft sobald das Terminal fertig ist.",+ "choose_method": "Methode wählen",+ "recommended": "empfohlen",+ "command_label": "Befehl",+ "external_terminal_opened": "Externes Terminal geoeffnet",+ "install_running": "Install laeuft. Status wird automatisch aktualisiert.",+ "spawning": "Spawne…",+ "open": "Öffnen",+ "install_in_terminal": "Im Terminal installieren",+ "registered_suffix": "registriert",+ "step": "Schritt",+ "wizard_step1_identity": "Identität der CLI",+ "wizard_step2_check": "Check + Version",+ "wizard_step3_auth": "Auth-Konfiguration",+ "wizard_step4_risk": "Risk-Tier + Patterns",+ "eg_mytool": "z.B. mytool",+ "eg_my_tool_cli": "z.B. My Tool CLI",+ "field_binary_name": "Binary-Name (was im PATH liegt)",+ "field_description": "Beschreibung",+ "what_does_cli_do": "Was macht die CLI?",+ "field_category": "Kategorie",+ "field_homepage_url": "Homepage-URL",+ "field_check_command": "Check-Command",+ "field_version_regex": "Version-Regex (eine Capture-Group)",+ "auth_mode_label": "Auth-Mode",+ "auth_none": "none (keine Auth)",+ "auth_oauth_cli": "oauth_cli (CLI-eigener Login)",+ "auth_api_key": "api_key (Keyring + ENV-Injection)",+ "auth_config_file": "config_file (fremdverwaltet)",+ "field_login_command": "Login-Command",+ "field_status_command": "Status-Command",+ "field_secret_keys": "Secret-Keys (comma-separated)",+ "field_env_vars": "ENV-Vars (comma-separated, 1:1 Reihenfolge)",+ "risk_safe": "safe (läuft ohne Nachfrage)",+ "risk_ask": "ask (Bestätigung pro Call)",+ "risk_block": "block (komplett blockiert)",+ "field_allow_patterns": "Allow-Patterns (eins pro Zeile)",+ "field_deny_patterns": "Deny-Patterns (eins pro Zeile)",+ "steps_skippable": "Schritte können übersprungen werden via 'Speichern'",+ "done": "Fertig!",+ "next": "Weiter",+ "no_entries": "Keine Einträge",+ "search_word": "suche",+ "confirm_clear_history_prefix": "Komplette History von",+ "confirm_clear_history_suffix": "löschen?",+ "entries_deleted": "Einträge gelöscht",+ "empty_no_clis": "Keine CLIs im Katalog",+ "empty_all": "Kein CLI matched die Filter.",+ "empty_connected": "Keine CLI ist gerade verbunden.",+ "empty_installed": "Keine CLI ist installiert.",+ "empty_custom": "Noch keine Custom-CLI registriert — klick 'Add Custom' oben rechts."+ },+ "cli_test_hub_view": {+ "subtitle_tell": "Sag",+ "subtitle_rest": "in natürlicher Sprache, was es mit deinen CLIs tun soll",+ "no_risk_tier": "kein Risk-Tier",+ "connected_clis": "Verbundene CLIs",+ "available": "verfügbar",+ "loading_connected": "Lade verbundene CLIs…",+ "list_load_failed": "CLI-Liste konnte nicht geladen werden",+ "no_cli_connected": "Keine CLI verbunden",+ "no_cli_help": "kann erst dann ein Tool aufrufen, wenn mindestens eine CLI verbunden ist (z.B. gcloud, gh, docker). Verbinde eine CLI in der CLIs-Sektion — sie erscheint dann hier automatisch.",+ "go_to_clis": "Zu den CLIs",+ "instruction_label": "Anweisung",+ "instruction_to": "Anweisung an",+ "placeholder_rest": "was es mit deinen CLIs tun soll…",+ "cli_hint_label": "CLI-Hinweis (optional)",+ "cli_hint_aria": "CLI-Hinweis",+ "let_decide": "entscheiden lassen",+ "ctrl_cmd_enter": "Strg/Cmd + Enter",+ "run_instruction": "Anweisung ausführen",+ "running": "Läuft…",+ "run": "Ausführen",+ "picking_tool": "wählt ein Tool und führt den Befehl aus…",+ "request_failed": "Anfrage fehlgeschlagen",+ "backend_check_prefix": "Läuft der Backend-Server und ist der Endpunkt",+ "backend_check_suffix": "verfügbar?",+ "says": "sagt",+ "command_failed": "Der Befehl ist fehlgeschlagen.",+ "duration": "Dauer",+ "command_label": "Befehl",+ "steps": "Schritte",+ "no_tool_found": "hat kein passendes CLI-Tool gefunden. Formuliere die Anweisung konkreter oder gib einen CLI-Hinweis an."+ },+ "workflows_view": {+ "subtitle": "Deine gehosteten AI-Agent-Pipelines — cron-getriggert oder auf Knopfdruck.",+ "loading": "Lade Workflows…",+ "load_failed": "Workflows konnten nicht geladen werden",+ "integrations_need_setup": "Integrationen brauchen Setup",+ "chat_id_missing": "Chat-ID fehlt",+ "token_missing": "Token fehlt",+ "dismiss_banner": "Banner schließen",+ "stat_active": "Aktiv",+ "stat_next_run": "Nächster Lauf",+ "url_to_summarize": "URL zum Zusammenfassen:",+ "run_failed": "Run fehlgeschlagen",+ "collapse": "Einklappen",+ "expand": "Ausklappen",+ "no_description": "Keine Beschreibung.",+ "disable": "Deaktivieren",+ "enable": "Aktivieren",+ "run_now": "Jetzt ausführen",+ "delete_confirm_prefix": "Workflow",+ "delete_confirm_suffix": "wirklich löschen?",+ "loading_details": "Lade Details…",+ "error_label": "Fehler",+ "recent_runs": "Letzte Runs",+ "never_run": "Noch nie ausgeführt.",+ "loading_run_details": "Lade Run-Details…",+ "empty_title": "Noch keine Workflows — beim ersten Start werden 3 Beispiele geseedet.",+ "empty_hint_pre": "Ist das Backend frisch? Schau in"+ },+ "conductor_view": {+ "new_job": "Neuer Job",+ "loading_jobs": "Lade Jobs…",+ "api_unreachable": "Conductor-API antwortet nicht",+ "stat_active": "Aktiv",+ "runs_last_30": "Runs (letzte 30)",+ "delete_confirm_prefix": "Job",+ "delete_confirm_suffix": "wirklich löschen?",+ "editor_intro": "Jobs sind JSON — kopierbar, diffbar, git-friendly. Drei Types:",+ "create": "Anlegen",+ "empty_jobs": "Noch keine Jobs. Drücke \"Neuer Job\" oben rechts.",+ "empty_jobs_hint": "Beim ersten Start werden 3 Demo-Jobs geseedet.",+ "empty_timeline": "Noch keine Runs — klick auf Play bei einem Job.",+ "json_syntax_error": "JSON-Syntaxfehler"+ },+ "chat_tab": {+ "loading_friends": "Friends laden …",+ "load_failed": "Friends konnten nicht geladen werden:",+ "empty_hint": "Noch keine Friends. Klick oben rechts auf",+ "add_friend": "+ Friend hinzufügen",+ "select_hint": "Wähle einen Friend aus der Liste links."+ },+ "status_tab": {+ "heading": "Status-Sharing",+ "intro_part1": "Du entscheidest pro Friend, wie viel von deinem",+ "intro_part2": "-Status ausgespielt wird. Privacy-First: Default ist",+ "intro_part3": "(nur online/offline), Änderungen wirken sofort.",+ "empty_hint": "Noch keine Friends. Wechsle auf den Chat-Tab und klicke",+ "hard_blacklist_title": "Hard-Blacklist (immer blockiert)",+ "hard_blacklist_body": "Rohe Utterances, Tool-Args, Stacktraces, Memory-Updates, Window-Titles. Diese verlassen deine Maschine NIE – egal welches Profile aktiv ist und egal was eine Custom-Whitelist sagt.",+ "error_prefix": "Fehler",+ "loading_permission": "Berechtigung laden …",+ "profile_minimal_subline": "Nur online/offline",+ "profile_minimal_desc": "Friend sieht: Voice-Session aktiv ja/nein, Dauer. Keine Inhalte.",+ "profile_standard_subline": "+ Mission-Titel",+ "profile_standard_desc": "Friend sieht zusätzlich: Welche Missions/Tasks gerade laufen, Erfolg, Dauer.",+ "profile_detailed_subline": "+ OpenClaw-Summary",+ "profile_detailed_desc": "Friend sieht zusätzlich: Signierte OpenClaw-Summaries (KEINE Utterances)."+ },+ "tools_canvas": {+ "back_tooltip": "Zurück zur Agents-Übersicht",+ "tool_calls": "Tool-Calls",+ "active": "aktiv",+ "duration": "Dauer",+ "empty": "(leer)",+ "no_tools_yet": "hat noch keine Tools aufgerufen.",+ "no_tools_explainer": "Sobald der OpenClaw-Worker ein Tool triggert (z. B. dispatch_to_harness, run_shell, screenshot), erscheint es hier als Icon-Node."+ },+ "use_web_socket": {+ "jarvis_opened": "{name} öffnete"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex f9a8ba67bd..e809202a49 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -40,7 +40,33 @@"outputs": "Outputs","socials": "Socials","taskbar": "Taskbar",- "contacts": "Contacts"+ "contacts": "Contacts",+ "agent_instructions": "{name}.md",+ "browser_voice": "Browser Voice"+ },+ "browser_voice": {+ "title": "Browser Voice",+ "subtitle": "Talk to Jarvis using your browser's microphone and speakers — no desktop install. Requires a secure context (localhost or https).",+ "start": "Start voice",+ "stop": "Stop",+ "listening": "Listening…",+ "speaking": "Speaking…"+ },+ "agent_instructions": {+ "subtitle": "Your personal preferences for how the assistant works with you — tone, language, defaults, standing facts. Separate from the System Prompt, and it never overrides safety or confirmations.",+ "active_badge": "Active",+ "empty_badge": "Empty",+ "editor_label": "Your instructions (Markdown)",+ "placeholder": "Write your personal preferences…",+ "chars": "{0} characters",+ "empty_hint": "Empty — load the template to get started.",+ "save": "Save instructions",+ "saving": "Saving…",+ "saved": "Instructions saved",+ "reset": "Clear",+ "reset_done": "Instructions cleared",+ "load_template": "Start from template",+ "applies_next_turn": "Applies on your assistant's next message — no restart needed."},"extensions": {"tab_skills": "Skills",@@ -746,6 +772,20 @@"integration_bad_note": "The provider could not be reached.","failed": "Test failed"},+ "apikeys_model": {+ "heading": "Model",+ "model_label": "Model",+ "search_placeholder": "Search models or type a custom id…",+ "apply": "Apply",+ "refresh": "Refresh",+ "saved": "Model saved",+ "live_note": "(active now)",+ "restart_note": "(active from next start)",+ "load_failed": "Could not load models",+ "source_static": "offline list",+ "source_static_note": "Live catalog unavailable — showing the maintained fallback list.",+ "more_hint": "{0} more — refine your search"+ },"settings_view": {"silence_window": {"title": "Thinking pause",@@ -794,7 +834,7 @@},"wake_word": {"title": "Wake Word",- "description": "Activation phrase for voice mode. Type your own.",+ "description": "The phrase you say out loud to activate voice mode — your spoken trigger. Type your own.","phrase_label": "Wake phrase","phrase_placeholder": "e.g. Jonas","engine_label": "Detection engine",@@ -850,7 +890,7 @@},"assistant_name": {"title": "Assistant Name",- "description": "How the assistant refers to itself in replies. Leave empty to follow the wake word.",+ "description": "How the assistant refers to itself in its replies. This is NOT the wake word you say to activate it — set the spoken trigger in the Wake Word panel below. Leave empty to mirror the wake word.","label": "Name","current": "The assistant calls itself “{0}”.","auto_hint": "Empty — follows the wake word (currently “{0}”).",@@ -1050,7 +1090,8 @@"open_in_explorer": "Open in Explorer","open_in_editor": "Open Markdown file in OS default editor","running": "running",- "saving": "Saving…"+ "saving": "Saving…",+ "error": "Error"},"docs": {"search_placeholder": "Filter title/tag…",@@ -1070,7 +1111,9 @@"running": "running"},"provider_switcher": {- "loading_hint": "Provider list is loading — if it stays empty, check the backend."+ "loading_hint": "Provider list is loading — if it stays empty, check the backend.",+ "no_credential": "no credential",+ "active": "Active"},"wiki_provider": {"tier_label": "Wiki (long-term memory)",@@ -1106,7 +1149,19 @@"heatmap_tooltip": "{0} - {1} activities, {2} tasks, {3} h conversation"},"story_composer": {- "close": "close"+ "close": "close",+ "title": "Write a story",+ "placeholder": "What did you do today?",+ "expiry_hint": "Disappears after 24 hours.",+ "characters": "characters",+ "post": "Post",+ "error_prefix": "Error:",+ "visibility_private": "Private",+ "visibility_private_hint": "Only you",+ "visibility_friends": "Friends",+ "visibility_friends_hint": "Paired friends",+ "visibility_public": "Public",+ "visibility_public_hint": "Anyone who knows your backend"},"reactions": {"others_reacted": "Others reacted"@@ -1141,7 +1196,11 @@"install_failed": "{0}: install failed (exit {1}). Try a different method."},"onboarding": {- "nav": { "next": "Next", "back": "Back", "skip": "Skip" },+ "nav": {+ "next": "Next",+ "back": "Back",+ "skip": "Skip"+ },"welcome": {"title": "Welcome to Personal Jarvis","subtitle": "Your local, private voice assistant. Let's get you set up.",@@ -1193,13 +1252,35 @@"persona": {"title": "Make it yours (optional)","name_label": "What should the assistant call itself?",+ "name_placeholder": "Type a name…","skip": "Skip personalization"},+ "system_style": {+ "title": "Choose your style",+ "body": "How should {name} appear on screen? You can change this any time in Settings.",+ "recommended": "Recommended",+ "options": {+ "whisper_bar": "Jarvis Bar",+ "mascot": "Orb",+ "none": "No overlay"+ },+ "captions": {+ "whisper_bar": "A slim floating voice bar, always within reach.",+ "mascot": "A floating companion orb that reacts as you talk.",+ "none": "Just the app window — no floating surface on screen."+ },+ "needs_restart": "Almost there — this style needs a quick restart to take effect.",+ "restart_now": "Restart now to apply",+ "restarting": "Restarting…",+ "save_error": "Couldn't save that — the recommended default stays. You can change it later in Settings.",+ "skip": "Skip — keep the Jarvis Bar"+ },"finish": {"title": "You're all set!","body": "{name} is ready. Try saying your wake word, or type a command to begin.","skipped_title": "You skipped — set up anytime in Settings:",- "start_cta": "Start using {name}"+ "start_cta": "Start using {name}",+ "boot_notice": "Heads up: the first launch takes about 10 seconds while {name} warms up — that's completely normal."}},"languages_view": {@@ -1233,5 +1314,449 @@"de": "{name} antwortet auf Deutsch.","es": "{name} responde en español."}+ },+ "cli_connect_poller": {+ "connected": "connected",+ "login_incomplete": "login not completed"+ },+ "cli_connect_coach": {+ "connect": "connect",+ "connected": "connected",+ "waiting_for_login": "waiting for login…",+ "login_command": "Login command",+ "instructions": "Follow the instructions in the terminal on the left. I check every 3 seconds whether the login went through.",+ "done": "Done",+ "close": "Close"+ },+ "view_error_boundary": {+ "title": "View could not be loaded",+ "crashed_prefix": "crashed.",+ "crashed_suffix": "stays usable.",+ "back_to_chats": "Back to Chats"+ },+ "plan_step_list": {+ "no_plan": "No structured plan — single-shot run.",+ "show_output": "Show output"+ },+ "frontier_switch_modal": {+ "title_one": "Frontier model updated",+ "title_many": "Frontier models updated",+ "description": "detected a newer model at the provider on startup and switched automatically. Please confirm.",+ "acking": "Confirming…"+ },+ "achievement_grid": {+ "unlocked_of": "of",+ "unlocked_count": "unlocked. No leaderboard."+ },+ "activity_feed": {+ "title": "Activity Feed",+ "refresh_tooltip": "Refresh manually",+ "loading": "Loading feed…",+ "empty": "Nothing here yet. Pair your first friend, or write a story."+ },+ "friends_list": {+ "empty": "No friends yet. Click “Pair” in the top right to generate a link.",+ "since": "since",+ "last_pull": "last pull",+ "pull_every": "Pull every",+ "time_just_now": "just now",+ "time_ago_prefix": ""+ },+ "pair_dialog": {+ "title": "Pair a friend",+ "mode_invite": "I invite",+ "mode_follow": "I follow a link",+ "generate_hint": "Generate a 10-minute pair link and send it to your friend over Signal/Threema/SMS — any private channel.",+ "generate_button": "Generate link",+ "copied": "copied",+ "copy": "copy",+ "valid_until": "Valid until:",+ "error_prefix": "Error:",+ "accept_hint": "Paste the pair link your friend sent you here.",+ "accept_button": "Pair",+ "paired_with": "Paired with"+ },+ "session_list": {+ "loading": "Loading transcripts…",+ "empty_title": "No voice sessions yet",+ "empty_hint": "Say your wake word — when you hang up, the session shows up here.",+ "no_user_text": "(no user text recorded)",+ "turns": "turns",+ "just_now": "just now",+ "ago_prefix": "",+ "hangup_voice_pattern": "Hung up",+ "hangup_error": "Error",+ "hangup_turn_complete": "Reply done"+ },+ "session_detail": {+ "copied_as": "Session copied as",+ "copy_failed_clipboard": "Copy failed — clipboard access blocked?",+ "copy_failed": "Copy failed",+ "downloaded_as": "Downloaded as",+ "download_failed": "Download failed",+ "loading": "Loading session…",+ "load_error": "Failed to load",+ "title": "Voice session",+ "turns": "turns",+ "no_turns_suffix": "without a follow-up utterance.",+ "copy_action": "Copy",+ "download_file_action": "Download as file:"+ },+ "turn_card": {+ "turn": "Turn",+ "copied": "copied",+ "copy_failed": "Copy failed",+ "downloaded_as": "Downloaded as",+ "copy_turn": "Copy this turn",+ "copy": "Copy",+ "download_turn": "Download this turn as a file",+ "thought": "Thought:",+ "spoke": "Spoke:"+ },+ "wiki_search": {+ "dialog_label": "Wiki search",+ "dialog_description": "Full-text search in the vault. Type a term or navigate with the arrow keys.",+ "input_placeholder": "Full-text search in the vault…",+ "recent_heading": "Recently changed",+ "no_pages": "No pages in the vault yet.",+ "searching": "Searching…",+ "unavailable": "Search is currently unavailable.",+ "no_hits_prefix": "No matches for ",+ "no_hits_suffix": ". Try other keywords or look in the graph.",+ "hits_heading": "Matches"+ },+ "wiki_graph": {+ "empty_prefix": "Your memory graph is still empty. As soon as ",+ "empty_suffix": " creates notes, the nodes will connect here automatically.",+ "loading": "Loading graph…",+ "load_error": "Could not load the graph.",+ "reset_view_title": "Reset zoom to all nodes",+ "center": "Center"+ },+ "tree_sidebar": {+ "load_error": "Could not load the wiki.",+ "last_change": "Last change"+ },+ "page_renderer": {+ "load_error": "Could not load the page.",+ "not_found": "Page not found."+ },+ "page_header": {+ "placeholder_title": "Provided by Agent D",+ "open_in_obsidian": "Open in Obsidian"+ },+ "obsidian_button": {+ "trigger_failed": "Could not trigger the Obsidian link",+ "handed_over": "Handed over to Obsidian",+ "not_installed_hint": "— if Obsidian does not start, it is not installed.",+ "vault_handed_over": "Vault handed over to Obsidian",+ "open_in_obsidian": "Open in Obsidian",+ "open_vault_in_obsidian": "Open vault in Obsidian"+ },+ "backlinks_panel": {+ "load_error": "Could not load backlinks.",+ "empty": "No backlinks."+ },+ "obsidian_status": {+ "loading": "Obsidian: …",+ "connected": "Obsidian: connected",+ "not_registered": "Obsidian: not registered",+ "not_installed": "Obsidian: not installed",+ "unclear": "Obsidian: status unclear",+ "loading_tooltip": "Loading status…",+ "click_for_setup": "Click for setup",+ "load_failed_note": "Could not load status."+ },+ "obsidian_setup_dialog": {+ "step_install": "Install",+ "step_connect": "Connect",+ "step_live_test": "Live test",+ "not_detected_hint": "Not detected yet. The installer may still be running — try again.",+ "status_check_failed": "Could not check the status. Please try again.",+ "register_failed": "Could not register",+ "unknown_status": "unknown status",+ "restart_obsidian_hint": "Please open Obsidian once and close it again — then click again.",+ "close_dialog": "Close dialog",+ "title": "Set up Obsidian",+ "subtitle": "Three small steps and your wiki is live in Obsidian.",+ "install_heading": "Install Obsidian",+ "install_body_1": "{name} writes the wiki as Markdown files to disk.",+ "install_body_2": "To browse and edit them like a real knowledge base, you need the free editor",+ "download_link": "Open obsidian.md/download",+ "checking": "Checking…",+ "installed_continue": "I installed it — continue",+ "connect_heading": "Connect vault",+ "connect_body_1": "Now {name} registers its wiki in your Obsidian configuration.",+ "connect_body_2": "This makes it appear in the vault switcher and the",+ "connect_body_3": "protocol works.",+ "vault_path_label": "Vault path",+ "open_help": "Open help",+ "registering": "Registering…",+ "register_now": "Register now",+ "live_test_body": "Click the button — your browser opens the vault directly in Obsidian.",+ "open_in_obsidian": "Open in Obsidian",+ "did_not_work": "It didn't work",+ "it_worked": "It worked — done"+ },+ "docs_sidebar": {+ "title": "Documentation",+ "error": "Error"+ },+ "docs_content": {+ "prev": "Previous",+ "next": "Next"+ },+ "docs_search_modal": {+ "navigate": "navigate",+ "open": "open"+ },+ "global_kill_button": {+ "cancel_all_running": "Cancel all running missions",+ "cancel_all_title": "Cancel all missions?",+ "cancel_all_body": "running mission(s) will be hard-stopped. Worker subprocesses are terminated via the Job Object; diffs already written stay in the worktrees.",+ "error_prefix": "Error",+ "stopping": "Stopping…",+ "confirm_stop_all": "Yes, stop all"+ },+ "mission_tree": {+ "no_prompt": "(no prompt)",+ "empty": "No missions yet. The main assistant will dispatch one shortly…"+ },+ "pty_terminal": {+ "stream_unreachable": "PTY stream unreachable.",+ "stream_disconnected": "Stream disconnected",+ "connect_failed": "PTY connection failed",+ "connecting": "connecting…"+ },+ "event_timeline": {+ "empty": "No events for this mission yet."+ },+ "verdict_panel": {+ "empty": "No critic verdicts for this mission yet."+ },+ "openclaw_panel": {+ "select_mission": "Select a mission to see OpenClaw workers.",+ "no_workers": "No OpenClaw workers in this mission.",+ "not_available": "(not available)",+ "copy_path": "Copy path",+ "file_link_copies_path": "file:// link (path is copied)",+ "ended_label": "Ended"+ },+ "clis_view": {+ "status_connected": "connected",+ "status_disconnected": "disconnected",+ "status_not_installed": "not installed",+ "status_error": "error",+ "status_checking": "checking…",+ "subtitle_connected": "connected",+ "subtitle_installed": "installed",+ "subtitle_in_catalog": "in catalog",+ "add_custom_cli_title": "Add custom CLI",+ "reload": "Reload",+ "filter_all": "All",+ "filter_connected": "Connected",+ "filter_installed": "Installed",+ "category_label": "Category:",+ "category_all": "all",+ "intro_can_call": "can call these CLIs as tools. Only",+ "intro_connected_word": "connected",+ "intro_appear": "CLIs appear in the brain tool catalog.",+ "open_usage_history": "Open usage history",+ "status_check_failed": "Status check failed",+ "recheck_status": "Recheck status",+ "close_detail_panel": "Close detail panel",+ "loading_details": "Loading details…",+ "install": "Install",+ "set_api_key": "Set API key",+ "disconnected_suffix": "disconnected",+ "disconnect_failed": "Disconnect failed",+ "disconnect": "Disconnect",+ "remove_custom_cli_prefix": "Remove custom CLI",+ "remove_custom_cli_suffix": "",+ "remove_custom_cli": "Remove custom CLI",+ "confirm_remove_custom_prefix": "Really remove custom CLI",+ "confirm_remove_custom_suffix": "?",+ "removed_suffix": "removed",+ "kv_path": "Path",+ "not_found": "not found",+ "section_secrets": "Secrets (API key auth)",+ "secret_set": "set",+ "secret_unset": "(not set)",+ "section_tool_examples": "Tool examples (for brain)",+ "documentation": "Documentation",+ "terminal_opened": "Terminal opened",+ "follow_browser_login": "follow the browser login. Status is checked automatically.",+ "terminal_spawn_failed": "Terminal spawn failed",+ "browser_login": "Browser login",+ "api_key_help": "Keys are stored in the Windows Credential Manager and injected as an ENV variable on each call.",+ "api_key_already_set": "(already set — overwrite)",+ "api_key_enter": "Enter API key",+ "validation_failed": "Validation failed",+ "connected_suffix": "connected",+ "validating": "Validating…",+ "save_and_validate": "Save & validate",+ "install_lowercase": "— install",+ "install_help": "Opens an external Windows terminal with the install command. The status is checked automatically once the terminal finishes.",+ "choose_method": "Choose method",+ "recommended": "recommended",+ "command_label": "Command",+ "external_terminal_opened": "External terminal opened",+ "install_running": "install is running. Status updates automatically.",+ "spawning": "Spawning…",+ "open": "Open",+ "install_in_terminal": "Install in terminal",+ "registered_suffix": "registered",+ "step": "Step",+ "wizard_step1_identity": "CLI identity",+ "wizard_step2_check": "Check + version",+ "wizard_step3_auth": "Auth configuration",+ "wizard_step4_risk": "Risk tier + patterns",+ "eg_mytool": "e.g. mytool",+ "eg_my_tool_cli": "e.g. My Tool CLI",+ "field_binary_name": "Binary name (what is on the PATH)",+ "field_description": "Description",+ "what_does_cli_do": "What does the CLI do?",+ "field_category": "Category",+ "field_homepage_url": "Homepage URL",+ "field_check_command": "Check command",+ "field_version_regex": "Version regex (one capture group)",+ "auth_mode_label": "Auth mode",+ "auth_none": "none (no auth)",+ "auth_oauth_cli": "oauth_cli (CLI's own login)",+ "auth_api_key": "api_key (keyring + ENV injection)",+ "auth_config_file": "config_file (externally managed)",+ "field_login_command": "Login command",+ "field_status_command": "Status command",+ "field_secret_keys": "Secret keys (comma-separated)",+ "field_env_vars": "ENV vars (comma-separated, 1:1 order)",+ "risk_safe": "safe (runs without asking)",+ "risk_ask": "ask (confirmation per call)",+ "risk_block": "block (completely blocked)",+ "field_allow_patterns": "Allow patterns (one per line)",+ "field_deny_patterns": "Deny patterns (one per line)",+ "steps_skippable": "Steps can be skipped via 'Save'",+ "done": "Done!",+ "next": "Next",+ "no_entries": "No entries",+ "search_word": "search",+ "confirm_clear_history_prefix": "Clear the entire history of",+ "confirm_clear_history_suffix": "?",+ "entries_deleted": "entries deleted",+ "empty_no_clis": "No CLIs in the catalog",+ "empty_all": "No CLI matches the filter.",+ "empty_connected": "No CLI is currently connected.",+ "empty_installed": "No CLI is installed.",+ "empty_custom": "No custom CLI registered yet — click 'Add Custom' at the top right."+ },+ "cli_test_hub_view": {+ "subtitle_tell": "Tell",+ "subtitle_rest": "in plain language what to do with your CLIs",+ "no_risk_tier": "no risk tier",+ "connected_clis": "Connected CLIs",+ "available": "available",+ "loading_connected": "Loading connected CLIs…",+ "list_load_failed": "Could not load CLI list",+ "no_cli_connected": "No CLI connected",+ "no_cli_help": "can only call a tool once at least one CLI is connected (e.g. gcloud, gh, docker). Connect a CLI in the CLIs section — it then appears here automatically.",+ "go_to_clis": "Go to the CLIs",+ "instruction_label": "Instruction",+ "instruction_to": "Instruction for",+ "placeholder_rest": "what to do with your CLIs…",+ "cli_hint_label": "CLI hint (optional)",+ "cli_hint_aria": "CLI hint",+ "let_decide": "let decide",+ "ctrl_cmd_enter": "Ctrl/Cmd + Enter",+ "run_instruction": "Run instruction",+ "running": "Running…",+ "run": "Run",+ "picking_tool": "is picking a tool and running the command…",+ "request_failed": "Request failed",+ "backend_check_prefix": "Is the backend server running and the endpoint",+ "backend_check_suffix": "available?",+ "says": "says",+ "command_failed": "The command failed.",+ "duration": "Duration",+ "command_label": "Command",+ "steps": "Steps",+ "no_tool_found": "found no matching CLI tool. Phrase the instruction more concretely or give a CLI hint."+ },+ "workflows_view": {+ "subtitle": "Your hosted AI-agent pipelines — cron-triggered or at the push of a button.",+ "loading": "Loading workflows…",+ "load_failed": "Could not load workflows",+ "integrations_need_setup": "Integrations need setup",+ "chat_id_missing": "Chat ID missing",+ "token_missing": "Token missing",+ "dismiss_banner": "Dismiss banner",+ "stat_active": "Active",+ "stat_next_run": "Next run",+ "url_to_summarize": "URL to summarize:",+ "run_failed": "Run failed",+ "collapse": "Collapse",+ "expand": "Expand",+ "no_description": "No description.",+ "disable": "Disable",+ "enable": "Enable",+ "run_now": "Run now",+ "delete_confirm_prefix": "Really delete workflow",+ "delete_confirm_suffix": "?",+ "loading_details": "Loading details…",+ "error_label": "Error",+ "recent_runs": "Recent runs",+ "never_run": "Never run yet.",+ "loading_run_details": "Loading run details…",+ "empty_title": "No workflows yet — 3 examples are seeded on first launch.",+ "empty_hint_pre": "Is the backend fresh? Check"+ },+ "conductor_view": {+ "new_job": "New job",+ "loading_jobs": "Loading jobs…",+ "api_unreachable": "Conductor API not responding",+ "stat_active": "Active",+ "runs_last_30": "runs (last 30)",+ "delete_confirm_prefix": "Really delete job",+ "delete_confirm_suffix": "?",+ "editor_intro": "Jobs are JSON — copyable, diffable, git-friendly. Three types:",+ "create": "Create",+ "empty_jobs": "No jobs yet. Click \"New job\" in the top right.",+ "empty_jobs_hint": "3 demo jobs are seeded on first launch.",+ "empty_timeline": "No runs yet — click Play on a job.",+ "json_syntax_error": "JSON syntax error"+ },+ "chat_tab": {+ "loading_friends": "Loading friends …",+ "load_failed": "Could not load friends:",+ "empty_hint": "No friends yet. Click the top-right",+ "add_friend": "+ Add friend",+ "select_hint": "Pick a friend from the list on the left."+ },+ "status_tab": {+ "heading": "Status sharing",+ "intro_part1": "You decide per friend how much of your",+ "intro_part2": "status is shared. Privacy-first: the default is",+ "intro_part3": "(online/offline only); changes apply instantly.",+ "empty_hint": "No friends yet. Switch to the Chat tab and click",+ "hard_blacklist_title": "Hard blacklist (always blocked)",+ "hard_blacklist_body": "Raw utterances, tool args, stack traces, memory updates, window titles. These NEVER leave your machine — no matter which profile is active and no matter what a custom whitelist says.",+ "error_prefix": "Error",+ "loading_permission": "Loading permission …",+ "profile_minimal_subline": "Online/offline only",+ "profile_minimal_desc": "Friend sees: voice session active yes/no, duration. No content.",+ "profile_standard_subline": "+ Mission title",+ "profile_standard_desc": "Friend also sees: which missions/tasks are currently running, success, duration.",+ "profile_detailed_subline": "+ OpenClaw summary",+ "profile_detailed_desc": "Friend also sees: signed OpenClaw summaries (NO utterances)."+ },+ "tools_canvas": {+ "back_tooltip": "Back to the agents overview",+ "tool_calls": "tool calls",+ "active": "active",+ "duration": "Duration",+ "empty": "(empty)",+ "no_tools_yet": "hasn't called any tools yet.",+ "no_tools_explainer": "As soon as the OpenClaw worker triggers a tool (e.g. dispatch_to_harness, run_shell, screenshot), it appears here as an icon node."+ },+ "use_web_socket": {+ "jarvis_opened": "{name} opened"}}diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 754f7f5671..474d1a6988 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -40,7 +40,33 @@"outputs": "Salidas","socials": "Redes","taskbar": "Barra",- "contacts": "Contactos"+ "contacts": "Contactos",+ "agent_instructions": "{name}.md",+ "browser_voice": "Voz del navegador"+ },+ "browser_voice": {+ "title": "Voz del navegador",+ "subtitle": "Habla con Jarvis usando el micrófono y los altavoces de tu navegador, sin instalación de escritorio. Requiere un contexto seguro (localhost o https).",+ "start": "Iniciar voz",+ "stop": "Detener",+ "listening": "Escuchando…",+ "speaking": "Hablando…"+ },+ "agent_instructions": {+ "subtitle": "Tus preferencias personales sobre cómo el asistente trabaja contigo — tono, idioma, valores por defecto, hechos permanentes. Separado del System Prompt y nunca anula la seguridad ni las confirmaciones.",+ "active_badge": "Activo",+ "empty_badge": "Vacío",+ "editor_label": "Tus instrucciones (Markdown)",+ "placeholder": "Escribe tus preferencias personales…",+ "chars": "{0} caracteres",+ "empty_hint": "Vacío — carga la plantilla para empezar.",+ "save": "Guardar instrucciones",+ "saving": "Guardando…",+ "saved": "Instrucciones guardadas",+ "reset": "Vaciar",+ "reset_done": "Instrucciones vaciadas",+ "load_template": "Empezar con plantilla",+ "applies_next_turn": "Se aplica en el próximo mensaje de tu asistente — sin reinicio."},"extensions": {"tab_skills": "Habilidades",@@ -746,6 +772,20 @@"integration_bad_note": "No se pudo contactar al proveedor.","failed": "Prueba fallida"},+ "apikeys_model": {+ "heading": "Modelo",+ "model_label": "Modelo",+ "search_placeholder": "Busca modelos o escribe un id…",+ "apply": "Aplicar",+ "refresh": "Actualizar",+ "saved": "Modelo guardado",+ "live_note": "(activo ahora)",+ "restart_note": "(activo en el próximo inicio)",+ "load_failed": "No se pudieron cargar los modelos",+ "source_static": "lista sin conexión",+ "source_static_note": "Catálogo en vivo no disponible — mostrando la lista de respaldo.",+ "more_hint": "{0} más — refina tu búsqueda"+ },"settings_view": {"silence_window": {"title": "Pausa para pensar",@@ -794,7 +834,7 @@},"wake_word": {"title": "Palabra de activación",- "description": "Frase de activación para el modo de voz. Escribe la tuya.",+ "description": "La frase que dices en voz alta para activar el modo de voz — tu disparador hablado. Escribe la tuya.","phrase_label": "Frase de activación","phrase_placeholder": "p. ej. Jonas","engine_label": "Motor de detección",@@ -850,7 +890,7 @@},"assistant_name": {"title": "Nombre del asistente",- "description": "Cómo se llama el asistente a sí mismo en las respuestas. Déjalo vacío para seguir la palabra de activación.",+ "description": "Cómo se llama el asistente a sí mismo en las respuestas. Esto NO es la palabra de activación que dices para activarlo — define el disparador hablado en el panel «Palabra de activación» de abajo. Déjalo vacío para seguir la palabra de activación.","label": "Nombre","current": "El asistente se llama «{0}».","auto_hint": "Vacío — sigue la palabra de activación (actualmente «{0}»).",@@ -1050,7 +1090,8 @@"open_in_explorer": "Abrir en el Explorador","open_in_editor": "Abrir archivo Markdown en el editor predeterminado","running": "en ejecución",- "saving": "Guardando…"+ "saving": "Guardando…",+ "error": "Error"},"docs": {"search_placeholder": "Filtrar título/etiqueta…",@@ -1070,7 +1111,9 @@"running": "en ejecución"},"provider_switcher": {- "loading_hint": "Cargando lista de proveedores — si sigue vacía, revisa el backend."+ "loading_hint": "Cargando lista de proveedores — si sigue vacía, revisa el backend.",+ "no_credential": "sin credencial",+ "active": "Activo"},"wiki_provider": {"tier_label": "Wiki (memoria a largo plazo)",@@ -1106,7 +1149,19 @@"heatmap_tooltip": "{0} - {1} actividades, {2} tareas, {3} h de conversación"},"story_composer": {- "close": "cerrar"+ "close": "cerrar",+ "title": "Escribir una historia",+ "placeholder": "¿Qué has hecho hoy?",+ "expiry_hint": "Desaparece después de 24 horas.",+ "characters": "caracteres",+ "post": "Publicar",+ "error_prefix": "Error:",+ "visibility_private": "Privado",+ "visibility_private_hint": "Solo tú",+ "visibility_friends": "Amigos",+ "visibility_friends_hint": "Amigos emparejados",+ "visibility_public": "Público",+ "visibility_public_hint": "Cualquiera que conozca tu backend"},"reactions": {"others_reacted": "Otros reaccionaron"@@ -1141,7 +1196,11 @@"install_failed": "{0}: instalación fallida (exit {1}). Prueba otro método."},"onboarding": {- "nav": { "next": "Siguiente", "back": "Atrás", "skip": "Omitir" },+ "nav": {+ "next": "Siguiente",+ "back": "Atrás",+ "skip": "Omitir"+ },"welcome": {"title": "Bienvenido a Personal Jarvis","subtitle": "Tu asistente de voz local y privado. Vamos a configurarlo.",@@ -1193,13 +1252,35 @@"persona": {"title": "Hazlo tuyo (opcional)","name_label": "¿Cómo debería llamarse el asistente?",+ "name_placeholder": "Escribe un nombre…","skip": "Omitir la personalización"},+ "system_style": {+ "title": "Elige tu estilo",+ "body": "¿Cómo debería aparecer {name} en pantalla? Puedes cambiarlo cuando quieras en Ajustes.",+ "recommended": "Recomendado",+ "options": {+ "whisper_bar": "Barra de Jarvis",+ "mascot": "Orbe",+ "none": "Sin superposición"+ },+ "captions": {+ "whisper_bar": "Una barra de voz flotante y delgada, siempre a mano.",+ "mascot": "Un orbe acompañante flotante que reacciona cuando hablas.",+ "none": "Solo la ventana de la app — sin elementos flotantes en pantalla."+ },+ "needs_restart": "Casi listo — este estilo se aplica tras un breve reinicio.",+ "restart_now": "Reiniciar ahora",+ "restarting": "Reiniciando…",+ "save_error": "No se pudo guardar — se mantiene la opción recomendada. Puedes cambiarlo más tarde en Ajustes.",+ "skip": "Omitir — mantener la Barra de Jarvis"+ },"finish": {"title": "¡Todo listo!","body": "{name} está listo. Di tu palabra de activación o escribe un comando para empezar.","skipped_title": "Omitiste — configúralo cuando quieras en Ajustes:",- "start_cta": "Empezar a usar {name}"+ "start_cta": "Empezar a usar {name}",+ "boot_notice": "Nota: el primer inicio tarda unos 10 segundos mientras {name} se inicia — es completamente normal."}},"languages_view": {@@ -1233,5 +1314,449 @@"de": "{name} responde en alemán.","es": "{name} responde en español."}+ },+ "cli_connect_poller": {+ "connected": "conectado",+ "login_incomplete": "inicio de sesión no completado"+ },+ "cli_connect_coach": {+ "connect": "conectar",+ "connected": "conectado",+ "waiting_for_login": "esperando inicio de sesión…",+ "login_command": "Comando de inicio de sesión",+ "instructions": "Sigue las instrucciones en el terminal de la izquierda. Compruebo cada 3 segundos si el inicio de sesión se ha completado.",+ "done": "Listo",+ "close": "Cerrar"+ },+ "view_error_boundary": {+ "title": "No se pudo cargar la vista",+ "crashed_prefix": "se ha bloqueado.",+ "crashed_suffix": "sigue disponible.",+ "back_to_chats": "Volver a los chats"+ },+ "plan_step_list": {+ "no_plan": "Sin plan estructurado: ejecución de un solo paso.",+ "show_output": "Mostrar salida"+ },+ "frontier_switch_modal": {+ "title_one": "Modelo de frontera actualizado",+ "title_many": "Modelos de frontera actualizados",+ "description": "detectó un modelo más nuevo en el proveedor al iniciarse y cambió automáticamente. Por favor, confirma.",+ "acking": "Confirmando…"+ },+ "achievement_grid": {+ "unlocked_of": "de",+ "unlocked_count": "desbloqueados. Sin clasificación."+ },+ "activity_feed": {+ "title": "Feed de actividad",+ "refresh_tooltip": "Actualizar manualmente",+ "loading": "Cargando feed…",+ "empty": "Aún no hay nada. Empareja a tu primer amigo o escribe una historia."+ },+ "friends_list": {+ "empty": "Aún no tienes amigos. Haz clic en “Emparejar” arriba a la derecha para generar un enlace.",+ "since": "desde",+ "last_pull": "última extracción",+ "pull_every": "Extraer cada",+ "time_just_now": "ahora mismo",+ "time_ago_prefix": "hace"+ },+ "pair_dialog": {+ "title": "Emparejar a un amigo",+ "mode_invite": "Yo invito",+ "mode_follow": "Sigo un enlace",+ "generate_hint": "Genera un enlace de emparejamiento de 10 minutos y envíalo a tu amigo por Signal/Threema/SMS — cualquier canal privado.",+ "generate_button": "Generar enlace",+ "copied": "copiado",+ "copy": "copiar",+ "valid_until": "Válido hasta:",+ "error_prefix": "Error:",+ "accept_hint": "Pega aquí el enlace de emparejamiento que te envió tu amigo.",+ "accept_button": "Emparejar",+ "paired_with": "Emparejado con"+ },+ "session_list": {+ "loading": "Cargando transcripciones…",+ "empty_title": "Aún no hay sesiones de voz",+ "empty_hint": "Di tu palabra de activación — al colgar, la sesión aparece aquí.",+ "no_user_text": "(no se registró texto del usuario)",+ "turns": "turnos",+ "just_now": "ahora mismo",+ "ago_prefix": "hace",+ "hangup_voice_pattern": "Colgado",+ "hangup_error": "Error",+ "hangup_turn_complete": "Respuesta lista"+ },+ "session_detail": {+ "copied_as": "Sesión copiada como",+ "copy_failed_clipboard": "Error al copiar — ¿acceso al portapapeles bloqueado?",+ "copy_failed": "Error al copiar",+ "downloaded_as": "Descargado como",+ "download_failed": "Error al descargar",+ "loading": "Cargando sesión…",+ "load_error": "Error al cargar",+ "title": "Sesión de voz",+ "turns": "turnos",+ "no_turns_suffix": "sin una intervención posterior.",+ "copy_action": "Copiar",+ "download_file_action": "Descargar como archivo:"+ },+ "turn_card": {+ "turn": "Turno",+ "copied": "copiado",+ "copy_failed": "Error al copiar",+ "downloaded_as": "Descargado como",+ "copy_turn": "Copiar este turno",+ "copy": "Copiar",+ "download_turn": "Descargar este turno como archivo",+ "thought": "Pensó:",+ "spoke": "Habló:"+ },+ "wiki_search": {+ "dialog_label": "Búsqueda en el wiki",+ "dialog_description": "Búsqueda de texto completo en el almacén. Escribe un término o navega con las teclas de flecha.",+ "input_placeholder": "Búsqueda de texto completo en el almacén…",+ "recent_heading": "Modificado recientemente",+ "no_pages": "Aún no hay páginas en el almacén.",+ "searching": "Buscando…",+ "unavailable": "La búsqueda no está disponible en este momento.",+ "no_hits_prefix": "Sin coincidencias para ",+ "no_hits_suffix": ". Prueba otras palabras clave o consulta el grafo.",+ "hits_heading": "Coincidencias"+ },+ "wiki_graph": {+ "empty_prefix": "Tu grafo de memoria aún está vacío. En cuanto ",+ "empty_suffix": " cree notas, los nodos se conectarán aquí automáticamente.",+ "loading": "Cargando grafo…",+ "load_error": "No se pudo cargar el grafo.",+ "reset_view_title": "Restablecer el zoom a todos los nodos",+ "center": "Centrar"+ },+ "tree_sidebar": {+ "load_error": "No se pudo cargar el wiki.",+ "last_change": "Último cambio"+ },+ "page_renderer": {+ "load_error": "No se pudo cargar la página.",+ "not_found": "Página no encontrada."+ },+ "page_header": {+ "placeholder_title": "Proporcionado por el Agent D",+ "open_in_obsidian": "Abrir en Obsidian"+ },+ "obsidian_button": {+ "trigger_failed": "No se pudo activar el enlace de Obsidian",+ "handed_over": "Entregado a Obsidian",+ "not_installed_hint": "— si Obsidian no se inicia, no está instalado.",+ "vault_handed_over": "Almacén entregado a Obsidian",+ "open_in_obsidian": "Abrir en Obsidian",+ "open_vault_in_obsidian": "Abrir almacén en Obsidian"+ },+ "backlinks_panel": {+ "load_error": "No se pudieron cargar los retroenlaces.",+ "empty": "Sin retroenlaces."+ },+ "obsidian_status": {+ "loading": "Obsidian: …",+ "connected": "Obsidian: conectado",+ "not_registered": "Obsidian: no registrado",+ "not_installed": "Obsidian: no instalado",+ "unclear": "Obsidian: estado poco claro",+ "loading_tooltip": "Cargando estado…",+ "click_for_setup": "Haz clic para configurar",+ "load_failed_note": "No se pudo cargar el estado."+ },+ "obsidian_setup_dialog": {+ "step_install": "Instalar",+ "step_connect": "Conectar",+ "step_live_test": "Prueba en vivo",+ "not_detected_hint": "Aún no se detecta. Puede que el instalador siga ejecutándose — inténtalo de nuevo.",+ "status_check_failed": "No se pudo comprobar el estado. Inténtalo de nuevo.",+ "register_failed": "No se pudo registrar",+ "unknown_status": "estado desconocido",+ "restart_obsidian_hint": "Abre Obsidian una vez y vuelve a cerrarlo — luego haz clic de nuevo.",+ "close_dialog": "Cerrar diálogo",+ "title": "Configurar Obsidian",+ "subtitle": "Tres pasos sencillos y tu wiki estará activo en Obsidian.",+ "install_heading": "Instalar Obsidian",+ "install_body_1": "{name} escribe el wiki como archivos Markdown en el disco.",+ "install_body_2": "Para explorarlos y editarlos como una base de conocimiento real, necesitas el editor gratuito",+ "download_link": "Abrir obsidian.md/download",+ "checking": "Comprobando…",+ "installed_continue": "Ya lo instalé — continuar",+ "connect_heading": "Conectar almacén",+ "connect_body_1": "Ahora {name} registra su wiki en tu configuración de Obsidian.",+ "connect_body_2": "Así aparece en el selector de almacenes y el",+ "connect_body_3": "funciona.",+ "vault_path_label": "Ruta del almacén",+ "open_help": "Abrir ayuda",+ "registering": "Registrando…",+ "register_now": "Registrar ahora",+ "live_test_body": "Haz clic en el botón — tu navegador abre el almacén directamente en Obsidian.",+ "open_in_obsidian": "Abrir en Obsidian",+ "did_not_work": "No funcionó",+ "it_worked": "Funcionó — listo"+ },+ "docs_sidebar": {+ "title": "Documentación",+ "error": "Error"+ },+ "docs_content": {+ "prev": "Anterior",+ "next": "Siguiente"+ },+ "docs_search_modal": {+ "navigate": "navegar",+ "open": "abrir"+ },+ "global_kill_button": {+ "cancel_all_running": "Cancelar todas las misiones en curso",+ "cancel_all_title": "¿Cancelar todas las misiones?",+ "cancel_all_body": "misión(es) en curso se detendrán de forma forzada. Los subprocesos de los workers se terminan mediante el Job Object; los diffs ya escritos permanecen en los worktrees.",+ "error_prefix": "Error",+ "stopping": "Deteniendo…",+ "confirm_stop_all": "Sí, detener todas"+ },+ "mission_tree": {+ "no_prompt": "(sin prompt)",+ "empty": "Aún no hay misiones. El asistente principal enviará una en breve…"+ },+ "pty_terminal": {+ "stream_unreachable": "Flujo PTY inaccesible.",+ "stream_disconnected": "Flujo desconectado",+ "connect_failed": "Conexión PTY fallida",+ "connecting": "conectando…"+ },+ "event_timeline": {+ "empty": "Aún no hay eventos para esta misión."+ },+ "verdict_panel": {+ "empty": "Aún no hay veredictos del crítico para esta misión."+ },+ "openclaw_panel": {+ "select_mission": "Selecciona una misión para ver los workers de OpenClaw.",+ "no_workers": "No hay workers de OpenClaw en esta misión.",+ "not_available": "(no disponible)",+ "copy_path": "Copiar ruta",+ "file_link_copies_path": "Enlace file:// (se copia la ruta)",+ "ended_label": "Finalizado"+ },+ "clis_view": {+ "status_connected": "conectado",+ "status_disconnected": "desconectado",+ "status_not_installed": "no instalado",+ "status_error": "error",+ "status_checking": "comprobando…",+ "subtitle_connected": "conectadas",+ "subtitle_installed": "instaladas",+ "subtitle_in_catalog": "en el catálogo",+ "add_custom_cli_title": "Añadir CLI personalizada",+ "reload": "Recargar",+ "filter_all": "Todas",+ "filter_connected": "Conectadas",+ "filter_installed": "Instaladas",+ "category_label": "Categoría:",+ "category_all": "todas",+ "intro_can_call": "puede usar estas CLI como herramientas. Solo las CLI",+ "intro_connected_word": "conectadas",+ "intro_appear": "aparecen en el catálogo de herramientas del cerebro.",+ "open_usage_history": "Abrir historial de uso",+ "status_check_failed": "Comprobación de estado fallida",+ "recheck_status": "Volver a comprobar el estado",+ "close_detail_panel": "Cerrar el panel de detalles",+ "loading_details": "Cargando detalles…",+ "install": "Instalar",+ "set_api_key": "Establecer clave API",+ "disconnected_suffix": "desconectada",+ "disconnect_failed": "Desconexión fallida",+ "disconnect": "Desconectar",+ "remove_custom_cli_prefix": "Eliminar CLI personalizada",+ "remove_custom_cli_suffix": "",+ "remove_custom_cli": "Eliminar CLI personalizada",+ "confirm_remove_custom_prefix": "¿Eliminar realmente la CLI personalizada",+ "confirm_remove_custom_suffix": "?",+ "removed_suffix": "eliminada",+ "kv_path": "Ruta",+ "not_found": "no encontrado",+ "section_secrets": "Secretos (autenticación con clave API)",+ "secret_set": "establecido",+ "secret_unset": "(no establecido)",+ "section_tool_examples": "Ejemplos de herramientas (para el cerebro)",+ "documentation": "Documentación",+ "terminal_opened": "Terminal abierta",+ "follow_browser_login": "sigue el inicio de sesión del navegador. El estado se comprueba automáticamente.",+ "terminal_spawn_failed": "No se pudo iniciar la terminal",+ "browser_login": "Inicio de sesión en el navegador",+ "api_key_help": "Las claves se guardan en el Administrador de credenciales de Windows y se inyectan como variable de entorno en cada llamada.",+ "api_key_already_set": "(ya establecida — sobrescribir)",+ "api_key_enter": "Introduce la clave API",+ "validation_failed": "Validación fallida",+ "connected_suffix": "conectada",+ "validating": "Validando…",+ "save_and_validate": "Guardar y validar",+ "install_lowercase": "— instalar",+ "install_help": "Abre una terminal externa de Windows con el comando de instalación. El estado se comprueba automáticamente cuando la terminal termina.",+ "choose_method": "Elegir método",+ "recommended": "recomendado",+ "command_label": "Comando",+ "external_terminal_opened": "Terminal externa abierta",+ "install_running": "la instalación está en curso. El estado se actualiza automáticamente.",+ "spawning": "Iniciando…",+ "open": "Abrir",+ "install_in_terminal": "Instalar en la terminal",+ "registered_suffix": "registrada",+ "step": "Paso",+ "wizard_step1_identity": "Identidad de la CLI",+ "wizard_step2_check": "Comprobación + versión",+ "wizard_step3_auth": "Configuración de autenticación",+ "wizard_step4_risk": "Nivel de riesgo + patrones",+ "eg_mytool": "p. ej. mytool",+ "eg_my_tool_cli": "p. ej. My Tool CLI",+ "field_binary_name": "Nombre del binario (lo que está en el PATH)",+ "field_description": "Descripción",+ "what_does_cli_do": "¿Qué hace la CLI?",+ "field_category": "Categoría",+ "field_homepage_url": "URL de la página principal",+ "field_check_command": "Comando de comprobación",+ "field_version_regex": "Regex de versión (un grupo de captura)",+ "auth_mode_label": "Modo de autenticación",+ "auth_none": "none (sin autenticación)",+ "auth_oauth_cli": "oauth_cli (inicio de sesión propio de la CLI)",+ "auth_api_key": "api_key (llavero + inyección de ENV)",+ "auth_config_file": "config_file (gestionado externamente)",+ "field_login_command": "Comando de inicio de sesión",+ "field_status_command": "Comando de estado",+ "field_secret_keys": "Claves secretas (separadas por comas)",+ "field_env_vars": "Variables de entorno (separadas por comas, orden 1:1)",+ "risk_safe": "safe (se ejecuta sin preguntar)",+ "risk_ask": "ask (confirmación por llamada)",+ "risk_block": "block (completamente bloqueado)",+ "field_allow_patterns": "Patrones permitidos (uno por línea)",+ "field_deny_patterns": "Patrones denegados (uno por línea)",+ "steps_skippable": "Los pasos se pueden omitir con 'Guardar'",+ "done": "¡Listo!",+ "next": "Siguiente",+ "no_entries": "Sin entradas",+ "search_word": "búsqueda",+ "confirm_clear_history_prefix": "¿Borrar todo el historial de",+ "confirm_clear_history_suffix": "?",+ "entries_deleted": "entradas eliminadas",+ "empty_no_clis": "No hay CLI en el catálogo",+ "empty_all": "Ninguna CLI coincide con el filtro.",+ "empty_connected": "No hay ninguna CLI conectada actualmente.",+ "empty_installed": "No hay ninguna CLI instalada.",+ "empty_custom": "Aún no hay ninguna CLI personalizada registrada — haz clic en 'Add Custom' en la parte superior derecha."+ },+ "cli_test_hub_view": {+ "subtitle_tell": "Dile a",+ "subtitle_rest": "en lenguaje natural qué hacer con tus CLI",+ "no_risk_tier": "sin nivel de riesgo",+ "connected_clis": "CLI conectadas",+ "available": "disponibles",+ "loading_connected": "Cargando CLI conectadas…",+ "list_load_failed": "No se pudo cargar la lista de CLI",+ "no_cli_connected": "Ninguna CLI conectada",+ "no_cli_help": "solo puede llamar a una herramienta cuando hay al menos una CLI conectada (p. ej. gcloud, gh, docker). Conecta una CLI en la sección CLIs — luego aparecerá aquí automáticamente.",+ "go_to_clis": "Ir a las CLI",+ "instruction_label": "Instrucción",+ "instruction_to": "Instrucción para",+ "placeholder_rest": "qué hacer con tus CLI…",+ "cli_hint_label": "Sugerencia de CLI (opcional)",+ "cli_hint_aria": "Sugerencia de CLI",+ "let_decide": "decida",+ "ctrl_cmd_enter": "Ctrl/Cmd + Intro",+ "run_instruction": "Ejecutar instrucción",+ "running": "Ejecutando…",+ "run": "Ejecutar",+ "picking_tool": "está eligiendo una herramienta y ejecutando el comando…",+ "request_failed": "La solicitud falló",+ "backend_check_prefix": "¿Está el servidor backend en ejecución y el endpoint",+ "backend_check_suffix": "disponible?",+ "says": "dice",+ "command_failed": "El comando falló.",+ "duration": "Duración",+ "command_label": "Comando",+ "steps": "Pasos",+ "no_tool_found": "no encontró ninguna herramienta CLI adecuada. Formula la instrucción de forma más concreta o indica una sugerencia de CLI."+ },+ "workflows_view": {+ "subtitle": "Tus pipelines de agentes de IA alojados: activados por cron o con solo pulsar un botón.",+ "loading": "Cargando flujos de trabajo…",+ "load_failed": "No se pudieron cargar los flujos de trabajo",+ "integrations_need_setup": "Las integraciones requieren configuración",+ "chat_id_missing": "Falta el ID de chat",+ "token_missing": "Falta el token",+ "dismiss_banner": "Descartar el aviso",+ "stat_active": "Activos",+ "stat_next_run": "Próxima ejecución",+ "url_to_summarize": "URL para resumir:",+ "run_failed": "La ejecución falló",+ "collapse": "Contraer",+ "expand": "Expandir",+ "no_description": "Sin descripción.",+ "disable": "Desactivar",+ "enable": "Activar",+ "run_now": "Ejecutar ahora",+ "delete_confirm_prefix": "¿Eliminar de verdad el flujo de trabajo",+ "delete_confirm_suffix": "?",+ "loading_details": "Cargando detalles…",+ "error_label": "Error",+ "recent_runs": "Ejecuciones recientes",+ "never_run": "Nunca se ha ejecutado.",+ "loading_run_details": "Cargando detalles de la ejecución…",+ "empty_title": "Aún no hay flujos de trabajo: se incluyen 3 ejemplos en el primer arranque.",+ "empty_hint_pre": "¿El backend está recién instalado? Revisa"+ },+ "conductor_view": {+ "new_job": "Nuevo trabajo",+ "loading_jobs": "Cargando trabajos…",+ "api_unreachable": "La API de Conductor no responde",+ "stat_active": "Activos",+ "runs_last_30": "ejecuciones (últimas 30)",+ "delete_confirm_prefix": "¿Eliminar de verdad el trabajo",+ "delete_confirm_suffix": "?",+ "editor_intro": "Los trabajos son JSON: copiables, comparables y compatibles con git. Tres tipos:",+ "create": "Crear",+ "empty_jobs": "Aún no hay trabajos. Pulsa \"Nuevo trabajo\" arriba a la derecha.",+ "empty_jobs_hint": "Se incluyen 3 trabajos de demostración en el primer arranque.",+ "empty_timeline": "Aún no hay ejecuciones: pulsa Play en un trabajo.",+ "json_syntax_error": "Error de sintaxis JSON"+ },+ "chat_tab": {+ "loading_friends": "Cargando friends …",+ "load_failed": "No se pudieron cargar los friends:",+ "empty_hint": "Aún no hay friends. Haz clic arriba a la derecha en",+ "add_friend": "+ Añadir friend",+ "select_hint": "Elige un friend de la lista de la izquierda."+ },+ "status_tab": {+ "heading": "Compartir estado",+ "intro_part1": "Tú decides por cada friend cuánto de tu",+ "intro_part2": "-estado se comparte. Privacidad ante todo: el valor predeterminado es",+ "intro_part3": "(solo en línea/desconectado); los cambios se aplican al instante.",+ "empty_hint": "Aún no hay friends. Cambia a la pestaña de chat y haz clic en",+ "hard_blacklist_title": "Lista negra estricta (siempre bloqueada)",+ "hard_blacklist_body": "Enunciados sin procesar, argumentos de herramientas, trazas de pila, actualizaciones de memoria, títulos de ventana. NUNCA salen de tu máquina, sin importar qué perfil esté activo ni lo que diga una lista blanca personalizada.",+ "error_prefix": "Error",+ "loading_permission": "Cargando permiso …",+ "profile_minimal_subline": "Solo en línea/desconectado",+ "profile_minimal_desc": "El friend ve: sesión de voz activa sí/no, duración. Sin contenido.",+ "profile_standard_subline": "+ Título de la misión",+ "profile_standard_desc": "El friend también ve: qué misiones/tareas se están ejecutando, éxito, duración.",+ "profile_detailed_subline": "+ Resumen de OpenClaw",+ "profile_detailed_desc": "El friend también ve: resúmenes de OpenClaw firmados (SIN enunciados)."+ },+ "tools_canvas": {+ "back_tooltip": "Volver al resumen de agentes",+ "tool_calls": "llamadas de herramienta",+ "active": "activas",+ "duration": "Duración",+ "empty": "(vacío)",+ "no_tools_yet": "aún no ha llamado a ninguna herramienta.",+ "no_tools_explainer": "En cuanto el worker de OpenClaw activa una herramienta (p. ej. dispatch_to_harness, run_shell, screenshot), aparece aquí como un nodo de icono."+ },+ "use_web_socket": {+ "jarvis_opened": "{name} abrió"}}