Repository navigation
feat(installer): GAIA Windows Terminal profile with IBM Plex Mono - #4707
Conversation
The Windows setup's shortcuts opened gaia-tui in whatever console and font the user had, so the TUI rendered in Consolas on Campbell blue. The setup now adds a GAIA Windows Terminal profile (IBM Plex Mono 12, cell height 1.35, padding 18, a dark GAIA scheme) and points the shortcuts at it when Windows Terminal is installed; without it they run gaia-tui directly and the install log says why. - IBM Plex Mono 2.5.0 (Regular/Bold/Italic/Bold Italic, ~700 KB) is fetched at build time and verified against digests committed in installer/tui/fonts/fonts.lock.json, the same contract as the sidecar. - Fonts install per-user under HKCU; uninstall removes only faces the setup added. The fragment is the only Windows Terminal file written; settings.json is never touched. - The TUI contrast test now holds every token against the profile background.
|
Verdict: Approve with suggestions The Windows setup now installs IBM Plex Mono for the current user and adds a GAIA Windows Terminal profile. When Windows Terminal is present, the shortcuts and the Finish page open that profile. The work is careful: the fonts are checked against committed digests, uninstall removes only the faces this setup added, and the fragment is written as UTF-8. I found nothing blocking. One edge case is worth a look. If a font is still open when the user uninstalls, it stays installed as intended, but the uninstaller also erases the record that this setup installed it. A later reinstall then treats it as the user's own font and never removes it. Real-world evidenceN/A: this PR changes the Windows installer only, so there is no CLI, API, MCP or Agent UI surface for this lane to exercise, and no evidence bundle was produced. My verdict rests on static review. The real proof is the PR's unchecked CI items (the makensis 🔍 Technical detailsIssues 🟢 A face left in use at uninstall gets adopted as the user's font on the next install (
🟢 The shortcut target is decided once, at install time ( Notes from verification (no action needed)
Strengths
|
…rminal (amd#4720) Windows users had to choose between two installers (the desktop app and the terminal) before knowing what either was. Now there is one: `gaia-<version>-win-x64-setup.exe` asks for the desktop app, the terminal, or both. At least one is required. Each choice puts its own shortcut on the desktop and in the Start menu. amd-gaia.ai gives Windows visitors that one download, and **Install GAIA** in the docs becomes the single starting point for users, with a separate section for developers. Builds on amd#4707 (Windows Terminal profile and font, now merged): the terminal component installs it unchanged. **In v0.25 (Windows, complete)** - **Components:** the desktop app runs the unmodified electron-builder setup it embeds, so electron-updater and that setup's own uninstaller keep working. The terminal keeps its `GAIA Terminal Hub` identity. Both earlier installers upgrade in place, and there is one Installed-apps entry per component. - **Silent installs:** `/S /COMPONENTS=ui,tui`. Plain `/S` updates whatever is installed, and installs both on a clean machine. Refusals change nothing and exit with their own code: - 2: a GAIA program it would replace is running - 3: bad `/COMPONENTS` - 4: the developer build, or an all-users desktop app, is installed - 5: a chosen component failed - **CI:** the Windows setup builds in its own workflow, so it can't hold up the macOS/Linux packages or the raw binaries that `install.ps1`/`install.sh` use. On a tag it embeds the desktop app from `publish.yml`'s run for that tag, and only after that run's `Build complete` passed. **Follow-up:** amd#4721 covers macOS/Linux consolidation, one "GAIA" Installed-apps entry, and signing the Windows setup. ## Test plan CI (this PR): - [ ] `Windows setup` jobs green. The smoke test installs on a clean runner and covers: - refusals: bad `/COMPONENTS`, developer build, all-users app, both programs locked - each component on its own and both together, plus upgrade - per-component uninstall, with `~/.gaia` kept - [ ] `TUI installers` macOS/Linux legs green; `Build Installers` unaffected - [ ] `pytest tests/unit/installer tests/unit/test_installer_artifacts.py` and website `npx vitest run` green Manual, on a clean Windows 11 VM (not runnable in CI): - [ ] Interactive, fresh install: both boxes ticked; untick both and Next is disabled; the folder page only appears when the terminal is ticked - [ ] Desktop app only: one **GAIA** shortcut; it launches; Finish → Start GAIA opens the app - [ ] Terminal only: one **GAIA Terminal Hub** shortcut; it opens Windows Terminal with the GAIA profile - [ ] Both: two shortcuts and two Installed-apps entries (**GAIA**, **GAIA Terminal Hub**) - [ ] Upgrade from `gaia-agent-ui-0.24.1-x64-setup.exe`: the app updates in place, still one GAIA entry, chats kept - [ ] Upgrade from the terminal-only `gaia-0.24.1-win-x64-setup.exe`: updates in place, still one entry, PATH not duplicated - [ ] With the desktop app running in the tray, Setup asks you to close it, and Retry continues - [ ] Uninstall each entry: the other component keeps working, and `~/.gaia` survives when you answer No - [ ] Silent, from an elevated and from a non-elevated PowerShell: - `/S /COMPONENTS=tui`, `/S /COMPONENTS=ui`, `/S`, `/S /COMPONENTS=nope` (check `$LASTEXITCODE`) - [ ] With a shareable developer build installed, Setup refuses with exit 4 and its message names the fix <details> <summary>🔍 Technical details</summary> - **Review:** architecture-reviewer critiqued the plan and code-reviewer critiqued the diff; every blocking and should-fix finding is resolved in the commit: - the developer build is refused, not migrated - the release sources the desktop app from `publish.yml`'s run, with no wait on the approval gate, and only after its `Build complete` job passes - the run lookup is filtered by tag, so an rc tag on the same commit can't be picked - `HKLM` all-users detection uses the 64-bit registry view - the publish job is gated at job level (no approval prompt with nothing to publish) - the website gate is version ≥ 0.25.0 *and* the file being published - **Required checks:** branch protection isn't readable with my token (404), so please check whether these were required. Removed from `TUI installers`: - `Build installers (windows)` - `Smoke-test installer (windows)` Added under `TUI Build & Test` → `Windows setup /`: - `Fetch the desktop app setup` - `Build the Windows setup` - `Smoke-test the Windows setup` - `Windows setup verified` - **Release:** the Windows publish waits for `terminal-hub` (the Worker takes a version's main artifact from the first publish), and it is one more `agent-publish` approval on release day. The PR gate pins the embedded desktop app to `v0.24.1`; bump it after each release. - **Node:** none of these workflows pin or use Node, so the Node 22 move amd#4704 needs (`engines` says `>=20.19.0`; `build-installers.yml` is on 20) is not part of this PR. amd#4704's failures are in `build-installers.yml`, which this PR does not change. - **amd#4509:** no overlapping hunks. It touches only text in `docs.json`, `agent-ui.mdx` and `quickstart.mdx` away from these edits, and no installer, workflow or electron-builder files. The setup embeds whatever `gaia-agent-ui` setup the release builds, so amd#4509's UI ships inside it once merged. - **Model downloads:** the smoke test downloads no models, so amd#4707's stalled-mirror flake can't hit it. - **Website:** it builds from the live catalog. Until a 0.25.0+ setup is published, Windows renders as today, so this is safe to merge before the release. </details> --------- Co-authored-by: kovtcharov-amd <[email protected]>
# GAIA v0.25.0 Release Notes ## Breaking Changes - **`gaia chat` runs the flagship GAIA agent**, the same agent as the TUI and Agent UI, instead of the retired ChatAgent. `gaia chat -q "…"` queries it once. (PR [amd#4520](amd#4520)) - **`gaia talk` transcribes and speaks through Lemonade** — it uses Lemonade's Whisper and `kokoro-v1`, and stops with the reason if Lemonade is down. The `[audio]` extra is gone; `pip install amd-gaia[audio]` only warns. (PR [amd#4665](amd#4665)) - **The Agent UI runs only the GAIA agent** — the Agent Hub home, agent picker, and custom-agent export/import are removed from the UI. The CLI and eval harness can still run other agents. (PR [amd#4509](amd#4509)) - **The retired nomic embedder is removed** — memory saved with it is re-embedded on first start. (PR [amd#4489](amd#4489)) - **Indexed documents are re-indexed once** — the document cache is now keyed on chunking settings, so the first query after upgrading rebuilds it. (PR [amd#4624](amd#4624)) - **A skill that asks for more than its tier allows no longer loads** — the permission ceiling is checked at every load, so a skill already on disk that exceeds it is refused with the reason. (PR [amd#4849](amd#4849)) ## What's New - **A larger local model where the GPU holds it** — `gaia init` picks Qwen3.6-35B-A3B on a 64 GB+ Strix Halo or a 32 GB GPU and keeps Gemma-4-E4B elsewhere, with each context window sized to available memory. Qwen3.8 Flash Next is opt-in on 128 GB Strix Halo. (PRs [amd#4479](amd#4479), [amd#4670](amd#4670), [amd#4671](amd#4671), [amd#4658](amd#4658), [amd#4655](amd#4655)) - **The Agent UI opens straight to a chat and sets itself up** — a fresh install runs the same setup steps as the TUI in the window, with provider, key and model settings, permission modes, and revocable "always allow" grants. (PR [amd#4509](amd#4509)) - **A much smaller install** — PyTorch, transformers and accelerate are gone from the core, `[ui]` and `[talk]` installs; the desktop app's Python environment drops from ~0.9 GB to ~0.1 GB on Windows. (PRs [amd#4666](amd#4666), [amd#4621](amd#4621), [amd#4665](amd#4665)) - **One Windows installer for the desktop app and the terminal**, with a GAIA Windows Terminal profile. (PRs [amd#4720](amd#4720), [amd#4707](amd#4707)) - **A "no" holds** — a declined action isn't retried through another tool; the agent asks again with the exact command. The TUI gains Shift+Tab permission modes. (PRs [amd#4460](amd#4460), [amd#4461](amd#4461)) - **Answers are checked against what the tools actually did** — the agent looks at files you name before answering about them, and a short plain-English note appears only when work isn't confirmed. (PRs [amd#4532](amd#4532), [amd#4501](amd#4501), [amd#4508](amd#4508)) - **One shell session** — commands share a persistent shell, risky ones ask instead of being refused, and "full access" is one setting everywhere. (PR [amd#4408](amd#4408)) - **Memory surfaces what's relevant to each request, with its age**, keeps what fixed a failure as a lesson for that workspace, and extracts after the answer instead of before it. (PRs [amd#4061](amd#4061), [amd#4066](amd#4066), [amd#4406](amd#4406)) - **`gaia.log` stays bounded** — it rotates at 10 MB with three backups (`GAIA_LOG_MAX_MB`, `GAIA_LOG_BACKUPS`). (PRs [amd#4668](amd#4668), [amd#4760](amd#4760)) - **Child processes get a trimmed environment** — shell, MCP and skill children no longer inherit GAIA's internal credentials; `GAIA_NO_DOTENV` skips loading `.env`. (PRs [amd#4635](amd#4635), [amd#4659](amd#4659)) - **Every file tool checks the allowed-folders rule**, and paths inside an inline shell script are checked one by one. (PRs [amd#4656](amd#4656), [amd#4758](amd#4758)) ## Bug Fixes A selection of the user-visible fixes; the full list is in the changelog below. - **Local Qwen models no longer loop on repeated tool calls** — they run with their model card's sampling instead of near-greedy settings. (PR [amd#4655](amd#4655)) - **Qwen3.6 runs on a Strix Halo with an older AMD driver** — it used to crash on its first token, so `gaia init` failed; GAIA now turns off the Vulkan path that crashes on those drivers only, and newer drivers keep the faster path. (PR [amd#4674](amd#4674)) - **A long PDF no longer hangs or times out while indexing** — big documents index in the background, and PDFs that only carry owner-password restrictions now index. (PRs [amd#4754](amd#4754), [amd#4679](amd#4679), [amd#4734](amd#4734)) - **Document answers cite the right document and page**, and every chunk is embedded whole instead of its first 1,200 characters. (PRs [amd#4688](amd#4688), [amd#4723](amd#4723)) - **`gaia init` fails when model verification fails**, shows downloads live, and no longer hangs while Lemonade hashes a large model. (PRs [amd#4620](amd#4620), [amd#4564](amd#4564), [amd#4673](amd#4673)) - **`gaia init` adds a profile's extras without reinstalling GAIA**, which failed on Windows while `gaia.exe` was running. (PR [amd#4672](amd#4672)) - **Every SDK and CLI entry point starts GAIA's own Lemonade**, and every call goes to the resolved URL with its API key. (PRs [amd#4657](amd#4657), [amd#4627](amd#4627)) - **Local chat stays cached across turns** — the system prompt is fixed and side requests no longer evict the conversation. (PRs [amd#4698](amd#4698), [amd#4543](amd#4543)) - **A cloud model selection never preloads a local model**, and cloud models no longer get llama.cpp-only fields. (PRs [amd#4757](amd#4757), [amd#4709](amd#4709)) - **The Agent UI stops claiming "100% local" while chat goes to a cloud model**, and the chat header names the session's real model. (PRs [amd#4711](amd#4711), [amd#4550](amd#4550)) - **Enter can't approve a permission prompt**, and prompts wait 10 minutes before timing out. (PRs [amd#4700](amd#4700), [amd#4699](amd#4699)) - **Stopping a run keeps the turn and its steps visible.** (PR [amd#4743](amd#4743)) - **A file edit keeps the file's line endings** — a one-line edit on Windows used to rewrite every line ending, so a small change showed up as the whole file changed. (PR [amd#4864](amd#4864)) - **A broken agent install is reported as broken, not as missing** — the error names both package versions and the real import error, and suggests a reinstall that works. (PR [amd#4588](amd#4588)) - **A meeting or document summary is never cut off mid-sentence** — a thinking model used to spend the summary's output budget reasoning, so a long meeting lost its second half. (PR [amd#4827](amd#4827)) - **"What can you do?" gets an answer** instead of an attempt to generate an image of the question. (PR [amd#4809](amd#4809)) - **Writes and approved edits can't reach credential folders** (`~/.ssh`, `~/.aws`, `~/.kube` and others), and shell option values and script arguments get the same path check as plain paths. (PRs [amd#4848](amd#4848), [amd#4847](amd#4847)) - **`gaia connectors connect google --grant-agent installed:gaia` works** — it used to fail with no sign-in link for the shipped agent; it now asks for read-only Gmail and grants exactly that. (PR [amd#4859](amd#4859)) - **A "no" to creating a folder also covers writing into it** — GAIA no longer asks again to create the same folder a different way. (PR [amd#4857](amd#4857)) - **`gaia skill import` runs the same checks as a hub install** — https only, the audit, the permission ceiling, and an explicit opt-in for skills that ship code. (PR [amd#4849](amd#4849)) - **Memory off and private chats apply to scheduled and background runs too.** (PRs [amd#4842](amd#4842), [amd#4821](amd#4821)) - **Memory stops false apologies and reusing deleted values**, saves "remember this" requests, and skips loading the embedder when memory is off. (PRs [amd#4708](amd#4708), [amd#4756](amd#4756)) - **A reply cut off by the token limit is continued** instead of ending mid-sentence, and a tool call cut off at the output cap is retried shorter. (PRs [amd#4054](amd#4054), [amd#4556](amd#4556)) - **The TUI remembers the chosen model** across restarts and agent-process restarts. (PRs [amd#4497](amd#4497), [amd#4710](amd#4710)) - **`gaia uninstall --purge` removes installer binaries, PATH edits and daemon state.** (PR [amd#4413](amd#4413)) ## Contributors Thanks to the community members who contributed to this release: - [@itomek](https://github.com/itomek) — the flagship's browser and tool picker, one shell session, memory extraction off the answer path, stale tool-result eviction, the TUI's sourced Fireworks rankings, and `--purge` cleanup (PRs [amd#4407](amd#4407), [amd#4408](amd#4408), [amd#4406](amd#4406), [amd#4465](amd#4465), [amd#4414](amd#4414), [amd#4413](amd#4413)) - [@mikemikimike](https://github.com/mikemikimike) — chained shell command timeouts, bundled skills in frozen builds, and sidecar cleanup reporting (PRs [amd#4463](amd#4463), [amd#4467](amd#4467), [amd#4419](amd#4419)) - [@Hashim1999164](https://github.com/Hashim1999164) — honoring `GAIA_HOME` for cache, chat and index paths (PR [amd#4381](amd#4381)) - [@krtadev](https://github.com/krtadev) — `~` expansion in file and document tool paths (PR [amd#4576](amd#4576)) - [@aksh8b](https://github.com/aksh8b) — telling a broken agent install apart from a missing one, with a reinstall hint that works (PR [amd#4588](amd#4588)) - [@Dev-next-gen](https://github.com/Dev-next-gen) — numeric prerelease ordering in the hub (PR [amd#4517](amd#4517)) - [@vianmangal](https://github.com/vianmangal) — recording denied tool calls as unsuccessful in memory (PR [amd#4412](amd#4412)) - [@GaetanVDB07](https://github.com/GaetanVDB07) — links to upstream credential setup guides for connectors (PR [amd#4669](amd#4669)) - [@rradjabi](https://github.com/rradjabi) — moving self-hosted CI jobs to the xsj-dispatch runner pool (PR [amd#4534](amd#4534)) ## Also in this PR - **Hub floors raised to core 0.25.0** — the chat agent imports the allowed-folders check that only 0.25.0 ships (amd#4656), so `gaia-agent-chat` goes to 0.2.0 with `amd-gaia>=0.25.0`, and the flagship requires `amd-gaia>=0.25.0` and `gaia-agent-chat>=0.2.0`. - **Two follow-ups held back until that floor could rise** — `~/.gaia/logs/gaia-agent.log` now rotates like `gaia.log` (amd#4668), and the chat agent's Python runners and Windows notification start their children without GAIA's internal credentials (amd#4659). The full changelog (300 commits) is in `docs/releases/v0.25.0.mdx`. ## Test plan - [x] `util/validate_release_notes.py docs/releases/v0.25.0.mdx --tag v0.25.0` passes; narrative is 590 words (cap 600) - [x] `util/check_component_core_api.py --release-version 0.25.0` passes - [x] `pytest tests/unit/test_docs_json_release.py tests/unit/test_check_component_core_api.py hub/agents/chat/python/tests/test_chat_dependency_floor.py hub/agents/chat/python/tests/test_dependency_floor.py hub/agents/gaia/python/tests/test_gen_binaries_lock.py` (72 passed) - [x] `pytest hub/agents/gaia/python/tests/test_stdio.py` (91 passed, incl. the new rotation test); `pytest tests/unit/test_execute_python_file_cwd.py tests/unit/test_run_python_tool.py` (42 passed) - [ ] `mintlify validate` (docs CI job) — timed out locally, relying on CI - [x] Full flagship eval on main 9ce6598 (https://github.com/amd/gaia/actions/runs/37436249503): 181/308 scenarios pass vs 100/183 for the same categories in the baseline, 39 FAIL→PASS, 13 PASS→FAIL (two fixed in amd#4878, held until after rc1); retrieval lane still finishing at merge time - [ ] CI green ## Release checklist - [ ] Publish `gaia-agent-chat` 0.2.0 only after core 0.25.0 is on PyPI — it fails at import on an older core - [ ] Build Installers on the merged SHA (pre-tag verification) before pushing `v0.25.0` - [ ] terminal-hub 0.25.0 published before the flagship npm release consumes `binaries.lock.json` 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]> Co-authored-by: Kalin Ovtcharov <[email protected]>
Before this change, the Windows setup's shortcuts opened
gaia-tuiin whatever console and font the user already had, which usually meant Consolas on Campbell. Now the setup adds a GAIA Windows Terminal profile: IBM Plex Mono, roomy spacing, and a dark GAIA scheme that the TUI's own palette is tested against. When Windows Terminal is installed, the Start menu, desktop and Finish-page launches all open that profile. Without Windows Terminal they still rungaia-tuidirectly, and the install log says why. Uninstall removes the profile and only the font files the setup itself added. The user'ssettings.jsonand default profile are never touched.Test plan
pytest tests/unit/installer/test_terminal_profile.py: the fragment is valid JSON for real install paths, names the family the setup ships, has a complete dark scheme, and its guid matches the shortcuts. The .nsi installs and removes exactly the pinned faces. A tampered zip or font stages nothing.pytest tests/unit/installer/ tests/unit/test_installer_artifacts.py(252 passed),go test ./internal/ui/theme/(GAIA background added to the contrast floors),python util/lint.py(black, isort, flake8 and test-lanes clean)python installer/tui/fetch_fonts.py --out <tmp>against the live IBM release: zip and every face verifiedBuild installers (windows): makensis-WXcompile. Not compiled locally because makensis isn't installed on the dev box.Smoke-test installer (windows): fonts, HKCU registration, fragment (UTF-8, right font and commandline) and shortcut target land, and all of them are gone after uninstallJosé) and confirm WT loads the fragment🔍 Technical details
@ibm/[email protected],ibm-plex-mono.zip, SHA-2566d23f01257663d8cc49a0d64c22ced630b79e0e2a0ac08a0da86e9a38bbc481c, which matches GitHub's published asset digest. Four TTF faces (Regular, Bold, Italic, Bold Italic, ~700 KB), all in familyIBM Plex Mono. The TUI emits bold and italic, so shipping the real faces avoids WT synthesising them. The OFL 1.1 licence ships asIBM-Plex-Mono-OFL.txtin the install dir.gaia-agentis checked against a committed lock, and the Lemonade MSI is downloaded at build time.fonts.lock.jsonpins the zip's size and SHA-256 plus each extracted file's SHA-256, andbuild-setup.shrefuses to build without every pinned file.%LOCALAPPDATA%\Microsoft\Windows Terminal\Fragments\GAIA\gaia.json, rendered frominstaller/tui/nsis/wt-fragment.json. The JSON-escaped install dir is substituted in, and the file is written as UTF-8 throughWideCharToMultiByte, because NSISFileWriteemits the ANSI code page. The fragment is written even when WT is absent, since it stays inert until WT is installed.wt.exe -p "{guid}"rather than the profile name, so a renamed profile still opens.%LOCALAPPDATA%\Microsoft\Windows\Fonts, registered underHKCU\...\Fonts, and recorded underHKCU\Software\GAIA\TerminalHub\Fonts. Only recorded faces are removed on uninstall. A face found registered in HKCU or HKLM, or present inC:\Windows\Fonts, is left alone. A face that is in use keeps its registration, so it never becomes an unregistered stray.theme.goand picks light or dark by querying the background. So the scheme's real job is a dark background (#17161B) plus ANSI slots that agree with the dark tokens: Danger, Success, Warning, Info, Highlight and ArtEye map to bright red, green, yellow, blue, magenta and cyan. The copper accent is the cursor colour.