Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins
TypeScript ai-agentcoding-agentdesktop-appelectronglobali18nlocal-firstmcppipi-agentpi-desktoppluginsreactrusttypescript
Merge remote-tracking branch 'origin/main' into fix/attachment-history-byte-budget
vastsaa7384ffe2500
diff --cc docs/spec/08-meta/decisions-log.mdindex 7a5f99c6f,0c0cdcd5e..daa14330d--- a/docs/spec/08-meta/decisions-log.md+++ b/docs/spec/08-meta/decisions-log.md@@@ -7155,15 -7156,19 +7156,31 @@@ must keep splitting are covered by `marduplicating an id), plus the `scripts/e2e/provider-api-style.tsx` and`scripts/e2e/image-generation-ui.tsx` probes, which no longer click Managemodels.- ## 2026-09-26 — Bound aggregate image history without an arbitrary message cutoff (D628)-+ ## 2026-09-26 — User-selectable application update behavior (D628)++ - Settings → Info now stores Automatic / Manual per installation. Supported+ installer builds default to Automatic; Windows ZIP/portable packages and+ packages without an automatic-install lane default to Manual. Choosing Manual+ disables automatic download and install-on-quit but keeps scheduled checks.+ - Manual mode announces an available version once. Host settings remember the+ last reminded version across restarts; the renderer also suppresses a second+ banner after route remount. The Settings row remains available for checking+ status and opening the fixed Releases page.+ - Windows ZIP/portable users may explicitly opt into Automatic only after a+ warning that the NSIS installer can replace the extracted copy. No database+ migration or host protocol version change is required.+ - Covered by `apps/desktop/test/update-preference.test.mjs`, the updated+ `apps/desktop/test/auto-update.test.mjs`, and E2E-UPDATE-preference-and-once-only-reminder.++++## 2026-09-26 — Bound aggregate image history without an arbitrary message cutoff (D629)++- Vision history restoration keeps the existing 10 MB per-image ceiling and adds+ a 30 MB aggregate raw-byte budget per runtime rebuild. Eligible refs are+ considered newest-first; every image remains a provider image block when the+ history fits, and only older attachments beyond the budget fall back to a+ safe `@path`. The current prompt row is excluded before hydration so it cannot+ consume the history allowance.+- The sidecar reads only files admitted by the budget and clears stale transient+ base64 from restored attachment objects. Durable host messages remain+ metadata/ref-only. See ADR 0101, `03-runtime/01-ipc-protocol.md` §5.1,+ `03-runtime/02-agent-runtime.md` §5c, and E2E-102j.