From 0c6f43901b3e90e71b0d03c238150e7a5a1557df Mon Sep 17 00:00:00 2001 From: Tak hoffman Date: Sun, 25 Jan 2026 10:19:00 -0600 Subject: [PATCH] Agents: fix compact runtime build --- src/agents/pi-embedded-runner/compact.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/agents/pi-embedded-runner/compact.ts b/src/agents/pi-embedded-runner/compact.ts index 5b5443ff2..34e15fd29 100644 --- a/src/agents/pi-embedded-runner/compact.ts +++ b/src/agents/pi-embedded-runner/compact.ts @@ -484,9 +484,7 @@ export async function compactEmbeddedPiSession( const globalLane = resolveGlobalLane(params.lane); const enqueueGlobal = params.enqueue ?? ((task, opts) => enqueueCommandInLane(globalLane, task, opts)); - return enqueueCommandInLane(sessionLane, () => return enqueueCommandInLane(sessionLane, () => enqueueGlobal(async () => compactEmbeddedPiSessionDirect(params)), ); - ); }