Skip to content

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

test(plugins): stub the automation probe in the compaction fixture

v_wyxgwang80a1c022fe6c
diff --git a/apps/desktop/test/agent-compact-session-operation.test.mjs b/apps/desktop/test/agent-compact-session-operation.test.mjs
index 43cc154d5..43c19d743 100644
--- a/apps/desktop/test/agent-compact-session-operation.test.mjs
+++ b/apps/desktop/test/agent-compact-session-operation.test.mjs
@@ -82,6 +82,7 @@ function buildHarness({ hostCall, sidecarCall, resolveSessionMessageInput }) {
},
"../session-references": { resolveSessionReferences: async () => [] },
"../agent-mentions": { resolvePromptAgentMentions: async () => [] },
+ "../runtime/user-message-provenance": { isAutomationRequest: () => false },
"@pi-desktop/host-runtime": {
executionFromResponse: () => null,
resolveSessionMessageInput: admissionTail,