From 4ec0af00fef1e7351dbe982cf9e29ce76f28099f Mon Sep 17 00:00:00 2001 From: Mariano Belinky Date: Sun, 22 Feb 2026 15:03:34 +0000 Subject: [PATCH] Agents: fix embedded auth-profile failure helper typing --- src/agents/pi-embedded-runner/run.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/agents/pi-embedded-runner/run.ts b/src/agents/pi-embedded-runner/run.ts index f92b6a375a7..0ed2ba14d65 100644 --- a/src/agents/pi-embedded-runner/run.ts +++ b/src/agents/pi-embedded-runner/run.ts @@ -516,6 +516,8 @@ export async function runEmbeddedPiAgent( const maybeMarkAuthProfileFailure = async (failure: { profileId?: string; reason?: Parameters[0]["reason"] | null; + config?: RunEmbeddedPiAgentParams["config"]; + agentDir?: RunEmbeddedPiAgentParams["agentDir"]; }) => { const { profileId, reason } = failure; if (!profileId || !reason || reason === "timeout") {