Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(plugins): integrate latest persistence repair from main

Seraph-x899073cfdc25
diff --cc apps/desktop/test/session-turn-ended.test.mjs
index 47e09343d,47e09343d..f7a447af2
--- a/apps/desktop/test/session-turn-ended.test.mjs
+++ b/apps/desktop/test/session-turn-ended.test.mjs
@@@ -32,6 -32,6 +32,7 @@@ function fixture()
const persistence = createEventPersistence({
runtimeState: { host: null },
++ completionNoticeTurns: new Set(),
activeTurns,
activeToolCalls: new Map(),
activeToolCallKey: coordination.activeToolCallKey,
diff --cc apps/desktop/test/shutdown-regenerate-persistence.test.mjs
index a0d630373,a0d630373..64e7c1bd5
--- a/apps/desktop/test/shutdown-regenerate-persistence.test.mjs
+++ b/apps/desktop/test/shutdown-regenerate-persistence.test.mjs
@@@ -71,7 -71,7 +71,7 @@@ test(`quit settles a regenerated branc
settleIf() {}, dispose() {},
};
const persistence = createEventPersistence({
-- runtimeState: { host }, steeringReplies: new Set(), activeTurns,
++ runtimeState: { host }, steeringReplies: new Set(), completionNoticeTurns: new Set(), activeTurns,
activeToolCalls: new Map(), activeToolCallKey: (s, c) => `${s}:${c}`,
approvedExecutionIdsBySession: new Map(), approvedExecutionTurns: new Map(),
pendingExecutionFinishes: new Map(), planSubmissionTurnIds: new Set(),