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 PR 1867 onto current main
vastsac246a6368536
diff --cc docs/project/unreleased.mdindex f7a62047b,0ca7ae879..cc3b634e3--- a/docs/project/unreleased.md+++ b/docs/project/unreleased.md@@@ -1,5 -1,12 +1,15 @@@# Unreleased changes+- Fixed an older regenerated prompt appearing after the latest reply when its+ branch archive completed outside the loaded history window (#1870). Pager+ acknowledgements now update existing rows without appending historical roots.+ - Generate inline visualizations faster. The visualization shell now preloads+ the bundled D3 and a `viz` chart helper layer (container sizing, resize and+ theme redraw, axes, tick overlap, legends, and a declarative `viz.render`+ for bar, line, area, point, heatmap, and donut charts), so model-written+ fragments are shorter. The `visualize` skill asks for a single write+ followed by the reply instead of reading the file back. Fragments written+ under the earlier skill keep rendering. When a fragment's script fails, the+ card now says so and shows the error instead of staying blank, and the+ model's write result flags syntax errors and missing chart containers so it+ can fix them with one edit.diff --cc packages/agent-runtime/src/runtime.tsindex 731b0509f,80fa9ca01..7b3963337--- a/packages/agent-runtime/src/runtime.ts+++ b/packages/agent-runtime/src/runtime.ts@@@ -127,9 -126,9 +127,10 @@@ importtype ProposalKind,type SubagentPermission,GEN_UI_SKILL_ID,+ withoutReasoningReplayPlaceholder,} from "@pi-desktop/shared";import { createStreamCoalescer, type StreamCoalescer } from "./stream-coalescer.js";+ import { checkGenUiFragment, genUiFragmentCheckNote, isGenUiFragmentPath } from "./gen-ui-fragment-check.js";import type { RuntimeHost } from "./host-client.js";import { classifyAgentError } from "./agent-errors.js";import {