Skip to content

LocalAide 0.2.3

Choose a tag to compare

@github-actions github-actions released this 24 Nov 16:33
· 109 commits to main since this release

A large local-first upgrade: one window chrome row, a diagnostics and repair
surface, secrets in the OS keychain, durable tool policy, session search,
agents, goals, multi-run, project rules, notifications, paired sharing and
plugin panels. Settings are re-ordered, the model picker keeps the
conversation when switching models, and config writes skip unchanged saves.

Added

  • One window chrome row. The title bar and chat tabs are merged into a single 40px row on Windows and Linux. On macOS the tabs sit in their own row below the chrome, so they no longer crowd the title bar or the traffic lights. macOS uses an overlay title bar with native traffic lights; Windows and Linux keep the custom minimize/maximize/close buttons. The logo opens a small window menu (Minimize / Restore / Close); double-clicking empty chrome zooms the window.
  • Local diagnostics. Settings → About shows uptime, resident memory, backend-call timings and local log/database sizes, plus a Copy diagnostics button that assembles a redacted, review-first report. Nothing is uploaded.
  • OS keychain for provider keys. API keys move to the macOS Keychain, Windows Credential Manager or Linux Secret Service; config.json keeps only a keyring: marker. A headless machine with no native store keeps the owner-only file fallback rather than losing the key.
  • Session search, doctor, agents, multi-run and context references. Search old chats with FTS5, run a local health report, manage Markdown agents, compare answers from several providers and resolve safe @file:line references.
  • Permission rules, tool hooks and provider routing. Durable allow/ask/deny rules, pre/post tool hooks, MCP tool gating, provider priority and key pools.
  • Goals and usage ledger. Goal state with a step budget and a documented flat-rate usage ledger for online calls.
  • Paired sharing and plugins. Shared sessions now need a one-time pairing token; local HTML plugin panels are listed safely and shown in a sandbox.
  • Project rules and model-switch notes. AGENTS.md-style files are injected into chat prompts when enabled, and switching models reports the recalculated context budget without losing the conversation.
  • Local notifications and sounds. Opt-in desktop notifications with a short chime when a goal completes, a background turn finishes, a tool approval is needed, or the model asks a question. No network calls.

Fixed

  • The Send button sent the previous message again. Clicking Send passed the click event into send's resend parameter, so it resent the last message instead of the text just typed (Enter worked, because it calls send() with no argument). The button now calls send() with no argument, and send only resends on an explicit true.
  • Setup repeated after every update. Startup only skipped setup when a local model was chosen, so online-only users saw the wizard on every launch. Setup is now recorded with a durable setup_complete flag when the wizard finishes or is skipped, and startup also counts saved online providers.
  • Steer did nothing on a plain answer. Steering notes were only read at the top of a later tool round, and a plain answer has none, so the note was dropped and parked as a new message. A waiting note now runs one more round instead, so the model reads it before answering again.
  • Kilo Code listed three times, all models on Ultra. Adding the same provider (same address and name) twice is now refused, an existing config merges the duplicates on load (keeping the first entry's id, models and favourites), and the picker de-duplicates by key. Unknown online models now offer only low/medium/high effort: the full ladder put an Ultra rung on models that do not have one.
  • Queued messages can be edited in place and reordered. Edit now edits the row itself (it used to move the text back to the composer), with up/down buttons to reorder. Queueing and steering now confirm with a short message, so it is clear they worked.
  • Update flow shows what's new first. The footer chip now opens a dialog with the release notes and an Install button, instead of installing straight from the chip. Install still downloads, verifies, installs and restarts, keeping chats, notes, models and preferences.
  • Extra motion is gone where it annoyed. Chat search opens instantly, Settings sections no longer fly in on every switch, and queued notes appear without animation.
  • Library index watcher now has automated coverage for 500ms debouncing, ignored extensions and removal forwarding.
  • Idle heat on Intel Macs (95 °C, fans full). The WebView redrew every frame at idle: the pulsing SVG logo eye runs on WebKit's main thread (SVG has no compositor layer), so each frame re-ran layout of the whole chat tree and re-rasterized the big ember gradients on the GPU. The logo now pulses once on mount and then stays still, the empty-state icon no longer floats forever, the ember-glow panels get their own layer (rasterized once), the chat header is solid instead of a live backdrop blur, and the remaining activity-only animations (typing dots, thinking label, index sweep, effort sheen, session pulse, skeleton shimmer, progress slide) are promoted with will-change so they run on the compositor. Profiled from Activity Monitor samples, not guessed.
  • Open chat tabs are capped live at 8 with least-recently-used eviction; the contrast gate reads the shipped focus token; tab close stays visible on touch.
  • Provider keys rotate on real 401/429 responses, doctor can repair safe local scaffolding, and repeated identical config saves are skipped.
  • Online provider router and SSE engine have loopback HTTP tests for clean and truncated streams, mid-stream errors, 401 hints, no-follow redirects and cancellation.
  • Sources sit under the finished answer, folded. They used to render mid-stream (as citations arrived) and sprawl across the chat — 133 chips in the reported case. They now appear only when the answer is done, under its final text, collapsed behind a "Sources (N)" toggle.
  • A new chat's tab says what the header says. The tab was renamed to "Chat" once the thread got its first saved id, while the header said "New chat". It now stays "New chat" until the model titles it.
  • The stop button no longer pulses, and stopping offers a resume. The breathing ring is gone (one more always-on animation), and after a stop the composer shows a Resume button that tells the model to continue the stopped answer from exactly where it left off — the partial answer stays and is picked up, not regenerated. The run still reports cancelled, so the button also appears when the backend confirms the stop.
  • "Compact now" and /compact always compact. They used to refuse when the conversation already fit the window ("This conversation already fits"). An explicit compact now always cuts to the last exchange, no matter the size; the automatic compact at the threshold is unchanged.
  • Steered notes show in the chat. A steer used to leave only the model's truncated "Read your note: …" step (and that step is session-only). The note now lands in the transcript in full, before the answer it steers, labelled "Steered this answer", and survives reopening the chat. It is never sent back to the model as history.
  • The chat follows progress, not just the last message's text. The auto-scroll only watched the last message's length, so subagent steps, to-dos and tool rounds did not pull the view down. It now follows a fingerprint of the answer's parts too.
  • Skins are removed, and model prices come from OpenRouter. The skin panel, its import/export and the theme overrides are gone. The hand-typed "Model costs" table in Settings is gone too: the Usage screen now prices from OpenRouter's public /models list (cached ten minutes, keyed by full and short model id), so a model that is not listed prices at $0 instead of an invented number.
  • Switching settings sections starts at the top. A short section inherited the previous section's scroll position, so it opened scrolled past its own content and looked blank. Changing sections now scrolls the page to the top.
  • Settings rows lay out by their own width. At a narrow window the settings column is ~440px and the slider ate the label down to a word a line ("Memory / for / models"). Rows now use container queries, so they stack the control under the text when their column is narrow and sit side by side when it is wide.
  • Answer statistics obey their switch. The switch was OR'd with the developer flag, so with developer mode on the stats showed even when the switch was off. The switch is now the control; the flag only seeds the default until the user picks.
  • The context window shows the cache hit rate. It only appeared when the last answer's provider reported cached tokens, so local runs showed nothing. It now falls back to the recent average from the usage log, and when no run has ever reported cached tokens it says so instead of hiding the row.
  • Subagents show their token use, and open a read-only side view. A finished subagent reports its total tokens (prompt + answer) on its card, and a View button opens a side panel with the task it was given, its step log and its report. The panel has no composer and no steer: subagents can't be talked to. The step log and token total now survive reopening the chat (they used to be dropped on save); the full turn-by-turn transcript is not kept, so the step log is the record.
  • A busy provider hands over instead of failing the turn. When the chosen online model answers 429, 408 or 5xx, or cannot be reached, or goes quiet mid-stream, the turn retries on the next provider in the user's order — the local model is the last resort — and the chat says so in one line ("OpenRouter was busy — continued on Groq"). The switch only happens before any token of the round has landed, so a partial answer is never followed by a fresh one; a user stop, a 4xx (bad key, wrong model) or an exhausted chain still fails the turn with the original error. Same-provider retries are capped at 3 before handing over.
  • The local model is never stall-timed out. The stream-stall budget (10 minutes of silence) no longer applies to the local server: a local model's silent thinking phase is healthy. It still applies to remote providers, where going quiet counts as stuck.
  • Models page knows the hardware. It shows the processor, memory and graphics from the system probe, badges each model "Runs well / Runs slowly / Too large" (well = inside the model budget, slowly = fits in free memory but over the budget, too large = bigger than free memory), and recommends one model for this computer instead of three. A memory chip under the composer shows GB in use with Load/Unload for the local model. A failed probe hides the card and the badges instead of erroring.
  • Errors name their cause and their fix. No error reads as a generic "something went wrong" any more: every failure is classified (network, not found, permission, auth, unavailable, invalid, cancelled, unknown), the banner shows the one action that fixes it, and the fix table is exhaustive by typecheck, so a new cause class without its fix is a build error. The Usage screen says which window its totals actually cover when retained history is shorter than the requested window, and the Cost card names the models it leaves out for want of a price.
  • Questions put the recommended option first. The model's ask_user tool can mark one option recommended: true; it is shown first and marked "Recommended" in the question dock, the parsed-question buttons and A2UI forms. The free-text "Other…" answer stays available while the question is live.
  • The composer folds instead of crowding Send. On a narrow window the pills fold to glyphs in a fixed order — Tools label, model name, effort label — and unfold last-folded-first as room returns; permission and usage are already glyphs. Send is shrink-0 and last, so it is never covered.
  • New chats start on the last-used model. The model picked last is remembered across restarts; a new chat starts on it when it is still usable. When it is not (local model unloaded, provider key removed), the chat falls back to the active model and says so in one line instead of erroring or switching silently.
  • The chat title behaves like a title. Clicking it opens the chat menu, double-clicking renames it, and hovering a cut-off title shows the whole title. Tabs do the same on hover. "New chat" stays until the model titles it.
  • The empty chat greets by the time of day. Morning, afternoon and evening variants, "Nice work today" only in the evening and only when a chat had a turn today, and a gentle late-night line after 23:00. One line, re-evaluated at the next hour boundary.
  • The toast is portaled; status never defaults to Online. The toast now renders at the document root, so reporting costs the page no layout. The header status chip only says Online when an online model is actually chosen; otherwise it says Offline on this computer. There is no autostart feature in the app, so the one-time autostart-marker rule has nothing to attach to — no autostart was built.
  • Technical text is never translated. The UI has no Arabic strings; model ids, commands, file paths, URLs and env vars stay English by convention, and a unit test guards the source against Arabic-script text.
  • Auto-compact keeps the thread. The threshold now defaults to 95% of the context window (was 80%). When it cuts, the cut part is summarised by the loaded local model — goal, decisions, progress, next steps — and that summary stays in what the model reads, so the conversation keeps making sense after the cut. Old tool outputs are pruned the same way: the newest turns keep a short line per tool, older ones become a placeholder. The full history stays on screen and in the saved chat; nothing is deleted. Manual compact is unchanged.
  • Small jobs run on the small local model. Chat titles, "suggest next" and compaction summaries now prefer the local model already loaded on this computer — free, and never blocking the chat. When no local model is loaded, they use the chat's model as before.
  • Goals pause instead of spinning. A goal now waits as Paused when its step budget runs out, a step fails, you stop the run, or a permission is declined — and as Blocked when something outside the run is in the way. Paused and blocked goals take no steps until resumed, and they survive restarts.
  • Permissions are per-capability. Settings → Permissions now has plain-language switches for what runs without asking — read files, edit files, safe commands, all commands, browser, external tools. Read-only by default: only reading runs without asking. A missing or unknown setting always asks.
  • Errors say what happened, and the chat retries a lost connection. A busy provider reads "is busy right now. Wait a moment and try again" instead of a status code, and a lost connection reads "Couldn't reach … — check your connection". Dropped connections retry with backoff before giving up, the same way a busy provider does — but only before any answer text arrived, and never past the 3-tries-per-provider cap (failover to the next provider is the outer loop, so the turn still gets 5+ attempts in total).
  • A shorter prompt for local models, off by default. Settings → Performance has "Use Compact Prompt": shorter instructions for models on this computer, for faster first tokens. Off keeps the full instructions, and online models always get the full prompt.
  • A2UI form errors point at the field. When a form can't be drawn, the error sent back to the model now carries the JSON pointer of the failing field (e.g. /createSurface/components/0/id) instead of always /, so the model knows what to fix. Every problem shown under a form carries its pointer too.
  • A2UI patterns follow the spec's safety rules. The regex check now enforces all four static safety rules from the Basic Catalog Guide — the 256-code-point cap, no quantifier above 1 over an unbounded quantifier, no unbounded quantifier over an alternation whose branches start with the same character, and no adjacent unbounded-quantified atoms with overlapping sets — plus the dialect (no backreferences, lookbehind, named groups, \p, \c, octal escapes or inline flags). A pattern outside the dialect or failing a rule fails with EXPRESSION_ERROR instead of silently not matching; only a value over 4,096 code points stays a silent non-match. The upstream contact-form stream now runs as a unit-test fixture, and tests/unit/a2ui.test.ts covers parsing, surfaces, functions, checks, actions and the safety rules.

Changed

  • Contrast checks now recompute WCAG ratios from the shipped CSS tokens in CI for both themes; the a11y evidence table carries the current palette values.

Download

Your computer File
Windows 10 or 11 LocalAide_0.2.3_x64-setup.exe
Windows 11 on ARM (Snapdragon and similar) LocalAide_0.2.3_arm64-setup.exe
Mac with Apple Silicon (M1 or newer) LocalAide_0.2.3_aarch64.dmg
Mac with an Intel processor LocalAide_0.2.3_x64.dmg
Linux .AppImage or .deb

The first time a model loads, LocalAide downloads the llama.cpp engine built for your processor (13 to 25 MB, from github.com).

The installers are not code-signed yet. Windows may show "Windows protected your PC": choose More info, then Run anyway. On a Mac, if it says the app cannot be opened, right-click LocalAide in Applications and choose Open.

Check a download against SHA256SUMS.txt. localaide-sbom.spdx.json lists every package in the build.

Full list of changes: v0.2.1...v0.2.3