Skip to content

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

test(agent-runtime): restore the imports the conflict rebuild dropped

vastsaf092e7c858e8
diff --git a/packages/agent-runtime/src/runtime.test.ts b/packages/agent-runtime/src/runtime.test.ts
index ebd5dec61..5f2bb3084 100644
--- a/packages/agent-runtime/src/runtime.test.ts
+++ b/packages/agent-runtime/src/runtime.test.ts
@@ -7,6 +7,8 @@ import {
toToolDeclaration,
type AssistantMessage,
} from "@earendil-works/pi-ai";
+import { formatSessionMessage, type SessionMessageOrigin } from "@pi-desktop/shared";
+import { estimateContextTokens as estimateTranscriptTokens } from "@earendil-works/pi-ai/utils/estimate";
import { buildSessionContext } from "./session-context.js";
import {
COMPACTION_FALLBACK_MARKER,